ERC-721
Overview
Max Total Supply
200 DRAGONZ
Holders
72
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 DRAGONZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ProdigalDragonz
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// ╓─╖ // ╫╙║╖ ║╜╓─╣ // ╫─╗ ║═ ╫─╔─╖╙╦ // ╟═╚ ║ ╣ ╓╝─╨ ║ ╣ // ╣╓═ ╚═╣─ ╔╩╓╩ ╙═╣ // ╓╬║ ╓╝╟╖╚╖ ╗╖ ╓╝ ╔─ ─═╣ // ║═║ ╓╝ ║╛╥╙╗ ║═ ╫ ╓╜ ═╣─ // ║═║ ╣ └┐ ╚═╚╖ ╗╖╓╝║╣ ╟═ ╫─ ═╣ // └╣╙ ╣ ╣ ╓╝╣╠╟═╨╩ ╙╙╣ ╙╣ ╓─╣ ╓╝└╣ // ╓╖╓╣ ╣╣ ╣╖╫═╣╝ ╟╩ ╣ ╫╟╜╓╝└╓ ╣ // ╣╒╙╣╣╙╣ ╫╙╨╜ ╓╣ ╣ ║╓╣╙ ╓╬╜╓╣ // ╣╙╙╥╙╣╜╙ ╫─ ╓╜ ╓╜╓╜ ╓╩─╝ ║═ // ║═╖ ║╬ └ ╙ ╓─╩╓─╙ ╝ ╓╣ // ╣╙╖╟╖ ╓╗╗╗─ ─╙─ ╓╩ ╒╣ // ╙╣╙╣╙╕ ╒╝╝╣╣╣╜ ╒─╙ ╔╜ // ╙╣╝╙─ ╙╣╣╣╝╜ ╓╗ ╚╖╓╓─╜╙─╙└╙╙ ╟═ // ╣ ╒ ║║╬╖ ───── └╨┌╫╜ ╓╖╜╓╒ // ╣ ── ─ ╓╫ ╓╨└╝║╣╖╙╖╒ ╓╓╜ ╗╜ ╓╜╓╠╜╜╨╣╝┐ // ╚─╖═╣╣╫╗╗╗╗╫╣╜ ╓╓╗╢─╖╔═╣ ╙╗╓ ╓╗╜└ ╗╔╠║╜ ╫║═╓╣╠ // ╙╚╨╨╩╬╝╙╙╙╙╙╙└─ ╚╖╙╗╓╔╜ └╙└─ ╙╜╛╣ ╙╬╠╠╬╜└ // ╔╜ ╙╫╖ ║╖╙╖ ╙╥ // ╣═ ╙╝╖╓ ╚╨╬╣╗ ╚╗╒ // ╣╓╣═ ╙╨╣╖╓╒ └╩─ ╙╖ └╚╖ // ╙╜╣─ └║╣╣═ └╙╗╣─ ╙╗╒ // ╔╜╓─ ║═ ─╙╙╗╖╒ ╚╖╙╨╖ ╙╖ // ╣╣╣ ╫ ╓─ ╙╙╗╓ ║└╦║═ ╗ // ║╜ ╓ ╓╣ ╓╩ ╓═ ╣╣╖ ╣┐╝ ╓╗═ ╙╖ // ╟═╓╜═ ╣─ ╒╜ ╓╜╟─ ║╗╬╝╙╚└ ╓╜╫─ ╣ // ╨╝╫╜┘═ ╓╣ ╢ ╔╩└═ ╫ └╙╙═╖╓═╜ ╓╜ // ╫╨╓ ║═ ╜╣ ╣╓╔═ ╫─ ╣ // ╫╙║ ╫ ║═ ╠╜──╣╙╙ ╓╣ ╓╜ // ╓╣╙╜ ╓╣ ║═ ║─ └╢╓╝╖ ╙ ╠ ╓═╜ // ╓╫╩║╬╘╙ ╫─ ╣ ╓╜ ╓╣ ╓╣╒ ╒ ╓╓╗╩╙└ // ╨╗╣ ╓╣╜└ ║╨ ╗─ ╣╟╝╜╔╝─ ╝└╣╜ ╣╨─ ╓╩ ─└└└ ─ // ╩─╓╩╟═╠└╦╫╬═║ ─╝╜┌╙╜║─╙╟┌╜╜╘─╢╚╜─╙╙ // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract ProdigalDragonz is ERC721Enumerable, Ownable { using Strings for uint256; string public baseURI; string public baseExtension = ".json"; string public notRevealedUri; uint256 public cost = 0 ether; uint256 public maxSupply = 4444; uint256 public maxMintAmount = 3; uint256 public nftPerAddressLimit = 3; bool public paused = false; bool public revealed = false; bool public onlyWhitelisted = true; address[] public whitelistedAddresses; constructor( string memory _name, string memory _symbol, string memory _initBaseURI, string memory _initNotRevealedUri ) ERC721(_name, _symbol) { setBaseURI(_initBaseURI); setNotRevealedURI(_initNotRevealedUri); } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // public function mint(uint256 _mintAmount) public payable { require(!paused); uint256 supply = totalSupply(); require(_mintAmount > 0); require(_mintAmount <= maxMintAmount); require(supply + _mintAmount <= maxSupply); if (msg.sender != owner()) { if (onlyWhitelisted == true) { require(isWhitelisted(msg.sender), "User is not Whitelisted"); uint256 ownerTokenCount = balanceOf(msg.sender); require(ownerTokenCount < nftPerAddressLimit); } require(msg.value >= cost * _mintAmount); } for (uint256 i = 1; i <= _mintAmount; i++) { _safeMint(msg.sender, supply + i); } } function isWhitelisted(address _user) public view returns (bool) { for(uint256 i = 0; i < whitelistedAddresses.length; i++) { if (whitelistedAddresses[i] == _user) { return true; } } return false; } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if(revealed == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : ""; } //only owner function reveal() public onlyOwner { revealed = true; } function setNftPerAddressLimit(uint256 _limit) public onlyOwner { nftPerAddressLimit = _limit; } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner { maxMintAmount = _newmaxMintAmount; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function pause(bool _state) public onlyOwner { paused = _state; } function setOnlyWhitelisted(bool _state) public onlyOwner { onlyWhitelisted = _state; } function whitelistUsers(address[] calldata _user) public onlyOwner { delete whitelistedAddresses; whitelistedAddresses = _user; } function withdraw() public payable onlyOwner { (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./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. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @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-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// 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 // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); 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 {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @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 token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_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: caller is not token 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: caller is not token 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 _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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(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); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 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/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.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// 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 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": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_user","type":"address[]"}],"name":"whitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600c90816200004a9190620005a5565b506000600e5561115c600f55600360105560036011556000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff0219169083151502179055506001601260026101000a81548160ff021916908315150217905550348015620000be57600080fd5b5060405162004f8a38038062004f8a8339818101604052810190620000e49190620007f0565b83838160009081620000f79190620005a5565b508060019081620001099190620005a5565b5050506200012c620001206200015860201b60201c565b6200016060201b60201c565b6200013d826200022660201b60201c565b6200014e816200024b60201b60201c565b5050505062000961565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002366200027060201b60201c565b80600b9081620002479190620005a5565b5050565b6200025b6200027060201b60201c565b80600d90816200026c9190620005a5565b5050565b620002806200015860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002a66200030160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002ff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f6906200093f565b60405180910390fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003ad57607f821691505b602082108103620003c357620003c262000365565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200042d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620003ee565b620004398683620003ee565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000486620004806200047a8462000451565b6200045b565b62000451565b9050919050565b6000819050919050565b620004a28362000465565b620004ba620004b1826200048d565b848454620003fb565b825550505050565b600090565b620004d1620004c2565b620004de81848462000497565b505050565b5b818110156200050657620004fa600082620004c7565b600181019050620004e4565b5050565b601f82111562000555576200051f81620003c9565b6200052a84620003de565b810160208510156200053a578190505b620005526200054985620003de565b830182620004e3565b50505b505050565b600082821c905092915050565b60006200057a600019846008026200055a565b1980831691505092915050565b600062000595838362000567565b9150826002028217905092915050565b620005b0826200032b565b67ffffffffffffffff811115620005cc57620005cb62000336565b5b620005d8825462000394565b620005e58282856200050a565b600060209050601f8311600181146200061d576000841562000608578287015190505b62000614858262000587565b86555062000684565b601f1984166200062d86620003c9565b60005b82811015620006575784890151825560018201915060208501945060208101905062000630565b8683101562000677578489015162000673601f89168262000567565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620006c682620006aa565b810181811067ffffffffffffffff82111715620006e857620006e762000336565b5b80604052505050565b6000620006fd6200068c565b90506200070b8282620006bb565b919050565b600067ffffffffffffffff8211156200072e576200072d62000336565b5b6200073982620006aa565b9050602081019050919050565b60005b838110156200076657808201518184015260208101905062000749565b60008484015250505050565b600062000789620007838462000710565b620006f1565b905082815260208101848484011115620007a857620007a7620006a5565b5b620007b584828562000746565b509392505050565b600082601f830112620007d557620007d4620006a0565b5b8151620007e784826020860162000772565b91505092915050565b600080600080608085870312156200080d576200080c62000696565b5b600085015167ffffffffffffffff8111156200082e576200082d6200069b565b5b6200083c87828801620007bd565b945050602085015167ffffffffffffffff81111562000860576200085f6200069b565b5b6200086e87828801620007bd565b935050604085015167ffffffffffffffff8111156200089257620008916200069b565b5b620008a087828801620007bd565b925050606085015167ffffffffffffffff811115620008c457620008c36200069b565b5b620008d287828801620007bd565b91505092959194509250565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000927602083620008de565b91506200093482620008ef565b602082019050919050565b600060208201905081810360008301526200095a8162000918565b9050919050565b61461980620009716000396000f3fe6080604052600436106102675760003560e01c80636c0360eb11610144578063ba4e5c49116100b6578063d5abeb011161007a578063d5abeb0114610914578063da3ef23f1461093f578063e985e9c514610968578063edec5f27146109a5578063f2c4ce1e146109ce578063f2fde38b146109f757610267565b8063ba4e5c491461081b578063ba7d2c7614610858578063c668286214610883578063c87b56dd146108ae578063d0eb26b0146108eb57610267565b806395d89b411161010857806395d89b41146107405780639c70b5121461076b578063a0712d6814610796578063a22cb465146107b2578063a475b5dd146107db578063b88d4fde146107f257610267565b80636c0360eb1461066d57806370a0823114610698578063715018a6146106d55780637f00c7a6146106ec5780638da5cb5b1461071557610267565b80633af32abf116101dd57806344a0d68a116101a157806344a0d68a1461054b5780634f6ccce71461057457806351830227146105b157806355f804b3146105dc5780635c975abb146106055780636352211e1461063057610267565b80633af32abf146104755780633c952764146104b25780633ccfd60b146104db57806342842e0e146104e5578063438b63001461050e57610267565b8063095ea7b31161022f578063095ea7b31461036557806313faede61461038e57806318160ddd146103b9578063239c70ae146103e457806323b872dd1461040f5780632f745c591461043857610267565b806301ffc9a71461026c57806302329a29146102a957806306fdde03146102d2578063081812fc146102fd578063081c8c441461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190612e1c565b610a20565b6040516102a09190612e64565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb9190612eab565b610a9a565b005b3480156102de57600080fd5b506102e7610abf565b6040516102f49190612f68565b60405180910390f35b34801561030957600080fd5b50610324600480360381019061031f9190612fc0565b610b51565b604051610331919061302e565b60405180910390f35b34801561034657600080fd5b5061034f610b97565b60405161035c9190612f68565b60405180910390f35b34801561037157600080fd5b5061038c60048036038101906103879190613075565b610c25565b005b34801561039a57600080fd5b506103a3610d3c565b6040516103b091906130c4565b60405180910390f35b3480156103c557600080fd5b506103ce610d42565b6040516103db91906130c4565b60405180910390f35b3480156103f057600080fd5b506103f9610d4f565b60405161040691906130c4565b60405180910390f35b34801561041b57600080fd5b50610436600480360381019061043191906130df565b610d55565b005b34801561044457600080fd5b5061045f600480360381019061045a9190613075565b610db5565b60405161046c91906130c4565b60405180910390f35b34801561048157600080fd5b5061049c60048036038101906104979190613132565b610e5a565b6040516104a99190612e64565b60405180910390f35b3480156104be57600080fd5b506104d960048036038101906104d49190612eab565b610f08565b005b6104e3610f2d565b005b3480156104f157600080fd5b5061050c600480360381019061050791906130df565b610fb5565b005b34801561051a57600080fd5b5061053560048036038101906105309190613132565b610fd5565b604051610542919061321d565b60405180910390f35b34801561055757600080fd5b50610572600480360381019061056d9190612fc0565b611083565b005b34801561058057600080fd5b5061059b60048036038101906105969190612fc0565b611095565b6040516105a891906130c4565b60405180910390f35b3480156105bd57600080fd5b506105c6611106565b6040516105d39190612e64565b60405180910390f35b3480156105e857600080fd5b5061060360048036038101906105fe9190613374565b611119565b005b34801561061157600080fd5b5061061a611134565b6040516106279190612e64565b60405180910390f35b34801561063c57600080fd5b5061065760048036038101906106529190612fc0565b611147565b604051610664919061302e565b60405180910390f35b34801561067957600080fd5b506106826111f8565b60405161068f9190612f68565b60405180910390f35b3480156106a457600080fd5b506106bf60048036038101906106ba9190613132565b611286565b6040516106cc91906130c4565b60405180910390f35b3480156106e157600080fd5b506106ea61133d565b005b3480156106f857600080fd5b50610713600480360381019061070e9190612fc0565b611351565b005b34801561072157600080fd5b5061072a611363565b604051610737919061302e565b60405180910390f35b34801561074c57600080fd5b5061075561138d565b6040516107629190612f68565b60405180910390f35b34801561077757600080fd5b5061078061141f565b60405161078d9190612e64565b60405180910390f35b6107b060048036038101906107ab9190612fc0565b611432565b005b3480156107be57600080fd5b506107d960048036038101906107d491906133bd565b61159e565b005b3480156107e757600080fd5b506107f06115b4565b005b3480156107fe57600080fd5b506108196004803603810190610814919061349e565b6115d9565b005b34801561082757600080fd5b50610842600480360381019061083d9190612fc0565b61163b565b60405161084f919061302e565b60405180910390f35b34801561086457600080fd5b5061086d61167a565b60405161087a91906130c4565b60405180910390f35b34801561088f57600080fd5b50610898611680565b6040516108a59190612f68565b60405180910390f35b3480156108ba57600080fd5b506108d560048036038101906108d09190612fc0565b61170e565b6040516108e29190612f68565b60405180910390f35b3480156108f757600080fd5b50610912600480360381019061090d9190612fc0565b611866565b005b34801561092057600080fd5b50610929611878565b60405161093691906130c4565b60405180910390f35b34801561094b57600080fd5b5061096660048036038101906109619190613374565b61187e565b005b34801561097457600080fd5b5061098f600480360381019061098a9190613521565b611899565b60405161099c9190612e64565b60405180910390f35b3480156109b157600080fd5b506109cc60048036038101906109c791906135c1565b61192d565b005b3480156109da57600080fd5b506109f560048036038101906109f09190613374565b611959565b005b348015610a0357600080fd5b50610a1e6004803603810190610a199190613132565b611974565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a935750610a92826119f7565b5b9050919050565b610aa2611ad9565b80601260006101000a81548160ff02191690831515021790555050565b606060008054610ace9061363d565b80601f0160208091040260200160405190810160405280929190818152602001828054610afa9061363d565b8015610b475780601f10610b1c57610100808354040283529160200191610b47565b820191906000526020600020905b815481529060010190602001808311610b2a57829003601f168201915b5050505050905090565b6000610b5c82611b57565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600d8054610ba49061363d565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd09061363d565b8015610c1d5780601f10610bf257610100808354040283529160200191610c1d565b820191906000526020600020905b815481529060010190602001808311610c0057829003601f168201915b505050505081565b6000610c3082611147565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c97906136e0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cbf611ba2565b73ffffffffffffffffffffffffffffffffffffffff161480610cee5750610ced81610ce8611ba2565b611899565b5b610d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2490613772565b60405180910390fd5b610d378383611baa565b505050565b600e5481565b6000600880549050905090565b60105481565b610d66610d60611ba2565b82611c63565b610da5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9c90613804565b60405180910390fd5b610db0838383611cf8565b505050565b6000610dc083611286565b8210610e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df890613896565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600080600090505b601380549050811015610efd578273ffffffffffffffffffffffffffffffffffffffff1660138281548110610e9a57610e996138b6565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610eea576001915050610f03565b8080610ef590613914565b915050610e62565b50600090505b919050565b610f10611ad9565b80601260026101000a81548160ff02191690831515021790555050565b610f35611ad9565b6000610f3f611363565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f629061398d565b60006040518083038185875af1925050503d8060008114610f9f576040519150601f19603f3d011682016040523d82523d6000602084013e610fa4565b606091505b5050905080610fb257600080fd5b50565b610fd0838383604051806020016040528060008152506115d9565b505050565b60606000610fe283611286565b905060008167ffffffffffffffff81111561100057610fff613249565b5b60405190808252806020026020018201604052801561102e5781602001602082028036833780820191505090505b50905060005b82811015611078576110468582610db5565b828281518110611059576110586138b6565b5b602002602001018181525050808061107090613914565b915050611034565b508092505050919050565b61108b611ad9565b80600e8190555050565b600061109f610d42565b82106110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d790613a14565b60405180910390fd5b600882815481106110f4576110f36138b6565b5b90600052602060002001549050919050565b601260019054906101000a900460ff1681565b611121611ad9565b80600b90816111309190613be0565b5050565b601260009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e690613cfe565b60405180910390fd5b80915050919050565b600b80546112059061363d565b80601f01602080910402602001604051908101604052809291908181526020018280546112319061363d565b801561127e5780601f106112535761010080835404028352916020019161127e565b820191906000526020600020905b81548152906001019060200180831161126157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ed90613d90565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611345611ad9565b61134f6000611f5e565b565b611359611ad9565b8060108190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461139c9061363d565b80601f01602080910402602001604051908101604052809291908181526020018280546113c89061363d565b80156114155780601f106113ea57610100808354040283529160200191611415565b820191906000526020600020905b8154815290600101906020018083116113f857829003601f168201915b5050505050905090565b601260029054906101000a900460ff1681565b601260009054906101000a900460ff161561144c57600080fd5b6000611456610d42565b90506000821161146557600080fd5b60105482111561147457600080fd5b600f5482826114839190613db0565b111561148e57600080fd5b611496611363565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115635760011515601260029054906101000a900460ff16151503611548576114ec33610e5a565b61152b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152290613e30565b60405180910390fd5b600061153633611286565b9050601154811061154657600080fd5b505b81600e546115569190613e50565b34101561156257600080fd5b5b6000600190505b828111611599576115863382846115819190613db0565b612024565b808061159190613914565b91505061156a565b505050565b6115b06115a9611ba2565b8383612042565b5050565b6115bc611ad9565b6001601260016101000a81548160ff021916908315150217905550565b6115ea6115e4611ba2565b83611c63565b611629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162090613804565b60405180910390fd5b611635848484846121ae565b50505050565b6013818154811061164b57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60115481565b600c805461168d9061363d565b80601f01602080910402602001604051908101604052809291908181526020018280546116b99061363d565b80156117065780601f106116db57610100808354040283529160200191611706565b820191906000526020600020905b8154815290600101906020018083116116e957829003601f168201915b505050505081565b60606117198261220a565b611758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174f90613f04565b60405180910390fd5b60001515601260019054906101000a900460ff1615150361180557600d80546117809061363d565b80601f01602080910402602001604051908101604052809291908181526020018280546117ac9061363d565b80156117f95780601f106117ce576101008083540402835291602001916117f9565b820191906000526020600020905b8154815290600101906020018083116117dc57829003601f168201915b50505050509050611861565b600061180f612276565b9050600081511161182f576040518060200160405280600081525061185d565b8061183984612308565b600c60405160200161184d93929190613fe3565b6040516020818303038152906040525b9150505b919050565b61186e611ad9565b8060118190555050565b600f5481565b611886611ad9565b80600c90816118959190613be0565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611935611ad9565b601360006119439190612cd2565b818160139190611954929190612cf3565b505050565b611961611ad9565b80600d90816119709190613be0565b5050565b61197c611ad9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e290614086565b60405180910390fd5b6119f481611f5e565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ac257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ad25750611ad182612468565b5b9050919050565b611ae1611ba2565b73ffffffffffffffffffffffffffffffffffffffff16611aff611363565b73ffffffffffffffffffffffffffffffffffffffff1614611b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4c906140f2565b60405180910390fd5b565b611b608161220a565b611b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9690613cfe565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c1d83611147565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c6f83611147565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611cb15750611cb08185611899565b5b80611cef57508373ffffffffffffffffffffffffffffffffffffffff16611cd784610b51565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d1882611147565b73ffffffffffffffffffffffffffffffffffffffff1614611d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6590614184565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd490614216565b60405180910390fd5b611de88383836124d2565b611df3600082611baa565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e439190614236565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e9a9190613db0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f598383836125e4565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61203e8282604051806020016040528060008152506125e9565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a7906142b6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121a19190612e64565b60405180910390a3505050565b6121b9848484611cf8565b6121c584848484612644565b612204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fb90614348565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600b80546122859061363d565b80601f01602080910402602001604051908101604052809291908181526020018280546122b19061363d565b80156122fe5780601f106122d3576101008083540402835291602001916122fe565b820191906000526020600020905b8154815290600101906020018083116122e157829003601f168201915b5050505050905090565b60606000820361234f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612463565b600082905060005b6000821461238157808061236a90613914565b915050600a8261237a9190614397565b9150612357565b60008167ffffffffffffffff81111561239d5761239c613249565b5b6040519080825280601f01601f1916602001820160405280156123cf5781602001600182028036833780820191505090505b5090505b6000851461245c576001826123e89190614236565b9150600a856123f791906143c8565b60306124039190613db0565b60f81b818381518110612419576124186138b6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124559190614397565b94506123d3565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6124dd8383836127cb565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361251f5761251a816127d0565b61255e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461255d5761255c8382612819565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125a05761259b81612986565b6125df565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146125de576125dd8282612a57565b5b5b505050565b505050565b6125f38383612ad6565b6126006000848484612644565b61263f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263690614348565b60405180910390fd5b505050565b60006126658473ffffffffffffffffffffffffffffffffffffffff16612caf565b156127be578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261268e611ba2565b8786866040518563ffffffff1660e01b81526004016126b0949392919061444e565b6020604051808303816000875af19250505080156126ec57506040513d601f19601f820116820180604052508101906126e991906144af565b60015b61276e573d806000811461271c576040519150601f19603f3d011682016040523d82523d6000602084013e612721565b606091505b506000815103612766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275d90614348565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127c3565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161282684611286565b6128309190614236565b9050600060076000848152602001908152602001600020549050818114612915576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061299a9190614236565b90506000600960008481526020019081526020016000205490506000600883815481106129ca576129c96138b6565b5b9060005260206000200154905080600883815481106129ec576129eb6138b6565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612a3b57612a3a6144dc565b5b6001900381819060005260206000200160009055905550505050565b6000612a6283611286565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3c90614557565b60405180910390fd5b612b4e8161220a565b15612b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b85906145c3565b60405180910390fd5b612b9a600083836124d2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bea9190613db0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612cab600083836125e4565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5080546000825590600052602060002090810190612cf09190612d93565b50565b828054828255906000526020600020908101928215612d82579160200282015b82811115612d8157823573ffffffffffffffffffffffffffffffffffffffff168260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190612d13565b5b509050612d8f9190612d93565b5090565b5b80821115612dac576000816000905550600101612d94565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612df981612dc4565b8114612e0457600080fd5b50565b600081359050612e1681612df0565b92915050565b600060208284031215612e3257612e31612dba565b5b6000612e4084828501612e07565b91505092915050565b60008115159050919050565b612e5e81612e49565b82525050565b6000602082019050612e796000830184612e55565b92915050565b612e8881612e49565b8114612e9357600080fd5b50565b600081359050612ea581612e7f565b92915050565b600060208284031215612ec157612ec0612dba565b5b6000612ecf84828501612e96565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f12578082015181840152602081019050612ef7565b60008484015250505050565b6000601f19601f8301169050919050565b6000612f3a82612ed8565b612f448185612ee3565b9350612f54818560208601612ef4565b612f5d81612f1e565b840191505092915050565b60006020820190508181036000830152612f828184612f2f565b905092915050565b6000819050919050565b612f9d81612f8a565b8114612fa857600080fd5b50565b600081359050612fba81612f94565b92915050565b600060208284031215612fd657612fd5612dba565b5b6000612fe484828501612fab565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061301882612fed565b9050919050565b6130288161300d565b82525050565b6000602082019050613043600083018461301f565b92915050565b6130528161300d565b811461305d57600080fd5b50565b60008135905061306f81613049565b92915050565b6000806040838503121561308c5761308b612dba565b5b600061309a85828601613060565b92505060206130ab85828601612fab565b9150509250929050565b6130be81612f8a565b82525050565b60006020820190506130d960008301846130b5565b92915050565b6000806000606084860312156130f8576130f7612dba565b5b600061310686828701613060565b935050602061311786828701613060565b925050604061312886828701612fab565b9150509250925092565b60006020828403121561314857613147612dba565b5b600061315684828501613060565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61319481612f8a565b82525050565b60006131a6838361318b565b60208301905092915050565b6000602082019050919050565b60006131ca8261315f565b6131d4818561316a565b93506131df8361317b565b8060005b838110156132105781516131f7888261319a565b9750613202836131b2565b9250506001810190506131e3565b5085935050505092915050565b6000602082019050818103600083015261323781846131bf565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61328182612f1e565b810181811067ffffffffffffffff821117156132a05761329f613249565b5b80604052505050565b60006132b3612db0565b90506132bf8282613278565b919050565b600067ffffffffffffffff8211156132df576132de613249565b5b6132e882612f1e565b9050602081019050919050565b82818337600083830152505050565b6000613317613312846132c4565b6132a9565b90508281526020810184848401111561333357613332613244565b5b61333e8482856132f5565b509392505050565b600082601f83011261335b5761335a61323f565b5b813561336b848260208601613304565b91505092915050565b60006020828403121561338a57613389612dba565b5b600082013567ffffffffffffffff8111156133a8576133a7612dbf565b5b6133b484828501613346565b91505092915050565b600080604083850312156133d4576133d3612dba565b5b60006133e285828601613060565b92505060206133f385828601612e96565b9150509250929050565b600067ffffffffffffffff82111561341857613417613249565b5b61342182612f1e565b9050602081019050919050565b600061344161343c846133fd565b6132a9565b90508281526020810184848401111561345d5761345c613244565b5b6134688482856132f5565b509392505050565b600082601f8301126134855761348461323f565b5b813561349584826020860161342e565b91505092915050565b600080600080608085870312156134b8576134b7612dba565b5b60006134c687828801613060565b94505060206134d787828801613060565b93505060406134e887828801612fab565b925050606085013567ffffffffffffffff81111561350957613508612dbf565b5b61351587828801613470565b91505092959194509250565b6000806040838503121561353857613537612dba565b5b600061354685828601613060565b925050602061355785828601613060565b9150509250929050565b600080fd5b600080fd5b60008083601f8401126135815761358061323f565b5b8235905067ffffffffffffffff81111561359e5761359d613561565b5b6020830191508360208202830111156135ba576135b9613566565b5b9250929050565b600080602083850312156135d8576135d7612dba565b5b600083013567ffffffffffffffff8111156135f6576135f5612dbf565b5b6136028582860161356b565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061365557607f821691505b6020821081036136685761366761360e565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006136ca602183612ee3565b91506136d58261366e565b604082019050919050565b600060208201905081810360008301526136f9816136bd565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b600061375c603e83612ee3565b915061376782613700565b604082019050919050565b6000602082019050818103600083015261378b8161374f565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006137ee602e83612ee3565b91506137f982613792565b604082019050919050565b6000602082019050818103600083015261381d816137e1565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613880602b83612ee3565b915061388b82613824565b604082019050919050565b600060208201905081810360008301526138af81613873565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061391f82612f8a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613951576139506138e5565b5b600182019050919050565b600081905092915050565b50565b600061397760008361395c565b915061398282613967565b600082019050919050565b60006139988261396a565b9150819050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006139fe602c83612ee3565b9150613a09826139a2565b604082019050919050565b60006020820190508181036000830152613a2d816139f1565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613a967fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613a59565b613aa08683613a59565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613add613ad8613ad384612f8a565b613ab8565b612f8a565b9050919050565b6000819050919050565b613af783613ac2565b613b0b613b0382613ae4565b848454613a66565b825550505050565b600090565b613b20613b13565b613b2b818484613aee565b505050565b5b81811015613b4f57613b44600082613b18565b600181019050613b31565b5050565b601f821115613b9457613b6581613a34565b613b6e84613a49565b81016020851015613b7d578190505b613b91613b8985613a49565b830182613b30565b50505b505050565b600082821c905092915050565b6000613bb760001984600802613b99565b1980831691505092915050565b6000613bd08383613ba6565b9150826002028217905092915050565b613be982612ed8565b67ffffffffffffffff811115613c0257613c01613249565b5b613c0c825461363d565b613c17828285613b53565b600060209050601f831160018114613c4a5760008415613c38578287015190505b613c428582613bc4565b865550613caa565b601f198416613c5886613a34565b60005b82811015613c8057848901518255600182019150602085019450602081019050613c5b565b86831015613c9d5784890151613c99601f891682613ba6565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613ce8601883612ee3565b9150613cf382613cb2565b602082019050919050565b60006020820190508181036000830152613d1781613cdb565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613d7a602983612ee3565b9150613d8582613d1e565b604082019050919050565b60006020820190508181036000830152613da981613d6d565b9050919050565b6000613dbb82612f8a565b9150613dc683612f8a565b9250828201905080821115613dde57613ddd6138e5565b5b92915050565b7f55736572206973206e6f742057686974656c6973746564000000000000000000600082015250565b6000613e1a601783612ee3565b9150613e2582613de4565b602082019050919050565b60006020820190508181036000830152613e4981613e0d565b9050919050565b6000613e5b82612f8a565b9150613e6683612f8a565b9250828202613e7481612f8a565b91508282048414831517613e8b57613e8a6138e5565b5b5092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613eee602f83612ee3565b9150613ef982613e92565b604082019050919050565b60006020820190508181036000830152613f1d81613ee1565b9050919050565b600081905092915050565b6000613f3a82612ed8565b613f448185613f24565b9350613f54818560208601612ef4565b80840191505092915050565b60008154613f6d8161363d565b613f778186613f24565b94506001821660008114613f925760018114613fa757613fda565b60ff1983168652811515820286019350613fda565b613fb085613a34565b60005b83811015613fd257815481890152600182019150602081019050613fb3565b838801955050505b50505092915050565b6000613fef8286613f2f565b9150613ffb8285613f2f565b91506140078284613f60565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614070602683612ee3565b915061407b82614014565b604082019050919050565b6000602082019050818103600083015261409f81614063565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006140dc602083612ee3565b91506140e7826140a6565b602082019050919050565b6000602082019050818103600083015261410b816140cf565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061416e602583612ee3565b915061417982614112565b604082019050919050565b6000602082019050818103600083015261419d81614161565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614200602483612ee3565b915061420b826141a4565b604082019050919050565b6000602082019050818103600083015261422f816141f3565b9050919050565b600061424182612f8a565b915061424c83612f8a565b9250828203905081811115614264576142636138e5565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006142a0601983612ee3565b91506142ab8261426a565b602082019050919050565b600060208201905081810360008301526142cf81614293565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614332603283612ee3565b915061433d826142d6565b604082019050919050565b6000602082019050818103600083015261436181614325565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143a282612f8a565b91506143ad83612f8a565b9250826143bd576143bc614368565b5b828204905092915050565b60006143d382612f8a565b91506143de83612f8a565b9250826143ee576143ed614368565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614420826143f9565b61442a8185614404565b935061443a818560208601612ef4565b61444381612f1e565b840191505092915050565b6000608082019050614463600083018761301f565b614470602083018661301f565b61447d60408301856130b5565b818103606083015261448f8184614415565b905095945050505050565b6000815190506144a981612df0565b92915050565b6000602082840312156144c5576144c4612dba565b5b60006144d38482850161449a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614541602083612ee3565b915061454c8261450b565b602082019050919050565b6000602082019050818103600083015261457081614534565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006145ad601c83612ee3565b91506145b882614577565b602082019050919050565b600060208201905081810360008301526145dc816145a0565b905091905056fea2646970667358221220f9f2d17fecc13baf15395f73d292dce8b708b22bb8a0b2fec539c01e230aca5064736f6c63430008110033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000001050726f646967616c20447261676f6e7a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007445241474f4e5a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e697066733a2f2f52455645414c2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261666b72656963706c78716569657569626a71676861343732356d7235783632357067676336626e6f33656d776736356f7471646773726f62792f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102675760003560e01c80636c0360eb11610144578063ba4e5c49116100b6578063d5abeb011161007a578063d5abeb0114610914578063da3ef23f1461093f578063e985e9c514610968578063edec5f27146109a5578063f2c4ce1e146109ce578063f2fde38b146109f757610267565b8063ba4e5c491461081b578063ba7d2c7614610858578063c668286214610883578063c87b56dd146108ae578063d0eb26b0146108eb57610267565b806395d89b411161010857806395d89b41146107405780639c70b5121461076b578063a0712d6814610796578063a22cb465146107b2578063a475b5dd146107db578063b88d4fde146107f257610267565b80636c0360eb1461066d57806370a0823114610698578063715018a6146106d55780637f00c7a6146106ec5780638da5cb5b1461071557610267565b80633af32abf116101dd57806344a0d68a116101a157806344a0d68a1461054b5780634f6ccce71461057457806351830227146105b157806355f804b3146105dc5780635c975abb146106055780636352211e1461063057610267565b80633af32abf146104755780633c952764146104b25780633ccfd60b146104db57806342842e0e146104e5578063438b63001461050e57610267565b8063095ea7b31161022f578063095ea7b31461036557806313faede61461038e57806318160ddd146103b9578063239c70ae146103e457806323b872dd1461040f5780632f745c591461043857610267565b806301ffc9a71461026c57806302329a29146102a957806306fdde03146102d2578063081812fc146102fd578063081c8c441461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190612e1c565b610a20565b6040516102a09190612e64565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb9190612eab565b610a9a565b005b3480156102de57600080fd5b506102e7610abf565b6040516102f49190612f68565b60405180910390f35b34801561030957600080fd5b50610324600480360381019061031f9190612fc0565b610b51565b604051610331919061302e565b60405180910390f35b34801561034657600080fd5b5061034f610b97565b60405161035c9190612f68565b60405180910390f35b34801561037157600080fd5b5061038c60048036038101906103879190613075565b610c25565b005b34801561039a57600080fd5b506103a3610d3c565b6040516103b091906130c4565b60405180910390f35b3480156103c557600080fd5b506103ce610d42565b6040516103db91906130c4565b60405180910390f35b3480156103f057600080fd5b506103f9610d4f565b60405161040691906130c4565b60405180910390f35b34801561041b57600080fd5b50610436600480360381019061043191906130df565b610d55565b005b34801561044457600080fd5b5061045f600480360381019061045a9190613075565b610db5565b60405161046c91906130c4565b60405180910390f35b34801561048157600080fd5b5061049c60048036038101906104979190613132565b610e5a565b6040516104a99190612e64565b60405180910390f35b3480156104be57600080fd5b506104d960048036038101906104d49190612eab565b610f08565b005b6104e3610f2d565b005b3480156104f157600080fd5b5061050c600480360381019061050791906130df565b610fb5565b005b34801561051a57600080fd5b5061053560048036038101906105309190613132565b610fd5565b604051610542919061321d565b60405180910390f35b34801561055757600080fd5b50610572600480360381019061056d9190612fc0565b611083565b005b34801561058057600080fd5b5061059b60048036038101906105969190612fc0565b611095565b6040516105a891906130c4565b60405180910390f35b3480156105bd57600080fd5b506105c6611106565b6040516105d39190612e64565b60405180910390f35b3480156105e857600080fd5b5061060360048036038101906105fe9190613374565b611119565b005b34801561061157600080fd5b5061061a611134565b6040516106279190612e64565b60405180910390f35b34801561063c57600080fd5b5061065760048036038101906106529190612fc0565b611147565b604051610664919061302e565b60405180910390f35b34801561067957600080fd5b506106826111f8565b60405161068f9190612f68565b60405180910390f35b3480156106a457600080fd5b506106bf60048036038101906106ba9190613132565b611286565b6040516106cc91906130c4565b60405180910390f35b3480156106e157600080fd5b506106ea61133d565b005b3480156106f857600080fd5b50610713600480360381019061070e9190612fc0565b611351565b005b34801561072157600080fd5b5061072a611363565b604051610737919061302e565b60405180910390f35b34801561074c57600080fd5b5061075561138d565b6040516107629190612f68565b60405180910390f35b34801561077757600080fd5b5061078061141f565b60405161078d9190612e64565b60405180910390f35b6107b060048036038101906107ab9190612fc0565b611432565b005b3480156107be57600080fd5b506107d960048036038101906107d491906133bd565b61159e565b005b3480156107e757600080fd5b506107f06115b4565b005b3480156107fe57600080fd5b506108196004803603810190610814919061349e565b6115d9565b005b34801561082757600080fd5b50610842600480360381019061083d9190612fc0565b61163b565b60405161084f919061302e565b60405180910390f35b34801561086457600080fd5b5061086d61167a565b60405161087a91906130c4565b60405180910390f35b34801561088f57600080fd5b50610898611680565b6040516108a59190612f68565b60405180910390f35b3480156108ba57600080fd5b506108d560048036038101906108d09190612fc0565b61170e565b6040516108e29190612f68565b60405180910390f35b3480156108f757600080fd5b50610912600480360381019061090d9190612fc0565b611866565b005b34801561092057600080fd5b50610929611878565b60405161093691906130c4565b60405180910390f35b34801561094b57600080fd5b5061096660048036038101906109619190613374565b61187e565b005b34801561097457600080fd5b5061098f600480360381019061098a9190613521565b611899565b60405161099c9190612e64565b60405180910390f35b3480156109b157600080fd5b506109cc60048036038101906109c791906135c1565b61192d565b005b3480156109da57600080fd5b506109f560048036038101906109f09190613374565b611959565b005b348015610a0357600080fd5b50610a1e6004803603810190610a199190613132565b611974565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a935750610a92826119f7565b5b9050919050565b610aa2611ad9565b80601260006101000a81548160ff02191690831515021790555050565b606060008054610ace9061363d565b80601f0160208091040260200160405190810160405280929190818152602001828054610afa9061363d565b8015610b475780601f10610b1c57610100808354040283529160200191610b47565b820191906000526020600020905b815481529060010190602001808311610b2a57829003601f168201915b5050505050905090565b6000610b5c82611b57565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600d8054610ba49061363d565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd09061363d565b8015610c1d5780601f10610bf257610100808354040283529160200191610c1d565b820191906000526020600020905b815481529060010190602001808311610c0057829003601f168201915b505050505081565b6000610c3082611147565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c97906136e0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cbf611ba2565b73ffffffffffffffffffffffffffffffffffffffff161480610cee5750610ced81610ce8611ba2565b611899565b5b610d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2490613772565b60405180910390fd5b610d378383611baa565b505050565b600e5481565b6000600880549050905090565b60105481565b610d66610d60611ba2565b82611c63565b610da5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9c90613804565b60405180910390fd5b610db0838383611cf8565b505050565b6000610dc083611286565b8210610e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df890613896565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600080600090505b601380549050811015610efd578273ffffffffffffffffffffffffffffffffffffffff1660138281548110610e9a57610e996138b6565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610eea576001915050610f03565b8080610ef590613914565b915050610e62565b50600090505b919050565b610f10611ad9565b80601260026101000a81548160ff02191690831515021790555050565b610f35611ad9565b6000610f3f611363565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f629061398d565b60006040518083038185875af1925050503d8060008114610f9f576040519150601f19603f3d011682016040523d82523d6000602084013e610fa4565b606091505b5050905080610fb257600080fd5b50565b610fd0838383604051806020016040528060008152506115d9565b505050565b60606000610fe283611286565b905060008167ffffffffffffffff81111561100057610fff613249565b5b60405190808252806020026020018201604052801561102e5781602001602082028036833780820191505090505b50905060005b82811015611078576110468582610db5565b828281518110611059576110586138b6565b5b602002602001018181525050808061107090613914565b915050611034565b508092505050919050565b61108b611ad9565b80600e8190555050565b600061109f610d42565b82106110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d790613a14565b60405180910390fd5b600882815481106110f4576110f36138b6565b5b90600052602060002001549050919050565b601260019054906101000a900460ff1681565b611121611ad9565b80600b90816111309190613be0565b5050565b601260009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e690613cfe565b60405180910390fd5b80915050919050565b600b80546112059061363d565b80601f01602080910402602001604051908101604052809291908181526020018280546112319061363d565b801561127e5780601f106112535761010080835404028352916020019161127e565b820191906000526020600020905b81548152906001019060200180831161126157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ed90613d90565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611345611ad9565b61134f6000611f5e565b565b611359611ad9565b8060108190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461139c9061363d565b80601f01602080910402602001604051908101604052809291908181526020018280546113c89061363d565b80156114155780601f106113ea57610100808354040283529160200191611415565b820191906000526020600020905b8154815290600101906020018083116113f857829003601f168201915b5050505050905090565b601260029054906101000a900460ff1681565b601260009054906101000a900460ff161561144c57600080fd5b6000611456610d42565b90506000821161146557600080fd5b60105482111561147457600080fd5b600f5482826114839190613db0565b111561148e57600080fd5b611496611363565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115635760011515601260029054906101000a900460ff16151503611548576114ec33610e5a565b61152b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152290613e30565b60405180910390fd5b600061153633611286565b9050601154811061154657600080fd5b505b81600e546115569190613e50565b34101561156257600080fd5b5b6000600190505b828111611599576115863382846115819190613db0565b612024565b808061159190613914565b91505061156a565b505050565b6115b06115a9611ba2565b8383612042565b5050565b6115bc611ad9565b6001601260016101000a81548160ff021916908315150217905550565b6115ea6115e4611ba2565b83611c63565b611629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162090613804565b60405180910390fd5b611635848484846121ae565b50505050565b6013818154811061164b57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60115481565b600c805461168d9061363d565b80601f01602080910402602001604051908101604052809291908181526020018280546116b99061363d565b80156117065780601f106116db57610100808354040283529160200191611706565b820191906000526020600020905b8154815290600101906020018083116116e957829003601f168201915b505050505081565b60606117198261220a565b611758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174f90613f04565b60405180910390fd5b60001515601260019054906101000a900460ff1615150361180557600d80546117809061363d565b80601f01602080910402602001604051908101604052809291908181526020018280546117ac9061363d565b80156117f95780601f106117ce576101008083540402835291602001916117f9565b820191906000526020600020905b8154815290600101906020018083116117dc57829003601f168201915b50505050509050611861565b600061180f612276565b9050600081511161182f576040518060200160405280600081525061185d565b8061183984612308565b600c60405160200161184d93929190613fe3565b6040516020818303038152906040525b9150505b919050565b61186e611ad9565b8060118190555050565b600f5481565b611886611ad9565b80600c90816118959190613be0565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611935611ad9565b601360006119439190612cd2565b818160139190611954929190612cf3565b505050565b611961611ad9565b80600d90816119709190613be0565b5050565b61197c611ad9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e290614086565b60405180910390fd5b6119f481611f5e565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ac257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ad25750611ad182612468565b5b9050919050565b611ae1611ba2565b73ffffffffffffffffffffffffffffffffffffffff16611aff611363565b73ffffffffffffffffffffffffffffffffffffffff1614611b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4c906140f2565b60405180910390fd5b565b611b608161220a565b611b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9690613cfe565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c1d83611147565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c6f83611147565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611cb15750611cb08185611899565b5b80611cef57508373ffffffffffffffffffffffffffffffffffffffff16611cd784610b51565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d1882611147565b73ffffffffffffffffffffffffffffffffffffffff1614611d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6590614184565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd490614216565b60405180910390fd5b611de88383836124d2565b611df3600082611baa565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e439190614236565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e9a9190613db0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f598383836125e4565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61203e8282604051806020016040528060008152506125e9565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a7906142b6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121a19190612e64565b60405180910390a3505050565b6121b9848484611cf8565b6121c584848484612644565b612204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fb90614348565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600b80546122859061363d565b80601f01602080910402602001604051908101604052809291908181526020018280546122b19061363d565b80156122fe5780601f106122d3576101008083540402835291602001916122fe565b820191906000526020600020905b8154815290600101906020018083116122e157829003601f168201915b5050505050905090565b60606000820361234f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612463565b600082905060005b6000821461238157808061236a90613914565b915050600a8261237a9190614397565b9150612357565b60008167ffffffffffffffff81111561239d5761239c613249565b5b6040519080825280601f01601f1916602001820160405280156123cf5781602001600182028036833780820191505090505b5090505b6000851461245c576001826123e89190614236565b9150600a856123f791906143c8565b60306124039190613db0565b60f81b818381518110612419576124186138b6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124559190614397565b94506123d3565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6124dd8383836127cb565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361251f5761251a816127d0565b61255e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461255d5761255c8382612819565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125a05761259b81612986565b6125df565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146125de576125dd8282612a57565b5b5b505050565b505050565b6125f38383612ad6565b6126006000848484612644565b61263f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263690614348565b60405180910390fd5b505050565b60006126658473ffffffffffffffffffffffffffffffffffffffff16612caf565b156127be578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261268e611ba2565b8786866040518563ffffffff1660e01b81526004016126b0949392919061444e565b6020604051808303816000875af19250505080156126ec57506040513d601f19601f820116820180604052508101906126e991906144af565b60015b61276e573d806000811461271c576040519150601f19603f3d011682016040523d82523d6000602084013e612721565b606091505b506000815103612766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275d90614348565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127c3565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161282684611286565b6128309190614236565b9050600060076000848152602001908152602001600020549050818114612915576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061299a9190614236565b90506000600960008481526020019081526020016000205490506000600883815481106129ca576129c96138b6565b5b9060005260206000200154905080600883815481106129ec576129eb6138b6565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612a3b57612a3a6144dc565b5b6001900381819060005260206000200160009055905550505050565b6000612a6283611286565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3c90614557565b60405180910390fd5b612b4e8161220a565b15612b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b85906145c3565b60405180910390fd5b612b9a600083836124d2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bea9190613db0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612cab600083836125e4565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5080546000825590600052602060002090810190612cf09190612d93565b50565b828054828255906000526020600020908101928215612d82579160200282015b82811115612d8157823573ffffffffffffffffffffffffffffffffffffffff168260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190612d13565b5b509050612d8f9190612d93565b5090565b5b80821115612dac576000816000905550600101612d94565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612df981612dc4565b8114612e0457600080fd5b50565b600081359050612e1681612df0565b92915050565b600060208284031215612e3257612e31612dba565b5b6000612e4084828501612e07565b91505092915050565b60008115159050919050565b612e5e81612e49565b82525050565b6000602082019050612e796000830184612e55565b92915050565b612e8881612e49565b8114612e9357600080fd5b50565b600081359050612ea581612e7f565b92915050565b600060208284031215612ec157612ec0612dba565b5b6000612ecf84828501612e96565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f12578082015181840152602081019050612ef7565b60008484015250505050565b6000601f19601f8301169050919050565b6000612f3a82612ed8565b612f448185612ee3565b9350612f54818560208601612ef4565b612f5d81612f1e565b840191505092915050565b60006020820190508181036000830152612f828184612f2f565b905092915050565b6000819050919050565b612f9d81612f8a565b8114612fa857600080fd5b50565b600081359050612fba81612f94565b92915050565b600060208284031215612fd657612fd5612dba565b5b6000612fe484828501612fab565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061301882612fed565b9050919050565b6130288161300d565b82525050565b6000602082019050613043600083018461301f565b92915050565b6130528161300d565b811461305d57600080fd5b50565b60008135905061306f81613049565b92915050565b6000806040838503121561308c5761308b612dba565b5b600061309a85828601613060565b92505060206130ab85828601612fab565b9150509250929050565b6130be81612f8a565b82525050565b60006020820190506130d960008301846130b5565b92915050565b6000806000606084860312156130f8576130f7612dba565b5b600061310686828701613060565b935050602061311786828701613060565b925050604061312886828701612fab565b9150509250925092565b60006020828403121561314857613147612dba565b5b600061315684828501613060565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61319481612f8a565b82525050565b60006131a6838361318b565b60208301905092915050565b6000602082019050919050565b60006131ca8261315f565b6131d4818561316a565b93506131df8361317b565b8060005b838110156132105781516131f7888261319a565b9750613202836131b2565b9250506001810190506131e3565b5085935050505092915050565b6000602082019050818103600083015261323781846131bf565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61328182612f1e565b810181811067ffffffffffffffff821117156132a05761329f613249565b5b80604052505050565b60006132b3612db0565b90506132bf8282613278565b919050565b600067ffffffffffffffff8211156132df576132de613249565b5b6132e882612f1e565b9050602081019050919050565b82818337600083830152505050565b6000613317613312846132c4565b6132a9565b90508281526020810184848401111561333357613332613244565b5b61333e8482856132f5565b509392505050565b600082601f83011261335b5761335a61323f565b5b813561336b848260208601613304565b91505092915050565b60006020828403121561338a57613389612dba565b5b600082013567ffffffffffffffff8111156133a8576133a7612dbf565b5b6133b484828501613346565b91505092915050565b600080604083850312156133d4576133d3612dba565b5b60006133e285828601613060565b92505060206133f385828601612e96565b9150509250929050565b600067ffffffffffffffff82111561341857613417613249565b5b61342182612f1e565b9050602081019050919050565b600061344161343c846133fd565b6132a9565b90508281526020810184848401111561345d5761345c613244565b5b6134688482856132f5565b509392505050565b600082601f8301126134855761348461323f565b5b813561349584826020860161342e565b91505092915050565b600080600080608085870312156134b8576134b7612dba565b5b60006134c687828801613060565b94505060206134d787828801613060565b93505060406134e887828801612fab565b925050606085013567ffffffffffffffff81111561350957613508612dbf565b5b61351587828801613470565b91505092959194509250565b6000806040838503121561353857613537612dba565b5b600061354685828601613060565b925050602061355785828601613060565b9150509250929050565b600080fd5b600080fd5b60008083601f8401126135815761358061323f565b5b8235905067ffffffffffffffff81111561359e5761359d613561565b5b6020830191508360208202830111156135ba576135b9613566565b5b9250929050565b600080602083850312156135d8576135d7612dba565b5b600083013567ffffffffffffffff8111156135f6576135f5612dbf565b5b6136028582860161356b565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061365557607f821691505b6020821081036136685761366761360e565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006136ca602183612ee3565b91506136d58261366e565b604082019050919050565b600060208201905081810360008301526136f9816136bd565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b600061375c603e83612ee3565b915061376782613700565b604082019050919050565b6000602082019050818103600083015261378b8161374f565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006137ee602e83612ee3565b91506137f982613792565b604082019050919050565b6000602082019050818103600083015261381d816137e1565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613880602b83612ee3565b915061388b82613824565b604082019050919050565b600060208201905081810360008301526138af81613873565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061391f82612f8a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613951576139506138e5565b5b600182019050919050565b600081905092915050565b50565b600061397760008361395c565b915061398282613967565b600082019050919050565b60006139988261396a565b9150819050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006139fe602c83612ee3565b9150613a09826139a2565b604082019050919050565b60006020820190508181036000830152613a2d816139f1565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613a967fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613a59565b613aa08683613a59565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613add613ad8613ad384612f8a565b613ab8565b612f8a565b9050919050565b6000819050919050565b613af783613ac2565b613b0b613b0382613ae4565b848454613a66565b825550505050565b600090565b613b20613b13565b613b2b818484613aee565b505050565b5b81811015613b4f57613b44600082613b18565b600181019050613b31565b5050565b601f821115613b9457613b6581613a34565b613b6e84613a49565b81016020851015613b7d578190505b613b91613b8985613a49565b830182613b30565b50505b505050565b600082821c905092915050565b6000613bb760001984600802613b99565b1980831691505092915050565b6000613bd08383613ba6565b9150826002028217905092915050565b613be982612ed8565b67ffffffffffffffff811115613c0257613c01613249565b5b613c0c825461363d565b613c17828285613b53565b600060209050601f831160018114613c4a5760008415613c38578287015190505b613c428582613bc4565b865550613caa565b601f198416613c5886613a34565b60005b82811015613c8057848901518255600182019150602085019450602081019050613c5b565b86831015613c9d5784890151613c99601f891682613ba6565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613ce8601883612ee3565b9150613cf382613cb2565b602082019050919050565b60006020820190508181036000830152613d1781613cdb565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613d7a602983612ee3565b9150613d8582613d1e565b604082019050919050565b60006020820190508181036000830152613da981613d6d565b9050919050565b6000613dbb82612f8a565b9150613dc683612f8a565b9250828201905080821115613dde57613ddd6138e5565b5b92915050565b7f55736572206973206e6f742057686974656c6973746564000000000000000000600082015250565b6000613e1a601783612ee3565b9150613e2582613de4565b602082019050919050565b60006020820190508181036000830152613e4981613e0d565b9050919050565b6000613e5b82612f8a565b9150613e6683612f8a565b9250828202613e7481612f8a565b91508282048414831517613e8b57613e8a6138e5565b5b5092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613eee602f83612ee3565b9150613ef982613e92565b604082019050919050565b60006020820190508181036000830152613f1d81613ee1565b9050919050565b600081905092915050565b6000613f3a82612ed8565b613f448185613f24565b9350613f54818560208601612ef4565b80840191505092915050565b60008154613f6d8161363d565b613f778186613f24565b94506001821660008114613f925760018114613fa757613fda565b60ff1983168652811515820286019350613fda565b613fb085613a34565b60005b83811015613fd257815481890152600182019150602081019050613fb3565b838801955050505b50505092915050565b6000613fef8286613f2f565b9150613ffb8285613f2f565b91506140078284613f60565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614070602683612ee3565b915061407b82614014565b604082019050919050565b6000602082019050818103600083015261409f81614063565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006140dc602083612ee3565b91506140e7826140a6565b602082019050919050565b6000602082019050818103600083015261410b816140cf565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061416e602583612ee3565b915061417982614112565b604082019050919050565b6000602082019050818103600083015261419d81614161565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614200602483612ee3565b915061420b826141a4565b604082019050919050565b6000602082019050818103600083015261422f816141f3565b9050919050565b600061424182612f8a565b915061424c83612f8a565b9250828203905081811115614264576142636138e5565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006142a0601983612ee3565b91506142ab8261426a565b602082019050919050565b600060208201905081810360008301526142cf81614293565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614332603283612ee3565b915061433d826142d6565b604082019050919050565b6000602082019050818103600083015261436181614325565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143a282612f8a565b91506143ad83612f8a565b9250826143bd576143bc614368565b5b828204905092915050565b60006143d382612f8a565b91506143de83612f8a565b9250826143ee576143ed614368565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614420826143f9565b61442a8185614404565b935061443a818560208601612ef4565b61444381612f1e565b840191505092915050565b6000608082019050614463600083018761301f565b614470602083018661301f565b61447d60408301856130b5565b818103606083015261448f8184614415565b905095945050505050565b6000815190506144a981612df0565b92915050565b6000602082840312156144c5576144c4612dba565b5b60006144d38482850161449a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614541602083612ee3565b915061454c8261450b565b602082019050919050565b6000602082019050818103600083015261457081614534565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006145ad601c83612ee3565b91506145b882614577565b602082019050919050565b600060208201905081810360008301526145dc816145a0565b905091905056fea2646970667358221220f9f2d17fecc13baf15395f73d292dce8b708b22bb8a0b2fec539c01e230aca5064736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000001050726f646967616c20447261676f6e7a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007445241474f4e5a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e697066733a2f2f52455645414c2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261666b72656963706c78716569657569626a71676861343732356d7235783632357067676336626e6f33656d776736356f7471646773726f62792f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Prodigal Dragonz
Arg [1] : _symbol (string): DRAGONZ
Arg [2] : _initBaseURI (string): ipfs://REVEAL/
Arg [3] : _initNotRevealedUri (string): ipfs://bafkreicplxqeieuibjqgha4725mr5x625pggc6bno3emwg65otqdgsroby/
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [5] : 50726f646967616c20447261676f6e7a00000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [7] : 445241474f4e5a00000000000000000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [9] : 697066733a2f2f52455645414c2f000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [11] : 697066733a2f2f6261666b72656963706c78716569657569626a716768613437
Arg [12] : 32356d7235783632357067676336626e6f33656d776736356f7471646773726f
Arg [13] : 62792f0000000000000000000000000000000000000000000000000000000000
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.