Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
144 Club44
Holders
1
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
144 Club44Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x6137E751...324b53b7B The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Club44
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 1044 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * /@@@@@@@@@@@@@@@@@@@@&&################&&@@@@@@@@@@@@@@@@@@@@/ * /@@@@@@@@@@@@@@@@&##&&@@@@@@@@@@@@@@@@@@&&##&@@@@@@@@@@@@@@@@/ * /@@@@@@@@@@@@&##&@@@@@@@@@@@@@@@@@@@@@@@@@@@@&##&@@@@@@@@@@@@/ * /@@@@@@@@@@##&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&##@@@@@@@@@@/ * /@@@@@@@@##@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@##@@@@@@@@/ * /@@@@@@#B@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B#@@@@@@/ * /@@@@&G&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&G&@@@@/ * /@@@&G@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@G&@@@/ * /@@#G@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@G#@@/ * /@&P@@@@@@@@@@@57??!5@P?@@@@@@@G?@@@@&!&@7!????Y&@@@@@@@@@P&@/ * /@P&@@@@@@@@@@Y!#@&5G@Y~@@@@@@@5~@@@@#^#@~J@@@&!?@@@@@@@@@&P@/ * /&G@@@@@@@@@@5P@@@@@@@GY@@@@@@@BY@@@@&J&@Y5&&&#YG@@@@@@@@@@G&/ * /G#@@@@@@@@@@7J@@@@@@@Y!@@@@@@@5!@@@@#^#@!7BBBP~5@@@@@@@@@@#G/ * /5&@@@@@@@@@@&~?@@@#&@J^@@@@@B@5^&@@@G:#@^?@@@@!~@@@@@@@@@@&5/ * /5&@@@@@@@@@@@&5PGGJB@GJGGGGPJ&&55GGGYP@@YYGGGP5&@@@@@@@@@@&5/ * /G#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#G/ * /&G@@@@@@@@#GBB&G#@BBG&#PG##@&&@@@@BBB#&G&@#@#&GBG&@@@@@@@@G&/ * /@P&@@@@@@@BG@@G&B&PBG&@B#@@B#@#BB@GB@@G&G#G@B&5BG@@@@@@@@&P@/ * /@&P@@@@@@@&&@@&BB@B@#&@&&@@&&@@@@@#@@@###@B&B@B@#@@@@@@@@P&@/ * /@@#G@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@G#@@/ * /@@@&G@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@G&@@@/ * /@@@@&G&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&G&@@@@/ * /@@@@@@#B@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B#@@@@@@/ * /@@@@@@@@##@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@##@@@@@@@@/ * /@@@@@@@@@@##&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&##@@@@@@@@@@/ * /@@@@@@@@@@@@&##&@@@@@@@@@@@@@@@@@@@@@@@@@@@@&##&@@@@@@@@@@@@/ * /@@@@@@@@@@@@@@@@&##&&@@@@@@@@@@@@@@@@@@&&##&@@@@@@@@@@@@@@@@/ * /@@@@@@@@@@@@@@@@@@@@&&################&&@@@@@@@@@@@@@@@@@@@@/ * * * Developed By: @wurdig_mich */ import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "./ERC721Enumerable.sol"; contract Club44 is ERC721Enumerable, ERC2981, Ownable { string public baseURI; address public simonoFromAccounting; uint256 public MAX_SUPPLY; uint256 public constant RESERVES = 144; uint256 public mintPrice = 3 ether; uint256 public secondarySaleDate; mapping(address => bool) public projectProxy; mapping(address => bool) public claimed; constructor( string memory _baseURI, address _openSeaCounduit, address _simonoFromAccounting, uint256 _secondarySaleDate ) ERC721("Club44", "Club44") { baseURI = _baseURI; flipProxyState(_openSeaCounduit); simonoFromAccounting = _simonoFromAccounting; secondarySaleDate = _secondarySaleDate; _setDefaultRoyalty(_simonoFromAccounting, 750); _mint(address(0),0); } // update/set royalty info for the collection function setRoyaltyInfo(address receiver, uint96 feeBasisPoints) external onlyOwner { _setDefaultRoyalty(receiver, feeBasisPoints); } // update set base URI for the collection function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } // get the token URI for a specific tokenId of collection 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), ".json")); } // flip proxy address preApproval function flipProxyState(address proxyAddress) public onlyOwner { projectProxy[proxyAddress] = !projectProxy[proxyAddress]; } // collect reserves function collectReserves() external onlyOwner { require(_owners.length == 1, "Reserves already taken."); for (uint256 i; i < RESERVES; i++) _safeMint(simonoFromAccounting, i+1); } // collect unSold function collectUnsold() external onlyOwner { require(_owners.length != 0 && MAX_SUPPLY!=0, "Mint hasnt even started yet"); uint256 _totalSupply = _owners.length; for (uint256 i = _totalSupply; i < MAX_SUPPLY+1; i++) _safeMint(_msgSender(), i); } // set mint price function setMintPrice(uint256 _mintPrice) external onlyOwner { mintPrice = _mintPrice; } // toggle public sale by modifying MAX_SUPPY function setMaxSupply(uint256 _MAX_SUPPLY) external onlyOwner { MAX_SUPPLY = _MAX_SUPPLY; } //publicMint with the _amount parameter to support nftpay function publicMint(uint256 _amount) public payable { require(_amount == 1, "Max 1 mint allowed per wallet"); require(mintPrice == msg.value, "Invalid funds provided."); require(!claimed[_msgSender()], "Already Claimed"); uint256 _totalSupply = _owners.length; require(_totalSupply < MAX_SUPPLY+1, "Excedes max supply."); _mint(_msgSender(), _totalSupply); claimed[_msgSender()] = !claimed[_msgSender()]; } //mint function to support crossmint function crossMint(address _to) public payable { require( _msgSender() == 0xdAb1a1854214684acE522439684a145E62505233, "This function is for Crossmint only." ); require(mintPrice == msg.value, "Invalid funds provided."); require(!claimed[_to], "Already Claimed"); uint256 _totalSupply = _owners.length; require(_totalSupply < MAX_SUPPLY+1, "Excedes max supply."); _mint(_to, _totalSupply); claimed[_to] = !claimed[_to]; } //burn... function burn(uint256 tokenId) public { require(_isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn."); _burn(tokenId); } //callable by anyone as the address is hardcoded function withdraw() public { (bool success, ) = simonoFromAccounting.call{value: address(this).balance}(""); require(success, "Failed to send to Simono."); } //supporting preapproval for opensea proxies and other proxies that we might add function isApprovedForAll(address _owner, address operator) public view override returns (bool) { if (projectProxy[operator]) return true; return super.isApprovedForAll(_owner, operator); } //modified mint functionality to maintain an array rather than mapping function _mint(address to, uint256 tokenId) internal virtual override { _owners.push(to); emit Transfer(address(0), to, tokenId); } function _transfer( address from, address to, uint256 tokenId ) internal virtual override{ require( ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not owned" ); require(block.timestamp > secondarySaleDate || from == owner(), "ERC721: secondary sales not permitted yet"); 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); } function supportsInterface(bytes4 interfaceId) public view override(ERC2981, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function tokenByIndex(uint256 index) external view override returns (uint256) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; 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}. * -1 as _owners[0] is address(0) */ function totalSupply() public view virtual override returns (uint256) { return _owners.length - 1; } /** * @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"); uint count; for(uint 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 (last updated v4.6.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// 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) (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.0; 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 (uint) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count; for( uint 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. */ // Wont be permitted before the specified timeStamp 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"); // require(block.timestamp > 1655986407, "ERC721: secondary sales not permitted yet"); _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/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 (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// 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.0; library Address { function isContract(address account) internal view returns (bool) { uint size; assembly { size := extcodesize(account) } return size > 0; } }
// 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 (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (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`. * * 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; /** * @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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// 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": 1044 }, "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":"address","name":"_openSeaCounduit","type":"address"},{"internalType":"address","name":"_simonoFromAccounting","type":"address"},{"internalType":"uint256","name":"_secondarySaleDate","type":"uint256"}],"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_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVES","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":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectReserves","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collectUnsold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"crossMint","outputs":[],"stateMutability":"payable","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":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":[],"name":"secondarySaleDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MAX_SUPPLY","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"simonoFromAccounting","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[{"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526729a2241af62c0000600b553480156200001d57600080fd5b506040516200316538038062003165833981016040819052620000409162000439565b60408051808201825260068082526510db1d588d0d60d21b602080840182815285518087019096529285528401528151919291620000819160009162000376565b5080516200009790600190602084019062000376565b505050620000b4620000ae6200011a60201b60201c565b6200011e565b8351620000c990600890602087019062000376565b50620000d58362000170565b600980546001600160a01b0319166001600160a01b038416179055600c81905562000103826102ee620001f9565b62000110600080620002fa565b5050505062000597565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6007546001600160a01b03163314620001d05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03166000908152600d60205260409020805460ff19811660ff90911615179055565b6127106001600160601b0382161115620002695760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401620001c7565b6001600160a01b038216620002c15760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001c7565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600555565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054620003849062000544565b90600052602060002090601f016020900481019282620003a85760008555620003f3565b82601f10620003c357805160ff1916838001178555620003f3565b82800160010185558215620003f3579182015b82811115620003f3578251825591602001919060010190620003d6565b506200040192915062000405565b5090565b5b8082111562000401576000815560010162000406565b80516001600160a01b03811681146200043457600080fd5b919050565b600080600080608085870312156200045057600080fd5b84516001600160401b03808211156200046857600080fd5b818701915087601f8301126200047d57600080fd5b81518181111562000492576200049262000581565b604051601f8201601f19908116603f01168101908382118183101715620004bd57620004bd62000581565b81604052828152602093508a84848701011115620004da57600080fd5b600091505b82821015620004fe5784820184015181830185015290830190620004df565b82821115620005105760008484830101525b9750620005229150508782016200041c565b9450505062000534604086016200041c565b6060959095015193969295505050565b600181811c908216806200055957607f821691505b602082108114156200057b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612bbe80620005a76000396000f3fe6080604052600436106102a05760003560e01c806355f804b31161016e578063a22cb465116100cb578063c884ef831161007f578063f2fde38b11610064578063f2fde38b14610712578063f4a0a52814610732578063f73c814b1461075257600080fd5b8063c884ef83146106c2578063e985e9c5146106f257600080fd5b8063a960eabe116100b0578063a960eabe1461066f578063b88d4fde14610682578063c87b56dd146106a257600080fd5b8063a22cb4651461063a578063a5206d821461065a57600080fd5b80636f8b44b011610122578063715018a611610107578063715018a6146105f25780638da5cb5b1461060757806395d89b411461062557600080fd5b80636f8b44b0146105b257806370a08231146105d257600080fd5b80636352211e116101535780636352211e146105675780636817c76c146105875780636c0360eb1461059d57600080fd5b806355f804b3146105175780635bab26e21461053757600080fd5b8063267b7b251161021c57806339914d58116101d057806342842e0e116101b557806342842e0e146104b657806342966c68146104d65780634f6ccce7146104f657600080fd5b806339914d58146104815780633ccfd60b146104a157600080fd5b80632db11544116102015780632db11544146104385780632f745c591461044b57806332cb6b0c1461046b57600080fd5b8063267b7b25146103e35780632a55205a146103f957600080fd5b8063081812fc11610273578063095ea7b311610258578063095ea7b31461038e57806318160ddd146103ae57806323b872dd146103c357600080fd5b8063081812fc146103335780630922f9c51461036b57600080fd5b806301ffc9a7146102a5578063029877b6146102da57806302fa7c47146102f157806306fdde0314610311575b600080fd5b3480156102b157600080fd5b506102c56102c03660046127fa565b610772565b60405190151581526020015b60405180910390f35b3480156102e657600080fd5b506102ef610783565b005b3480156102fd57600080fd5b506102ef61030c3660046127bd565b610875565b34801561031d57600080fd5b506103266108dd565b6040516102d19190612a0f565b34801561033f57600080fd5b5061035361034e36600461287d565b61096f565b6040516001600160a01b0390911681526020016102d1565b34801561037757600080fd5b50610380609081565b6040519081526020016102d1565b34801561039a57600080fd5b506102ef6103a9366004612793565b6109f7565b3480156103ba57600080fd5b50610380610b29565b3480156103cf57600080fd5b506102ef6103de36600461269f565b610b40565b3480156103ef57600080fd5b50610380600c5481565b34801561040557600080fd5b50610419610414366004612896565b610bc8565b604080516001600160a01b0390931683526020830191909152016102d1565b6102ef61044636600461287d565b610c83565b34801561045757600080fd5b50610380610466366004612793565b610e10565b34801561047757600080fd5b50610380600a5481565b34801561048d57600080fd5b50600954610353906001600160a01b031681565b3480156104ad57600080fd5b506102ef610f4b565b3480156104c257600080fd5b506102ef6104d136600461269f565b610fee565b3480156104e257600080fd5b506102ef6104f136600461287d565b611009565b34801561050257600080fd5b5061038061051136600461287d565b50600090565b34801561052357600080fd5b506102ef610532366004612834565b611067565b34801561054357600080fd5b506102c5610552366004612651565b600d6020526000908152604090205460ff1681565b34801561057357600080fd5b5061035361058236600461287d565b6110d4565b34801561059357600080fd5b50610380600b5481565b3480156105a957600080fd5b50610326611174565b3480156105be57600080fd5b506102ef6105cd36600461287d565b611202565b3480156105de57600080fd5b506103806105ed366004612651565b611261565b3480156105fe57600080fd5b506102ef611342565b34801561061357600080fd5b506007546001600160a01b0316610353565b34801561063157600080fd5b506103266113a8565b34801561064657600080fd5b506102ef610655366004612757565b6113b7565b34801561066657600080fd5b506102ef61147c565b6102ef61067d366004612651565b61156a565b34801561068e57600080fd5b506102ef61069d3660046126db565b61173f565b3480156106ae57600080fd5b506103266106bd36600461287d565b6117cd565b3480156106ce57600080fd5b506102c56106dd366004612651565b600e6020526000908152604090205460ff1681565b3480156106fe57600080fd5b506102c561070d36600461266c565b611856565b34801561071e57600080fd5b506102ef61072d366004612651565b6118b0565b34801561073e57600080fd5b506102ef61074d36600461287d565b61198f565b34801561075e57600080fd5b506102ef61076d366004612651565b6119ee565b600061077d82611a71565b92915050565b6007546001600160a01b031633146107e25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6002546001146108345760405162461bcd60e51b815260206004820152601760248201527f526573657276657320616c72656164792074616b656e2e00000000000000000060448201526064016107d9565b60005b609081101561087257600954610860906001600160a01b031661085b836001612a22565b611aaf565b8061086a81612aeb565b915050610837565b50565b6007546001600160a01b031633146108cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b6108d98282611ac9565b5050565b6060600080546108ec90612ab0565b80601f016020809104026020016040519081016040528092919081815260200182805461091890612ab0565b80156109655780601f1061093a57610100808354040283529160200191610965565b820191906000526020600020905b81548152906001019060200180831161094857829003601f168201915b5050505050905090565b600061097a82611be3565b6109db5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107d9565b506000908152600360205260409020546001600160a01b031690565b6000610a02826110d4565b9050806001600160a01b0316836001600160a01b03161415610a8c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107d9565b336001600160a01b0382161480610aa85750610aa88133611856565b610b1a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107d9565b610b248383611c2d565b505050565b600254600090610b3b90600190612a6d565b905090565b610b4b335b82611c9b565b610bbd5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107d9565b610b24838383611d65565b60008281526006602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff16928201929092528291610c475750604080518082019091526005546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b602081015160009061271090610c6b906bffffffffffffffffffffffff1687612a4e565b610c759190612a3a565b915196919550909350505050565b80600114610cd35760405162461bcd60e51b815260206004820152601d60248201527f4d61782031206d696e7420616c6c6f776564207065722077616c6c657400000060448201526064016107d9565b34600b5414610d245760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e00000000000000000060448201526064016107d9565b336000908152600e602052604090205460ff1615610d845760405162461bcd60e51b815260206004820152600f60248201527f416c726561647920436c61696d6564000000000000000000000000000000000060448201526064016107d9565b600254600a54610d95906001612a22565b8110610de35760405162461bcd60e51b815260206004820152601360248201527f45786365646573206d617820737570706c792e0000000000000000000000000060448201526064016107d9565b610ded3382611f77565b5050336000908152600e60205260409020805460ff19811660ff90911615179055565b6000610e1b83611261565b8210610e7d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107d9565b6000805b600254811015610eee5760028181548110610e9e57610e9e612b46565b6000918252602090912001546001600160a01b0386811691161415610edc5783821415610ece57915061077d9050565b81610ed881612aeb565b9250505b80610ee681612aeb565b915050610e81565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107d9565b6009546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610f98576040519150601f19603f3d011682016040523d82523d6000602084013e610f9d565b606091505b50509050806108725760405162461bcd60e51b815260206004820152601960248201527f4661696c656420746f2073656e6420746f2053696d6f6e6f2e0000000000000060448201526064016107d9565b610b248383836040518060200160405280600081525061173f565b61101233610b45565b61105e5760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e000000000000000000000060448201526064016107d9565b61087281611ff3565b6007546001600160a01b031633146110c15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b80516108d9906008906020840190612526565b600080600283815481106110ea576110ea612b46565b6000918252602090912001546001600160a01b031690508061077d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016107d9565b6008805461118190612ab0565b80601f01602080910402602001604051908101604052809291908181526020018280546111ad90612ab0565b80156111fa5780601f106111cf576101008083540402835291602001916111fa565b820191906000526020600020905b8154815290600101906020018083116111dd57829003601f168201915b505050505081565b6007546001600160a01b0316331461125c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b600a55565b60006001600160a01b0382166112df5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107d9565b6000805b60025481101561133b576002818154811061130057611300612b46565b6000918252602090912001546001600160a01b038581169116141561132b5761132882612aeb565b91505b61133481612aeb565b90506112e3565b5092915050565b6007546001600160a01b0316331461139c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b6113a66000612075565b565b6060600180546108ec90612ab0565b6001600160a01b0382163314156114105760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107d9565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b031633146114d65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b600254158015906114e85750600a5415155b6115345760405162461bcd60e51b815260206004820152601b60248201527f4d696e74206861736e74206576656e207374617274656420796574000000000060448201526064016107d9565b600254805b600a54611547906001612a22565b8110156108d9576115583382611aaf565b8061156281612aeb565b915050611539565b73dab1a1854214684ace522439684a145e6250523333146115f25760405162461bcd60e51b8152602060048201526024808201527f546869732066756e6374696f6e20697320666f722043726f73736d696e74206f60448201527f6e6c792e0000000000000000000000000000000000000000000000000000000060648201526084016107d9565b34600b54146116435760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e00000000000000000060448201526064016107d9565b6001600160a01b0381166000908152600e602052604090205460ff16156116ac5760405162461bcd60e51b815260206004820152600f60248201527f416c726561647920436c61696d6564000000000000000000000000000000000060448201526064016107d9565b600254600a546116bd906001612a22565b811061170b5760405162461bcd60e51b815260206004820152601360248201527f45786365646573206d617820737570706c792e0000000000000000000000000060448201526064016107d9565b6117158282611f77565b506001600160a01b03166000908152600e60205260409020805460ff19811660ff90911615179055565b6117493383611c9b565b6117bb5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107d9565b6117c7848484846120c7565b50505050565b60606117d882611be3565b6118245760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e000000000000000000000060448201526064016107d9565b600861182f83612145565b604051602001611840929190612900565b6040516020818303038152906040529050919050565b6001600160a01b0381166000908152600d602052604081205460ff161561187f5750600161077d565b6001600160a01b0380841660009081526004602090815260408083209386168352929052205460ff165b9392505050565b6007546001600160a01b0316331461190a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b6001600160a01b0381166119865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107d9565b61087281612075565b6007546001600160a01b031633146119e95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b600b55565b6007546001600160a01b03163314611a485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b6001600160a01b03166000908152600d60205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061077d575061077d82612277565b6108d98282604051806020016040528060008152506122b5565b6127106bffffffffffffffffffffffff82161115611b4f5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c6550726963650000000000000000000000000000000000000000000060648201526084016107d9565b6001600160a01b038216611ba55760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016107d9565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600555565b6002546000908210801561077d575060006001600160a01b031660028381548110611c1057611c10612b46565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c62826110d4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ca682611be3565b611d075760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107d9565b6000611d12836110d4565b9050806001600160a01b0316846001600160a01b03161480611d4d5750836001600160a01b0316611d428461096f565b6001600160a01b0316145b80611d5d5750611d5d8185611856565b949350505050565b826001600160a01b0316611d78826110d4565b6001600160a01b031614611df45760405162461bcd60e51b815260206004820152602b60248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e656400000000000000000000000000000000000000000060648201526084016107d9565b600c54421180611e1157506007546001600160a01b038481169116145b611e835760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207365636f6e646172792073616c6573206e6f74207065726d60448201527f697474656420796574000000000000000000000000000000000000000000000060648201526084016107d9565b6001600160a01b038216611efe5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107d9565b611f09600082611c2d565b8160028281548110611f1d57611f1d612b46565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000611ffe826110d4565b905061200b600083611c2d565b60006002838154811061202057612020612b46565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6120d2848484611d65565b6120de84848484612333565b6117c75760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107d9565b60608161218557505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156121af578061219981612aeb565b91506121a89050600a83612a3a565b9150612189565b60008167ffffffffffffffff8111156121ca576121ca612b5c565b6040519080825280601f01601f1916602001820160405280156121f4576020820181803683370190505b5090505b8415611d5d57612209600183612a6d565b9150612216600a86612b06565b612221906030612a22565b60f81b81838151811061223657612236612b46565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612270600a86612a3a565b94506121f8565b60006001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000148061077d575061077d8261248b565b6122bf8383611f77565b6122cc6000848484612333565b610b245760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107d9565b60006001600160a01b0384163b1561248057604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123779033908990889088906004016129d3565b602060405180830381600087803b15801561239157600080fd5b505af19250505080156123c1575060408051601f3d908101601f191682019092526123be91810190612817565b60015b612466573d8080156123ef576040519150601f19603f3d011682016040523d82523d6000602084013e6123f4565b606091505b50805161245e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107d9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d5d565b506001949350505050565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806124ee57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061077d57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461077d565b82805461253290612ab0565b90600052602060002090601f016020900481019282612554576000855561259a565b82601f1061256d57805160ff191683800117855561259a565b8280016001018555821561259a579182015b8281111561259a57825182559160200191906001019061257f565b506125a69291506125aa565b5090565b5b808211156125a657600081556001016125ab565b600067ffffffffffffffff808411156125da576125da612b5c565b604051601f8501601f19908116603f0116810190828211818310171561260257612602612b5c565b8160405280935085815286868601111561261b57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461264c57600080fd5b919050565b60006020828403121561266357600080fd5b6118a982612635565b6000806040838503121561267f57600080fd5b61268883612635565b915061269660208401612635565b90509250929050565b6000806000606084860312156126b457600080fd5b6126bd84612635565b92506126cb60208501612635565b9150604084013590509250925092565b600080600080608085870312156126f157600080fd5b6126fa85612635565b935061270860208601612635565b925060408501359150606085013567ffffffffffffffff81111561272b57600080fd5b8501601f8101871361273c57600080fd5b61274b878235602084016125bf565b91505092959194509250565b6000806040838503121561276a57600080fd5b61277383612635565b91506020830135801515811461278857600080fd5b809150509250929050565b600080604083850312156127a657600080fd5b6127af83612635565b946020939093013593505050565b600080604083850312156127d057600080fd5b6127d983612635565b915060208301356bffffffffffffffffffffffff8116811461278857600080fd5b60006020828403121561280c57600080fd5b81356118a981612b72565b60006020828403121561282957600080fd5b81516118a981612b72565b60006020828403121561284657600080fd5b813567ffffffffffffffff81111561285d57600080fd5b8201601f8101841361286e57600080fd5b611d5d848235602084016125bf565b60006020828403121561288f57600080fd5b5035919050565b600080604083850312156128a957600080fd5b50508035926020909101359150565b600081518084526128d0816020860160208601612a84565b601f01601f19169290920160200192915050565b600081516128f6818560208601612a84565b9290920192915050565b600080845481600182811c91508083168061291c57607f831692505b602080841082141561293c57634e487b7160e01b86526022600452602486fd5b81801561295057600181146129615761298e565b60ff1986168952848901965061298e565b60008b81526020902060005b868110156129865781548b82015290850190830161296d565b505084890196505b5050505050506129ca6129a182866128e4565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612a0560808301846128b8565b9695505050505050565b6020815260006118a960208301846128b8565b60008219821115612a3557612a35612b1a565b500190565b600082612a4957612a49612b30565b500490565b6000816000190483118215151615612a6857612a68612b1a565b500290565b600082821015612a7f57612a7f612b1a565b500390565b60005b83811015612a9f578181015183820152602001612a87565b838111156117c75750506000910152565b600181811c90821680612ac457607f821691505b60208210811415612ae557634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612aff57612aff612b1a565b5060010190565b600082612b1557612b15612b30565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461087257600080fdfea26469706673582212209c5299a5080786e88467b6158a9c683d9471d0720005933a66f6fa912b7bb12964736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000800000000000000000000000001e0049783f008a0085193e00003d00cd54003c7100000000000000000000000043356efb59a3c3c0b3a07f46e5fb49b4a03bd4a80000000000000000000000000000000000000000000000000000000062f13d54000000000000000000000000000000000000000000000000000000000000005368747470733a2f2f73746f726167656170692e666c65656b2e636f2f61343636613862342d323862392d343136392d623730332d3030363338356234356233632d6275636b65742f436c756234344a736f6e2f00000000000000000000000000
Deployed Bytecode
0x6080604052600436106102a05760003560e01c806355f804b31161016e578063a22cb465116100cb578063c884ef831161007f578063f2fde38b11610064578063f2fde38b14610712578063f4a0a52814610732578063f73c814b1461075257600080fd5b8063c884ef83146106c2578063e985e9c5146106f257600080fd5b8063a960eabe116100b0578063a960eabe1461066f578063b88d4fde14610682578063c87b56dd146106a257600080fd5b8063a22cb4651461063a578063a5206d821461065a57600080fd5b80636f8b44b011610122578063715018a611610107578063715018a6146105f25780638da5cb5b1461060757806395d89b411461062557600080fd5b80636f8b44b0146105b257806370a08231146105d257600080fd5b80636352211e116101535780636352211e146105675780636817c76c146105875780636c0360eb1461059d57600080fd5b806355f804b3146105175780635bab26e21461053757600080fd5b8063267b7b251161021c57806339914d58116101d057806342842e0e116101b557806342842e0e146104b657806342966c68146104d65780634f6ccce7146104f657600080fd5b806339914d58146104815780633ccfd60b146104a157600080fd5b80632db11544116102015780632db11544146104385780632f745c591461044b57806332cb6b0c1461046b57600080fd5b8063267b7b25146103e35780632a55205a146103f957600080fd5b8063081812fc11610273578063095ea7b311610258578063095ea7b31461038e57806318160ddd146103ae57806323b872dd146103c357600080fd5b8063081812fc146103335780630922f9c51461036b57600080fd5b806301ffc9a7146102a5578063029877b6146102da57806302fa7c47146102f157806306fdde0314610311575b600080fd5b3480156102b157600080fd5b506102c56102c03660046127fa565b610772565b60405190151581526020015b60405180910390f35b3480156102e657600080fd5b506102ef610783565b005b3480156102fd57600080fd5b506102ef61030c3660046127bd565b610875565b34801561031d57600080fd5b506103266108dd565b6040516102d19190612a0f565b34801561033f57600080fd5b5061035361034e36600461287d565b61096f565b6040516001600160a01b0390911681526020016102d1565b34801561037757600080fd5b50610380609081565b6040519081526020016102d1565b34801561039a57600080fd5b506102ef6103a9366004612793565b6109f7565b3480156103ba57600080fd5b50610380610b29565b3480156103cf57600080fd5b506102ef6103de36600461269f565b610b40565b3480156103ef57600080fd5b50610380600c5481565b34801561040557600080fd5b50610419610414366004612896565b610bc8565b604080516001600160a01b0390931683526020830191909152016102d1565b6102ef61044636600461287d565b610c83565b34801561045757600080fd5b50610380610466366004612793565b610e10565b34801561047757600080fd5b50610380600a5481565b34801561048d57600080fd5b50600954610353906001600160a01b031681565b3480156104ad57600080fd5b506102ef610f4b565b3480156104c257600080fd5b506102ef6104d136600461269f565b610fee565b3480156104e257600080fd5b506102ef6104f136600461287d565b611009565b34801561050257600080fd5b5061038061051136600461287d565b50600090565b34801561052357600080fd5b506102ef610532366004612834565b611067565b34801561054357600080fd5b506102c5610552366004612651565b600d6020526000908152604090205460ff1681565b34801561057357600080fd5b5061035361058236600461287d565b6110d4565b34801561059357600080fd5b50610380600b5481565b3480156105a957600080fd5b50610326611174565b3480156105be57600080fd5b506102ef6105cd36600461287d565b611202565b3480156105de57600080fd5b506103806105ed366004612651565b611261565b3480156105fe57600080fd5b506102ef611342565b34801561061357600080fd5b506007546001600160a01b0316610353565b34801561063157600080fd5b506103266113a8565b34801561064657600080fd5b506102ef610655366004612757565b6113b7565b34801561066657600080fd5b506102ef61147c565b6102ef61067d366004612651565b61156a565b34801561068e57600080fd5b506102ef61069d3660046126db565b61173f565b3480156106ae57600080fd5b506103266106bd36600461287d565b6117cd565b3480156106ce57600080fd5b506102c56106dd366004612651565b600e6020526000908152604090205460ff1681565b3480156106fe57600080fd5b506102c561070d36600461266c565b611856565b34801561071e57600080fd5b506102ef61072d366004612651565b6118b0565b34801561073e57600080fd5b506102ef61074d36600461287d565b61198f565b34801561075e57600080fd5b506102ef61076d366004612651565b6119ee565b600061077d82611a71565b92915050565b6007546001600160a01b031633146107e25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6002546001146108345760405162461bcd60e51b815260206004820152601760248201527f526573657276657320616c72656164792074616b656e2e00000000000000000060448201526064016107d9565b60005b609081101561087257600954610860906001600160a01b031661085b836001612a22565b611aaf565b8061086a81612aeb565b915050610837565b50565b6007546001600160a01b031633146108cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b6108d98282611ac9565b5050565b6060600080546108ec90612ab0565b80601f016020809104026020016040519081016040528092919081815260200182805461091890612ab0565b80156109655780601f1061093a57610100808354040283529160200191610965565b820191906000526020600020905b81548152906001019060200180831161094857829003601f168201915b5050505050905090565b600061097a82611be3565b6109db5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107d9565b506000908152600360205260409020546001600160a01b031690565b6000610a02826110d4565b9050806001600160a01b0316836001600160a01b03161415610a8c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107d9565b336001600160a01b0382161480610aa85750610aa88133611856565b610b1a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107d9565b610b248383611c2d565b505050565b600254600090610b3b90600190612a6d565b905090565b610b4b335b82611c9b565b610bbd5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107d9565b610b24838383611d65565b60008281526006602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff16928201929092528291610c475750604080518082019091526005546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b602081015160009061271090610c6b906bffffffffffffffffffffffff1687612a4e565b610c759190612a3a565b915196919550909350505050565b80600114610cd35760405162461bcd60e51b815260206004820152601d60248201527f4d61782031206d696e7420616c6c6f776564207065722077616c6c657400000060448201526064016107d9565b34600b5414610d245760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e00000000000000000060448201526064016107d9565b336000908152600e602052604090205460ff1615610d845760405162461bcd60e51b815260206004820152600f60248201527f416c726561647920436c61696d6564000000000000000000000000000000000060448201526064016107d9565b600254600a54610d95906001612a22565b8110610de35760405162461bcd60e51b815260206004820152601360248201527f45786365646573206d617820737570706c792e0000000000000000000000000060448201526064016107d9565b610ded3382611f77565b5050336000908152600e60205260409020805460ff19811660ff90911615179055565b6000610e1b83611261565b8210610e7d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107d9565b6000805b600254811015610eee5760028181548110610e9e57610e9e612b46565b6000918252602090912001546001600160a01b0386811691161415610edc5783821415610ece57915061077d9050565b81610ed881612aeb565b9250505b80610ee681612aeb565b915050610e81565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107d9565b6009546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610f98576040519150601f19603f3d011682016040523d82523d6000602084013e610f9d565b606091505b50509050806108725760405162461bcd60e51b815260206004820152601960248201527f4661696c656420746f2073656e6420746f2053696d6f6e6f2e0000000000000060448201526064016107d9565b610b248383836040518060200160405280600081525061173f565b61101233610b45565b61105e5760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e000000000000000000000060448201526064016107d9565b61087281611ff3565b6007546001600160a01b031633146110c15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b80516108d9906008906020840190612526565b600080600283815481106110ea576110ea612b46565b6000918252602090912001546001600160a01b031690508061077d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016107d9565b6008805461118190612ab0565b80601f01602080910402602001604051908101604052809291908181526020018280546111ad90612ab0565b80156111fa5780601f106111cf576101008083540402835291602001916111fa565b820191906000526020600020905b8154815290600101906020018083116111dd57829003601f168201915b505050505081565b6007546001600160a01b0316331461125c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b600a55565b60006001600160a01b0382166112df5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107d9565b6000805b60025481101561133b576002818154811061130057611300612b46565b6000918252602090912001546001600160a01b038581169116141561132b5761132882612aeb565b91505b61133481612aeb565b90506112e3565b5092915050565b6007546001600160a01b0316331461139c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b6113a66000612075565b565b6060600180546108ec90612ab0565b6001600160a01b0382163314156114105760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107d9565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b031633146114d65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b600254158015906114e85750600a5415155b6115345760405162461bcd60e51b815260206004820152601b60248201527f4d696e74206861736e74206576656e207374617274656420796574000000000060448201526064016107d9565b600254805b600a54611547906001612a22565b8110156108d9576115583382611aaf565b8061156281612aeb565b915050611539565b73dab1a1854214684ace522439684a145e6250523333146115f25760405162461bcd60e51b8152602060048201526024808201527f546869732066756e6374696f6e20697320666f722043726f73736d696e74206f60448201527f6e6c792e0000000000000000000000000000000000000000000000000000000060648201526084016107d9565b34600b54146116435760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e00000000000000000060448201526064016107d9565b6001600160a01b0381166000908152600e602052604090205460ff16156116ac5760405162461bcd60e51b815260206004820152600f60248201527f416c726561647920436c61696d6564000000000000000000000000000000000060448201526064016107d9565b600254600a546116bd906001612a22565b811061170b5760405162461bcd60e51b815260206004820152601360248201527f45786365646573206d617820737570706c792e0000000000000000000000000060448201526064016107d9565b6117158282611f77565b506001600160a01b03166000908152600e60205260409020805460ff19811660ff90911615179055565b6117493383611c9b565b6117bb5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107d9565b6117c7848484846120c7565b50505050565b60606117d882611be3565b6118245760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e000000000000000000000060448201526064016107d9565b600861182f83612145565b604051602001611840929190612900565b6040516020818303038152906040529050919050565b6001600160a01b0381166000908152600d602052604081205460ff161561187f5750600161077d565b6001600160a01b0380841660009081526004602090815260408083209386168352929052205460ff165b9392505050565b6007546001600160a01b0316331461190a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b6001600160a01b0381166119865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107d9565b61087281612075565b6007546001600160a01b031633146119e95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b600b55565b6007546001600160a01b03163314611a485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d9565b6001600160a01b03166000908152600d60205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061077d575061077d82612277565b6108d98282604051806020016040528060008152506122b5565b6127106bffffffffffffffffffffffff82161115611b4f5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c6550726963650000000000000000000000000000000000000000000060648201526084016107d9565b6001600160a01b038216611ba55760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016107d9565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600555565b6002546000908210801561077d575060006001600160a01b031660028381548110611c1057611c10612b46565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c62826110d4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ca682611be3565b611d075760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107d9565b6000611d12836110d4565b9050806001600160a01b0316846001600160a01b03161480611d4d5750836001600160a01b0316611d428461096f565b6001600160a01b0316145b80611d5d5750611d5d8185611856565b949350505050565b826001600160a01b0316611d78826110d4565b6001600160a01b031614611df45760405162461bcd60e51b815260206004820152602b60248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e656400000000000000000000000000000000000000000060648201526084016107d9565b600c54421180611e1157506007546001600160a01b038481169116145b611e835760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207365636f6e646172792073616c6573206e6f74207065726d60448201527f697474656420796574000000000000000000000000000000000000000000000060648201526084016107d9565b6001600160a01b038216611efe5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107d9565b611f09600082611c2d565b8160028281548110611f1d57611f1d612b46565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000611ffe826110d4565b905061200b600083611c2d565b60006002838154811061202057612020612b46565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6120d2848484611d65565b6120de84848484612333565b6117c75760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107d9565b60608161218557505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156121af578061219981612aeb565b91506121a89050600a83612a3a565b9150612189565b60008167ffffffffffffffff8111156121ca576121ca612b5c565b6040519080825280601f01601f1916602001820160405280156121f4576020820181803683370190505b5090505b8415611d5d57612209600183612a6d565b9150612216600a86612b06565b612221906030612a22565b60f81b81838151811061223657612236612b46565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612270600a86612a3a565b94506121f8565b60006001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000148061077d575061077d8261248b565b6122bf8383611f77565b6122cc6000848484612333565b610b245760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107d9565b60006001600160a01b0384163b1561248057604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123779033908990889088906004016129d3565b602060405180830381600087803b15801561239157600080fd5b505af19250505080156123c1575060408051601f3d908101601f191682019092526123be91810190612817565b60015b612466573d8080156123ef576040519150601f19603f3d011682016040523d82523d6000602084013e6123f4565b606091505b50805161245e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107d9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d5d565b506001949350505050565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806124ee57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061077d57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461077d565b82805461253290612ab0565b90600052602060002090601f016020900481019282612554576000855561259a565b82601f1061256d57805160ff191683800117855561259a565b8280016001018555821561259a579182015b8281111561259a57825182559160200191906001019061257f565b506125a69291506125aa565b5090565b5b808211156125a657600081556001016125ab565b600067ffffffffffffffff808411156125da576125da612b5c565b604051601f8501601f19908116603f0116810190828211818310171561260257612602612b5c565b8160405280935085815286868601111561261b57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461264c57600080fd5b919050565b60006020828403121561266357600080fd5b6118a982612635565b6000806040838503121561267f57600080fd5b61268883612635565b915061269660208401612635565b90509250929050565b6000806000606084860312156126b457600080fd5b6126bd84612635565b92506126cb60208501612635565b9150604084013590509250925092565b600080600080608085870312156126f157600080fd5b6126fa85612635565b935061270860208601612635565b925060408501359150606085013567ffffffffffffffff81111561272b57600080fd5b8501601f8101871361273c57600080fd5b61274b878235602084016125bf565b91505092959194509250565b6000806040838503121561276a57600080fd5b61277383612635565b91506020830135801515811461278857600080fd5b809150509250929050565b600080604083850312156127a657600080fd5b6127af83612635565b946020939093013593505050565b600080604083850312156127d057600080fd5b6127d983612635565b915060208301356bffffffffffffffffffffffff8116811461278857600080fd5b60006020828403121561280c57600080fd5b81356118a981612b72565b60006020828403121561282957600080fd5b81516118a981612b72565b60006020828403121561284657600080fd5b813567ffffffffffffffff81111561285d57600080fd5b8201601f8101841361286e57600080fd5b611d5d848235602084016125bf565b60006020828403121561288f57600080fd5b5035919050565b600080604083850312156128a957600080fd5b50508035926020909101359150565b600081518084526128d0816020860160208601612a84565b601f01601f19169290920160200192915050565b600081516128f6818560208601612a84565b9290920192915050565b600080845481600182811c91508083168061291c57607f831692505b602080841082141561293c57634e487b7160e01b86526022600452602486fd5b81801561295057600181146129615761298e565b60ff1986168952848901965061298e565b60008b81526020902060005b868110156129865781548b82015290850190830161296d565b505084890196505b5050505050506129ca6129a182866128e4565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612a0560808301846128b8565b9695505050505050565b6020815260006118a960208301846128b8565b60008219821115612a3557612a35612b1a565b500190565b600082612a4957612a49612b30565b500490565b6000816000190483118215151615612a6857612a68612b1a565b500290565b600082821015612a7f57612a7f612b1a565b500390565b60005b83811015612a9f578181015183820152602001612a87565b838111156117c75750506000910152565b600181811c90821680612ac457607f821691505b60208210811415612ae557634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612aff57612aff612b1a565b5060010190565b600082612b1557612b15612b30565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461087257600080fdfea26469706673582212209c5299a5080786e88467b6158a9c683d9471d0720005933a66f6fa912b7bb12964736f6c63430008070033
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.