ERC-721
Overview
Max Total Supply
480 Space Walkers
Holders
239
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 Space WalkersLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SpaceWalkers
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC721Enumerable.sol"; contract SpaceWalkers is ERC721Enumerable, Ownable { string public baseURI; address public proxyRegistryAddress; address public developer; bytes32 public whitelistMerkleRoot; uint256 public MAX_SUPPLY; uint256 public constant MAX_PER_TX = 3; uint256 public constant priceInWei = 0.08 ether; mapping(address => bool) public projectProxy; mapping(address => uint256) public addressToMinted; constructor( string memory _baseURI, bytes32 _whitelistMerkleRoot, address _proxyRegistryAddress, address _developer ) ERC721("Space Walkers Collection", "Space Walkers") { baseURI = _baseURI; whitelistMerkleRoot = _whitelistMerkleRoot; proxyRegistryAddress = _proxyRegistryAddress; developer = _developer; } function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return string( abi.encodePacked( baseURI, Strings.toString(_tokenId + 1), ".json" ) ); } function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner { proxyRegistryAddress = _proxyRegistryAddress; } function flipProxyState(address proxyAddress) public onlyOwner { projectProxy[proxyAddress] = !projectProxy[proxyAddress]; } function setMerkleRoot(bytes32 _whitelistMerkleRoot) external onlyOwner { whitelistMerkleRoot = _whitelistMerkleRoot; } function togglePublicSale() external onlyOwner { delete whitelistMerkleRoot; MAX_SUPPLY = 3720 - _owners.length; } function _leaf( string memory allowance, string memory startTime, string memory endTime, string memory payload ) internal pure returns (bytes32) { return keccak256(abi.encodePacked(payload, startTime, endTime, allowance)); } function _verifyWhitelist(bytes32 leaf, bytes32[] memory proof) internal view returns (bool) { return MerkleProof.verify(proof, whitelistMerkleRoot, leaf); } function whitelistMint( uint256 count, uint256 startTime, uint256 endTime, uint256 allowance, bytes32[] calldata proof ) public payable { string memory payload = string(abi.encodePacked(_msgSender())); require( _verifyWhitelist( _leaf( Strings.toString(allowance), Strings.toString(startTime), Strings.toString(endTime), payload ), proof ), "Invalid Merkle Tree proof supplied." ); require( addressToMinted[_msgSender()] + count <= allowance, "Exceeds whitelist supply" ); require( count * (priceInWei - 0.008 ether) == msg.value, "Invalid funds provided." ); addressToMinted[_msgSender()] += count; uint256 totalSupply = _owners.length; for (uint256 i; i < count; i++) { _mint(_msgSender(), totalSupply + i); } } function publicMint(uint256 count) public payable { uint256 totalSupply = _owners.length; require(totalSupply + count < MAX_SUPPLY, "Excedes max supply."); require( addressToMinted[_msgSender()] + count <= MAX_PER_TX, "Exceeds max per user." ); require(count * priceInWei == msg.value, "Invalid funds provided."); addressToMinted[_msgSender()] += count; for (uint256 i; i < count; i++) { _mint(_msgSender(), totalSupply + i); } } function burn(uint256 tokenId) public { require( _isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn." ); _burn(tokenId); } function withdraw() public { (bool developerSuccess, ) = developer.call{ value: (address(this).balance * 3) / 100 }(""); require(developerSuccess, "Failed to send to developer."); (bool success, ) = owner().call{value: address(this).balance}(""); require(success, "Failed to send to owner."); } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) return new uint256[](0); uint256[] memory tokensId = new uint256[](tokenCount); for (uint256 i; i < tokenCount; i++) { tokensId[i] = tokenOfOwnerByIndex(_owner, i); } return tokensId; } function batchTransferFrom( address _from, address _to, uint256[] memory _tokenIds ) public { for (uint256 i = 0; i < _tokenIds.length; i++) { transferFrom(_from, _to, _tokenIds[i]); } } function batchSafeTransferFrom( address _from, address _to, uint256[] memory _tokenIds, bytes memory data_ ) public { for (uint256 i = 0; i < _tokenIds.length; i++) { safeTransferFrom(_from, _to, _tokenIds[i], data_); } } function isOwnerOf(address account, uint256[] calldata _tokenIds) external view returns (bool) { for (uint256 i; i < _tokenIds.length; ++i) { if (_owners[_tokenIds[i]] != account) return false; } return true; } function isApprovedForAll(address _owner, address operator) public view override(ERC721, IERC721) returns (bool) { OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry( proxyRegistryAddress ); if ( address(proxyRegistry.proxies(_owner)) == operator || projectProxy[operator] ) return true; return super.isApprovedForAll(_owner, operator); } function _mint(address to, uint256 tokenId) internal virtual override { _owners.push(to); emit Transfer(address(0), to, tokenId); } } contract OwnableDelegateProxy {} contract OpenSeaProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; import "./ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account but rips out the core of the gas-wasting processing that comes from OpenZeppelin. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _owners.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require( index < _owners.length, "ERC721Enumerable: global index out of bounds" ); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) { require( index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds" ); uint256 count; for (uint256 i; i < _owners.length; i++) { if (owner == _owners[i]) { if (count == index) return i; else count++; } } revert("ERC721Enumerable: owner index out of bounds"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./Address.sol"; abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; // Mapping from token ID to owner address address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require( owner != address(0), "ERC721: balance query for the zero address" ); uint256 count; for (uint256 i; i < _owners.length; ++i) { if (owner == _owners[i]) ++count; } return count; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require( owner != address(0), "ERC721: owner query for nonexistent token" ); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _owners.push(to); emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; library Address { function isContract(address account) internal view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"address","name":"_developer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_TX","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":[{"internalType":"address","name":"","type":"address"}],"name":"addressToMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"developer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"isOwnerOf","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200326c3803806200326c83398101604081905262000034916200024f565b604080518082018252601881527f53706163652057616c6b65727320436f6c6c656374696f6e000000000000000060208083019182528351808501909452600d84526c53706163652057616c6b65727360981b9084015281519192916200009e9160009162000176565b508051620000b490600190602084019062000176565b505050620000d1620000cb6200012060201b60201c565b62000124565b8351620000e690600690602087019062000176565b50600992909255600780546001600160a01b039283166001600160a01b031991821617909155600880549290931691161790555062000399565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000184906200035d565b90600052602060002090601f016020900481019282620001a85760008555620001f3565b82601f10620001c357805160ff1916838001178555620001f3565b82800160010185558215620001f3579182015b82811115620001f3578251825591602001919060010190620001d6565b506200020192915062000205565b5090565b5b8082111562000201576000815560010162000206565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146200024a57600080fd5b919050565b600080600080608085870312156200026657600080fd5b84516001600160401b03808211156200027e57600080fd5b818701915087601f8301126200029357600080fd5b815181811115620002a857620002a86200021c565b604051601f8201601f19908116603f01168101908382118183101715620002d357620002d36200021c565b81604052828152602093508a84848701011115620002f057600080fd5b600091505b82821015620003145784820184015181830185015290830190620002f5565b82821115620003265760008484830101525b8098505050508087015194505050620003426040860162000232565b9150620003526060860162000232565b905092959194509250565b600181811c908216806200037257607f821691505b6020821081036200039357634e487b7160e01b600052602260045260246000fd5b50919050565b612ec380620003a96000396000f3fe6080604052600436106102c65760003560e01c80636c0360eb11610179578063b88d4fde116100d6578063e222c7f91161008a578063f3993d1111610064578063f3993d111461077a578063f43a22dc1461079a578063f73c814b146107af57600080fd5b8063e222c7f914610725578063e985e9c51461073a578063f2fde38b1461075a57600080fd5b8063ca4b208b116100bb578063ca4b208b146106c5578063cd7c0326146106e5578063d26ea6c01461070557600080fd5b8063b88d4fde14610685578063c87b56dd146106a557600080fd5b8063946f2dbf1161012d5780639ec00c95116101125780639ec00c9514610622578063a22cb4651461064f578063aa98e0c61461066f57600080fd5b8063946f2dbf146105fa57806395d89b411461060d57600080fd5b8063715018a61161015e578063715018a6146105a75780637cb64759146105bc5780638da5cb5b146105dc57600080fd5b80636c0360eb1461057257806370a082311461058757600080fd5b80633ccfd60b116102275780634f6ccce7116101db5780635a4fee30116101c05780635a4fee30146105025780635bab26e2146105225780636352211e1461055257600080fd5b80634f6ccce7146104c257806355f804b3146104e257600080fd5b806342966c681161020c57806342966c6814610455578063438b6300146104755780634d44660c146104a257600080fd5b80633ccfd60b1461042057806342842e0e1461043557600080fd5b806323b872dd1161027e5780632f745c59116102635780632f745c59146103ce57806332cb6b0c146103ee5780633c8da5881461040457600080fd5b806323b872dd1461039b5780632db11544146103bb57600080fd5b8063081812fc116102af578063081812fc14610322578063095ea7b31461035a57806318160ddd1461037c57600080fd5b806301ffc9a7146102cb57806306fdde0314610300575b600080fd5b3480156102d757600080fd5b506102eb6102e63660046125f9565b6107cf565b60405190151581526020015b60405180910390f35b34801561030c57600080fd5b50610315610813565b6040516102f7919061266e565b34801561032e57600080fd5b5061034261033d366004612681565b6108a5565b6040516001600160a01b0390911681526020016102f7565b34801561036657600080fd5b5061037a6103753660046126af565b610932565b005b34801561038857600080fd5b506002545b6040519081526020016102f7565b3480156103a757600080fd5b5061037a6103b63660046126db565b610a63565b61037a6103c9366004612681565b610aeb565b3480156103da57600080fd5b5061038d6103e93660046126af565b610c6a565b3480156103fa57600080fd5b5061038d600a5481565b34801561041057600080fd5b5061038d67011c37937e08000081565b34801561042c57600080fd5b5061037a610da4565b34801561044157600080fd5b5061037a6104503660046126db565b610f14565b34801561046157600080fd5b5061037a610470366004612681565b610f2f565b34801561048157600080fd5b5061049561049036600461271c565b610f90565b6040516102f79190612739565b3480156104ae57600080fd5b506102eb6104bd3660046127c9565b61104c565b3480156104ce57600080fd5b5061038d6104dd366004612681565b6110ce565b3480156104ee57600080fd5b5061037a6104fd3660046128bd565b61114c565b34801561050e57600080fd5b5061037a61051d3660046129a6565b6111b9565b34801561052e57600080fd5b506102eb61053d36600461271c565b600b6020526000908152604090205460ff1681565b34801561055e57600080fd5b5061034261056d366004612681565b611203565b34801561057e57600080fd5b506103156112a3565b34801561059357600080fd5b5061038d6105a236600461271c565b611331565b3480156105b357600080fd5b5061037a611412565b3480156105c857600080fd5b5061037a6105d7366004612681565b611478565b3480156105e857600080fd5b506005546001600160a01b0316610342565b61037a610608366004612a2f565b6114d7565b34801561061957600080fd5b5061031561170b565b34801561062e57600080fd5b5061038d61063d36600461271c565b600c6020526000908152604090205481565b34801561065b57600080fd5b5061037a61066a366004612a99565b61171a565b34801561067b57600080fd5b5061038d60095481565b34801561069157600080fd5b5061037a6106a0366004612ad7565b6117de565b3480156106b157600080fd5b506103156106c0366004612681565b61186c565b3480156106d157600080fd5b50600854610342906001600160a01b031681565b3480156106f157600080fd5b50600754610342906001600160a01b031681565b34801561071157600080fd5b5061037a61072036600461271c565b6118ff565b34801561073157600080fd5b5061037a61197b565b34801561074657600080fd5b506102eb610755366004612b37565b6119ee565b34801561076657600080fd5b5061037a61077536600461271c565b611aeb565b34801561078657600080fd5b5061037a610795366004612b65565b611bca565b3480156107a657600080fd5b5061038d600381565b3480156107bb57600080fd5b5061037a6107ca36600461271c565b611c0c565b60006001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000148061080d575061080d82611c8f565b92915050565b60606000805461082290612bc7565b80601f016020809104026020016040519081016040528092919081815260200182805461084e90612bc7565b801561089b5780601f106108705761010080835404028352916020019161089b565b820191906000526020600020905b81548152906001019060200180831161087e57829003601f168201915b5050505050905090565b60006108b082611d2a565b6109165760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061093d82611203565b9050806001600160a01b0316836001600160a01b0316036109c65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161090d565b336001600160a01b03821614806109e257506109e281336119ee565b610a545760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161090d565b610a5e8383611d74565b505050565b610a6e335b82611de2565b610ae05760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161090d565b610a5e838383611ea4565b600254600a54610afb8383612c17565b10610b485760405162461bcd60e51b815260206004820152601360248201527f45786365646573206d617820737570706c792e00000000000000000000000000604482015260640161090d565b336000908152600c6020526040902054600390610b66908490612c17565b1115610bb45760405162461bcd60e51b815260206004820152601560248201527f45786365656473206d61782070657220757365722e0000000000000000000000604482015260640161090d565b34610bc767011c37937e08000084612c2f565b14610c145760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e000000000000000000604482015260640161090d565b336000908152600c602052604081208054849290610c33908490612c17565b90915550600090505b82811015610a5e57610c58335b610c538385612c17565b612027565b80610c6281612c4e565b915050610c3c565b6000610c7583611331565b8210610cd75760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161090d565b6000805b600254811015610d475760028181548110610cf857610cf8612c67565b6000918252602090912001546001600160a01b0390811690861603610d3557838203610d2757915061080d9050565b81610d3181612c4e565b9250505b80610d3f81612c4e565b915050610cdb565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161090d565b6008546000906001600160a01b03166064610dc0476003612c2f565b610dca9190612c93565b604051600081818185875af1925050503d8060008114610e06576040519150601f19603f3d011682016040523d82523d6000602084013e610e0b565b606091505b5050905080610e5c5760405162461bcd60e51b815260206004820152601c60248201527f4661696c656420746f2073656e6420746f20646576656c6f7065722e00000000604482015260640161090d565b6000610e706005546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610eba576040519150601f19603f3d011682016040523d82523d6000602084013e610ebf565b606091505b5050905080610f105760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f2073656e6420746f206f776e65722e0000000000000000604482015260640161090d565b5050565b610a5e838383604051806020016040528060008152506117de565b610f3833610a68565b610f845760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e0000000000000000000000604482015260640161090d565b610f8d816120a3565b50565b60606000610f9d83611331565b905080600003610fc15760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610fdc57610fdc61281e565b604051908082528060200260200182016040528015611005578160200160208202803683370190505b50905060005b82811015610fb95761101d8582610c6a565b82828151811061102f5761102f612c67565b60209081029190910101528061104481612c4e565b91505061100b565b6000805b828110156110c157846001600160a01b0316600285858481811061107657611076612c67565b905060200201358154811061108d5761108d612c67565b6000918252602090912001546001600160a01b0316146110b15760009150506110c7565b6110ba81612c4e565b9050611050565b50600190505b9392505050565b60025460009082106111485760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e64730000000000000000000000000000000000000000606482015260840161090d565b5090565b6005546001600160a01b031633146111a65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090d565b8051610f10906006906020840190612553565b60005b82518110156111fc576111ea85858584815181106111dc576111dc612c67565b6020026020010151856117de565b806111f481612c4e565b9150506111bc565b5050505050565b6000806002838154811061121957611219612c67565b6000918252602090912001546001600160a01b031690508061080d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161090d565b600680546112b090612bc7565b80601f01602080910402602001604051908101604052809291908181526020018280546112dc90612bc7565b80156113295780601f106112fe57610100808354040283529160200191611329565b820191906000526020600020905b81548152906001019060200180831161130c57829003601f168201915b505050505081565b60006001600160a01b0382166113af5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161090d565b6000805b60025481101561140b57600281815481106113d0576113d0612c67565b6000918252602090912001546001600160a01b03908116908516036113fb576113f882612c4e565b91505b61140481612c4e565b90506113b3565b5092915050565b6005546001600160a01b0316331461146c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090d565b6114766000612125565b565b6005546001600160a01b031633146114d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090d565b600955565b604080513360601b6bffffffffffffffffffffffff1916602082015281516014818303018152603490910190915261156561152c61151486612177565b61151d89612177565b61152689612177565b856122ac565b8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506122e592505050565b6115d75760405162461bcd60e51b815260206004820152602360248201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c6960448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840161090d565b336000908152600c602052604090205484906115f4908990612c17565b11156116425760405162461bcd60e51b815260206004820152601860248201527f457863656564732077686974656c69737420737570706c790000000000000000604482015260640161090d565b3461165c661c6bf52634000067011c37937e080000612ca7565b6116669089612c2f565b146116b35760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e000000000000000000604482015260640161090d565b336000908152600c6020526040812080548992906116d2908490612c17565b909155505060025460005b88811015611700576116ee33610c49565b806116f881612c4e565b9150506116dd565b505050505050505050565b60606001805461082290612bc7565b336001600160a01b038316036117725760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161090d565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117e83383611de2565b61185a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161090d565b611866848484846122f4565b50505050565b606061187782611d2a565b6118c35760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000604482015260640161090d565b60066118d86118d3846001612c17565b612177565b6040516020016118e9929190612cda565b6040516020818303038152906040529050919050565b6005546001600160a01b031633146119595760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090d565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146119d55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090d565b60006009556002546119e990610e88612ca7565b600a55565b6007546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7d9190612dac565b6001600160a01b03161480611aaa57506001600160a01b0383166000908152600b602052604090205460ff165b15611ab957600191505061080d565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b03163314611b455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090d565b6001600160a01b038116611bc15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161090d565b610f8d81612125565b60005b815181101561186657611bfa8484848481518110611bed57611bed612c67565b6020026020010151610a63565b80611c0481612c4e565b915050611bcd565b6005546001600160a01b03163314611c665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090d565b6001600160a01b03166000908152600b60205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611cf257506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061080d57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461080d565b6002546000908210801561080d575060006001600160a01b031660028381548110611d5757611d57612c67565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611da982611203565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ded82611d2a565b611e4e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161090d565b6000611e5983611203565b9050806001600160a01b0316846001600160a01b03161480611e945750836001600160a01b0316611e89846108a5565b6001600160a01b0316145b80611ae35750611ae381856119ee565b826001600160a01b0316611eb782611203565b6001600160a01b031614611f335760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161090d565b6001600160a01b038216611fae5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161090d565b611fb9600082611d74565b8160028281548110611fcd57611fcd612c67565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006120ae82611203565b90506120bb600083611d74565b6000600283815481106120d0576120d0612c67565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6060816000036121ba57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156121e457806121ce81612c4e565b91506121dd9050600a83612c93565b91506121be565b60008167ffffffffffffffff8111156121ff576121ff61281e565b6040519080825280601f01601f191660200182016040528015612229576020820181803683370190505b5090505b8415611ae35761223e600183612ca7565b915061224b600a86612dc9565b612256906030612c17565b60f81b81838151811061226b5761226b612c67565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506122a5600a86612c93565b945061222d565b6000818484876040516020016122c59493929190612ddd565b604051602081830303815290604052805190602001209050949350505050565b60006110c7826009548561237d565b6122ff848484611ea4565b61230b84848484612393565b6118665760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161090d565b60008261238a85846124e7565b14949350505050565b60006001600160a01b0384163b156124df57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123d7903390899088908890600401612e34565b6020604051808303816000875af1925050508015612412575060408051601f3d908101601f1916820190925261240f91810190612e70565b60015b6124c5573d808015612440576040519150601f19603f3d011682016040523d82523d6000602084013e612445565b606091505b5080516000036124bd5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161090d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ae3565b506001611ae3565b600081815b8451811015610fb957600085828151811061250957612509612c67565b6020026020010151905080831161252f5760008381526020829052604090209250612540565b600081815260208490526040902092505b508061254b81612c4e565b9150506124ec565b82805461255f90612bc7565b90600052602060002090601f01602090048101928261258157600085556125c7565b82601f1061259a57805160ff19168380011785556125c7565b828001600101855582156125c7579182015b828111156125c75782518255916020019190600101906125ac565b506111489291505b8082111561114857600081556001016125cf565b6001600160e01b031981168114610f8d57600080fd5b60006020828403121561260b57600080fd5b81356110c7816125e3565b60005b83811015612631578181015183820152602001612619565b838111156118665750506000910152565b6000815180845261265a816020860160208601612616565b601f01601f19169290920160200192915050565b6020815260006110c76020830184612642565b60006020828403121561269357600080fd5b5035919050565b6001600160a01b0381168114610f8d57600080fd5b600080604083850312156126c257600080fd5b82356126cd8161269a565b946020939093013593505050565b6000806000606084860312156126f057600080fd5b83356126fb8161269a565b9250602084013561270b8161269a565b929592945050506040919091013590565b60006020828403121561272e57600080fd5b81356110c78161269a565b6020808252825182820181905260009190848201906040850190845b8181101561277157835183529284019291840191600101612755565b50909695505050505050565b60008083601f84011261278f57600080fd5b50813567ffffffffffffffff8111156127a757600080fd5b6020830191508360208260051b85010111156127c257600080fd5b9250929050565b6000806000604084860312156127de57600080fd5b83356127e98161269a565b9250602084013567ffffffffffffffff81111561280557600080fd5b6128118682870161277d565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561285d5761285d61281e565b604052919050565b600067ffffffffffffffff83111561287f5761287f61281e565b612892601f8401601f1916602001612834565b90508281528383830111156128a657600080fd5b828260208301376000602084830101529392505050565b6000602082840312156128cf57600080fd5b813567ffffffffffffffff8111156128e657600080fd5b8201601f810184136128f757600080fd5b611ae384823560208401612865565b600082601f83011261291757600080fd5b8135602067ffffffffffffffff8211156129335761293361281e565b8160051b612942828201612834565b928352848101820192828101908785111561295c57600080fd5b83870192505b8483101561297b57823582529183019190830190612962565b979650505050505050565b600082601f83011261299757600080fd5b6110c783833560208501612865565b600080600080608085870312156129bc57600080fd5b84356129c78161269a565b935060208501356129d78161269a565b9250604085013567ffffffffffffffff808211156129f457600080fd5b612a0088838901612906565b93506060870135915080821115612a1657600080fd5b50612a2387828801612986565b91505092959194509250565b60008060008060008060a08789031215612a4857600080fd5b86359550602087013594506040870135935060608701359250608087013567ffffffffffffffff811115612a7b57600080fd5b612a8789828a0161277d565b979a9699509497509295939492505050565b60008060408385031215612aac57600080fd5b8235612ab78161269a565b915060208301358015158114612acc57600080fd5b809150509250929050565b60008060008060808587031215612aed57600080fd5b8435612af88161269a565b93506020850135612b088161269a565b925060408501359150606085013567ffffffffffffffff811115612b2b57600080fd5b612a2387828801612986565b60008060408385031215612b4a57600080fd5b8235612b558161269a565b91506020830135612acc8161269a565b600080600060608486031215612b7a57600080fd5b8335612b858161269a565b92506020840135612b958161269a565b9150604084013567ffffffffffffffff811115612bb157600080fd5b612bbd86828701612906565b9150509250925092565b600181811c90821680612bdb57607f821691505b602082108103612bfb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612c2a57612c2a612c01565b500190565b6000816000190483118215151615612c4957612c49612c01565b500290565b600060018201612c6057612c60612c01565b5060010190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b600082612ca257612ca2612c7d565b500490565b600082821015612cb957612cb9612c01565b500390565b60008151612cd0818560208601612616565b9290920192915050565b600080845481600182811c915080831680612cf657607f831692505b60208084108203612d1557634e487b7160e01b86526022600452602486fd5b818015612d295760018114612d3a57612d67565b60ff19861689528489019650612d67565b60008b81526020902060005b86811015612d5f5781548b820152908501908301612d46565b505084890196505b505050505050612da3612d7a8286612cbe565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b600060208284031215612dbe57600080fd5b81516110c78161269a565b600082612dd857612dd8612c7d565b500690565b60008551612def818460208a01612616565b855190830190612e03818360208a01612616565b8551910190612e16818360208901612616565b8451910190612e29818360208801612616565b019695505050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612e666080830184612642565b9695505050505050565b600060208284031215612e8257600080fd5b81516110c7816125e356fea2646970667358221220c8d28fb91dc7cab13601107935cf71bfc8d08085e75c0a3b59795edb322f139664736f6c634300080d00330000000000000000000000000000000000000000000000000000000000000080116d7a02204254d791fa98faaa731fa9b20fbe04baed26eed1dffabd5ef3944f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000005e7852b78c430b0b1914eab6ace1dfedb37da5570000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656967323267693566617933646a346371746869756c367461346c75646d3537617235786e756b6a7877733235747677656f6f6e68792f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102c65760003560e01c80636c0360eb11610179578063b88d4fde116100d6578063e222c7f91161008a578063f3993d1111610064578063f3993d111461077a578063f43a22dc1461079a578063f73c814b146107af57600080fd5b8063e222c7f914610725578063e985e9c51461073a578063f2fde38b1461075a57600080fd5b8063ca4b208b116100bb578063ca4b208b146106c5578063cd7c0326146106e5578063d26ea6c01461070557600080fd5b8063b88d4fde14610685578063c87b56dd146106a557600080fd5b8063946f2dbf1161012d5780639ec00c95116101125780639ec00c9514610622578063a22cb4651461064f578063aa98e0c61461066f57600080fd5b8063946f2dbf146105fa57806395d89b411461060d57600080fd5b8063715018a61161015e578063715018a6146105a75780637cb64759146105bc5780638da5cb5b146105dc57600080fd5b80636c0360eb1461057257806370a082311461058757600080fd5b80633ccfd60b116102275780634f6ccce7116101db5780635a4fee30116101c05780635a4fee30146105025780635bab26e2146105225780636352211e1461055257600080fd5b80634f6ccce7146104c257806355f804b3146104e257600080fd5b806342966c681161020c57806342966c6814610455578063438b6300146104755780634d44660c146104a257600080fd5b80633ccfd60b1461042057806342842e0e1461043557600080fd5b806323b872dd1161027e5780632f745c59116102635780632f745c59146103ce57806332cb6b0c146103ee5780633c8da5881461040457600080fd5b806323b872dd1461039b5780632db11544146103bb57600080fd5b8063081812fc116102af578063081812fc14610322578063095ea7b31461035a57806318160ddd1461037c57600080fd5b806301ffc9a7146102cb57806306fdde0314610300575b600080fd5b3480156102d757600080fd5b506102eb6102e63660046125f9565b6107cf565b60405190151581526020015b60405180910390f35b34801561030c57600080fd5b50610315610813565b6040516102f7919061266e565b34801561032e57600080fd5b5061034261033d366004612681565b6108a5565b6040516001600160a01b0390911681526020016102f7565b34801561036657600080fd5b5061037a6103753660046126af565b610932565b005b34801561038857600080fd5b506002545b6040519081526020016102f7565b3480156103a757600080fd5b5061037a6103b63660046126db565b610a63565b61037a6103c9366004612681565b610aeb565b3480156103da57600080fd5b5061038d6103e93660046126af565b610c6a565b3480156103fa57600080fd5b5061038d600a5481565b34801561041057600080fd5b5061038d67011c37937e08000081565b34801561042c57600080fd5b5061037a610da4565b34801561044157600080fd5b5061037a6104503660046126db565b610f14565b34801561046157600080fd5b5061037a610470366004612681565b610f2f565b34801561048157600080fd5b5061049561049036600461271c565b610f90565b6040516102f79190612739565b3480156104ae57600080fd5b506102eb6104bd3660046127c9565b61104c565b3480156104ce57600080fd5b5061038d6104dd366004612681565b6110ce565b3480156104ee57600080fd5b5061037a6104fd3660046128bd565b61114c565b34801561050e57600080fd5b5061037a61051d3660046129a6565b6111b9565b34801561052e57600080fd5b506102eb61053d36600461271c565b600b6020526000908152604090205460ff1681565b34801561055e57600080fd5b5061034261056d366004612681565b611203565b34801561057e57600080fd5b506103156112a3565b34801561059357600080fd5b5061038d6105a236600461271c565b611331565b3480156105b357600080fd5b5061037a611412565b3480156105c857600080fd5b5061037a6105d7366004612681565b611478565b3480156105e857600080fd5b506005546001600160a01b0316610342565b61037a610608366004612a2f565b6114d7565b34801561061957600080fd5b5061031561170b565b34801561062e57600080fd5b5061038d61063d36600461271c565b600c6020526000908152604090205481565b34801561065b57600080fd5b5061037a61066a366004612a99565b61171a565b34801561067b57600080fd5b5061038d60095481565b34801561069157600080fd5b5061037a6106a0366004612ad7565b6117de565b3480156106b157600080fd5b506103156106c0366004612681565b61186c565b3480156106d157600080fd5b50600854610342906001600160a01b031681565b3480156106f157600080fd5b50600754610342906001600160a01b031681565b34801561071157600080fd5b5061037a61072036600461271c565b6118ff565b34801561073157600080fd5b5061037a61197b565b34801561074657600080fd5b506102eb610755366004612b37565b6119ee565b34801561076657600080fd5b5061037a61077536600461271c565b611aeb565b34801561078657600080fd5b5061037a610795366004612b65565b611bca565b3480156107a657600080fd5b5061038d600381565b3480156107bb57600080fd5b5061037a6107ca36600461271c565b611c0c565b60006001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000148061080d575061080d82611c8f565b92915050565b60606000805461082290612bc7565b80601f016020809104026020016040519081016040528092919081815260200182805461084e90612bc7565b801561089b5780601f106108705761010080835404028352916020019161089b565b820191906000526020600020905b81548152906001019060200180831161087e57829003601f168201915b5050505050905090565b60006108b082611d2a565b6109165760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061093d82611203565b9050806001600160a01b0316836001600160a01b0316036109c65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161090d565b336001600160a01b03821614806109e257506109e281336119ee565b610a545760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161090d565b610a5e8383611d74565b505050565b610a6e335b82611de2565b610ae05760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161090d565b610a5e838383611ea4565b600254600a54610afb8383612c17565b10610b485760405162461bcd60e51b815260206004820152601360248201527f45786365646573206d617820737570706c792e00000000000000000000000000604482015260640161090d565b336000908152600c6020526040902054600390610b66908490612c17565b1115610bb45760405162461bcd60e51b815260206004820152601560248201527f45786365656473206d61782070657220757365722e0000000000000000000000604482015260640161090d565b34610bc767011c37937e08000084612c2f565b14610c145760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e000000000000000000604482015260640161090d565b336000908152600c602052604081208054849290610c33908490612c17565b90915550600090505b82811015610a5e57610c58335b610c538385612c17565b612027565b80610c6281612c4e565b915050610c3c565b6000610c7583611331565b8210610cd75760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161090d565b6000805b600254811015610d475760028181548110610cf857610cf8612c67565b6000918252602090912001546001600160a01b0390811690861603610d3557838203610d2757915061080d9050565b81610d3181612c4e565b9250505b80610d3f81612c4e565b915050610cdb565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161090d565b6008546000906001600160a01b03166064610dc0476003612c2f565b610dca9190612c93565b604051600081818185875af1925050503d8060008114610e06576040519150601f19603f3d011682016040523d82523d6000602084013e610e0b565b606091505b5050905080610e5c5760405162461bcd60e51b815260206004820152601c60248201527f4661696c656420746f2073656e6420746f20646576656c6f7065722e00000000604482015260640161090d565b6000610e706005546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610eba576040519150601f19603f3d011682016040523d82523d6000602084013e610ebf565b606091505b5050905080610f105760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f2073656e6420746f206f776e65722e0000000000000000604482015260640161090d565b5050565b610a5e838383604051806020016040528060008152506117de565b610f3833610a68565b610f845760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e0000000000000000000000604482015260640161090d565b610f8d816120a3565b50565b60606000610f9d83611331565b905080600003610fc15760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610fdc57610fdc61281e565b604051908082528060200260200182016040528015611005578160200160208202803683370190505b50905060005b82811015610fb95761101d8582610c6a565b82828151811061102f5761102f612c67565b60209081029190910101528061104481612c4e565b91505061100b565b6000805b828110156110c157846001600160a01b0316600285858481811061107657611076612c67565b905060200201358154811061108d5761108d612c67565b6000918252602090912001546001600160a01b0316146110b15760009150506110c7565b6110ba81612c4e565b9050611050565b50600190505b9392505050565b60025460009082106111485760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e64730000000000000000000000000000000000000000606482015260840161090d565b5090565b6005546001600160a01b031633146111a65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090d565b8051610f10906006906020840190612553565b60005b82518110156111fc576111ea85858584815181106111dc576111dc612c67565b6020026020010151856117de565b806111f481612c4e565b9150506111bc565b5050505050565b6000806002838154811061121957611219612c67565b6000918252602090912001546001600160a01b031690508061080d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161090d565b600680546112b090612bc7565b80601f01602080910402602001604051908101604052809291908181526020018280546112dc90612bc7565b80156113295780601f106112fe57610100808354040283529160200191611329565b820191906000526020600020905b81548152906001019060200180831161130c57829003601f168201915b505050505081565b60006001600160a01b0382166113af5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161090d565b6000805b60025481101561140b57600281815481106113d0576113d0612c67565b6000918252602090912001546001600160a01b03908116908516036113fb576113f882612c4e565b91505b61140481612c4e565b90506113b3565b5092915050565b6005546001600160a01b0316331461146c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090d565b6114766000612125565b565b6005546001600160a01b031633146114d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090d565b600955565b604080513360601b6bffffffffffffffffffffffff1916602082015281516014818303018152603490910190915261156561152c61151486612177565b61151d89612177565b61152689612177565b856122ac565b8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506122e592505050565b6115d75760405162461bcd60e51b815260206004820152602360248201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c6960448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840161090d565b336000908152600c602052604090205484906115f4908990612c17565b11156116425760405162461bcd60e51b815260206004820152601860248201527f457863656564732077686974656c69737420737570706c790000000000000000604482015260640161090d565b3461165c661c6bf52634000067011c37937e080000612ca7565b6116669089612c2f565b146116b35760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e000000000000000000604482015260640161090d565b336000908152600c6020526040812080548992906116d2908490612c17565b909155505060025460005b88811015611700576116ee33610c49565b806116f881612c4e565b9150506116dd565b505050505050505050565b60606001805461082290612bc7565b336001600160a01b038316036117725760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161090d565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117e83383611de2565b61185a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161090d565b611866848484846122f4565b50505050565b606061187782611d2a565b6118c35760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000604482015260640161090d565b60066118d86118d3846001612c17565b612177565b6040516020016118e9929190612cda565b6040516020818303038152906040529050919050565b6005546001600160a01b031633146119595760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090d565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146119d55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090d565b60006009556002546119e990610e88612ca7565b600a55565b6007546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7d9190612dac565b6001600160a01b03161480611aaa57506001600160a01b0383166000908152600b602052604090205460ff165b15611ab957600191505061080d565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b03163314611b455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090d565b6001600160a01b038116611bc15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161090d565b610f8d81612125565b60005b815181101561186657611bfa8484848481518110611bed57611bed612c67565b6020026020010151610a63565b80611c0481612c4e565b915050611bcd565b6005546001600160a01b03163314611c665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161090d565b6001600160a01b03166000908152600b60205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611cf257506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061080d57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461080d565b6002546000908210801561080d575060006001600160a01b031660028381548110611d5757611d57612c67565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611da982611203565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ded82611d2a565b611e4e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161090d565b6000611e5983611203565b9050806001600160a01b0316846001600160a01b03161480611e945750836001600160a01b0316611e89846108a5565b6001600160a01b0316145b80611ae35750611ae381856119ee565b826001600160a01b0316611eb782611203565b6001600160a01b031614611f335760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161090d565b6001600160a01b038216611fae5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161090d565b611fb9600082611d74565b8160028281548110611fcd57611fcd612c67565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006120ae82611203565b90506120bb600083611d74565b6000600283815481106120d0576120d0612c67565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6060816000036121ba57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156121e457806121ce81612c4e565b91506121dd9050600a83612c93565b91506121be565b60008167ffffffffffffffff8111156121ff576121ff61281e565b6040519080825280601f01601f191660200182016040528015612229576020820181803683370190505b5090505b8415611ae35761223e600183612ca7565b915061224b600a86612dc9565b612256906030612c17565b60f81b81838151811061226b5761226b612c67565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506122a5600a86612c93565b945061222d565b6000818484876040516020016122c59493929190612ddd565b604051602081830303815290604052805190602001209050949350505050565b60006110c7826009548561237d565b6122ff848484611ea4565b61230b84848484612393565b6118665760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161090d565b60008261238a85846124e7565b14949350505050565b60006001600160a01b0384163b156124df57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123d7903390899088908890600401612e34565b6020604051808303816000875af1925050508015612412575060408051601f3d908101601f1916820190925261240f91810190612e70565b60015b6124c5573d808015612440576040519150601f19603f3d011682016040523d82523d6000602084013e612445565b606091505b5080516000036124bd5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161090d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ae3565b506001611ae3565b600081815b8451811015610fb957600085828151811061250957612509612c67565b6020026020010151905080831161252f5760008381526020829052604090209250612540565b600081815260208490526040902092505b508061254b81612c4e565b9150506124ec565b82805461255f90612bc7565b90600052602060002090601f01602090048101928261258157600085556125c7565b82601f1061259a57805160ff19168380011785556125c7565b828001600101855582156125c7579182015b828111156125c75782518255916020019190600101906125ac565b506111489291505b8082111561114857600081556001016125cf565b6001600160e01b031981168114610f8d57600080fd5b60006020828403121561260b57600080fd5b81356110c7816125e3565b60005b83811015612631578181015183820152602001612619565b838111156118665750506000910152565b6000815180845261265a816020860160208601612616565b601f01601f19169290920160200192915050565b6020815260006110c76020830184612642565b60006020828403121561269357600080fd5b5035919050565b6001600160a01b0381168114610f8d57600080fd5b600080604083850312156126c257600080fd5b82356126cd8161269a565b946020939093013593505050565b6000806000606084860312156126f057600080fd5b83356126fb8161269a565b9250602084013561270b8161269a565b929592945050506040919091013590565b60006020828403121561272e57600080fd5b81356110c78161269a565b6020808252825182820181905260009190848201906040850190845b8181101561277157835183529284019291840191600101612755565b50909695505050505050565b60008083601f84011261278f57600080fd5b50813567ffffffffffffffff8111156127a757600080fd5b6020830191508360208260051b85010111156127c257600080fd5b9250929050565b6000806000604084860312156127de57600080fd5b83356127e98161269a565b9250602084013567ffffffffffffffff81111561280557600080fd5b6128118682870161277d565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561285d5761285d61281e565b604052919050565b600067ffffffffffffffff83111561287f5761287f61281e565b612892601f8401601f1916602001612834565b90508281528383830111156128a657600080fd5b828260208301376000602084830101529392505050565b6000602082840312156128cf57600080fd5b813567ffffffffffffffff8111156128e657600080fd5b8201601f810184136128f757600080fd5b611ae384823560208401612865565b600082601f83011261291757600080fd5b8135602067ffffffffffffffff8211156129335761293361281e565b8160051b612942828201612834565b928352848101820192828101908785111561295c57600080fd5b83870192505b8483101561297b57823582529183019190830190612962565b979650505050505050565b600082601f83011261299757600080fd5b6110c783833560208501612865565b600080600080608085870312156129bc57600080fd5b84356129c78161269a565b935060208501356129d78161269a565b9250604085013567ffffffffffffffff808211156129f457600080fd5b612a0088838901612906565b93506060870135915080821115612a1657600080fd5b50612a2387828801612986565b91505092959194509250565b60008060008060008060a08789031215612a4857600080fd5b86359550602087013594506040870135935060608701359250608087013567ffffffffffffffff811115612a7b57600080fd5b612a8789828a0161277d565b979a9699509497509295939492505050565b60008060408385031215612aac57600080fd5b8235612ab78161269a565b915060208301358015158114612acc57600080fd5b809150509250929050565b60008060008060808587031215612aed57600080fd5b8435612af88161269a565b93506020850135612b088161269a565b925060408501359150606085013567ffffffffffffffff811115612b2b57600080fd5b612a2387828801612986565b60008060408385031215612b4a57600080fd5b8235612b558161269a565b91506020830135612acc8161269a565b600080600060608486031215612b7a57600080fd5b8335612b858161269a565b92506020840135612b958161269a565b9150604084013567ffffffffffffffff811115612bb157600080fd5b612bbd86828701612906565b9150509250925092565b600181811c90821680612bdb57607f821691505b602082108103612bfb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612c2a57612c2a612c01565b500190565b6000816000190483118215151615612c4957612c49612c01565b500290565b600060018201612c6057612c60612c01565b5060010190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b600082612ca257612ca2612c7d565b500490565b600082821015612cb957612cb9612c01565b500390565b60008151612cd0818560208601612616565b9290920192915050565b600080845481600182811c915080831680612cf657607f831692505b60208084108203612d1557634e487b7160e01b86526022600452602486fd5b818015612d295760018114612d3a57612d67565b60ff19861689528489019650612d67565b60008b81526020902060005b86811015612d5f5781548b820152908501908301612d46565b505084890196505b505050505050612da3612d7a8286612cbe565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b600060208284031215612dbe57600080fd5b81516110c78161269a565b600082612dd857612dd8612c7d565b500690565b60008551612def818460208a01612616565b855190830190612e03818360208a01612616565b8551910190612e16818360208901612616565b8451910190612e29818360208801612616565b019695505050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612e666080830184612642565b9695505050505050565b600060208284031215612e8257600080fd5b81516110c7816125e356fea2646970667358221220c8d28fb91dc7cab13601107935cf71bfc8d08085e75c0a3b59795edb322f139664736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000080116d7a02204254d791fa98faaa731fa9b20fbe04baed26eed1dffabd5ef3944f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000005e7852b78c430b0b1914eab6ace1dfedb37da5570000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656967323267693566617933646a346371746869756c367461346c75646d3537617235786e756b6a7877733235747677656f6f6e68792f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://bafybeig22gi5fay3dj4cqthiul6ta4ludm57ar5xnukjxws25tvweoonhy/
Arg [1] : _whitelistMerkleRoot (bytes32): 0x116d7a02204254d791fa98faaa731fa9b20fbe04baed26eed1dffabd5ef3944f
Arg [2] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [3] : _developer (address): 0x5E7852b78C430b0b1914EaB6ACe1DFedB37Da557
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 116d7a02204254d791fa98faaa731fa9b20fbe04baed26eed1dffabd5ef3944f
Arg [2] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [3] : 0000000000000000000000005e7852b78c430b0b1914eab6ace1dfedb37da557
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [5] : 697066733a2f2f6261667962656967323267693566617933646a346371746869
Arg [6] : 756c367461346c75646d3537617235786e756b6a7877733235747677656f6f6e
Arg [7] : 68792f0000000000000000000000000000000000000000000000000000000000
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.