ETH Price: $3,321.13 (-4.95%)

Token

Mingoes (MINGOES)
 

Overview

Max Total Supply

221 MINGOES

Holders

196

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 MINGOES
0x29c9e0c4ca8ecc4b5a74f1261eb76d934ae6c460
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Mingoes

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion
File 1 of 7 : Mingoes.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import { ERC721 } from "./ERC721/ERC721.sol";
import { ERC721M } from "./ERC721/ERC721M.sol";
import { ERC721Tradable } from "./ERC721/extensions/ERC721Tradable.sol";

import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";

contract Mingoes is ERC721M, ERC721Tradable, Ownable {
	uint256 public constant PRICE = 0.04 ether;

	uint256 public constant MAX_SUPPLY = 10000;
	uint256 public constant MAX_RESERVE = 300;
	uint256 public constant MAX_PUBLIC = 9700; // MAX_SUPPLY - MAX_RESERVE
	uint256 public constant MAX_FREE = 200;

	uint256 public constant MAX_TX = 20;

	uint256 public reservesMinted;

	string public baseURI;

	bool public isSaleActive;

	mapping (address => bool) public hasClaimed;

	/* -------------------------------------------------------------------------- */
	/*                                 CONSTRUCTOR                                */
	/* -------------------------------------------------------------------------- */

	constructor(
		address _openSeaProxyRegistry,
		address _looksRareTransferManager,
		string memory _baseURI
	) payable ERC721M("Mingoes", "MINGOES") ERC721Tradable(_openSeaProxyRegistry, _looksRareTransferManager) {
		baseURI = _baseURI;
	}

	/* -------------------------------------------------------------------------- */
	/*                                    USER                                    */
	/* -------------------------------------------------------------------------- */

	/// @notice Mints an amount of tokens and transfers them to the caller during the public sale.
	/// @param amount The amount of tokens to mint.
	function publicMint(uint256 amount) external payable {
		require(isSaleActive, "Sale is not active");
		require(msg.sender == tx.origin, "No contracts allowed");

		uint256 _totalSupply = totalSupply();
		if (_totalSupply < MAX_FREE) {
			require(!hasClaimed[msg.sender], "Already claimed");
			hasClaimed[msg.sender] = true;
			
			_mint(msg.sender, 1);
			
			return;
		}
			
		require(msg.value == PRICE * amount, "Wrong ether amount");
		require(amount <= MAX_TX, "Amount exceeds tx limit");
		require(_totalSupply + amount <= MAX_PUBLIC, "Max public supply reached");

		_mint(msg.sender, amount);
	}

	/* -------------------------------------------------------------------------- */
	/*                                    OWNER                                   */
	/* -------------------------------------------------------------------------- */

	/// @notice Enables or disables minting through {publicMint}.
	/// @dev Requirements:
	/// - Caller must be the owner.
	function setIsSaleActive(bool _isSaleActive) external onlyOwner {
		isSaleActive = _isSaleActive;
	}

	/// @notice Mints tokens to multiple addresses.
	/// @dev Requirements:
	/// - Caller must be the owner.
	/// @param recipients The addresses to mint the tokens to.
	/// @param amounts The amounts of tokens to mint.
	function reserveMint(address[] calldata recipients, uint256[] calldata amounts) external onlyOwner {
		unchecked {
			uint256 sum;
			uint256 length = recipients.length;
			for (uint256 i; i < length; i++) {
				address to = recipients[i];
				require(to != address(0), "Invalid recipient");
				uint256 amount = amounts[i];

				_mint(to, amount);
				sum += amount;
			}

			uint256 totalReserves = reservesMinted + sum;

			require(totalSupply() <= MAX_SUPPLY, "Max supply reached");
			require(totalReserves <= MAX_RESERVE, "Amount exceeds reserve limit");

			reservesMinted = totalReserves;
		}
	}

	/// @notice Sets the base Uniform Resource Identifier (URI) for token metadata.
	/// @dev Requirements:
	/// - Caller must be the owner.
	/// @param _baseURI The base URI.
	function setBaseURI(string calldata _baseURI) external onlyOwner {
		baseURI = _baseURI;
	}

	/// @notice Withdraws all contract balance to the caller.
	/// @dev Requirements:
	/// - Caller must be the owner.
	function withdrawETH() external onlyOwner {
		_transferETH(msg.sender, address(this).balance);
	}

	/// @dev Requirements:
	/// - Caller must be the owner.
	/// @inheritdoc ERC721Tradable
	function setMarketplaceApprovalForAll(bool approved) public override onlyOwner {
		marketPlaceApprovalForAll = approved;
	}

	/* -------------------------------------------------------------------------- */
	/*                             SOLIDITY OVERRIDES                             */
	/* -------------------------------------------------------------------------- */

	/// @inheritdoc ERC721
	function tokenURI(uint256 id) public view override returns (string memory) {
		require(_exists(id), "NONEXISTENT_TOKEN");
		string memory _baseURI = baseURI;
		return bytes(_baseURI).length == 0 ? "" : string(abi.encodePacked(_baseURI, toString(id)));
	}

	/// @inheritdoc ERC721Tradable
	function isApprovedForAll(address owner, address operator) public view override(ERC721, ERC721Tradable) returns (bool) {
		return ERC721Tradable.isApprovedForAll(owner, operator);
	}

	/* -------------------------------------------------------------------------- */
	/*                                    UTILS                                   */
	/* -------------------------------------------------------------------------- */

	function _transferETH(address to, uint256 value) internal {
		// solhint-disable-next-line avoid-low-level-calls
		(bool success, ) = to.call{ value: value }("");
		require(success, "ETH transfer failed");
	}
}

File 2 of 7 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import { ERC721TokenReceiver } from "./ERC721TokenReceiver.sol";

abstract contract ERC721 {
	/* -------------------------------------------------------------------------- */
	/*                                   EVENTS                                   */
	/* -------------------------------------------------------------------------- */

	/// @dev Emitted when `id` token is transferred from `from` to `to`.
	event Transfer(address indexed from, address indexed to, uint256 indexed id);

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

	/// @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);

	/* -------------------------------------------------------------------------- */
	/*                              METADATA STORAGE                              */
	/* -------------------------------------------------------------------------- */

	/// @dev The collection name.
	string private _name;

	/// @dev The collection symbol.
	string private _symbol;

	/* -------------------------------------------------------------------------- */
	/*                               ERC721 STORAGE                               */
	/* -------------------------------------------------------------------------- */

	/// @dev ID => spender
	mapping(uint256 => address) internal _tokenApprovals;

	/// @dev owner => operator => approved
	mapping(address => mapping(address => bool)) internal _operatorApprovals;

	/* -------------------------------------------------------------------------- */
	/*                                 CONSTRUCTOR                                */
	/* -------------------------------------------------------------------------- */

	/// @param name_ The collection name.
	/// @param symbol_ The collection symbol.
	constructor(string memory name_, string memory symbol_) {
		_name = name_;
		_symbol = symbol_;
	}

	/* -------------------------------------------------------------------------- */
	/*                                ERC165 LOGIC                                */
	/* -------------------------------------------------------------------------- */

	/// @notice Returns true if this contract implements an interface from its ID.
	/// @dev See the corresponding
	/// [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
	/// to learn more about how these IDs are created.
	/// @return The implementation status.
	function supportsInterface(bytes4 interfaceId) public pure virtual returns (bool) {
		return
			interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
			interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721
			interfaceId == 0x5b5e139f || // ERC165 Interface ID for ERC721Metadata
			interfaceId == 0x780e9d63; // ERC165 Interface ID for ERC721Enumerable
	}

	/* -------------------------------------------------------------------------- */
	/*                               METADATA LOGIC                               */
	/* -------------------------------------------------------------------------- */

	/// @notice Returns the collection name.
	/// @return The collection name.
	function name() public view virtual returns (string memory) {
		return _name;
	}

	/// @notice Returns the collection symbol.
	/// @return The collection symbol.
	function symbol() public view virtual returns (string memory) {
		return _symbol;
	}

	/// @notice Returns the Uniform Resource Identifier (URI) for `id` token.
	/// @param id The token ID.
	/// @return The URI.
	function tokenURI(uint256 id) public view virtual returns (string memory);

	/* -------------------------------------------------------------------------- */
	/*                              ENUMERABLE LOGIC                              */
	/* -------------------------------------------------------------------------- */

	/// @notice Returns the total amount of tokens stored by the contract.
	/// @return The token supply.
	function totalSupply() public view virtual returns (uint256);

	/// @notice Returns a token ID owned by `owner` at a given `index` of its token list.
	/// @dev Use along with {balanceOf} to enumerate all of `owner`'s tokens.
	/// @param owner The address to query.
	/// @param index The index to query.
	/// @return The token ID.
	function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual returns (uint256);

	/// @notice Returns a token ID at a given `index` of all the tokens stored by the contract.
	/// @dev Use along with {totalSupply} to enumerate all tokens.
	/// @param index The index to query.
	/// @return The token ID.
	function tokenByIndex(uint256 index) public view virtual returns (uint256);

	/* -------------------------------------------------------------------------- */
	/*                                ERC721 LOGIC                                */
	/* -------------------------------------------------------------------------- */

	/// @notice Returns the account approved for a token ID.
	/// @dev Requirements:
	/// - `id` must exist.
	/// @param id Token ID to query.
	/// @return The account approved for `id` token.
	function getApproved(uint256 id) public virtual returns (address) {
		require(_exists(id), "NONEXISTENT_TOKEN");
		return _tokenApprovals[id];
	}

	/// @notice Returns if the `operator` is allowed to manage all of the assets of `owner`.
	/// @param owner The address of the owner.
	/// @param operator The address of the operator.
	/// @return True if `operator` was approved by `owner`.
	function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {
		return _operatorApprovals[owner][operator];
	}

	/// @notice Gives permission to `to` to transfer `id` token to another account.
	/// @dev 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.
	/// - `id` must exist.
	/// Emits an {Approval} event.
	/// @param spender The address of the spender to approve to.
	/// @param id The token ID to approve.
	function approve(address spender, uint256 id) public virtual {
		address owner = ownerOf(id);

		require(isApprovedForAll(owner, msg.sender) || msg.sender == owner, "NOT_AUTHORIZED");

		_tokenApprovals[id] = spender;

		emit Approval(owner, spender, id);
	}

	/// @notice Approve or remove `operator` as an operator for the caller.
	/// @dev Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
	/// Emits an {ApprovalForAll} event.
	/// @param operator The address of the operator to approve.
	/// @param approved The status to set.
	function setApprovalForAll(address operator, bool approved) public virtual {
		_operatorApprovals[msg.sender][operator] = approved;

		emit ApprovalForAll(msg.sender, operator, approved);
	}

	/// @notice Transfers `id` token from `from` to `to`.
	/// WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
	/// @dev Requirements:
	/// - `to` cannot be the zero address.
	/// - `id` 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.
	/// @param from The address to transfer from.
	/// @param to The address to transfer to.
	/// @param id The token ID to transfer.
	function transferFrom(
		address from,
		address to,
		uint256 id
	) public virtual {
		_transfer(from, to, id);
	}

	/// @notice Safely transfers `id` token from `from` to `to`.
	/// @dev Requirements:
	/// - `to` cannot be the zero address.
	/// - `id` 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 {ERC721TokenReceiver-onERC721Received}, which is called upon a safe transfer.
	/// Emits a {Transfer} event.
	/// @param from The address to transfer from.
	/// @param to The address to transfer to.
	/// @param id The token ID to transfer.
	function safeTransferFrom(
		address from,
		address to,
		uint256 id
	) public virtual {
		_transfer(from, to, id);

		require(to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT");
	}

	/// @notice Safely transfers `id` token from `from` to `to`.
	/// @dev Requirements:
	/// - `to` cannot be the zero address.
	/// - `id` 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 {ERC721TokenReceiver-onERC721Received}, which is called upon a safe transfer.
	/// Emits a {Transfer} event.
	/// Additionally passes `data` in the callback.
	/// @param from The address to transfer from.
	/// @param to The address to transfer to.
	/// @param id The token ID to transfer.
	/// @param data The calldata to pass in the {ERC721TokenReceiver-onERC721Received} callback.
	function safeTransferFrom(
		address from,
		address to,
		uint256 id,
		bytes memory data
	) public virtual {
		_transfer(from, to, id);

		require(to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT");
	}

	/// @notice Returns the number of tokens in an account.
	/// @param owner The address to query.
	/// @return The balance.
	function balanceOf(address owner) public view virtual returns (uint256);

	/// @notice Returns the owner of a token ID.
	/// @dev Requirements:
	/// - `id` must exist.
	/// @param id The token ID.
	function ownerOf(uint256 id) public view virtual returns (address);

	/* -------------------------------------------------------------------------- */
	/*                               INTERNAL LOGIC                               */
	/* -------------------------------------------------------------------------- */

	/// @dev Returns whether a token ID exists.
	/// Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
	/// Tokens start existing when they are minted.
	/// @param id Token ID to query.
	function _exists(uint256 id) internal view virtual returns (bool);

	/// @dev Transfers `id` from `from` to `to`.
	/// Requirements:
	/// - `to` cannot be the zero address.
	/// - `id` token must be owned by `from`.
	/// Emits a {Transfer} event.
	/// @param from The address to transfer from.
	/// @param to The address to transfer to.
	/// @param id The token ID to transfer.
	function _transfer(
		address from,
		address to,
		uint256 id
	) internal virtual;

	/// @dev Mints `amount` tokens to `to`.
	/// Requirements:
	/// - there must be `amount` tokens remaining unminted in the total collection.
	/// - `to` cannot be the zero address.
	/// Emits `amount` {Transfer} events.
	/// @param to The address to mint to.
	/// @param amount The amount of tokens to mint.
	function _mint(address to, uint256 amount) internal virtual;

	/// @dev Safely mints `amount` of tokens and transfers them to `to`.
	/// If `to` is a contract it must implement {ERC721TokenReceiver.onERC721Received}
	/// that returns {ERC721TokenReceiver.onERC721Received.selector}.
	/// @param to The address to mint to.
	/// @param amount The amount of tokens to mint.
	function _safeMint(address to, uint256 amount) internal virtual {
		_mint(to, amount);

		require(to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(address(0), to, totalSupply() - amount + 1, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT");
	}

	/// @dev Safely mints `amount` of tokens and transfers them to `to`.
	/// Requirements:
	/// - `id` must not exist.
	/// - If `to` refers to a smart contract, it must implement {ERC721TokenReceiver.onERC721Received}, which is called upon a safe transfer.
	/// Additionally passes `data` in the callback.
	/// @param to The address to mint to.
	/// @param amount The amount of tokens to mint.
	/// @param data The calldata to pass in the {ERC721TokenReceiver.onERC721Received} callback.
	function _safeMint(
		address to,
		uint256 amount,
		bytes memory data
	) internal virtual {
		_mint(to, amount);

		require(to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(address(0), to, totalSupply() - amount + 1, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT");
	}

	/* -------------------------------------------------------------------------- */
	/*                                    UTILS                                   */
	/* -------------------------------------------------------------------------- */

	/// @notice Converts a `uint256` to its ASCII `string` decimal representation.
	/// @dev https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol
	function toString(uint256 value) internal pure virtual 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);
	}
}

File 3 of 7 : ERC721M.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity ^0.8.0;

import { ERC721 } from "./ERC721.sol";

abstract contract ERC721M is ERC721 {
	/* -------------------------------------------------------------------------- */
	/*                               ERC721M STORAGE                              */
	/* -------------------------------------------------------------------------- */

	/// @dev The index is the token ID counter and points to its owner.
	address[] internal _owners;

	/* -------------------------------------------------------------------------- */
	/*                                 CONSTRUCTOR                                */
	/* -------------------------------------------------------------------------- */

	constructor(string memory name_, string memory symbol_) ERC721(name_, symbol_) {
		// Initializes the index to 1.
		_owners.push();
	}

	/* -------------------------------------------------------------------------- */
	/*                              ENUMERABLE LOGIC                              */
	/* -------------------------------------------------------------------------- */

	/// @inheritdoc ERC721
	function totalSupply() public view override returns (uint256) {
		// Overflow is impossible as _owners.length is initialized to 1.
		unchecked {
			return _owners.length - 1;
		}
	}

	/// @dev O(totalSupply), it is discouraged to call this function from other contracts
	/// as it can become very expensive, especially with higher total collection sizes.
	/// @inheritdoc ERC721
	function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
		require(index < balanceOf(owner), "INVALID_INDEX");

		// Both of the counters cannot overflow because the loop breaks before that.
		unchecked {
			uint256 count;
			uint256 _currentIndex = _owners.length; // == totalSupply() + 1 == _owners.length - 1 + 1
			for (uint256 i; i < _currentIndex; i++) {
				if (owner == ownerOf(i)) {
					if (count == index) return i;
					else count++;
				}
			}
		}

		revert("NOT_FOUND");
	}

	/// @inheritdoc ERC721
	function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
		require(_exists(index), "INVALID_INDEX");
		return index;
	}

	/* -------------------------------------------------------------------------- */
	/*                                ERC721 LOGIC                                */
	/* -------------------------------------------------------------------------- */

	/// @dev O(totalSupply), it is discouraged to call this function from other contracts
	/// as it can become very expensive, especially with higher total collection sizes.
	/// @inheritdoc ERC721
	function balanceOf(address owner) public view virtual override returns (uint256 balance) {
		require(owner != address(0), "INVALID_OWNER");

		unchecked {
			// Start at 1 since token 0 does not exist
			uint256 _currentIndex = _owners.length; // == totalSupply() + 1 == _owners.length - 1 + 1
			for (uint256 i = 1; i < _currentIndex; i++) {
				if (owner == ownerOf(i)) {
					balance++;
				}
			}
		}
	}

	/// @dev O(MAX_TX), gradually moves to O(1) as more tokens get transferred and
	/// the owners are explicitly set.
	/// @inheritdoc ERC721
	function ownerOf(uint256 id) public view virtual override returns (address owner) {
		require(_exists(id), "NONEXISTENT_TOKEN");

		for (uint256 i = id; ; i++) {
			owner = _owners[i];
			if (owner != address(0)) {
				return owner;
			}
		}
	}

	/* -------------------------------------------------------------------------- */
	/*                               INTERNAL LOGIC                               */
	/* -------------------------------------------------------------------------- */

	/// @inheritdoc ERC721
	function _mint(address to, uint256 amount) internal virtual override {
		require(to != address(0), "INVALID_RECIPIENT");
		require(amount != 0, "INVALID_AMOUNT");

		unchecked {
			uint256 _currentIndex = _owners.length; // == totalSupply() + 1 == _owners.length - 1 + 1

			for (uint256 i; i < amount - 1; i++) {
				// storing address(0) while also incrementing the index
				_owners.push();
				emit Transfer(address(0), to, _currentIndex + i);
			}

			// storing the actual owner
			_owners.push(to);
			emit Transfer(address(0), to, _currentIndex + (amount - 1));
		}
	}

	/// @inheritdoc ERC721
	function _exists(uint256 id) internal view virtual override returns (bool) {
		return id != 0 && id < _owners.length;
	}

	/// @inheritdoc ERC721
	function _transfer(
		address from,
		address to,
		uint256 id
	) internal virtual override {
		require(ownerOf(id) == from, "WRONG_FROM");
		require(to != address(0), "INVALID_RECIPIENT");
		require(msg.sender == from || getApproved(id) == msg.sender || isApprovedForAll(from, msg.sender), "NOT_AUTHORIZED");

		delete _tokenApprovals[id];

		_owners[id] = to;

		unchecked {
			uint256 prevId = id - 1;
			if (_owners[prevId] == address(0)) {
				_owners[prevId] = from;
			}
		}

		emit Transfer(from, to, id);
	}
}

File 4 of 7 : ERC721Tradable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import { ERC721 } from "../ERC721.sol";

/// @notice An interface for the OpenSea Proxy Registry.
interface IProxyRegistry {
	function proxies(address) external view returns (address);
}

abstract contract ERC721Tradable is ERC721 {
	/* -------------------------------------------------------------------------- */
	/*                              IMMUTABLE STORAGE                             */
	/* -------------------------------------------------------------------------- */

	/// @notice The OpenSea Proxy Registry address.
	address public immutable openSeaProxyRegistry;

	/// @notice The LooksRare Transfer Manager (ERC721) address.
	address public immutable looksRareTransferManager;

	/* -------------------------------------------------------------------------- */
	/*                               MUTABLE STORAGE                              */
	/* -------------------------------------------------------------------------- */

	/// @notice Returns true if the stored marketplace addresses are whitelisted in {isApprovedForAll}.
	/// @dev Enabled by default. Can be turned off with {setMarketplaceApprovalForAll}.
	bool public marketPlaceApprovalForAll = true;

	/* -------------------------------------------------------------------------- */
	/*                                 CONSTRUCTOR                                */
	/* -------------------------------------------------------------------------- */

	/// OpenSea proxy registry addresses:
	/// - ETHEREUM MAINNET: 0xa5409ec958C83C3f309868babACA7c86DCB077c1
	/// - ETHEREUM RINKEBY: 0xF57B2c51dED3A29e6891aba85459d600256Cf317
	/// LooksRare Transfer Manager addresses (https://docs.looksrare.org/developers/deployed-contract-addresses):
	/// - ETHEREUM MAINNET: 0xf42aa99F011A1fA7CDA90E5E98b277E306BcA83e
	/// - ETHEREUM RINKEBY: 0x3f65A762F15D01809cDC6B43d8849fF24949c86a
	/// @param _openSeaProxyRegistry The OpenSea proxy registry address.
	constructor(address _openSeaProxyRegistry, address _looksRareTransferManager) {
		require(_openSeaProxyRegistry != address(0) && _looksRareTransferManager != address(0), "INVALID_ADDRESS");
		openSeaProxyRegistry = _openSeaProxyRegistry;
		looksRareTransferManager = _looksRareTransferManager;
	}

	/* -------------------------------------------------------------------------- */
	/*                            ERC721ATradable LOGIC                           */
	/* -------------------------------------------------------------------------- */

	/// @notice Enables or disables the marketplace whitelist in {isApprovedForAll}.
	/// @dev Must be implemented in inheriting contracts.
	/// Recommended to use in combination with an access control contract (e.g. OpenZeppelin's Ownable).
	function setMarketplaceApprovalForAll(bool approved) public virtual;

	/// @return True if `operator` is a whitelisted marketplace contract or if it was approved by `owner` with {ERC721A.setApprovalForAll}.
	/// @inheritdoc ERC721
	function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
		if (marketPlaceApprovalForAll && (operator == IProxyRegistry(openSeaProxyRegistry).proxies(owner) || operator == looksRareTransferManager)) return true;
		return super.isApprovedForAll(owner, operator);
	}
}

File 5 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 7 : ERC721TokenReceiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @notice A generic interface for a contract which properly accepts ERC721 tokens.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol)
interface ERC721TokenReceiver {
	function onERC721Received(
		address operator,
		address from,
		uint256 id,
		bytes calldata data
	) external returns (bytes4);
}

File 7 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_openSeaProxyRegistry","type":"address"},{"internalType":"address","name":"_looksRareTransferManager","type":"address"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","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":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_FREE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"looksRareTransferManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketPlaceApprovalForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openSeaProxyRegistry","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservesMinted","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":"id","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":"id","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":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isSaleActive","type":"bool"}],"name":"setIsSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"approved","type":"bool"}],"name":"setMarketplaceApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"id","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":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060408190526005805460ff191660011790556200334c38819003908190833981016040819052620000329162000288565b8282604051806040016040528060078152602001664d696e676f657360c81b815250604051806040016040528060078152602001664d494e474f455360c81b815250818181600090805190602001906200008e929190620001af565b508051620000a4906001906020840190620001af565b50506004805460010181556000525050506001600160a01b03821615801590620000d657506001600160a01b03811615155b620001195760405162461bcd60e51b815260206004820152600f60248201526e494e56414c49445f4144445245535360881b604482015260640160405180910390fd5b6001600160a01b039182166080521660a052620001363362000155565b80516200014b906007906020840190620001af565b50505050620003c9565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001bd906200038c565b90600052602060002090601f016020900481019282620001e157600085556200022c565b82601f10620001fc57805160ff19168380011785556200022c565b828001600101855582156200022c579182015b828111156200022c5782518255916020019190600101906200020f565b506200023a9291506200023e565b5090565b5b808211156200023a57600081556001016200023f565b80516001600160a01b03811681146200026d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156200029e57600080fd5b620002a98462000255565b92506020620002ba81860162000255565b60408601519093506001600160401b0380821115620002d857600080fd5b818701915087601f830112620002ed57600080fd5b81518181111562000302576200030262000272565b604051601f8201601f19908116603f011681019083821181831017156200032d576200032d62000272565b816040528281528a868487010111156200034657600080fd5b600093505b828410156200036a57848401860151818501870152928501926200034b565b828411156200037c5760008684830101525b8096505050505050509250925092565b600181811c90821680620003a157607f821691505b60208210811415620003c357634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051612f4f620003fd6000396000818161047801526126e701526000818161044401526126460152612f4f6000f3fe6080604052600436106102855760003560e01c806370a0823111610153578063b88d4fde116100cb578063e985e9c51161007f578063eff31e9e11610064578063eff31e9e1461071e578063f2fde38b14610734578063f3b2db3f1461075457600080fd5b8063e985e9c5146106e9578063ed6661c21461070957600080fd5b8063cc41d795116100b0578063cc41d7951461069e578063d2d65ff5146106b4578063e086e5ec146106d457600080fd5b8063b88d4fde1461065e578063c87b56dd1461067e57600080fd5b80638da5cb5b11610122578063963565e111610107578063963565e1146106085780639753eac014610628578063a22cb4651461063e57600080fd5b80638da5cb5b146105c357806395d89b41146105f357600080fd5b806370a0823114610543578063715018a61461056357806373b2e80e146105785780638d859f3e146105a857600080fd5b806342842e0e11610201578063564566a8116101b55780635b7445a51161019a5780635b7445a5146104f45780636352211e1461050e5780636c0360eb1461052e57600080fd5b8063564566a8146104ba5780635ac103fe146104d457600080fd5b80635025b548116101e65780635025b548146104325780635312650e1461046657806355f804b31461049a57600080fd5b806342842e0e146103f25780634f6ccce71461041257600080fd5b806318160ddd116102585780632db115441161023d5780632db11544146103a95780632f745c59146103bc57806332cb6b0c146103dc57600080fd5b806318160ddd1461034857806323b872dd1461038957600080fd5b806301ffc9a71461028a57806306fdde03146102bf578063081812fc146102e1578063095ea7b314610326575b600080fd5b34801561029657600080fd5b506102aa6102a5366004612859565b610769565b60405190151581526020015b60405180910390f35b3480156102cb57600080fd5b506102d461089a565b6040516102b691906128ec565b3480156102ed57600080fd5b506103016102fc3660046128ff565b61092c565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102b6565b34801561033257600080fd5b5061034661034136600461293a565b6109cb565b005b34801561035457600080fd5b506004547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff015b6040519081526020016102b6565b34801561039557600080fd5b506103466103a4366004612966565b610ae9565b6103466103b73660046128ff565b610af9565b3480156103c857600080fd5b5061037b6103d736600461293a565b610e2c565b3480156103e857600080fd5b5061037b61271081565b3480156103fe57600080fd5b5061034661040d366004612966565b610f72565b34801561041e57600080fd5b5061037b61042d3660046128ff565b6110d7565b34801561043e57600080fd5b506103017f000000000000000000000000000000000000000000000000000000000000000081565b34801561047257600080fd5b506103017f000000000000000000000000000000000000000000000000000000000000000081565b3480156104a657600080fd5b506103466104b53660046129a7565b61114c565b3480156104c657600080fd5b506008546102aa9060ff1681565b3480156104e057600080fd5b506103466104ef366004612a2e565b6111df565b34801561050057600080fd5b506005546102aa9060ff1681565b34801561051a57600080fd5b506103016105293660046128ff565b611297565b34801561053a57600080fd5b506102d461135f565b34801561054f57600080fd5b5061037b61055e366004612a49565b6113ed565b34801561056f57600080fd5b506103466114cc565b34801561058457600080fd5b506102aa610593366004612a49565b60096020526000908152604090205460ff1681565b3480156105b457600080fd5b5061037b668e1bc9bf04000081565b3480156105cf57600080fd5b50600554610100900473ffffffffffffffffffffffffffffffffffffffff16610301565b3480156105ff57600080fd5b506102d461155f565b34801561061457600080fd5b50610346610623366004612ab2565b61156e565b34801561063457600080fd5b5061037b6125e481565b34801561064a57600080fd5b50610346610659366004612b1e565b6117f2565b34801561066a57600080fd5b50610346610679366004612b82565b611889565b34801561068a57600080fd5b506102d46106993660046128ff565b6119e0565b3480156106aa57600080fd5b5061037b60065481565b3480156106c057600080fd5b506103466106cf366004612a2e565b611b30565b3480156106e057600080fd5b50610346611be8565b3480156106f557600080fd5b506102aa610704366004612c80565b611c79565b34801561071557600080fd5b5061037b60c881565b34801561072a57600080fd5b5061037b61012c81565b34801561074057600080fd5b5061034661074f366004612a49565b611c85565b34801561076057600080fd5b5061037b601481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806107fc57507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061084857507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061089457507f780e9d63000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546108a990612cb9565b80601f01602080910402602001604051908101604052809291908181526020018280546108d590612cb9565b80156109225780601f106108f757610100808354040283529160200191610922565b820191906000526020600020905b81548152906001019060200180831161090557829003601f168201915b5050505050905090565b600061093782611dbb565b6109a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4e4f4e4558495354454e545f544f4b454e00000000000000000000000000000060448201526064015b60405180910390fd5b5060009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60006109d682611297565b90506109e28133611c79565b80610a0257503373ffffffffffffffffffffffffffffffffffffffff8216145b610a68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e4f545f415554484f52495a45440000000000000000000000000000000000006044820152606401610999565b60008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610af4838383611dcf565b505050565b60085460ff16610b65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f53616c65206973206e6f742061637469766500000000000000000000000000006044820152606401610999565b333214610bce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f20636f6e74726163747320616c6c6f7765640000000000000000000000006044820152606401610999565b6000610bfb6004547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b905060c8811015610cc9573360009081526009602052604090205460ff1615610c80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f416c726561647920636c61696d656400000000000000000000000000000000006044820152606401610999565b33600081815260096020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001908117909155610cc59190612159565b5050565b610cda82668e1bc9bf040000612d3c565b3414610d42576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f57726f6e6720657468657220616d6f756e7400000000000000000000000000006044820152606401610999565b6014821115610dad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f416d6f756e742065786365656473207478206c696d69740000000000000000006044820152606401610999565b6125e4610dba8383612d79565b1115610e22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4d6178207075626c696320737570706c792072656163686564000000000000006044820152606401610999565b610cc53383612159565b6000610e37836113ed565b8210610e9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f494e56414c49445f494e444558000000000000000000000000000000000000006044820152606401610999565b600454600090815b81811015610f0c57610eb881611297565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415610f045784831415610efd579250610894915050565b6001909201915b600101610ea7565b50506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e4f545f464f554e44000000000000000000000000000000000000000000000060448201526064019050610999565b610f7d838383611dcf565b73ffffffffffffffffffffffffffffffffffffffff82163b158061107157506040517f150b7a020000000000000000000000000000000000000000000000000000000080825233600483015273ffffffffffffffffffffffffffffffffffffffff858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015611029573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104d9190612d91565b7fffffffff0000000000000000000000000000000000000000000000000000000016145b610af4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f554e534146455f524543495049454e54000000000000000000000000000000006044820152606401610999565b60006110e282611dbb565b611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f494e56414c49445f494e444558000000000000000000000000000000000000006044820152606401610999565b5090565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633146111d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b610af46007838361277d565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60006112a282611dbb565b611308576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4e4f4e4558495354454e545f544f4b454e0000000000000000000000000000006044820152606401610999565b815b6004818154811061131d5761131d612dae565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169150811561134d5750919050565b8061135781612ddd565b91505061130a565b6007805461136c90612cb9565b80601f016020809104026020016040519081016040528092919081815260200182805461139890612cb9565b80156113e55780601f106113ba576101008083540402835291602001916113e5565b820191906000526020600020905b8154815290600101906020018083116113c857829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff821661146c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f494e56414c49445f4f574e4552000000000000000000000000000000000000006044820152606401610999565b60045460015b818110156114c55761148381611297565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156114bd576001909201915b600101611472565b5050919050565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314611553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b61155d600061236f565b565b6060600180546108a990612cb9565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633146115f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b600083815b818110156116df57600087878381811061161657611616612dae565b905060200201602081019061162b9190612a49565b905073ffffffffffffffffffffffffffffffffffffffff81166116aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c696420726563697069656e740000000000000000000000000000006044820152606401610999565b60008686848181106116be576116be612dae565b9050602002013590506116d18282612159565b9390930192506001016115fa565b5060065482016127106117136004547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b111561177b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4d617820737570706c79207265616368656400000000000000000000000000006044820152606401610999565b61012c8111156117e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f416d6f756e7420657863656564732072657365727665206c696d6974000000006044820152606401610999565b600655505050505050565b33600081815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611894848484611dcf565b73ffffffffffffffffffffffffffffffffffffffff83163b158061197457506040517f150b7a02000000000000000000000000000000000000000000000000000000008082529073ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061190d903390899088908890600401612e16565b6020604051808303816000875af115801561192c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119509190612d91565b7fffffffff0000000000000000000000000000000000000000000000000000000016145b6119da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f554e534146455f524543495049454e54000000000000000000000000000000006044820152606401610999565b50505050565b60606119eb82611dbb565b611a51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4e4f4e4558495354454e545f544f4b454e0000000000000000000000000000006044820152606401610999565b600060078054611a6090612cb9565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8c90612cb9565b8015611ad95780601f10611aae57610100808354040283529160200191611ad9565b820191906000526020600020905b815481529060010190602001808311611abc57829003601f168201915b505050505090508051600014611b185780611af3846123ed565b604051602001611b04929190612e5f565b604051602081830303815290604052611b29565b604051806020016040528060008152505b9392505050565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314611bb7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314611c6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b61155d3347612527565b6000611b2983836125f1565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314611d0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b73ffffffffffffffffffffffffffffffffffffffff8116611daf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610999565b611db88161236f565b50565b600081158015906108945750506004541190565b8273ffffffffffffffffffffffffffffffffffffffff16611def82611297565b73ffffffffffffffffffffffffffffffffffffffff1614611e6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f57524f4e475f46524f4d000000000000000000000000000000000000000000006044820152606401610999565b73ffffffffffffffffffffffffffffffffffffffff8216611ee9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f494e56414c49445f524543495049454e540000000000000000000000000000006044820152606401610999565b3373ffffffffffffffffffffffffffffffffffffffff84161480611f2a575033611f128261092c565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f3a5750611f3a8333611c79565b611fa0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e4f545f415554484f52495a45440000000000000000000000000000000000006044820152606401610999565b600081815260026020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556004805483919083908110611feb57611feb612dae565b6000918252602082200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9390931692909217909155600480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84019291908390811061207357612073612dae565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1614156120f85783600482815481106120af576120af612dae565b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b73ffffffffffffffffffffffffffffffffffffffff82166121d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f494e56414c49445f524543495049454e540000000000000000000000000000006044820152606401610999565b8061223d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49445f414d4f554e540000000000000000000000000000000000006044820152606401610999565b60045460005b600183038110156122a85760048054600101815560009081526040518383019173ffffffffffffffffffffffffffffffffffffffff8716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4600101612243565b506004805460018101825560009182527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86169081179091556040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8585010192907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4505050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60608161242d57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612457578061244181612ddd565b91506124509050600a83612ebd565b9150612431565b60008167ffffffffffffffff81111561247257612472612b53565b6040519080825280601f01601f19166020018201604052801561249c576020820181803683370190505b5090505b841561251f576124b1600183612ed1565b91506124be600a86612ee8565b6124c9906030612d79565b60f81b8183815181106124de576124de612dae565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612518600a86612ebd565b94506124a0565b949350505050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114612581576040519150601f19603f3d011682016040523d82523d6000602084013e612586565b606091505b5050905080610af4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f455448207472616e73666572206661696c6564000000000000000000000000006044820152606401610999565b60055460009060ff16801561273557506040517fc455279100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c455279190602401602060405180830381865afa15801561268d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126b19190612efc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16148061273557507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561274257506001610894565b73ffffffffffffffffffffffffffffffffffffffff80841660009081526003602090815260408083209386168352929052205460ff16611b29565b82805461278990612cb9565b90600052602060002090601f0160209004810192826127ab576000855561280f565b82601f106127e2578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082351617855561280f565b8280016001018555821561280f579182015b8281111561280f5782358255916020019190600101906127f4565b506111489291505b808211156111485760008155600101612817565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611db857600080fd5b60006020828403121561286b57600080fd5b8135611b298161282b565b60005b83811015612891578181015183820152602001612879565b838111156119da5750506000910152565b600081518084526128ba816020860160208601612876565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611b2960208301846128a2565b60006020828403121561291157600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114611db857600080fd5b6000806040838503121561294d57600080fd5b823561295881612918565b946020939093013593505050565b60008060006060848603121561297b57600080fd5b833561298681612918565b9250602084013561299681612918565b929592945050506040919091013590565b600080602083850312156129ba57600080fd5b823567ffffffffffffffff808211156129d257600080fd5b818501915085601f8301126129e657600080fd5b8135818111156129f557600080fd5b866020828501011115612a0757600080fd5b60209290920196919550909350505050565b80358015158114612a2957600080fd5b919050565b600060208284031215612a4057600080fd5b611b2982612a19565b600060208284031215612a5b57600080fd5b8135611b2981612918565b60008083601f840112612a7857600080fd5b50813567ffffffffffffffff811115612a9057600080fd5b6020830191508360208260051b8501011115612aab57600080fd5b9250929050565b60008060008060408587031215612ac857600080fd5b843567ffffffffffffffff80821115612ae057600080fd5b612aec88838901612a66565b90965094506020870135915080821115612b0557600080fd5b50612b1287828801612a66565b95989497509550505050565b60008060408385031215612b3157600080fd5b8235612b3c81612918565b9150612b4a60208401612a19565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060008060808587031215612b9857600080fd5b8435612ba381612918565b93506020850135612bb381612918565b925060408501359150606085013567ffffffffffffffff80821115612bd757600080fd5b818701915087601f830112612beb57600080fd5b813581811115612bfd57612bfd612b53565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715612c4357612c43612b53565b816040528281528a6020848701011115612c5c57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215612c9357600080fd5b8235612c9e81612918565b91506020830135612cae81612918565b809150509250929050565b600181811c90821680612ccd57607f821691505b60208210811415612d07577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612d7457612d74612d0d565b500290565b60008219821115612d8c57612d8c612d0d565b500190565b600060208284031215612da357600080fd5b8151611b298161282b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612e0f57612e0f612d0d565b5060010190565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612e5560808301846128a2565b9695505050505050565b60008351612e71818460208801612876565b835190830190612e85818360208801612876565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612ecc57612ecc612e8e565b500490565b600082821015612ee357612ee3612d0d565b500390565b600082612ef757612ef7612e8e565b500690565b600060208284031215612f0e57600080fd5b8151611b298161291856fea26469706673582212208476ab7cdc542ffe982211e0f0040b30547e72b837d6c7893a00001f85927aa264736f6c634300080b0033000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000f42aa99f011a1fa7cda90e5e98b277e306bca83e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102855760003560e01c806370a0823111610153578063b88d4fde116100cb578063e985e9c51161007f578063eff31e9e11610064578063eff31e9e1461071e578063f2fde38b14610734578063f3b2db3f1461075457600080fd5b8063e985e9c5146106e9578063ed6661c21461070957600080fd5b8063cc41d795116100b0578063cc41d7951461069e578063d2d65ff5146106b4578063e086e5ec146106d457600080fd5b8063b88d4fde1461065e578063c87b56dd1461067e57600080fd5b80638da5cb5b11610122578063963565e111610107578063963565e1146106085780639753eac014610628578063a22cb4651461063e57600080fd5b80638da5cb5b146105c357806395d89b41146105f357600080fd5b806370a0823114610543578063715018a61461056357806373b2e80e146105785780638d859f3e146105a857600080fd5b806342842e0e11610201578063564566a8116101b55780635b7445a51161019a5780635b7445a5146104f45780636352211e1461050e5780636c0360eb1461052e57600080fd5b8063564566a8146104ba5780635ac103fe146104d457600080fd5b80635025b548116101e65780635025b548146104325780635312650e1461046657806355f804b31461049a57600080fd5b806342842e0e146103f25780634f6ccce71461041257600080fd5b806318160ddd116102585780632db115441161023d5780632db11544146103a95780632f745c59146103bc57806332cb6b0c146103dc57600080fd5b806318160ddd1461034857806323b872dd1461038957600080fd5b806301ffc9a71461028a57806306fdde03146102bf578063081812fc146102e1578063095ea7b314610326575b600080fd5b34801561029657600080fd5b506102aa6102a5366004612859565b610769565b60405190151581526020015b60405180910390f35b3480156102cb57600080fd5b506102d461089a565b6040516102b691906128ec565b3480156102ed57600080fd5b506103016102fc3660046128ff565b61092c565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102b6565b34801561033257600080fd5b5061034661034136600461293a565b6109cb565b005b34801561035457600080fd5b506004547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff015b6040519081526020016102b6565b34801561039557600080fd5b506103466103a4366004612966565b610ae9565b6103466103b73660046128ff565b610af9565b3480156103c857600080fd5b5061037b6103d736600461293a565b610e2c565b3480156103e857600080fd5b5061037b61271081565b3480156103fe57600080fd5b5061034661040d366004612966565b610f72565b34801561041e57600080fd5b5061037b61042d3660046128ff565b6110d7565b34801561043e57600080fd5b506103017f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c181565b34801561047257600080fd5b506103017f000000000000000000000000f42aa99f011a1fa7cda90e5e98b277e306bca83e81565b3480156104a657600080fd5b506103466104b53660046129a7565b61114c565b3480156104c657600080fd5b506008546102aa9060ff1681565b3480156104e057600080fd5b506103466104ef366004612a2e565b6111df565b34801561050057600080fd5b506005546102aa9060ff1681565b34801561051a57600080fd5b506103016105293660046128ff565b611297565b34801561053a57600080fd5b506102d461135f565b34801561054f57600080fd5b5061037b61055e366004612a49565b6113ed565b34801561056f57600080fd5b506103466114cc565b34801561058457600080fd5b506102aa610593366004612a49565b60096020526000908152604090205460ff1681565b3480156105b457600080fd5b5061037b668e1bc9bf04000081565b3480156105cf57600080fd5b50600554610100900473ffffffffffffffffffffffffffffffffffffffff16610301565b3480156105ff57600080fd5b506102d461155f565b34801561061457600080fd5b50610346610623366004612ab2565b61156e565b34801561063457600080fd5b5061037b6125e481565b34801561064a57600080fd5b50610346610659366004612b1e565b6117f2565b34801561066a57600080fd5b50610346610679366004612b82565b611889565b34801561068a57600080fd5b506102d46106993660046128ff565b6119e0565b3480156106aa57600080fd5b5061037b60065481565b3480156106c057600080fd5b506103466106cf366004612a2e565b611b30565b3480156106e057600080fd5b50610346611be8565b3480156106f557600080fd5b506102aa610704366004612c80565b611c79565b34801561071557600080fd5b5061037b60c881565b34801561072a57600080fd5b5061037b61012c81565b34801561074057600080fd5b5061034661074f366004612a49565b611c85565b34801561076057600080fd5b5061037b601481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806107fc57507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061084857507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061089457507f780e9d63000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546108a990612cb9565b80601f01602080910402602001604051908101604052809291908181526020018280546108d590612cb9565b80156109225780601f106108f757610100808354040283529160200191610922565b820191906000526020600020905b81548152906001019060200180831161090557829003601f168201915b5050505050905090565b600061093782611dbb565b6109a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4e4f4e4558495354454e545f544f4b454e00000000000000000000000000000060448201526064015b60405180910390fd5b5060009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60006109d682611297565b90506109e28133611c79565b80610a0257503373ffffffffffffffffffffffffffffffffffffffff8216145b610a68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e4f545f415554484f52495a45440000000000000000000000000000000000006044820152606401610999565b60008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610af4838383611dcf565b505050565b60085460ff16610b65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f53616c65206973206e6f742061637469766500000000000000000000000000006044820152606401610999565b333214610bce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f20636f6e74726163747320616c6c6f7765640000000000000000000000006044820152606401610999565b6000610bfb6004547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b905060c8811015610cc9573360009081526009602052604090205460ff1615610c80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f416c726561647920636c61696d656400000000000000000000000000000000006044820152606401610999565b33600081815260096020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001908117909155610cc59190612159565b5050565b610cda82668e1bc9bf040000612d3c565b3414610d42576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f57726f6e6720657468657220616d6f756e7400000000000000000000000000006044820152606401610999565b6014821115610dad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f416d6f756e742065786365656473207478206c696d69740000000000000000006044820152606401610999565b6125e4610dba8383612d79565b1115610e22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4d6178207075626c696320737570706c792072656163686564000000000000006044820152606401610999565b610cc53383612159565b6000610e37836113ed565b8210610e9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f494e56414c49445f494e444558000000000000000000000000000000000000006044820152606401610999565b600454600090815b81811015610f0c57610eb881611297565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415610f045784831415610efd579250610894915050565b6001909201915b600101610ea7565b50506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e4f545f464f554e44000000000000000000000000000000000000000000000060448201526064019050610999565b610f7d838383611dcf565b73ffffffffffffffffffffffffffffffffffffffff82163b158061107157506040517f150b7a020000000000000000000000000000000000000000000000000000000080825233600483015273ffffffffffffffffffffffffffffffffffffffff858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015611029573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104d9190612d91565b7fffffffff0000000000000000000000000000000000000000000000000000000016145b610af4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f554e534146455f524543495049454e54000000000000000000000000000000006044820152606401610999565b60006110e282611dbb565b611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f494e56414c49445f494e444558000000000000000000000000000000000000006044820152606401610999565b5090565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633146111d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b610af46007838361277d565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60006112a282611dbb565b611308576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4e4f4e4558495354454e545f544f4b454e0000000000000000000000000000006044820152606401610999565b815b6004818154811061131d5761131d612dae565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169150811561134d5750919050565b8061135781612ddd565b91505061130a565b6007805461136c90612cb9565b80601f016020809104026020016040519081016040528092919081815260200182805461139890612cb9565b80156113e55780601f106113ba576101008083540402835291602001916113e5565b820191906000526020600020905b8154815290600101906020018083116113c857829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff821661146c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f494e56414c49445f4f574e4552000000000000000000000000000000000000006044820152606401610999565b60045460015b818110156114c55761148381611297565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156114bd576001909201915b600101611472565b5050919050565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314611553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b61155d600061236f565b565b6060600180546108a990612cb9565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633146115f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b600083815b818110156116df57600087878381811061161657611616612dae565b905060200201602081019061162b9190612a49565b905073ffffffffffffffffffffffffffffffffffffffff81166116aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c696420726563697069656e740000000000000000000000000000006044820152606401610999565b60008686848181106116be576116be612dae565b9050602002013590506116d18282612159565b9390930192506001016115fa565b5060065482016127106117136004547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b111561177b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4d617820737570706c79207265616368656400000000000000000000000000006044820152606401610999565b61012c8111156117e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f416d6f756e7420657863656564732072657365727665206c696d6974000000006044820152606401610999565b600655505050505050565b33600081815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611894848484611dcf565b73ffffffffffffffffffffffffffffffffffffffff83163b158061197457506040517f150b7a02000000000000000000000000000000000000000000000000000000008082529073ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061190d903390899088908890600401612e16565b6020604051808303816000875af115801561192c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119509190612d91565b7fffffffff0000000000000000000000000000000000000000000000000000000016145b6119da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f554e534146455f524543495049454e54000000000000000000000000000000006044820152606401610999565b50505050565b60606119eb82611dbb565b611a51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4e4f4e4558495354454e545f544f4b454e0000000000000000000000000000006044820152606401610999565b600060078054611a6090612cb9565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8c90612cb9565b8015611ad95780601f10611aae57610100808354040283529160200191611ad9565b820191906000526020600020905b815481529060010190602001808311611abc57829003601f168201915b505050505090508051600014611b185780611af3846123ed565b604051602001611b04929190612e5f565b604051602081830303815290604052611b29565b604051806020016040528060008152505b9392505050565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314611bb7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314611c6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b61155d3347612527565b6000611b2983836125f1565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314611d0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b73ffffffffffffffffffffffffffffffffffffffff8116611daf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610999565b611db88161236f565b50565b600081158015906108945750506004541190565b8273ffffffffffffffffffffffffffffffffffffffff16611def82611297565b73ffffffffffffffffffffffffffffffffffffffff1614611e6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f57524f4e475f46524f4d000000000000000000000000000000000000000000006044820152606401610999565b73ffffffffffffffffffffffffffffffffffffffff8216611ee9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f494e56414c49445f524543495049454e540000000000000000000000000000006044820152606401610999565b3373ffffffffffffffffffffffffffffffffffffffff84161480611f2a575033611f128261092c565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f3a5750611f3a8333611c79565b611fa0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e4f545f415554484f52495a45440000000000000000000000000000000000006044820152606401610999565b600081815260026020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556004805483919083908110611feb57611feb612dae565b6000918252602082200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9390931692909217909155600480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84019291908390811061207357612073612dae565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1614156120f85783600482815481106120af576120af612dae565b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b73ffffffffffffffffffffffffffffffffffffffff82166121d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f494e56414c49445f524543495049454e540000000000000000000000000000006044820152606401610999565b8061223d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49445f414d4f554e540000000000000000000000000000000000006044820152606401610999565b60045460005b600183038110156122a85760048054600101815560009081526040518383019173ffffffffffffffffffffffffffffffffffffffff8716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4600101612243565b506004805460018101825560009182527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86169081179091556040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8585010192907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4505050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60608161242d57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612457578061244181612ddd565b91506124509050600a83612ebd565b9150612431565b60008167ffffffffffffffff81111561247257612472612b53565b6040519080825280601f01601f19166020018201604052801561249c576020820181803683370190505b5090505b841561251f576124b1600183612ed1565b91506124be600a86612ee8565b6124c9906030612d79565b60f81b8183815181106124de576124de612dae565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612518600a86612ebd565b94506124a0565b949350505050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114612581576040519150601f19603f3d011682016040523d82523d6000602084013e612586565b606091505b5050905080610af4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f455448207472616e73666572206661696c6564000000000000000000000000006044820152606401610999565b60055460009060ff16801561273557506040517fc455279100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301527f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1169063c455279190602401602060405180830381865afa15801561268d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126b19190612efc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16148061273557507f000000000000000000000000f42aa99f011a1fa7cda90e5e98b277e306bca83e73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561274257506001610894565b73ffffffffffffffffffffffffffffffffffffffff80841660009081526003602090815260408083209386168352929052205460ff16611b29565b82805461278990612cb9565b90600052602060002090601f0160209004810192826127ab576000855561280f565b82601f106127e2578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082351617855561280f565b8280016001018555821561280f579182015b8281111561280f5782358255916020019190600101906127f4565b506111489291505b808211156111485760008155600101612817565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611db857600080fd5b60006020828403121561286b57600080fd5b8135611b298161282b565b60005b83811015612891578181015183820152602001612879565b838111156119da5750506000910152565b600081518084526128ba816020860160208601612876565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611b2960208301846128a2565b60006020828403121561291157600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114611db857600080fd5b6000806040838503121561294d57600080fd5b823561295881612918565b946020939093013593505050565b60008060006060848603121561297b57600080fd5b833561298681612918565b9250602084013561299681612918565b929592945050506040919091013590565b600080602083850312156129ba57600080fd5b823567ffffffffffffffff808211156129d257600080fd5b818501915085601f8301126129e657600080fd5b8135818111156129f557600080fd5b866020828501011115612a0757600080fd5b60209290920196919550909350505050565b80358015158114612a2957600080fd5b919050565b600060208284031215612a4057600080fd5b611b2982612a19565b600060208284031215612a5b57600080fd5b8135611b2981612918565b60008083601f840112612a7857600080fd5b50813567ffffffffffffffff811115612a9057600080fd5b6020830191508360208260051b8501011115612aab57600080fd5b9250929050565b60008060008060408587031215612ac857600080fd5b843567ffffffffffffffff80821115612ae057600080fd5b612aec88838901612a66565b90965094506020870135915080821115612b0557600080fd5b50612b1287828801612a66565b95989497509550505050565b60008060408385031215612b3157600080fd5b8235612b3c81612918565b9150612b4a60208401612a19565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060008060808587031215612b9857600080fd5b8435612ba381612918565b93506020850135612bb381612918565b925060408501359150606085013567ffffffffffffffff80821115612bd757600080fd5b818701915087601f830112612beb57600080fd5b813581811115612bfd57612bfd612b53565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715612c4357612c43612b53565b816040528281528a6020848701011115612c5c57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215612c9357600080fd5b8235612c9e81612918565b91506020830135612cae81612918565b809150509250929050565b600181811c90821680612ccd57607f821691505b60208210811415612d07577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612d7457612d74612d0d565b500290565b60008219821115612d8c57612d8c612d0d565b500190565b600060208284031215612da357600080fd5b8151611b298161282b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612e0f57612e0f612d0d565b5060010190565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612e5560808301846128a2565b9695505050505050565b60008351612e71818460208801612876565b835190830190612e85818360208801612876565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612ecc57612ecc612e8e565b500490565b600082821015612ee357612ee3612d0d565b500390565b600082612ef757612ef7612e8e565b500690565b600060208284031215612f0e57600080fd5b8151611b298161291856fea26469706673582212208476ab7cdc542ffe982211e0f0040b30547e72b837d6c7893a00001f85927aa264736f6c634300080b0033

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

000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000f42aa99f011a1fa7cda90e5e98b277e306bca83e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _openSeaProxyRegistry (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [1] : _looksRareTransferManager (address): 0xf42aa99F011A1fA7CDA90E5E98b277E306BcA83e
Arg [2] : _baseURI (string):

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [1] : 000000000000000000000000f42aa99f011a1fa7cda90e5e98b277e306bca83e
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.