More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 3,833 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 20097856 | 69 days ago | IN | 0 ETH | 0.00019556 | ||||
Set Approval For... | 19946376 | 90 days ago | IN | 0 ETH | 0.00017888 | ||||
Set Approval For... | 19880800 | 99 days ago | IN | 0 ETH | 0.00022361 | ||||
Set Approval For... | 19815334 | 108 days ago | IN | 0 ETH | 0.00020548 | ||||
Set Approval For... | 19706821 | 123 days ago | IN | 0 ETH | 0.00026462 | ||||
Set Approval For... | 19624977 | 135 days ago | IN | 0 ETH | 0.00062165 | ||||
Safe Transfer Fr... | 19624548 | 135 days ago | IN | 0 ETH | 0.00138336 | ||||
Set Approval For... | 19432299 | 162 days ago | IN | 0 ETH | 0.00109356 | ||||
Set Approval For... | 19062253 | 214 days ago | IN | 0 ETH | 0.00061635 | ||||
Set Approval For... | 18850843 | 243 days ago | IN | 0 ETH | 0.00053547 | ||||
Set Approval For... | 18591884 | 280 days ago | IN | 0 ETH | 0.00056102 | ||||
Set Approval For... | 18011684 | 361 days ago | IN | 0 ETH | 0.0004121 | ||||
Approve | 17515964 | 430 days ago | IN | 0 ETH | 0.00197228 | ||||
Safe Transfer Fr... | 17515946 | 430 days ago | IN | 0 ETH | 0.00238246 | ||||
Set Approval For... | 17507101 | 432 days ago | IN | 0 ETH | 0.00095035 | ||||
Set Approval For... | 17308337 | 460 days ago | IN | 0 ETH | 0.00165019 | ||||
Set Approval For... | 17166588 | 480 days ago | IN | 0 ETH | 0.00422575 | ||||
Set Approval For... | 17031761 | 499 days ago | IN | 0 ETH | 0.0009051 | ||||
Set Approval For... | 17001297 | 503 days ago | IN | 0 ETH | 0.0008679 | ||||
Set Approval For... | 16867160 | 522 days ago | IN | 0 ETH | 0.00066926 | ||||
Safe Transfer Fr... | 16820521 | 529 days ago | IN | 0 ETH | 0.00632052 | ||||
Safe Transfer Fr... | 16723281 | 542 days ago | IN | 0 ETH | 0.00253411 | ||||
Set Approval For... | 16679008 | 548 days ago | IN | 0 ETH | 0.00140969 | ||||
Set Approval For... | 16676411 | 549 days ago | IN | 0 ETH | 0.00109863 | ||||
Set Approval For... | 16638894 | 554 days ago | IN | 0 ETH | 0.00154656 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
14635327 | 854 days ago | 81.8037 ETH | ||||
14635322 | 854 days ago | 0.0099 ETH | ||||
14635321 | 854 days ago | 0.0099 ETH | ||||
14635320 | 854 days ago | 0.0099 ETH | ||||
14635318 | 854 days ago | 0.0099 ETH | ||||
14635318 | 854 days ago | 0.0099 ETH | ||||
14635317 | 854 days ago | 0.0099 ETH | ||||
14635316 | 854 days ago | 0.0099 ETH | ||||
14635316 | 854 days ago | 0.0099 ETH | ||||
14635316 | 854 days ago | 0.0099 ETH | ||||
14635310 | 854 days ago | 0.0099 ETH | ||||
14635310 | 854 days ago | 0.0099 ETH | ||||
14635308 | 854 days ago | 0.0099 ETH | ||||
14635308 | 854 days ago | 0.0099 ETH | ||||
14635308 | 854 days ago | 0.0099 ETH | ||||
14635308 | 854 days ago | 0.0099 ETH | ||||
14635308 | 854 days ago | 0.0099 ETH | ||||
14635308 | 854 days ago | 0.0099 ETH | ||||
14635308 | 854 days ago | 0.0099 ETH | ||||
14635308 | 854 days ago | 0.0099 ETH | ||||
14635306 | 854 days ago | 0.0099 ETH | ||||
14635306 | 854 days ago | 0.0099 ETH | ||||
14635306 | 854 days ago | 0.0099 ETH | ||||
14635306 | 854 days ago | 0.0099 ETH | ||||
14635306 | 854 days ago | 0.0099 ETH |
Loading...
Loading
Contract Name:
NMSL
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 5000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/1_Storage.sol pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128. * * Does not support burning tokens to address(0). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 0; uint256 internal immutable collectionSize; uint256 internal immutable maxBatchSize; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) private _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev * `maxBatchSize` refers to how much a minter can mint at a time. * `collectionSize_` refers to how many tokens are in the collection. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_, uint256 collectionSize_ ) { require( collectionSize_ > 0, "ERC721A: collection must have a nonzero supply" ); require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; collectionSize = collectionSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721A: balance query for the zero address"); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("ERC721A: unable to determine the owner of token"); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "ERC721A: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - there must be `quantity` tokens remaining unminted in the total collection. * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp ); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "quantity must be nonzero"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > collectionSize - 1) { endIndex = collectionSize - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "not enough minted yet for this cleanup"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership( ownership.addr, ownership.startTimestamp ); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721A: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } pragma solidity ^0.8.7; contract NMSL is ERC721A, Ownable, ReentrancyGuard { bool public paused = false; bool public revealed = false; uint256 private mintedPublic = 0; uint256 public price = 0.0099 ether; uint256 public bundlePrice = 0.099 ether; uint256 private bundle = 10; string private _baseTokenURI; address private deadAddress = 0x000000000000000000000000000000000000dEaD; mapping(address => bool) private refundList; mapping(uint256 => uint256) private mintedTime; constructor(uint256 maxSizeBatch, uint256 maxSupply_, string memory hiddenUri) ERC721A("NMSL", "NMSL", maxSizeBatch, maxSupply_) { _baseTokenURI = hiddenUri; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function tokenURI(uint256 tokenId) public view override returns (string memory) { return revealed ? string(abi.encodePacked(_baseTokenURI, Strings.toString(tokenId), ".json")) : _baseTokenURI; } function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external pure returns (bytes4) { return IERC721Receiver.onERC721Received.selector; } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract!"); _; } function togglePause() external onlyOwner { paused = !paused; } function reveal() external onlyOwner { revealed = true; } function setNewUri(string memory newUri) external onlyOwner { _baseTokenURI = newUri; } function isInRefundlist() external view returns (bool) { return refundList[msg.sender]; } function mint() external payable callerIsUser { require(paused == false, "Contract paused."); require(mintedPublic + 1 <= 9000, "Count exceeds the maximum allowed supply for public mint."); require(totalSupply() + 1 <= collectionSize, "Count exceeds the maximum allowed supply."); require(msg.value >= price, "Incorrect payable amount."); refundList[msg.sender] = true; mintedTime[totalSupply()] = block.timestamp; mintedPublic += 1; _safeMint(msg.sender, 1); } function mintBudnle() external payable callerIsUser { require(paused == false, "Contract paused."); require(mintedPublic + bundle <= 9000, "Count exceeds the maximum allowed supply for public mint."); require(totalSupply() + bundle <= collectionSize, "Count exceeds the maximum allowed supply."); require(msg.value >= bundlePrice, "Incorrect payable amount."); refundList[msg.sender] = true; for (uint256 i = 0; i < bundle; i++) { mintedTime[totalSupply() + i] = block.timestamp; } mintedPublic += 10; _safeMint(msg.sender, bundle); } function devMint(uint256 count) external onlyOwner { require(totalSupply() + count <= collectionSize, "Amount nfts for devs goes beyond the scope!"); require(count % maxBatchSize == 0, "Can only mint a multiple of the maxBatchSize!"); uint256 numChunks = count / maxBatchSize; for (uint256 i = 0; i < numChunks; i++) { _safeMint(address(this), maxBatchSize); } } function refund(uint256 tokenId) external callerIsUser nonReentrant { require(paused == false, "Contract paused."); require(refundList[msg.sender] == true, "Not allowed to whitelist mint."); require(ownerOf(tokenId) == msg.sender, "You are not the owner!"); require(block.timestamp - mintedTime[tokenId] <= 604800, "The time for return has expired!"); safeTransferFrom(msg.sender, address(this), tokenId); payable(msg.sender).transfer(price); } function transferFromSingle(address to, uint256 tokenId) external callerIsUser onlyOwner { require(paused == false, "Contract paused."); require(ownerOf(tokenId) == address(this), "Contract is not the owner!"); transferFrom(address(this), to, tokenId); } function transferFromBatch(address[] calldata to, uint256[] calldata tokenIds) external callerIsUser onlyOwner { require(paused == false, "Contract paused."); for (uint256 i = 0; i < tokenIds.length; i++) { require(ownerOf(tokenIds[i]) == address(this), "Contract is not the owner!"); transferFrom(address(this), to[i], tokenIds[i]); } } function burnBatch(address from, uint256[] calldata tokenIds) external callerIsUser onlyOwner { require(paused == false, "Contract paused."); require(from == owner() || from == address(this), "From is not the owner address neither contract address!"); for (uint256 i = 0; i < tokenIds.length; i++) { require(ownerOf(tokenIds[i]) == from, "From is not the owner of this nft!"); transferFrom(address(this), deadAddress, tokenIds[i]); } } function withdraw() external payable onlyOwner nonReentrant { uint balance = address(this).balance; require(balance > 0, " No balance"); payable(owner()).transfer(balance); } }
{ "optimizer": { "enabled": true, "runs": 5000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"maxSizeBatch","type":"uint256"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"string","name":"hiddenUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bundlePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isInRefundlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintBudnle","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"refund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"string","name":"newUri","type":"string"}],"name":"setNewUri","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":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"transferFromBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFromSingle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60c060405260008080556007819055600a805461ffff19168155600b9190915566232bff5f46c000600c5567015fb7f9b8c38000600d55600e55601080546001600160a01b03191661dead1790553480156200005a57600080fd5b5060405162003ddd38038062003ddd8339810160408190526200007d91620002e7565b60405180604001604052806004815260200163139354d360e21b81525060405180604001604052806004815260200163139354d360e21b815250848460008111620001265760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620001885760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b60648201526084016200011d565b83516200019d90600190602087019062000241565b508251620001b390600290602086019062000241565b5060a09190915260805250620001cb905033620001ef565b60016009558051620001e590600f90602084019062000241565b505050506200042d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200024f90620003da565b90600052602060002090601f016020900481019282620002735760008555620002be565b82601f106200028e57805160ff1916838001178555620002be565b82800160010185558215620002be579182015b82811115620002be578251825591602001919060010190620002a1565b50620002cc929150620002d0565b5090565b5b80821115620002cc5760008155600101620002d1565b600080600060608486031215620002fd57600080fd5b835160208086015160408701519295509350906001600160401b03808211156200032657600080fd5b818701915087601f8301126200033b57600080fd5b81518181111562000350576200035062000417565b604051601f8201601f19908116603f011681019083821181831017156200037b576200037b62000417565b816040528281528a868487010111156200039457600080fd5b600093505b82841015620003b8578484018601518185018701529285019262000399565b82841115620003ca5760008684830101525b8096505050505050509250925092565b600181811c90821680620003ef57607f821691505b602082108114156200041157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160a0516139596200048460003960008181611517015281816115b6015281816115ee015281816127de015281816128080152612d48015260008181610be8015281816110e3015261146b01526139596000f3fe60806040526004361061026a5760003560e01c80636352211e11610153578063b2dc5dc3116100cb578063d7224ba01161007f578063e985e9c511610064578063e985e9c51461069a578063f2fde38b146106e3578063f9b2fb951461070357600080fd5b8063d7224ba014610664578063e88652971461067a57600080fd5b8063c0e6b677116100b0578063c0e6b6771461060f578063c4ae31681461062f578063c87b56dd1461064457600080fd5b8063b2dc5dc3146105cf578063b88d4fde146105ef57600080fd5b80638dca9e1a11610122578063a035b1fe11610107578063a035b1fe14610584578063a22cb4651461059a578063a475b5dd146105ba57600080fd5b80638dca9e1a1461055957806395d89b411461056f57600080fd5b80636352211e146104e657806370a0823114610506578063715018a6146105265780638da5cb5b1461053b57600080fd5b80632cc409c3116101e657806342842e0e116101b5578063518302271161019a578063518302271461048d5780635941bb80146104ac5780635c975abb146104cc57600080fd5b806342842e0e1461044d5780634f6ccce71461046d57600080fd5b80632cc409c3146103fd5780632f745c5914610405578063375a069a146104255780633ccfd60b1461044557600080fd5b80631249c58b1161023d57806318160ddd1161022257806318160ddd1461039e57806323b872dd146103bd578063278ecde1146103dd57600080fd5b80631249c58b14610320578063150b7a021461032857600080fd5b806301ffc9a71461026f57806306fdde03146102a4578063081812fc146102c6578063095ea7b3146102fe575b600080fd5b34801561027b57600080fd5b5061028f61028a366004613470565b610728565b60405190151581526020015b60405180910390f35b3480156102b057600080fd5b506102b9610859565b60405161029b919061367c565b3480156102d257600080fd5b506102e66102e13660046134f3565b6108eb565b6040516001600160a01b03909116815260200161029b565b34801561030a57600080fd5b5061031e6103193660046133da565b61098b565b005b61031e610abe565b34801561033457600080fd5b5061036d610343366004613234565b7f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6040517fffffffff00000000000000000000000000000000000000000000000000000000909116815260200161029b565b3480156103aa57600080fd5b506000545b60405190815260200161029b565b3480156103c957600080fd5b5061031e6103d83660046131f8565b610d41565b3480156103e957600080fd5b5061031e6103f83660046134f3565b610d4c565b61031e610fb8565b34801561041157600080fd5b506103af6104203660046133da565b611266565b34801561043157600080fd5b5061031e6104403660046134f3565b61140f565b61031e611624565b34801561045957600080fd5b5061031e6104683660046131f8565b61175e565b34801561047957600080fd5b506103af6104883660046134f3565b611779565b34801561049957600080fd5b50600a5461028f90610100900460ff1681565b3480156104b857600080fd5b5061031e6104c7366004613404565b6117f5565b3480156104d857600080fd5b50600a5461028f9060ff1681565b3480156104f257600080fd5b506102e66105013660046134f3565b6119d6565b34801561051257600080fd5b506103af6105213660046131a3565b6119e8565b34801561053257600080fd5b5061031e611a94565b34801561054757600080fd5b506008546001600160a01b03166102e6565b34801561056557600080fd5b506103af600d5481565b34801561057b57600080fd5b506102b9611af8565b34801561059057600080fd5b506103af600c5481565b3480156105a657600080fd5b5061031e6105b536600461339e565b611b07565b3480156105c657600080fd5b5061031e611bcc565b3480156105db57600080fd5b5061031e6105ea36600461334b565b611c54565b3480156105fb57600080fd5b5061031e61060a3660046132cf565b611ec8565b34801561061b57600080fd5b5061031e61062a3660046133da565b611f51565b34801561063b57600080fd5b5061031e6120bc565b34801561065057600080fd5b506102b961065f3660046134f3565b61212a565b34801561067057600080fd5b506103af60075481565b34801561068657600080fd5b5061031e6106953660046134aa565b6121fd565b3480156106a657600080fd5b5061028f6106b53660046131c5565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156106ef57600080fd5b5061031e6106fe3660046131a3565b61226a565b34801561070f57600080fd5b503360009081526011602052604090205460ff1661028f565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806107bb57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061080757507fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061085357507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606001805461086890613798565b80601f016020809104026020016040519081016040528092919081815260200182805461089490613798565b80156108e15780601f106108b6576101008083540402835291602001916108e1565b820191906000526020600020905b8154815290600101906020018083116108c457829003601f168201915b5050505050905090565b60006108f8826000541190565b61096f5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610996826119d6565b9050806001600160a01b0316836001600160a01b03161415610a205760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610966565b336001600160a01b0382161480610a3c5750610a3c81336106b5565b610aae5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610966565b610ab983838361234c565b505050565b323314610b0d5760405162461bcd60e51b815260206004820152601f60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637421006044820152606401610966565b600a5460ff1615610b605760405162461bcd60e51b815260206004820152601060248201527f436f6e7472616374207061757365642e000000000000000000000000000000006044820152606401610966565b612328600b546001610b7291906136c3565b1115610be65760405162461bcd60e51b815260206004820152603960248201527f436f756e74206578636565647320746865206d6178696d756d20616c6c6f776560448201527f6420737570706c7920666f72207075626c6963206d696e742e000000000000006064820152608401610966565b7f0000000000000000000000000000000000000000000000000000000000000000610c1060005490565b610c1b9060016136c3565b1115610c8f5760405162461bcd60e51b815260206004820152602960248201527f436f756e74206578636565647320746865206d6178696d756d20616c6c6f776560448201527f6420737570706c792e00000000000000000000000000000000000000000000006064820152608401610966565b600c54341015610ce15760405162461bcd60e51b815260206004820152601960248201527f496e636f72726563742070617961626c6520616d6f756e742e000000000000006044820152606401610966565b336000908152601160205260408120805460ff191660011790554290601290610d0960005490565b8152602001908152602001600020819055506001600b6000828254610d2e91906136c3565b90915550610d3f90503360016123c0565b565b610ab98383836123da565b323314610d9b5760405162461bcd60e51b815260206004820152601f60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637421006044820152606401610966565b60026009541415610dee5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610966565b6002600955600a5460ff1615610e465760405162461bcd60e51b815260206004820152601060248201527f436f6e7472616374207061757365642e000000000000000000000000000000006044820152606401610966565b3360009081526011602052604090205460ff161515600114610eaa5760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420616c6c6f77656420746f2077686974656c697374206d696e742e00006044820152606401610966565b33610eb4826119d6565b6001600160a01b031614610f0a5760405162461bcd60e51b815260206004820152601660248201527f596f7520617265206e6f7420746865206f776e657221000000000000000000006044820152606401610966565b60008181526012602052604090205462093a8090610f289042613720565b1115610f765760405162461bcd60e51b815260206004820181905260248201527f5468652074696d6520666f722072657475726e206861732065787069726564216044820152606401610966565b610f8133308361175e565b600c54604051339180156108fc02916000818181858888f19350505050158015610faf573d6000803e3d6000fd5b50506001600955565b3233146110075760405162461bcd60e51b815260206004820152601f60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637421006044820152606401610966565b600a5460ff161561105a5760405162461bcd60e51b815260206004820152601060248201527f436f6e7472616374207061757365642e000000000000000000000000000000006044820152606401610966565b612328600e54600b5461106d91906136c3565b11156110e15760405162461bcd60e51b815260206004820152603960248201527f436f756e74206578636565647320746865206d6178696d756d20616c6c6f776560448201527f6420737570706c7920666f72207075626c6963206d696e742e000000000000006064820152608401610966565b7f0000000000000000000000000000000000000000000000000000000000000000600e5461110e60005490565b61111891906136c3565b111561118c5760405162461bcd60e51b815260206004820152602960248201527f436f756e74206578636565647320746865206d6178696d756d20616c6c6f776560448201527f6420737570706c792e00000000000000000000000000000000000000000000006064820152608401610966565b600d543410156111de5760405162461bcd60e51b815260206004820152601960248201527f496e636f72726563742070617961626c6520616d6f756e742e000000000000006044820152606401610966565b336000908152601160205260408120805460ff191660011790555b600e5481101561123f5742601260008361121260005490565b61121c91906136c3565b815260208101919091526040016000205580611237816137ec565b9150506111f9565b50600a600b600082825461125391906136c3565b92505081905550610d3f33600e546123c0565b6000611271836119e8565b82106112e55760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610966565b600080549080805b838110156113a0576000818152600360209081526040918290208251808401909352546001600160a01b0381168084527401000000000000000000000000000000000000000090910467ffffffffffffffff16918301919091521561135157805192505b876001600160a01b0316836001600160a01b0316141561138d578684141561137f5750935061085392505050565b83611389816137ec565b9450505b5080611398816137ec565b9150506112ed565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610966565b6008546001600160a01b031633146114695760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b7f00000000000000000000000000000000000000000000000000000000000000008161149460005490565b61149e91906136c3565b11156115125760405162461bcd60e51b815260206004820152602b60248201527f416d6f756e74206e66747320666f72206465767320676f6573206265796f6e6460448201527f207468652073636f7065210000000000000000000000000000000000000000006064820152608401610966565b61153c7f000000000000000000000000000000000000000000000000000000000000000082613825565b156115af5760405162461bcd60e51b815260206004820152602d60248201527f43616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060448201527f6d6178426174636853697a6521000000000000000000000000000000000000006064820152608401610966565b60006115db7f0000000000000000000000000000000000000000000000000000000000000000836136db565b905060005b81811015610ab957611612307f00000000000000000000000000000000000000000000000000000000000000006123c0565b8061161c816137ec565b9150506115e0565b6008546001600160a01b0316331461167e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b600260095414156116d15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610966565b600260095547806117245760405162461bcd60e51b815260206004820152600b60248201527f204e6f2062616c616e63650000000000000000000000000000000000000000006044820152606401610966565b6008546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610faf573d6000803e3d6000fd5b610ab983838360405180602001604052806000815250611ec8565b6000805482106117f15760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610966565b5090565b3233146118445760405162461bcd60e51b815260206004820152601f60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637421006044820152606401610966565b6008546001600160a01b0316331461189e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b600a5460ff16156118f15760405162461bcd60e51b815260206004820152601060248201527f436f6e7472616374207061757365642e000000000000000000000000000000006044820152606401610966565b60005b818110156119cf573061191e84848481811061191257611912613897565b905060200201356119d6565b6001600160a01b0316146119745760405162461bcd60e51b815260206004820152601a60248201527f436f6e7472616374206973206e6f7420746865206f776e6572210000000000006044820152606401610966565b6119bd3086868481811061198a5761198a613897565b905060200201602081019061199f91906131a3565b8585858181106119b1576119b1613897565b90506020020135610d41565b806119c7816137ec565b9150506118f4565b5050505050565b60006119e182612749565b5192915050565b60006001600160a01b038216611a665760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610966565b506001600160a01b03166000908152600460205260409020546fffffffffffffffffffffffffffffffff1690565b6008546001600160a01b03163314611aee5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b610d3f6000612925565b60606002805461086890613798565b6001600160a01b038216331415611b605760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610966565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314611c265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055565b323314611ca35760405162461bcd60e51b815260206004820152601f60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637421006044820152606401610966565b6008546001600160a01b03163314611cfd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b600a5460ff1615611d505760405162461bcd60e51b815260206004820152601060248201527f436f6e7472616374207061757365642e000000000000000000000000000000006044820152606401610966565b6008546001600160a01b0384811691161480611d7457506001600160a01b03831630145b611de65760405162461bcd60e51b815260206004820152603760248201527f46726f6d206973206e6f7420746865206f776e65722061646472657373206e6560448201527f697468657220636f6e74726163742061646472657373210000000000000000006064820152608401610966565b60005b81811015611ec257836001600160a01b0316611e1084848481811061191257611912613897565b6001600160a01b031614611e8c5760405162461bcd60e51b815260206004820152602260248201527f46726f6d206973206e6f7420746865206f776e6572206f662074686973206e6660448201527f74210000000000000000000000000000000000000000000000000000000000006064820152608401610966565b601054611eb09030906001600160a01b03168585858181106119b1576119b1613897565b80611eba816137ec565b915050611de9565b50505050565b611ed38484846123da565b611edf8484848461298f565b611ec25760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610966565b323314611fa05760405162461bcd60e51b815260206004820152601f60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637421006044820152606401610966565b6008546001600160a01b03163314611ffa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b600a5460ff161561204d5760405162461bcd60e51b815260206004820152601060248201527f436f6e7472616374207061757365642e000000000000000000000000000000006044820152606401610966565b30612057826119d6565b6001600160a01b0316146120ad5760405162461bcd60e51b815260206004820152601a60248201527f436f6e7472616374206973206e6f7420746865206f776e6572210000000000006044820152606401610966565b6120b8308383610d41565b5050565b6008546001600160a01b031633146121165760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b600a805460ff19811660ff90911615179055565b600a54606090610100900460ff166121cc57600f805461214990613798565b80601f016020809104026020016040519081016040528092919081815260200182805461217590613798565b80156121c25780601f10612197576101008083540402835291602001916121c2565b820191906000526020600020905b8154815290600101906020018083116121a557829003601f168201915b5050505050610853565b600f6121d783612b3d565b6040516020016121e8929190613554565b60405160208183030381529060405292915050565b6008546001600160a01b031633146122575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b80516120b890600f906020840190613035565b6008546001600160a01b031633146122c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b6001600160a01b0381166123405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610966565b61234981612925565b50565b60008281526005602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6120b8828260405180602001604052806000815250612c6f565b60006123e582612749565b9050836001600160a01b031681600001516001600160a01b0316146124725760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610966565b6001600160a01b0383166124ee5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610966565b6124fe600083836000015161234c565b6001600160a01b03841660009081526004602052604081208054600192906125399084906fffffffffffffffffffffffffffffffff166136ef565b82546101009290920a6fffffffffffffffffffffffffffffffff8181021990931691831602179091556001600160a01b0385166000908152600460205260408120805460019450909261258e9185911661368f565b82546fffffffffffffffffffffffffffffffff9182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808616825267ffffffffffffffff42811660208085019182526000888152600390915294852093518454915190921674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090911691909216171790556126488360016136c3565b6000818152600360205260409020549091506001600160a01b031661270357612672816000541190565b156127035760408051808201825283516001600160a01b03908116825260208086015167ffffffffffffffff908116828501908152600087815260039093529490912092518354945190911674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009094169116179190911790555b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46119cf565b6040805180820190915260008082526020820152612768826000541190565b6127da5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610966565b60007f0000000000000000000000000000000000000000000000000000000000000000831061283b5761282d7f000000000000000000000000000000000000000000000000000000000000000084613720565b6128389060016136c3565b90505b825b8181106128b6576000818152600360209081526040918290208251808401909352546001600160a01b0381168084527401000000000000000000000000000000000000000090910467ffffffffffffffff1691830191909152156128a357949350505050565b50806128ae81613763565b91505061283d565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610966565b600880546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b15612b31576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906129ec903390899088908890600401613640565b602060405180830381600087803b158015612a0657600080fd5b505af1925050508015612a36575060408051601f3d908101601f19168201909252612a339181019061348d565b60015b612ae6573d808015612a64576040519150601f19603f3d011682016040523d82523d6000602084013e612a69565b606091505b508051612ade5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610966565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612b35565b5060015b949350505050565b606081612b7d57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612ba75780612b91816137ec565b9150612ba09050600a836136db565b9150612b81565b60008167ffffffffffffffff811115612bc257612bc26138c6565b6040519080825280601f01601f191660200182016040528015612bec576020820181803683370190505b5090505b8415612b3557612c01600183613720565b9150612c0e600a86613825565b612c199060306136c3565b60f81b818381518110612c2e57612c2e613897565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612c68600a866136db565b9450612bf0565b6000546001600160a01b038416612cee5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610966565b612cf9816000541190565b15612d465760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610966565b7f0000000000000000000000000000000000000000000000000000000000000000831115612ddc5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610966565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546fffffffffffffffffffffffffffffffff80821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190612e4e90879061368f565b6fffffffffffffffffffffffffffffffff168152602001858360200151612e75919061368f565b6fffffffffffffffffffffffffffffffff9081169091526001600160a01b03808816600081815260046020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600390955294812091518254945190951674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090941694909216939093179190911790915582905b8581101561302a5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612f98600088848861298f565b61300a5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610966565b81613014816137ec565b9250508080613022906137ec565b915050612f4b565b506000555050505050565b82805461304190613798565b90600052602060002090601f01602090048101928261306357600085556130a9565b82601f1061307c57805160ff19168380011785556130a9565b828001600101855582156130a9579182015b828111156130a957825182559160200191906001019061308e565b506117f19291505b808211156117f157600081556001016130b1565b600067ffffffffffffffff808411156130e0576130e06138c6565b604051601f8501601f19908116603f01168101908282118183101715613108576131086138c6565b8160405280935085815286868601111561312157600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461315257600080fd5b919050565b60008083601f84011261316957600080fd5b50813567ffffffffffffffff81111561318157600080fd5b6020830191508360208260051b850101111561319c57600080fd5b9250929050565b6000602082840312156131b557600080fd5b6131be8261313b565b9392505050565b600080604083850312156131d857600080fd5b6131e18361313b565b91506131ef6020840161313b565b90509250929050565b60008060006060848603121561320d57600080fd5b6132168461313b565b92506132246020850161313b565b9150604084013590509250925092565b60008060008060006080868803121561324c57600080fd5b6132558661313b565b94506132636020870161313b565b935060408601359250606086013567ffffffffffffffff8082111561328757600080fd5b818801915088601f83011261329b57600080fd5b8135818111156132aa57600080fd5b8960208285010111156132bc57600080fd5b9699959850939650602001949392505050565b600080600080608085870312156132e557600080fd5b6132ee8561313b565b93506132fc6020860161313b565b925060408501359150606085013567ffffffffffffffff81111561331f57600080fd5b8501601f8101871361333057600080fd5b61333f878235602084016130c5565b91505092959194509250565b60008060006040848603121561336057600080fd5b6133698461313b565b9250602084013567ffffffffffffffff81111561338557600080fd5b61339186828701613157565b9497909650939450505050565b600080604083850312156133b157600080fd5b6133ba8361313b565b9150602083013580151581146133cf57600080fd5b809150509250929050565b600080604083850312156133ed57600080fd5b6133f68361313b565b946020939093013593505050565b6000806000806040858703121561341a57600080fd5b843567ffffffffffffffff8082111561343257600080fd5b61343e88838901613157565b9096509450602087013591508082111561345757600080fd5b5061346487828801613157565b95989497509550505050565b60006020828403121561348257600080fd5b81356131be816138f5565b60006020828403121561349f57600080fd5b81516131be816138f5565b6000602082840312156134bc57600080fd5b813567ffffffffffffffff8111156134d357600080fd5b8201601f810184136134e457600080fd5b612b35848235602084016130c5565b60006020828403121561350557600080fd5b5035919050565b60008151808452613524816020860160208601613737565b601f01601f19169290920160200192915050565b6000815161354a818560208601613737565b9290920192915050565b600080845481600182811c91508083168061357057607f831692505b60208084108214156135a9577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156135bd57600181146135ce576135fb565b60ff198616895284890196506135fb565b60008b81526020902060005b868110156135f35781548b8201529085019083016135da565b505084890196505b50505050505061363761360e8286613538565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613672608083018461350c565b9695505050505050565b6020815260006131be602083018461350c565b60006fffffffffffffffffffffffffffffffff8083168185168083038211156136ba576136ba613839565b01949350505050565b600082198211156136d6576136d6613839565b500190565b6000826136ea576136ea613868565b500490565b60006fffffffffffffffffffffffffffffffff8381169083168181101561371857613718613839565b039392505050565b60008282101561373257613732613839565b500390565b60005b8381101561375257818101518382015260200161373a565b83811115611ec25750506000910152565b60008161377257613772613839565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600181811c908216806137ac57607f821691505b602082108114156137e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561381e5761381e613839565b5060010190565b60008261383457613834613868565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461234957600080fdfea2646970667358221220a610785b88d6bb9a403d749874c00c2217512e41dca6fe8bf3f49f101f0e241a64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000258100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d63736279747054635671705378654d37474b546e5a725a374261585a66623462416b50376f4e6467626962542f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061026a5760003560e01c80636352211e11610153578063b2dc5dc3116100cb578063d7224ba01161007f578063e985e9c511610064578063e985e9c51461069a578063f2fde38b146106e3578063f9b2fb951461070357600080fd5b8063d7224ba014610664578063e88652971461067a57600080fd5b8063c0e6b677116100b0578063c0e6b6771461060f578063c4ae31681461062f578063c87b56dd1461064457600080fd5b8063b2dc5dc3146105cf578063b88d4fde146105ef57600080fd5b80638dca9e1a11610122578063a035b1fe11610107578063a035b1fe14610584578063a22cb4651461059a578063a475b5dd146105ba57600080fd5b80638dca9e1a1461055957806395d89b411461056f57600080fd5b80636352211e146104e657806370a0823114610506578063715018a6146105265780638da5cb5b1461053b57600080fd5b80632cc409c3116101e657806342842e0e116101b5578063518302271161019a578063518302271461048d5780635941bb80146104ac5780635c975abb146104cc57600080fd5b806342842e0e1461044d5780634f6ccce71461046d57600080fd5b80632cc409c3146103fd5780632f745c5914610405578063375a069a146104255780633ccfd60b1461044557600080fd5b80631249c58b1161023d57806318160ddd1161022257806318160ddd1461039e57806323b872dd146103bd578063278ecde1146103dd57600080fd5b80631249c58b14610320578063150b7a021461032857600080fd5b806301ffc9a71461026f57806306fdde03146102a4578063081812fc146102c6578063095ea7b3146102fe575b600080fd5b34801561027b57600080fd5b5061028f61028a366004613470565b610728565b60405190151581526020015b60405180910390f35b3480156102b057600080fd5b506102b9610859565b60405161029b919061367c565b3480156102d257600080fd5b506102e66102e13660046134f3565b6108eb565b6040516001600160a01b03909116815260200161029b565b34801561030a57600080fd5b5061031e6103193660046133da565b61098b565b005b61031e610abe565b34801561033457600080fd5b5061036d610343366004613234565b7f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6040517fffffffff00000000000000000000000000000000000000000000000000000000909116815260200161029b565b3480156103aa57600080fd5b506000545b60405190815260200161029b565b3480156103c957600080fd5b5061031e6103d83660046131f8565b610d41565b3480156103e957600080fd5b5061031e6103f83660046134f3565b610d4c565b61031e610fb8565b34801561041157600080fd5b506103af6104203660046133da565b611266565b34801561043157600080fd5b5061031e6104403660046134f3565b61140f565b61031e611624565b34801561045957600080fd5b5061031e6104683660046131f8565b61175e565b34801561047957600080fd5b506103af6104883660046134f3565b611779565b34801561049957600080fd5b50600a5461028f90610100900460ff1681565b3480156104b857600080fd5b5061031e6104c7366004613404565b6117f5565b3480156104d857600080fd5b50600a5461028f9060ff1681565b3480156104f257600080fd5b506102e66105013660046134f3565b6119d6565b34801561051257600080fd5b506103af6105213660046131a3565b6119e8565b34801561053257600080fd5b5061031e611a94565b34801561054757600080fd5b506008546001600160a01b03166102e6565b34801561056557600080fd5b506103af600d5481565b34801561057b57600080fd5b506102b9611af8565b34801561059057600080fd5b506103af600c5481565b3480156105a657600080fd5b5061031e6105b536600461339e565b611b07565b3480156105c657600080fd5b5061031e611bcc565b3480156105db57600080fd5b5061031e6105ea36600461334b565b611c54565b3480156105fb57600080fd5b5061031e61060a3660046132cf565b611ec8565b34801561061b57600080fd5b5061031e61062a3660046133da565b611f51565b34801561063b57600080fd5b5061031e6120bc565b34801561065057600080fd5b506102b961065f3660046134f3565b61212a565b34801561067057600080fd5b506103af60075481565b34801561068657600080fd5b5061031e6106953660046134aa565b6121fd565b3480156106a657600080fd5b5061028f6106b53660046131c5565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156106ef57600080fd5b5061031e6106fe3660046131a3565b61226a565b34801561070f57600080fd5b503360009081526011602052604090205460ff1661028f565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806107bb57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061080757507fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061085357507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606001805461086890613798565b80601f016020809104026020016040519081016040528092919081815260200182805461089490613798565b80156108e15780601f106108b6576101008083540402835291602001916108e1565b820191906000526020600020905b8154815290600101906020018083116108c457829003601f168201915b5050505050905090565b60006108f8826000541190565b61096f5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610996826119d6565b9050806001600160a01b0316836001600160a01b03161415610a205760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610966565b336001600160a01b0382161480610a3c5750610a3c81336106b5565b610aae5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610966565b610ab983838361234c565b505050565b323314610b0d5760405162461bcd60e51b815260206004820152601f60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637421006044820152606401610966565b600a5460ff1615610b605760405162461bcd60e51b815260206004820152601060248201527f436f6e7472616374207061757365642e000000000000000000000000000000006044820152606401610966565b612328600b546001610b7291906136c3565b1115610be65760405162461bcd60e51b815260206004820152603960248201527f436f756e74206578636565647320746865206d6178696d756d20616c6c6f776560448201527f6420737570706c7920666f72207075626c6963206d696e742e000000000000006064820152608401610966565b7f0000000000000000000000000000000000000000000000000000000000002581610c1060005490565b610c1b9060016136c3565b1115610c8f5760405162461bcd60e51b815260206004820152602960248201527f436f756e74206578636565647320746865206d6178696d756d20616c6c6f776560448201527f6420737570706c792e00000000000000000000000000000000000000000000006064820152608401610966565b600c54341015610ce15760405162461bcd60e51b815260206004820152601960248201527f496e636f72726563742070617961626c6520616d6f756e742e000000000000006044820152606401610966565b336000908152601160205260408120805460ff191660011790554290601290610d0960005490565b8152602001908152602001600020819055506001600b6000828254610d2e91906136c3565b90915550610d3f90503360016123c0565b565b610ab98383836123da565b323314610d9b5760405162461bcd60e51b815260206004820152601f60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637421006044820152606401610966565b60026009541415610dee5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610966565b6002600955600a5460ff1615610e465760405162461bcd60e51b815260206004820152601060248201527f436f6e7472616374207061757365642e000000000000000000000000000000006044820152606401610966565b3360009081526011602052604090205460ff161515600114610eaa5760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420616c6c6f77656420746f2077686974656c697374206d696e742e00006044820152606401610966565b33610eb4826119d6565b6001600160a01b031614610f0a5760405162461bcd60e51b815260206004820152601660248201527f596f7520617265206e6f7420746865206f776e657221000000000000000000006044820152606401610966565b60008181526012602052604090205462093a8090610f289042613720565b1115610f765760405162461bcd60e51b815260206004820181905260248201527f5468652074696d6520666f722072657475726e206861732065787069726564216044820152606401610966565b610f8133308361175e565b600c54604051339180156108fc02916000818181858888f19350505050158015610faf573d6000803e3d6000fd5b50506001600955565b3233146110075760405162461bcd60e51b815260206004820152601f60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637421006044820152606401610966565b600a5460ff161561105a5760405162461bcd60e51b815260206004820152601060248201527f436f6e7472616374207061757365642e000000000000000000000000000000006044820152606401610966565b612328600e54600b5461106d91906136c3565b11156110e15760405162461bcd60e51b815260206004820152603960248201527f436f756e74206578636565647320746865206d6178696d756d20616c6c6f776560448201527f6420737570706c7920666f72207075626c6963206d696e742e000000000000006064820152608401610966565b7f0000000000000000000000000000000000000000000000000000000000002581600e5461110e60005490565b61111891906136c3565b111561118c5760405162461bcd60e51b815260206004820152602960248201527f436f756e74206578636565647320746865206d6178696d756d20616c6c6f776560448201527f6420737570706c792e00000000000000000000000000000000000000000000006064820152608401610966565b600d543410156111de5760405162461bcd60e51b815260206004820152601960248201527f496e636f72726563742070617961626c6520616d6f756e742e000000000000006044820152606401610966565b336000908152601160205260408120805460ff191660011790555b600e5481101561123f5742601260008361121260005490565b61121c91906136c3565b815260208101919091526040016000205580611237816137ec565b9150506111f9565b50600a600b600082825461125391906136c3565b92505081905550610d3f33600e546123c0565b6000611271836119e8565b82106112e55760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610966565b600080549080805b838110156113a0576000818152600360209081526040918290208251808401909352546001600160a01b0381168084527401000000000000000000000000000000000000000090910467ffffffffffffffff16918301919091521561135157805192505b876001600160a01b0316836001600160a01b0316141561138d578684141561137f5750935061085392505050565b83611389816137ec565b9450505b5080611398816137ec565b9150506112ed565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610966565b6008546001600160a01b031633146114695760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b7f00000000000000000000000000000000000000000000000000000000000025818161149460005490565b61149e91906136c3565b11156115125760405162461bcd60e51b815260206004820152602b60248201527f416d6f756e74206e66747320666f72206465767320676f6573206265796f6e6460448201527f207468652073636f7065210000000000000000000000000000000000000000006064820152608401610966565b61153c7f000000000000000000000000000000000000000000000000000000000000003c82613825565b156115af5760405162461bcd60e51b815260206004820152602d60248201527f43616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060448201527f6d6178426174636853697a6521000000000000000000000000000000000000006064820152608401610966565b60006115db7f000000000000000000000000000000000000000000000000000000000000003c836136db565b905060005b81811015610ab957611612307f000000000000000000000000000000000000000000000000000000000000003c6123c0565b8061161c816137ec565b9150506115e0565b6008546001600160a01b0316331461167e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b600260095414156116d15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610966565b600260095547806117245760405162461bcd60e51b815260206004820152600b60248201527f204e6f2062616c616e63650000000000000000000000000000000000000000006044820152606401610966565b6008546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610faf573d6000803e3d6000fd5b610ab983838360405180602001604052806000815250611ec8565b6000805482106117f15760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610966565b5090565b3233146118445760405162461bcd60e51b815260206004820152601f60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637421006044820152606401610966565b6008546001600160a01b0316331461189e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b600a5460ff16156118f15760405162461bcd60e51b815260206004820152601060248201527f436f6e7472616374207061757365642e000000000000000000000000000000006044820152606401610966565b60005b818110156119cf573061191e84848481811061191257611912613897565b905060200201356119d6565b6001600160a01b0316146119745760405162461bcd60e51b815260206004820152601a60248201527f436f6e7472616374206973206e6f7420746865206f776e6572210000000000006044820152606401610966565b6119bd3086868481811061198a5761198a613897565b905060200201602081019061199f91906131a3565b8585858181106119b1576119b1613897565b90506020020135610d41565b806119c7816137ec565b9150506118f4565b5050505050565b60006119e182612749565b5192915050565b60006001600160a01b038216611a665760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610966565b506001600160a01b03166000908152600460205260409020546fffffffffffffffffffffffffffffffff1690565b6008546001600160a01b03163314611aee5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b610d3f6000612925565b60606002805461086890613798565b6001600160a01b038216331415611b605760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610966565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314611c265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055565b323314611ca35760405162461bcd60e51b815260206004820152601f60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637421006044820152606401610966565b6008546001600160a01b03163314611cfd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b600a5460ff1615611d505760405162461bcd60e51b815260206004820152601060248201527f436f6e7472616374207061757365642e000000000000000000000000000000006044820152606401610966565b6008546001600160a01b0384811691161480611d7457506001600160a01b03831630145b611de65760405162461bcd60e51b815260206004820152603760248201527f46726f6d206973206e6f7420746865206f776e65722061646472657373206e6560448201527f697468657220636f6e74726163742061646472657373210000000000000000006064820152608401610966565b60005b81811015611ec257836001600160a01b0316611e1084848481811061191257611912613897565b6001600160a01b031614611e8c5760405162461bcd60e51b815260206004820152602260248201527f46726f6d206973206e6f7420746865206f776e6572206f662074686973206e6660448201527f74210000000000000000000000000000000000000000000000000000000000006064820152608401610966565b601054611eb09030906001600160a01b03168585858181106119b1576119b1613897565b80611eba816137ec565b915050611de9565b50505050565b611ed38484846123da565b611edf8484848461298f565b611ec25760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610966565b323314611fa05760405162461bcd60e51b815260206004820152601f60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637421006044820152606401610966565b6008546001600160a01b03163314611ffa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b600a5460ff161561204d5760405162461bcd60e51b815260206004820152601060248201527f436f6e7472616374207061757365642e000000000000000000000000000000006044820152606401610966565b30612057826119d6565b6001600160a01b0316146120ad5760405162461bcd60e51b815260206004820152601a60248201527f436f6e7472616374206973206e6f7420746865206f776e6572210000000000006044820152606401610966565b6120b8308383610d41565b5050565b6008546001600160a01b031633146121165760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b600a805460ff19811660ff90911615179055565b600a54606090610100900460ff166121cc57600f805461214990613798565b80601f016020809104026020016040519081016040528092919081815260200182805461217590613798565b80156121c25780601f10612197576101008083540402835291602001916121c2565b820191906000526020600020905b8154815290600101906020018083116121a557829003601f168201915b5050505050610853565b600f6121d783612b3d565b6040516020016121e8929190613554565b60405160208183030381529060405292915050565b6008546001600160a01b031633146122575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b80516120b890600f906020840190613035565b6008546001600160a01b031633146122c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610966565b6001600160a01b0381166123405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610966565b61234981612925565b50565b60008281526005602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6120b8828260405180602001604052806000815250612c6f565b60006123e582612749565b9050836001600160a01b031681600001516001600160a01b0316146124725760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610966565b6001600160a01b0383166124ee5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610966565b6124fe600083836000015161234c565b6001600160a01b03841660009081526004602052604081208054600192906125399084906fffffffffffffffffffffffffffffffff166136ef565b82546101009290920a6fffffffffffffffffffffffffffffffff8181021990931691831602179091556001600160a01b0385166000908152600460205260408120805460019450909261258e9185911661368f565b82546fffffffffffffffffffffffffffffffff9182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808616825267ffffffffffffffff42811660208085019182526000888152600390915294852093518454915190921674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090911691909216171790556126488360016136c3565b6000818152600360205260409020549091506001600160a01b031661270357612672816000541190565b156127035760408051808201825283516001600160a01b03908116825260208086015167ffffffffffffffff908116828501908152600087815260039093529490912092518354945190911674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009094169116179190911790555b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46119cf565b6040805180820190915260008082526020820152612768826000541190565b6127da5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610966565b60007f000000000000000000000000000000000000000000000000000000000000003c831061283b5761282d7f000000000000000000000000000000000000000000000000000000000000003c84613720565b6128389060016136c3565b90505b825b8181106128b6576000818152600360209081526040918290208251808401909352546001600160a01b0381168084527401000000000000000000000000000000000000000090910467ffffffffffffffff1691830191909152156128a357949350505050565b50806128ae81613763565b91505061283d565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610966565b600880546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b15612b31576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906129ec903390899088908890600401613640565b602060405180830381600087803b158015612a0657600080fd5b505af1925050508015612a36575060408051601f3d908101601f19168201909252612a339181019061348d565b60015b612ae6573d808015612a64576040519150601f19603f3d011682016040523d82523d6000602084013e612a69565b606091505b508051612ade5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610966565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612b35565b5060015b949350505050565b606081612b7d57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612ba75780612b91816137ec565b9150612ba09050600a836136db565b9150612b81565b60008167ffffffffffffffff811115612bc257612bc26138c6565b6040519080825280601f01601f191660200182016040528015612bec576020820181803683370190505b5090505b8415612b3557612c01600183613720565b9150612c0e600a86613825565b612c199060306136c3565b60f81b818381518110612c2e57612c2e613897565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612c68600a866136db565b9450612bf0565b6000546001600160a01b038416612cee5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610966565b612cf9816000541190565b15612d465760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610966565b7f000000000000000000000000000000000000000000000000000000000000003c831115612ddc5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610966565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546fffffffffffffffffffffffffffffffff80821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190612e4e90879061368f565b6fffffffffffffffffffffffffffffffff168152602001858360200151612e75919061368f565b6fffffffffffffffffffffffffffffffff9081169091526001600160a01b03808816600081815260046020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600390955294812091518254945190951674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090941694909216939093179190911790915582905b8581101561302a5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612f98600088848861298f565b61300a5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610966565b81613014816137ec565b9250508080613022906137ec565b915050612f4b565b506000555050505050565b82805461304190613798565b90600052602060002090601f01602090048101928261306357600085556130a9565b82601f1061307c57805160ff19168380011785556130a9565b828001600101855582156130a9579182015b828111156130a957825182559160200191906001019061308e565b506117f19291505b808211156117f157600081556001016130b1565b600067ffffffffffffffff808411156130e0576130e06138c6565b604051601f8501601f19908116603f01168101908282118183101715613108576131086138c6565b8160405280935085815286868601111561312157600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461315257600080fd5b919050565b60008083601f84011261316957600080fd5b50813567ffffffffffffffff81111561318157600080fd5b6020830191508360208260051b850101111561319c57600080fd5b9250929050565b6000602082840312156131b557600080fd5b6131be8261313b565b9392505050565b600080604083850312156131d857600080fd5b6131e18361313b565b91506131ef6020840161313b565b90509250929050565b60008060006060848603121561320d57600080fd5b6132168461313b565b92506132246020850161313b565b9150604084013590509250925092565b60008060008060006080868803121561324c57600080fd5b6132558661313b565b94506132636020870161313b565b935060408601359250606086013567ffffffffffffffff8082111561328757600080fd5b818801915088601f83011261329b57600080fd5b8135818111156132aa57600080fd5b8960208285010111156132bc57600080fd5b9699959850939650602001949392505050565b600080600080608085870312156132e557600080fd5b6132ee8561313b565b93506132fc6020860161313b565b925060408501359150606085013567ffffffffffffffff81111561331f57600080fd5b8501601f8101871361333057600080fd5b61333f878235602084016130c5565b91505092959194509250565b60008060006040848603121561336057600080fd5b6133698461313b565b9250602084013567ffffffffffffffff81111561338557600080fd5b61339186828701613157565b9497909650939450505050565b600080604083850312156133b157600080fd5b6133ba8361313b565b9150602083013580151581146133cf57600080fd5b809150509250929050565b600080604083850312156133ed57600080fd5b6133f68361313b565b946020939093013593505050565b6000806000806040858703121561341a57600080fd5b843567ffffffffffffffff8082111561343257600080fd5b61343e88838901613157565b9096509450602087013591508082111561345757600080fd5b5061346487828801613157565b95989497509550505050565b60006020828403121561348257600080fd5b81356131be816138f5565b60006020828403121561349f57600080fd5b81516131be816138f5565b6000602082840312156134bc57600080fd5b813567ffffffffffffffff8111156134d357600080fd5b8201601f810184136134e457600080fd5b612b35848235602084016130c5565b60006020828403121561350557600080fd5b5035919050565b60008151808452613524816020860160208601613737565b601f01601f19169290920160200192915050565b6000815161354a818560208601613737565b9290920192915050565b600080845481600182811c91508083168061357057607f831692505b60208084108214156135a9577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156135bd57600181146135ce576135fb565b60ff198616895284890196506135fb565b60008b81526020902060005b868110156135f35781548b8201529085019083016135da565b505084890196505b50505050505061363761360e8286613538565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613672608083018461350c565b9695505050505050565b6020815260006131be602083018461350c565b60006fffffffffffffffffffffffffffffffff8083168185168083038211156136ba576136ba613839565b01949350505050565b600082198211156136d6576136d6613839565b500190565b6000826136ea576136ea613868565b500490565b60006fffffffffffffffffffffffffffffffff8381169083168181101561371857613718613839565b039392505050565b60008282101561373257613732613839565b500390565b60005b8381101561375257818101518382015260200161373a565b83811115611ec25750506000910152565b60008161377257613772613839565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600181811c908216806137ac57607f821691505b602082108114156137e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561381e5761381e613839565b5060010190565b60008261383457613834613868565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461234957600080fdfea2646970667358221220a610785b88d6bb9a403d749874c00c2217512e41dca6fe8bf3f49f101f0e241a64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000258100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d63736279747054635671705378654d37474b546e5a725a374261585a66623462416b50376f4e6467626962542f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : maxSizeBatch (uint256): 60
Arg [1] : maxSupply_ (uint256): 9601
Arg [2] : hiddenUri (string): ipfs://QmcsbytpTcVqpSxeM7GKTnZrZ7BaXZfb4bAkP7oNdgbibT/hidden.json
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000003c
Arg [1] : 0000000000000000000000000000000000000000000000000000000000002581
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [4] : 697066733a2f2f516d63736279747054635671705378654d37474b546e5a725a
Arg [5] : 374261585a66623462416b50376f4e6467626962542f68696464656e2e6a736f
Arg [6] : 6e00000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.