Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,951 HOOD
Holders
1,083
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 HOODLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Hoodle
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // ___ ___ _________ _________ _______ // / / / / / ___ / / ___ / / ___ \ // /xx/ /xx/ /xx/ /xx/ /xx/ /xx/ /xx/ /xx/ // /xx/__/xx/ /xx/ /xx/ /xx/ /xx/ /xx/ /xx/ // /xxxxxxxx/ /xx/ /xx/ /xx/ /xx/ /xx/ /xx/ // /xxxxxxxx/ /xx/ /xx/ /xx/ /xx/ /xx/ /xx/ // /xx/ /xx/ /xx/ /xx/ /xx/ /xx/ /xx/ /xx/ // /xx/ /xx/ /xx/__/xx/ /xx/__/xx/ /xx/__/xx/ // /__/ /__/ /________/ /________/ /________/ // import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "erc721a/contracts/extensions/ERC721ABurnable.sol"; contract Hoodle is Ownable, ReentrancyGuard, ERC721ABurnable { using SafeMath for uint256; using Strings for uint256; // Max token supply of 3333, uint256 public constant MAX_TOKENS = 3333; uint256 public constant PRESALE_PURCHASE_LIMIT = 4; uint256 public constant PUBLIC_SALE_PURCHASE_LIMIT = 6; uint256 public tokenPrice = 0.07 ether; bool public revealStatus; bool public presaleActive; bool public publicSaleActive; // wallet addresses address public hoodlesTreasury; address public beneficiary; mapping(address => uint256) public presaleClaimed; mapping(address => uint256) public publicSaleClaimed; mapping(address => bool) public isGiveawayClaimed; mapping(address => uint256) public giveawayAddresses; mapping(address => bool) public presaleAddresses; string public baseTokenURI; string public hiddenTokenURI; constructor( string memory _name, string memory _symbol, address _beneficiary, address _hoodlesTreasury, string memory _initialTokenURI, string memory _hiddenTokenURI ) ERC721A(_name, _symbol) { beneficiary = _beneficiary; hoodlesTreasury = _hoodlesTreasury; baseTokenURI = _initialTokenURI; hiddenTokenURI = _hiddenTokenURI; } function setPresaleStatus(bool _state) public onlyOwner { presaleActive = _state; publicSaleActive = false; } function setPublicSaleStatus(bool _state) public onlyOwner { presaleActive = false; publicSaleActive = _state; } // Function to reveal NFTs to their holders function changeRevealStatus(bool _state) external onlyOwner { revealStatus = _state; } // functions to modify or view the base token uri function setBaseURI(string calldata newBaseURI) external onlyOwner { baseTokenURI = newBaseURI; } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } // Function to get ownershipdata of a token function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) { return ownershipOf(tokenId); } // Function to mint new NFTs, presale function presaleMint(uint256 numOfTokens) external payable nonReentrant { require(presaleActive, "Presale not ongoing"); require(msg.sender == tx.origin, "Wallet Error"); require(presaleAddresses[msg.sender], "Not whitelisted"); require( presaleClaimed[msg.sender] + numOfTokens <= PRESALE_PURCHASE_LIMIT, "Address limit reached" ); require(numOfTokens * tokenPrice == msg.value, "Ether value mismatch"); presaleClaimed[msg.sender] += numOfTokens; _safeMint(msg.sender, numOfTokens); payable(beneficiary).transfer(msg.value); } // Function to mint new NFTs, public sale function publicSaleMint(uint256 numOfTokens) external payable nonReentrant { require(publicSaleActive, "Public Sale not ongoing"); require(msg.sender == tx.origin, "Wallet Error"); require( totalSupply() + numOfTokens <= MAX_TOKENS, "Supply limit reached" ); require(numOfTokens * tokenPrice == msg.value, "Ether value mismatch"); require( publicSaleClaimed[msg.sender] + numOfTokens <= PUBLIC_SALE_PURCHASE_LIMIT, "Address limit reached" ); publicSaleClaimed[msg.sender] += numOfTokens; _safeMint(msg.sender, numOfTokens); payable(beneficiary).transfer(msg.value); } // Function setPresaleAddresses to give presale access to addresses function setPresaleAddresses(address[] memory _addresses) external onlyOwner { for (uint256 i = 0; i < _addresses.length; i++) { presaleAddresses[_addresses[i]] = true; } } // Function to get total supply minted function getTotalSupplyMinted() external view returns (uint256) { return totalSupply(); } // Function to allow only the contract owner to withdraw function withdraw() external onlyOwner { require(address(this).balance > 0, "Zero Balance"); payable(beneficiary).transfer(address(this).balance); } // Function to set giveaway addresses (tokenIds should be below 60) function setGiveawayAddresses( address[] memory _addresses, uint256[] memory _tokenAmounts ) external onlyOwner { require(_addresses.length == _tokenAmounts.length, "array size mismatch"); for (uint256 i = 0; i < _addresses.length; i++) { giveawayAddresses[_addresses[i]] = _tokenAmounts[i]; } } // Function to claim giveaway function claimGiveaway() external nonReentrant { require(!isGiveawayClaimed[msg.sender], "Error: user already claimed giveaway"); isGiveawayClaimed[msg.sender] = true; _safeMint(msg.sender, giveawayAddresses[msg.sender]); } /// Function to burn supply function burnSupply(uint256[] memory _tokenIds) external onlyOwner { for (uint256 i = 0; i < _tokenIds.length; i++) { burn(_tokenIds[i]); } } /// Function to get token URI of given token ID function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { string memory json = ".json"; require(_exists(_tokenId), "Non existent Token"); if (!revealStatus) { return string(abi.encodePacked(hiddenTokenURI, _tokenId.toString(), json)); } else { return string(abi.encodePacked(baseTokenURI, _tokenId.toString(), json)); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '../ERC721A.sol'; import '@openzeppelin/contracts/utils/Context.sol'; /** * @title ERC721A Burnable Token * @dev ERC721A Token that can be irreversibly burned (destroyed). */ abstract contract ERC721ABurnable is Context, ERC721A { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); _burn(tokenId); } }
// 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 // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { if (owner == address(0)) revert AuxQueryForZeroAddress(); return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { if (owner == address(0)) revert AuxQueryForZeroAddress(); _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _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 { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/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.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.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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" ] } }, "libraries": {} }
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":"address","name":"_beneficiary","type":"address"},{"internalType":"address","name":"_hoodlesTreasury","type":"address"},{"internalType":"string","name":"_initialTokenURI","type":"string"},{"internalType":"string","name":"_hiddenTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_PURCHASE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PURCHASE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beneficiary","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"burnSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"changeRevealStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupplyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"giveawayAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hoodlesTreasury","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":"","type":"address"}],"name":"isGiveawayClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numOfTokens","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicSaleClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numOfTokens","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealStatus","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_tokenAmounts","type":"uint256[]"}],"name":"setGiveawayAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"setPresaleAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPresaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405266f8b0a10e470000600a553480156200001c57600080fd5b50604051620057253803806200572583398181016040528101906200004291906200037f565b858562000064620000586200017560201b60201c565b6200017d60201b60201c565b6001808190555081600490805190602001906200008392919062000246565b5080600590805190602001906200009c92919062000246565b50620000ad6200024160201b60201c565b600281905550505083600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600b60036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601290805190602001906200014f92919062000246565b5080601390805190602001906200016892919062000246565b5050505050505062000637565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b828054620002549062000542565b90600052602060002090601f016020900481019282620002785760008555620002c4565b82601f106200029357805160ff1916838001178555620002c4565b82800160010185558215620002c4579182015b82811115620002c3578251825591602001919060010190620002a6565b5b509050620002d39190620002d7565b5090565b5b80821115620002f2576000816000905550600101620002d8565b5090565b60006200030d6200030784620004a2565b62000479565b9050828152602081018484840111156200032657600080fd5b620003338482856200050c565b509392505050565b6000815190506200034c816200061d565b92915050565b600082601f8301126200036457600080fd5b815162000376848260208601620002f6565b91505092915050565b60008060008060008060c087890312156200039957600080fd5b600087015167ffffffffffffffff811115620003b457600080fd5b620003c289828a0162000352565b965050602087015167ffffffffffffffff811115620003e057600080fd5b620003ee89828a0162000352565b95505060406200040189828a016200033b565b94505060606200041489828a016200033b565b935050608087015167ffffffffffffffff8111156200043257600080fd5b6200044089828a0162000352565b92505060a087015167ffffffffffffffff8111156200045e57600080fd5b6200046c89828a0162000352565b9150509295509295509295565b60006200048562000498565b905062000493828262000578565b919050565b6000604051905090565b600067ffffffffffffffff821115620004c057620004bf620005dd565b5b620004cb826200060c565b9050602081019050919050565b6000620004e582620004ec565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200052c5780820151818401526020810190506200050f565b838111156200053c576000848401525b50505050565b600060028204905060018216806200055b57607f821691505b60208210811415620005725762000571620005ae565b5b50919050565b62000583826200060c565b810181811067ffffffffffffffff82111715620005a557620005a4620005dd565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200062881620004d8565b81146200063457600080fd5b50565b6150de80620006476000396000f3fe6080604052600436106102885760003560e01c8063715018a61161015a578063b88d4fde116100c1578063d547cfb71161007a578063d547cfb7146109b0578063e985e9c5146109db578063ec83ebbd14610a18578063f2fde38b14610a43578063f47c84c514610a6c578063f9765bc114610a9757610288565b8063b88d4fde1461089d578063bc5d36b0146108c6578063bc8893b4146108ef578063c87b56dd1461091a578063c9b298f114610957578063d3c553ad1461097357610288565b806395d89b411161011357806395d89b41146107b05780639ab6f6c9146107db578063a22cb46514610804578063b19a13ee1461082d578063b3ab66b014610858578063b423fe671461087457610288565b8063715018a6146106b45780637ff9b596146106cb5780638895283f146106f65780638da5cb5b1461071f5780639231ab2a1461074a578063949028a71461078757610288565b806342842e0e116101fe5780635e7a79cd116101b75780635e7a79cd1461056a57806362d0f657146105a75780636352211e146105d257806364d30f551461060f57806366fca9801461063a57806370a082311461067757610288565b806342842e0e1461048257806342966c68146104ab5780634af9bc10146104d457806353135ca0146104eb57806355f804b31461051657806356f5ab861461053f57610288565b806323b872dd1161025057806323b872dd14610386578063263e4f5e146103af57806338af3eed146103da5780633ccfd60b146104055780633ff35a4f1461041c5780634001d92c1461044557610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b31461033257806318160ddd1461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190614200565b610ad4565b6040516102c19190614700565b60405180910390f35b3480156102d657600080fd5b506102df610bb6565b6040516102ec919061471b565b60405180910390f35b34801561030157600080fd5b5061031c60048036038101906103179190614297565b610c48565b6040516103299190614699565b60405180910390f35b34801561033e57600080fd5b50610359600480360381019061035491906140ad565b610cc4565b005b34801561036757600080fd5b50610370610dcf565b60405161037d9190614918565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a89190613fa7565b610de6565b005b3480156103bb57600080fd5b506103c4610df6565b6040516103d19190614700565b60405180910390f35b3480156103e657600080fd5b506103ef610e09565b6040516103fc9190614699565b60405180910390f35b34801561041157600080fd5b5061041a610e2f565b005b34801561042857600080fd5b50610443600480360381019061043e91906140e9565b610f59565b005b34801561045157600080fd5b5061046c60048036038101906104679190613f42565b611090565b6040516104799190614918565b60405180910390f35b34801561048e57600080fd5b506104a960048036038101906104a49190613fa7565b6110a8565b005b3480156104b757600080fd5b506104d260048036038101906104cd9190614297565b6110c8565b005b3480156104e057600080fd5b506104e96111b9565b005b3480156104f757600080fd5b5061050061133e565b60405161050d9190614700565b60405180910390f35b34801561052257600080fd5b5061053d60048036038101906105389190614252565b611351565b005b34801561054b57600080fd5b506105546113e3565b6040516105619190614918565b60405180910390f35b34801561057657600080fd5b50610591600480360381019061058c9190613f42565b6113e8565b60405161059e9190614700565b60405180910390f35b3480156105b357600080fd5b506105bc611408565b6040516105c99190614918565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f49190614297565b61140d565b6040516106069190614699565b60405180910390f35b34801561061b57600080fd5b50610624611423565b6040516106319190614918565b60405180910390f35b34801561064657600080fd5b50610661600480360381019061065c9190613f42565b611432565b60405161066e9190614700565b60405180910390f35b34801561068357600080fd5b5061069e60048036038101906106999190613f42565b611452565b6040516106ab9190614918565b60405180910390f35b3480156106c057600080fd5b506106c9611522565b005b3480156106d757600080fd5b506106e06115aa565b6040516106ed9190614918565b60405180910390f35b34801561070257600080fd5b5061071d600480360381019061071891906141d7565b6115b0565b005b34801561072b57600080fd5b50610734611664565b6040516107419190614699565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c9190614297565b61168d565b60405161077e91906148fd565b60405180910390f35b34801561079357600080fd5b506107ae60048036038101906107a991906141d7565b6116a5565b005b3480156107bc57600080fd5b506107c561173e565b6040516107d2919061471b565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd919061412a565b6117d0565b005b34801561081057600080fd5b5061082b60048036038101906108269190614071565b611978565b005b34801561083957600080fd5b50610842611af0565b60405161084f9190614699565b60405180910390f35b610872600480360381019061086d9190614297565b611b16565b005b34801561088057600080fd5b5061089b600480360381019061089691906141d7565b611e28565b005b3480156108a957600080fd5b506108c460048036038101906108bf9190613ff6565b611edc565b005b3480156108d257600080fd5b506108ed60048036038101906108e89190614196565b611f58565b005b3480156108fb57600080fd5b50610904612040565b6040516109119190614700565b60405180910390f35b34801561092657600080fd5b50610941600480360381019061093c9190614297565b612053565b60405161094e919061471b565b60405180910390f35b610971600480360381019061096c9190614297565b612156565b005b34801561097f57600080fd5b5061099a60048036038101906109959190613f42565b61249d565b6040516109a79190614918565b60405180910390f35b3480156109bc57600080fd5b506109c56124b5565b6040516109d2919061471b565b60405180910390f35b3480156109e757600080fd5b50610a0260048036038101906109fd9190613f6b565b612543565b604051610a0f9190614700565b60405180910390f35b348015610a2457600080fd5b50610a2d6125d7565b604051610a3a919061471b565b60405180910390f35b348015610a4f57600080fd5b50610a6a6004803603810190610a659190613f42565b612665565b005b348015610a7857600080fd5b50610a8161275d565b604051610a8e9190614918565b60405180910390f35b348015610aa357600080fd5b50610abe6004803603810190610ab99190613f42565b612763565b604051610acb9190614918565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b9f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610baf5750610bae8261277b565b5b9050919050565b606060048054610bc590614c18565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf190614c18565b8015610c3e5780601f10610c1357610100808354040283529160200191610c3e565b820191906000526020600020905b815481529060010190602001808311610c2157829003601f168201915b5050505050905090565b6000610c53826127e5565b610c89576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ccf8261140d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d37576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d56612833565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d885750610d8681610d81612833565b612543565b155b15610dbf576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dca83838361283b565b505050565b6000610dd96128ed565b6003546002540303905090565b610df18383836128f2565b505050565b600b60009054906101000a900460ff1681565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e37612833565b73ffffffffffffffffffffffffffffffffffffffff16610e55611664565b73ffffffffffffffffffffffffffffffffffffffff1614610eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea29061481d565b60405180910390fd5b60004711610eee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee5906148dd565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f56573d6000803e3d6000fd5b50565b610f61612833565b73ffffffffffffffffffffffffffffffffffffffff16610f7f611664565b73ffffffffffffffffffffffffffffffffffffffff1614610fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcc9061481d565b60405180910390fd5b60005b815181101561108c57600160116000848481518110611020577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061108490614c7b565b915050610fd8565b5050565b60106020528060005260406000206000915090505481565b6110c383838360405180602001604052806000815250611edc565b505050565b60006110d382612de3565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166110fa612833565b73ffffffffffffffffffffffffffffffffffffffff16148061112d575061112c8260000151611127612833565b612543565b5b80611172575061113b612833565b73ffffffffffffffffffffffffffffffffffffffff1661115a84610c48565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806111ab576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111b483613072565b505050565b600260015414156111ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f69061489d565b60405180910390fd5b6002600181905550600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b906147dd565b60405180910390fd5b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061133533601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613416565b60018081905550565b600b60019054906101000a900460ff1681565b611359612833565b73ffffffffffffffffffffffffffffffffffffffff16611377611664565b73ffffffffffffffffffffffffffffffffffffffff16146113cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c49061481d565b60405180910390fd5b8181601291906113de929190613c15565b505050565b600681565b600f6020528060005260406000206000915054906101000a900460ff1681565b600481565b600061141882612de3565b600001519050919050565b600061142d610dcf565b905090565b60116020528060005260406000206000915054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114ba576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61152a612833565b73ffffffffffffffffffffffffffffffffffffffff16611548611664565b73ffffffffffffffffffffffffffffffffffffffff161461159e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115959061481d565b60405180910390fd5b6115a86000613434565b565b600a5481565b6115b8612833565b73ffffffffffffffffffffffffffffffffffffffff166115d6611664565b73ffffffffffffffffffffffffffffffffffffffff161461162c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116239061481d565b60405180910390fd5b80600b60016101000a81548160ff0219169083151502179055506000600b60026101000a81548160ff02191690831515021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611695613c9b565b61169e82612de3565b9050919050565b6116ad612833565b73ffffffffffffffffffffffffffffffffffffffff166116cb611664565b73ffffffffffffffffffffffffffffffffffffffff1614611721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117189061481d565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b60606005805461174d90614c18565b80601f016020809104026020016040519081016040528092919081815260200182805461177990614c18565b80156117c65780601f1061179b576101008083540402835291602001916117c6565b820191906000526020600020905b8154815290600101906020018083116117a957829003601f168201915b5050505050905090565b6117d8612833565b73ffffffffffffffffffffffffffffffffffffffff166117f6611664565b73ffffffffffffffffffffffffffffffffffffffff161461184c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118439061481d565b60405180910390fd5b8051825114611890576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118879061485d565b60405180910390fd5b60005b8251811015611973578181815181106118d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516010600085848151811061191a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061196b90614c7b565b915050611893565b505050565b611980612833565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119e5576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600960006119f2612833565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a9f612833565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ae49190614700565b60405180910390a35050565b600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026001541415611b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b539061489d565b60405180910390fd5b6002600181905550600b60029054906101000a900460ff16611bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611baa906147fd565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c189061479d565b60405180910390fd5b610d0581611c2d610dcf565b611c379190614a39565b1115611c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6f906148bd565b60405180910390fd5b34600a5482611c879190614ac0565b14611cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbe9061487d565b60405180910390fd5b600681600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d149190614a39565b1115611d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4c9061475d565b60405180910390fd5b80600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611da49190614a39565b92505081905550611db53382613416565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611e1d573d6000803e3d6000fd5b506001808190555050565b611e30612833565b73ffffffffffffffffffffffffffffffffffffffff16611e4e611664565b73ffffffffffffffffffffffffffffffffffffffff1614611ea4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9b9061481d565b60405180910390fd5b6000600b60016101000a81548160ff02191690831515021790555080600b60026101000a81548160ff02191690831515021790555050565b611ee78484846128f2565b611f068373ffffffffffffffffffffffffffffffffffffffff166134f8565b8015611f1b5750611f198484848461351b565b155b15611f52576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611f60612833565b73ffffffffffffffffffffffffffffffffffffffff16611f7e611664565b73ffffffffffffffffffffffffffffffffffffffff1614611fd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcb9061481d565b60405180910390fd5b60005b815181101561203c5761202982828151811061201c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516110c8565b808061203490614c7b565b915050611fd7565b5050565b600b60029054906101000a900460ff1681565b606060006040518060400160405280600581526020017f2e6a736f6e0000000000000000000000000000000000000000000000000000008152509050612098836127e5565b6120d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ce9061483d565b60405180910390fd5b600b60009054906101000a900460ff166121205760136120f68461367b565b8260405160200161210993929190614668565b604051602081830303815290604052915050612151565b601261212b8461367b565b8260405160200161213e93929190614668565b6040516020818303038152906040529150505b919050565b6002600154141561219c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121939061489d565b60405180910390fd5b6002600181905550600b60019054906101000a900460ff166121f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ea9061477d565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612261576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122589061479d565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166122ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e4906147bd565b60405180910390fd5b600481600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461233a9190614a39565b111561237b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123729061475d565b60405180910390fd5b34600a548261238a9190614ac0565b146123ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c19061487d565b60405180910390fd5b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124199190614a39565b9250508190555061242a3382613416565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015612492573d6000803e3d6000fd5b506001808190555050565b600e6020528060005260406000206000915090505481565b601280546124c290614c18565b80601f01602080910402602001604051908101604052809291908181526020018280546124ee90614c18565b801561253b5780601f106125105761010080835404028352916020019161253b565b820191906000526020600020905b81548152906001019060200180831161251e57829003601f168201915b505050505081565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601380546125e490614c18565b80601f016020809104026020016040519081016040528092919081815260200182805461261090614c18565b801561265d5780601f106126325761010080835404028352916020019161265d565b820191906000526020600020905b81548152906001019060200180831161264057829003601f168201915b505050505081565b61266d612833565b73ffffffffffffffffffffffffffffffffffffffff1661268b611664565b73ffffffffffffffffffffffffffffffffffffffff16146126e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d89061481d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612751576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127489061473d565b60405180910390fd5b61275a81613434565b50565b610d0581565b600d6020528060005260406000206000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816127f06128ed565b111580156127ff575060025482105b801561282c575060066000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826008600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006128fd82612de3565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612924612833565b73ffffffffffffffffffffffffffffffffffffffff16148061295757506129568260000151612951612833565b612543565b5b8061299c5750612965612833565b73ffffffffffffffffffffffffffffffffffffffff1661298484610c48565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806129d5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612a3e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612aa5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ab28585856001613828565b612ac2600084846000015161283b565b6001600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426006600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612d7357600254811015612d725782600001516006600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516006600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ddc858585600161382e565b5050505050565b612deb613c9b565b600082905080612df96128ed565b11158015612e08575060025481105b1561303b576000600660008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161303957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612f1d57809250505061306d565b5b60011561303857818060019003925050600660008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461303357809250505061306d565b612f1e565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600061307d82612de3565b905061309181600001516000846001613828565b6130a1600083836000015161283b565b600160076000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160076000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600001516006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426006600084815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160066000848152602001908152602001600020600001601c6101000a81548160ff0219169083151502179055506000600183019050600073ffffffffffffffffffffffffffffffffffffffff166006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561338d5760025481101561338c5781600001516006600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602001516006600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5081600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134008160000151600084600161382e565b6003600081548092919060010191905055505050565b613430828260405180602001604052806000815250613834565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613541612833565b8786866040518563ffffffff1660e01b815260040161356394939291906146b4565b602060405180830381600087803b15801561357d57600080fd5b505af19250505080156135ae57506040513d601f19601f820116820180604052508101906135ab9190614229565b60015b613628573d80600081146135de576040519150601f19603f3d011682016040523d82523d6000602084013e6135e3565b606091505b50600081511415613620576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156136c3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613823565b600082905060005b600082146136f55780806136de90614c7b565b915050600a826136ee9190614a8f565b91506136cb565b60008167ffffffffffffffff811115613737577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156137695781602001600182028036833780820191505090505b5090505b6000851461381c576001826137829190614b1a565b9150600a856137919190614cc4565b603061379d9190614a39565b60f81b8183815181106137d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138159190614a8f565b945061376d565b8093505050505b919050565b50505050565b50505050565b6138418383836001613846565b505050565b60006002549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156138b4576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156138ef576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6138fc6000868387613828565b83600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846006600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426006600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613ac65750613ac58773ffffffffffffffffffffffffffffffffffffffff166134f8565b5b15613b8c575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613b3b600088848060010195508861351b565b613b71576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613acc578260025414613b8757600080fd5b613bf8565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613b8d575b816002819055505050613c0e600086838761382e565b5050505050565b828054613c2190614c18565b90600052602060002090601f016020900481019282613c435760008555613c8a565b82601f10613c5c57803560ff1916838001178555613c8a565b82800160010185558215613c8a579182015b82811115613c89578235825591602001919060010190613c6e565b5b509050613c979190613cde565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613cf7576000816000905550600101613cdf565b5090565b6000613d0e613d0984614958565b614933565b90508083825260208201905082856020860282011115613d2d57600080fd5b60005b85811015613d5d5781613d438882613e11565b845260208401935060208301925050600181019050613d30565b5050509392505050565b6000613d7a613d7584614984565b614933565b90508083825260208201905082856020860282011115613d9957600080fd5b60005b85811015613dc95781613daf8882613f2d565b845260208401935060208301925050600181019050613d9c565b5050509392505050565b6000613de6613de1846149b0565b614933565b905082815260208101848484011115613dfe57600080fd5b613e09848285614bd6565b509392505050565b600081359050613e208161504c565b92915050565b600082601f830112613e3757600080fd5b8135613e47848260208601613cfb565b91505092915050565b600082601f830112613e6157600080fd5b8135613e71848260208601613d67565b91505092915050565b600081359050613e8981615063565b92915050565b600081359050613e9e8161507a565b92915050565b600081519050613eb38161507a565b92915050565b600082601f830112613eca57600080fd5b8135613eda848260208601613dd3565b91505092915050565b60008083601f840112613ef557600080fd5b8235905067ffffffffffffffff811115613f0e57600080fd5b602083019150836001820283011115613f2657600080fd5b9250929050565b600081359050613f3c81615091565b92915050565b600060208284031215613f5457600080fd5b6000613f6284828501613e11565b91505092915050565b60008060408385031215613f7e57600080fd5b6000613f8c85828601613e11565b9250506020613f9d85828601613e11565b9150509250929050565b600080600060608486031215613fbc57600080fd5b6000613fca86828701613e11565b9350506020613fdb86828701613e11565b9250506040613fec86828701613f2d565b9150509250925092565b6000806000806080858703121561400c57600080fd5b600061401a87828801613e11565b945050602061402b87828801613e11565b935050604061403c87828801613f2d565b925050606085013567ffffffffffffffff81111561405957600080fd5b61406587828801613eb9565b91505092959194509250565b6000806040838503121561408457600080fd5b600061409285828601613e11565b92505060206140a385828601613e7a565b9150509250929050565b600080604083850312156140c057600080fd5b60006140ce85828601613e11565b92505060206140df85828601613f2d565b9150509250929050565b6000602082840312156140fb57600080fd5b600082013567ffffffffffffffff81111561411557600080fd5b61412184828501613e26565b91505092915050565b6000806040838503121561413d57600080fd5b600083013567ffffffffffffffff81111561415757600080fd5b61416385828601613e26565b925050602083013567ffffffffffffffff81111561418057600080fd5b61418c85828601613e50565b9150509250929050565b6000602082840312156141a857600080fd5b600082013567ffffffffffffffff8111156141c257600080fd5b6141ce84828501613e50565b91505092915050565b6000602082840312156141e957600080fd5b60006141f784828501613e7a565b91505092915050565b60006020828403121561421257600080fd5b600061422084828501613e8f565b91505092915050565b60006020828403121561423b57600080fd5b600061424984828501613ea4565b91505092915050565b6000806020838503121561426557600080fd5b600083013567ffffffffffffffff81111561427f57600080fd5b61428b85828601613ee3565b92509250509250929050565b6000602082840312156142a957600080fd5b60006142b784828501613f2d565b91505092915050565b6142c981614b4e565b82525050565b6142d881614b4e565b82525050565b6142e781614b60565b82525050565b6142f681614b60565b82525050565b6000614307826149f6565b6143118185614a0c565b9350614321818560208601614be5565b61432a81614db1565b840191505092915050565b600061434082614a01565b61434a8185614a1d565b935061435a818560208601614be5565b61436381614db1565b840191505092915050565b600061437982614a01565b6143838185614a2e565b9350614393818560208601614be5565b80840191505092915050565b600081546143ac81614c18565b6143b68186614a2e565b945060018216600081146143d157600181146143e257614415565b60ff19831686528186019350614415565b6143eb856149e1565b60005b8381101561440d578154818901526001820191506020810190506143ee565b838801955050505b50505092915050565b600061442b602683614a1d565b915061443682614dc2565b604082019050919050565b600061444e601583614a1d565b915061445982614e11565b602082019050919050565b6000614471601383614a1d565b915061447c82614e3a565b602082019050919050565b6000614494600c83614a1d565b915061449f82614e63565b602082019050919050565b60006144b7600f83614a1d565b91506144c282614e8c565b602082019050919050565b60006144da602483614a1d565b91506144e582614eb5565b604082019050919050565b60006144fd601783614a1d565b915061450882614f04565b602082019050919050565b6000614520602083614a1d565b915061452b82614f2d565b602082019050919050565b6000614543601283614a1d565b915061454e82614f56565b602082019050919050565b6000614566601383614a1d565b915061457182614f7f565b602082019050919050565b6000614589601483614a1d565b915061459482614fa8565b602082019050919050565b60006145ac601f83614a1d565b91506145b782614fd1565b602082019050919050565b60006145cf601483614a1d565b91506145da82614ffa565b602082019050919050565b60006145f2600c83614a1d565b91506145fd82615023565b602082019050919050565b60608201600082015161461e60008501826142c0565b5060208201516146316020850182614659565b50604082015161464460408501826142de565b50505050565b61465381614bb8565b82525050565b61466281614bc2565b82525050565b6000614674828661439f565b9150614680828561436e565b915061468c828461436e565b9150819050949350505050565b60006020820190506146ae60008301846142cf565b92915050565b60006080820190506146c960008301876142cf565b6146d660208301866142cf565b6146e3604083018561464a565b81810360608301526146f581846142fc565b905095945050505050565b600060208201905061471560008301846142ed565b92915050565b600060208201905081810360008301526147358184614335565b905092915050565b600060208201905081810360008301526147568161441e565b9050919050565b6000602082019050818103600083015261477681614441565b9050919050565b6000602082019050818103600083015261479681614464565b9050919050565b600060208201905081810360008301526147b681614487565b9050919050565b600060208201905081810360008301526147d6816144aa565b9050919050565b600060208201905081810360008301526147f6816144cd565b9050919050565b60006020820190508181036000830152614816816144f0565b9050919050565b6000602082019050818103600083015261483681614513565b9050919050565b6000602082019050818103600083015261485681614536565b9050919050565b6000602082019050818103600083015261487681614559565b9050919050565b600060208201905081810360008301526148968161457c565b9050919050565b600060208201905081810360008301526148b68161459f565b9050919050565b600060208201905081810360008301526148d6816145c2565b9050919050565b600060208201905081810360008301526148f6816145e5565b9050919050565b60006060820190506149126000830184614608565b92915050565b600060208201905061492d600083018461464a565b92915050565b600061493d61494e565b90506149498282614c4a565b919050565b6000604051905090565b600067ffffffffffffffff82111561497357614972614d82565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561499f5761499e614d82565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156149cb576149ca614d82565b5b6149d482614db1565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a4482614bb8565b9150614a4f83614bb8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a8457614a83614cf5565b5b828201905092915050565b6000614a9a82614bb8565b9150614aa583614bb8565b925082614ab557614ab4614d24565b5b828204905092915050565b6000614acb82614bb8565b9150614ad683614bb8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b0f57614b0e614cf5565b5b828202905092915050565b6000614b2582614bb8565b9150614b3083614bb8565b925082821015614b4357614b42614cf5565b5b828203905092915050565b6000614b5982614b98565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015614c03578082015181840152602081019050614be8565b83811115614c12576000848401525b50505050565b60006002820490506001821680614c3057607f821691505b60208210811415614c4457614c43614d53565b5b50919050565b614c5382614db1565b810181811067ffffffffffffffff82111715614c7257614c71614d82565b5b80604052505050565b6000614c8682614bb8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614cb957614cb8614cf5565b5b600182019050919050565b6000614ccf82614bb8565b9150614cda83614bb8565b925082614cea57614ce9614d24565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f41646472657373206c696d697420726561636865640000000000000000000000600082015250565b7f50726573616c65206e6f74206f6e676f696e6700000000000000000000000000600082015250565b7f57616c6c6574204572726f720000000000000000000000000000000000000000600082015250565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b7f4572726f723a207573657220616c726561647920636c61696d6564206769766560008201527f6177617900000000000000000000000000000000000000000000000000000000602082015250565b7f5075626c69632053616c65206e6f74206f6e676f696e67000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4e6f6e206578697374656e7420546f6b656e0000000000000000000000000000600082015250565b7f61727261792073697a65206d69736d6174636800000000000000000000000000600082015250565b7f45746865722076616c7565206d69736d61746368000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f537570706c79206c696d69742072656163686564000000000000000000000000600082015250565b7f5a65726f2042616c616e63650000000000000000000000000000000000000000600082015250565b61505581614b4e565b811461506057600080fd5b50565b61506c81614b60565b811461507757600080fd5b50565b61508381614b6c565b811461508e57600080fd5b50565b61509a81614bb8565b81146150a557600080fd5b5056fea26469706673582212208b092ca2851a746926d35ab3e880952066964ae7a9c353d2dea0ab88ff3d8d1f64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000cb0186abfe3735a96470bc3aea6553bd5ccef798000000000000000000000000120fbe2eb3e4983f5bbbdde7c84e80eaf548e914000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000007486f6f646c6573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004484f4f44000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d654c786b7874745a44714d72704c56473463724453614d7271476f6d527762724863313461696352725044462f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d594e675a7770653734776b336f796e615862683234774e79745a6d44753368725a6e687973353255786b55472f00000000000000000000
Deployed Bytecode
0x6080604052600436106102885760003560e01c8063715018a61161015a578063b88d4fde116100c1578063d547cfb71161007a578063d547cfb7146109b0578063e985e9c5146109db578063ec83ebbd14610a18578063f2fde38b14610a43578063f47c84c514610a6c578063f9765bc114610a9757610288565b8063b88d4fde1461089d578063bc5d36b0146108c6578063bc8893b4146108ef578063c87b56dd1461091a578063c9b298f114610957578063d3c553ad1461097357610288565b806395d89b411161011357806395d89b41146107b05780639ab6f6c9146107db578063a22cb46514610804578063b19a13ee1461082d578063b3ab66b014610858578063b423fe671461087457610288565b8063715018a6146106b45780637ff9b596146106cb5780638895283f146106f65780638da5cb5b1461071f5780639231ab2a1461074a578063949028a71461078757610288565b806342842e0e116101fe5780635e7a79cd116101b75780635e7a79cd1461056a57806362d0f657146105a75780636352211e146105d257806364d30f551461060f57806366fca9801461063a57806370a082311461067757610288565b806342842e0e1461048257806342966c68146104ab5780634af9bc10146104d457806353135ca0146104eb57806355f804b31461051657806356f5ab861461053f57610288565b806323b872dd1161025057806323b872dd14610386578063263e4f5e146103af57806338af3eed146103da5780633ccfd60b146104055780633ff35a4f1461041c5780634001d92c1461044557610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b31461033257806318160ddd1461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190614200565b610ad4565b6040516102c19190614700565b60405180910390f35b3480156102d657600080fd5b506102df610bb6565b6040516102ec919061471b565b60405180910390f35b34801561030157600080fd5b5061031c60048036038101906103179190614297565b610c48565b6040516103299190614699565b60405180910390f35b34801561033e57600080fd5b50610359600480360381019061035491906140ad565b610cc4565b005b34801561036757600080fd5b50610370610dcf565b60405161037d9190614918565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a89190613fa7565b610de6565b005b3480156103bb57600080fd5b506103c4610df6565b6040516103d19190614700565b60405180910390f35b3480156103e657600080fd5b506103ef610e09565b6040516103fc9190614699565b60405180910390f35b34801561041157600080fd5b5061041a610e2f565b005b34801561042857600080fd5b50610443600480360381019061043e91906140e9565b610f59565b005b34801561045157600080fd5b5061046c60048036038101906104679190613f42565b611090565b6040516104799190614918565b60405180910390f35b34801561048e57600080fd5b506104a960048036038101906104a49190613fa7565b6110a8565b005b3480156104b757600080fd5b506104d260048036038101906104cd9190614297565b6110c8565b005b3480156104e057600080fd5b506104e96111b9565b005b3480156104f757600080fd5b5061050061133e565b60405161050d9190614700565b60405180910390f35b34801561052257600080fd5b5061053d60048036038101906105389190614252565b611351565b005b34801561054b57600080fd5b506105546113e3565b6040516105619190614918565b60405180910390f35b34801561057657600080fd5b50610591600480360381019061058c9190613f42565b6113e8565b60405161059e9190614700565b60405180910390f35b3480156105b357600080fd5b506105bc611408565b6040516105c99190614918565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f49190614297565b61140d565b6040516106069190614699565b60405180910390f35b34801561061b57600080fd5b50610624611423565b6040516106319190614918565b60405180910390f35b34801561064657600080fd5b50610661600480360381019061065c9190613f42565b611432565b60405161066e9190614700565b60405180910390f35b34801561068357600080fd5b5061069e60048036038101906106999190613f42565b611452565b6040516106ab9190614918565b60405180910390f35b3480156106c057600080fd5b506106c9611522565b005b3480156106d757600080fd5b506106e06115aa565b6040516106ed9190614918565b60405180910390f35b34801561070257600080fd5b5061071d600480360381019061071891906141d7565b6115b0565b005b34801561072b57600080fd5b50610734611664565b6040516107419190614699565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c9190614297565b61168d565b60405161077e91906148fd565b60405180910390f35b34801561079357600080fd5b506107ae60048036038101906107a991906141d7565b6116a5565b005b3480156107bc57600080fd5b506107c561173e565b6040516107d2919061471b565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd919061412a565b6117d0565b005b34801561081057600080fd5b5061082b60048036038101906108269190614071565b611978565b005b34801561083957600080fd5b50610842611af0565b60405161084f9190614699565b60405180910390f35b610872600480360381019061086d9190614297565b611b16565b005b34801561088057600080fd5b5061089b600480360381019061089691906141d7565b611e28565b005b3480156108a957600080fd5b506108c460048036038101906108bf9190613ff6565b611edc565b005b3480156108d257600080fd5b506108ed60048036038101906108e89190614196565b611f58565b005b3480156108fb57600080fd5b50610904612040565b6040516109119190614700565b60405180910390f35b34801561092657600080fd5b50610941600480360381019061093c9190614297565b612053565b60405161094e919061471b565b60405180910390f35b610971600480360381019061096c9190614297565b612156565b005b34801561097f57600080fd5b5061099a60048036038101906109959190613f42565b61249d565b6040516109a79190614918565b60405180910390f35b3480156109bc57600080fd5b506109c56124b5565b6040516109d2919061471b565b60405180910390f35b3480156109e757600080fd5b50610a0260048036038101906109fd9190613f6b565b612543565b604051610a0f9190614700565b60405180910390f35b348015610a2457600080fd5b50610a2d6125d7565b604051610a3a919061471b565b60405180910390f35b348015610a4f57600080fd5b50610a6a6004803603810190610a659190613f42565b612665565b005b348015610a7857600080fd5b50610a8161275d565b604051610a8e9190614918565b60405180910390f35b348015610aa357600080fd5b50610abe6004803603810190610ab99190613f42565b612763565b604051610acb9190614918565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b9f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610baf5750610bae8261277b565b5b9050919050565b606060048054610bc590614c18565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf190614c18565b8015610c3e5780601f10610c1357610100808354040283529160200191610c3e565b820191906000526020600020905b815481529060010190602001808311610c2157829003601f168201915b5050505050905090565b6000610c53826127e5565b610c89576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ccf8261140d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d37576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d56612833565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d885750610d8681610d81612833565b612543565b155b15610dbf576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dca83838361283b565b505050565b6000610dd96128ed565b6003546002540303905090565b610df18383836128f2565b505050565b600b60009054906101000a900460ff1681565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e37612833565b73ffffffffffffffffffffffffffffffffffffffff16610e55611664565b73ffffffffffffffffffffffffffffffffffffffff1614610eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea29061481d565b60405180910390fd5b60004711610eee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee5906148dd565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f56573d6000803e3d6000fd5b50565b610f61612833565b73ffffffffffffffffffffffffffffffffffffffff16610f7f611664565b73ffffffffffffffffffffffffffffffffffffffff1614610fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcc9061481d565b60405180910390fd5b60005b815181101561108c57600160116000848481518110611020577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061108490614c7b565b915050610fd8565b5050565b60106020528060005260406000206000915090505481565b6110c383838360405180602001604052806000815250611edc565b505050565b60006110d382612de3565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166110fa612833565b73ffffffffffffffffffffffffffffffffffffffff16148061112d575061112c8260000151611127612833565b612543565b5b80611172575061113b612833565b73ffffffffffffffffffffffffffffffffffffffff1661115a84610c48565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806111ab576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111b483613072565b505050565b600260015414156111ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f69061489d565b60405180910390fd5b6002600181905550600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b906147dd565b60405180910390fd5b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061133533601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613416565b60018081905550565b600b60019054906101000a900460ff1681565b611359612833565b73ffffffffffffffffffffffffffffffffffffffff16611377611664565b73ffffffffffffffffffffffffffffffffffffffff16146113cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c49061481d565b60405180910390fd5b8181601291906113de929190613c15565b505050565b600681565b600f6020528060005260406000206000915054906101000a900460ff1681565b600481565b600061141882612de3565b600001519050919050565b600061142d610dcf565b905090565b60116020528060005260406000206000915054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114ba576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61152a612833565b73ffffffffffffffffffffffffffffffffffffffff16611548611664565b73ffffffffffffffffffffffffffffffffffffffff161461159e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115959061481d565b60405180910390fd5b6115a86000613434565b565b600a5481565b6115b8612833565b73ffffffffffffffffffffffffffffffffffffffff166115d6611664565b73ffffffffffffffffffffffffffffffffffffffff161461162c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116239061481d565b60405180910390fd5b80600b60016101000a81548160ff0219169083151502179055506000600b60026101000a81548160ff02191690831515021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611695613c9b565b61169e82612de3565b9050919050565b6116ad612833565b73ffffffffffffffffffffffffffffffffffffffff166116cb611664565b73ffffffffffffffffffffffffffffffffffffffff1614611721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117189061481d565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b60606005805461174d90614c18565b80601f016020809104026020016040519081016040528092919081815260200182805461177990614c18565b80156117c65780601f1061179b576101008083540402835291602001916117c6565b820191906000526020600020905b8154815290600101906020018083116117a957829003601f168201915b5050505050905090565b6117d8612833565b73ffffffffffffffffffffffffffffffffffffffff166117f6611664565b73ffffffffffffffffffffffffffffffffffffffff161461184c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118439061481d565b60405180910390fd5b8051825114611890576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118879061485d565b60405180910390fd5b60005b8251811015611973578181815181106118d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516010600085848151811061191a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061196b90614c7b565b915050611893565b505050565b611980612833565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119e5576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600960006119f2612833565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a9f612833565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ae49190614700565b60405180910390a35050565b600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026001541415611b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b539061489d565b60405180910390fd5b6002600181905550600b60029054906101000a900460ff16611bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611baa906147fd565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c189061479d565b60405180910390fd5b610d0581611c2d610dcf565b611c379190614a39565b1115611c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6f906148bd565b60405180910390fd5b34600a5482611c879190614ac0565b14611cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbe9061487d565b60405180910390fd5b600681600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d149190614a39565b1115611d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4c9061475d565b60405180910390fd5b80600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611da49190614a39565b92505081905550611db53382613416565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611e1d573d6000803e3d6000fd5b506001808190555050565b611e30612833565b73ffffffffffffffffffffffffffffffffffffffff16611e4e611664565b73ffffffffffffffffffffffffffffffffffffffff1614611ea4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9b9061481d565b60405180910390fd5b6000600b60016101000a81548160ff02191690831515021790555080600b60026101000a81548160ff02191690831515021790555050565b611ee78484846128f2565b611f068373ffffffffffffffffffffffffffffffffffffffff166134f8565b8015611f1b5750611f198484848461351b565b155b15611f52576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611f60612833565b73ffffffffffffffffffffffffffffffffffffffff16611f7e611664565b73ffffffffffffffffffffffffffffffffffffffff1614611fd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcb9061481d565b60405180910390fd5b60005b815181101561203c5761202982828151811061201c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516110c8565b808061203490614c7b565b915050611fd7565b5050565b600b60029054906101000a900460ff1681565b606060006040518060400160405280600581526020017f2e6a736f6e0000000000000000000000000000000000000000000000000000008152509050612098836127e5565b6120d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ce9061483d565b60405180910390fd5b600b60009054906101000a900460ff166121205760136120f68461367b565b8260405160200161210993929190614668565b604051602081830303815290604052915050612151565b601261212b8461367b565b8260405160200161213e93929190614668565b6040516020818303038152906040529150505b919050565b6002600154141561219c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121939061489d565b60405180910390fd5b6002600181905550600b60019054906101000a900460ff166121f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ea9061477d565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612261576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122589061479d565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166122ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e4906147bd565b60405180910390fd5b600481600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461233a9190614a39565b111561237b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123729061475d565b60405180910390fd5b34600a548261238a9190614ac0565b146123ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c19061487d565b60405180910390fd5b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124199190614a39565b9250508190555061242a3382613416565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015612492573d6000803e3d6000fd5b506001808190555050565b600e6020528060005260406000206000915090505481565b601280546124c290614c18565b80601f01602080910402602001604051908101604052809291908181526020018280546124ee90614c18565b801561253b5780601f106125105761010080835404028352916020019161253b565b820191906000526020600020905b81548152906001019060200180831161251e57829003601f168201915b505050505081565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601380546125e490614c18565b80601f016020809104026020016040519081016040528092919081815260200182805461261090614c18565b801561265d5780601f106126325761010080835404028352916020019161265d565b820191906000526020600020905b81548152906001019060200180831161264057829003601f168201915b505050505081565b61266d612833565b73ffffffffffffffffffffffffffffffffffffffff1661268b611664565b73ffffffffffffffffffffffffffffffffffffffff16146126e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d89061481d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612751576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127489061473d565b60405180910390fd5b61275a81613434565b50565b610d0581565b600d6020528060005260406000206000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816127f06128ed565b111580156127ff575060025482105b801561282c575060066000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826008600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006128fd82612de3565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612924612833565b73ffffffffffffffffffffffffffffffffffffffff16148061295757506129568260000151612951612833565b612543565b5b8061299c5750612965612833565b73ffffffffffffffffffffffffffffffffffffffff1661298484610c48565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806129d5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612a3e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612aa5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ab28585856001613828565b612ac2600084846000015161283b565b6001600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426006600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612d7357600254811015612d725782600001516006600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516006600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ddc858585600161382e565b5050505050565b612deb613c9b565b600082905080612df96128ed565b11158015612e08575060025481105b1561303b576000600660008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161303957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612f1d57809250505061306d565b5b60011561303857818060019003925050600660008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461303357809250505061306d565b612f1e565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600061307d82612de3565b905061309181600001516000846001613828565b6130a1600083836000015161283b565b600160076000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160076000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600001516006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426006600084815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160066000848152602001908152602001600020600001601c6101000a81548160ff0219169083151502179055506000600183019050600073ffffffffffffffffffffffffffffffffffffffff166006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561338d5760025481101561338c5781600001516006600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602001516006600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5081600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134008160000151600084600161382e565b6003600081548092919060010191905055505050565b613430828260405180602001604052806000815250613834565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613541612833565b8786866040518563ffffffff1660e01b815260040161356394939291906146b4565b602060405180830381600087803b15801561357d57600080fd5b505af19250505080156135ae57506040513d601f19601f820116820180604052508101906135ab9190614229565b60015b613628573d80600081146135de576040519150601f19603f3d011682016040523d82523d6000602084013e6135e3565b606091505b50600081511415613620576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156136c3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613823565b600082905060005b600082146136f55780806136de90614c7b565b915050600a826136ee9190614a8f565b91506136cb565b60008167ffffffffffffffff811115613737577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156137695781602001600182028036833780820191505090505b5090505b6000851461381c576001826137829190614b1a565b9150600a856137919190614cc4565b603061379d9190614a39565b60f81b8183815181106137d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138159190614a8f565b945061376d565b8093505050505b919050565b50505050565b50505050565b6138418383836001613846565b505050565b60006002549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156138b4576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156138ef576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6138fc6000868387613828565b83600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846006600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426006600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613ac65750613ac58773ffffffffffffffffffffffffffffffffffffffff166134f8565b5b15613b8c575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613b3b600088848060010195508861351b565b613b71576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613acc578260025414613b8757600080fd5b613bf8565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613b8d575b816002819055505050613c0e600086838761382e565b5050505050565b828054613c2190614c18565b90600052602060002090601f016020900481019282613c435760008555613c8a565b82601f10613c5c57803560ff1916838001178555613c8a565b82800160010185558215613c8a579182015b82811115613c89578235825591602001919060010190613c6e565b5b509050613c979190613cde565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613cf7576000816000905550600101613cdf565b5090565b6000613d0e613d0984614958565b614933565b90508083825260208201905082856020860282011115613d2d57600080fd5b60005b85811015613d5d5781613d438882613e11565b845260208401935060208301925050600181019050613d30565b5050509392505050565b6000613d7a613d7584614984565b614933565b90508083825260208201905082856020860282011115613d9957600080fd5b60005b85811015613dc95781613daf8882613f2d565b845260208401935060208301925050600181019050613d9c565b5050509392505050565b6000613de6613de1846149b0565b614933565b905082815260208101848484011115613dfe57600080fd5b613e09848285614bd6565b509392505050565b600081359050613e208161504c565b92915050565b600082601f830112613e3757600080fd5b8135613e47848260208601613cfb565b91505092915050565b600082601f830112613e6157600080fd5b8135613e71848260208601613d67565b91505092915050565b600081359050613e8981615063565b92915050565b600081359050613e9e8161507a565b92915050565b600081519050613eb38161507a565b92915050565b600082601f830112613eca57600080fd5b8135613eda848260208601613dd3565b91505092915050565b60008083601f840112613ef557600080fd5b8235905067ffffffffffffffff811115613f0e57600080fd5b602083019150836001820283011115613f2657600080fd5b9250929050565b600081359050613f3c81615091565b92915050565b600060208284031215613f5457600080fd5b6000613f6284828501613e11565b91505092915050565b60008060408385031215613f7e57600080fd5b6000613f8c85828601613e11565b9250506020613f9d85828601613e11565b9150509250929050565b600080600060608486031215613fbc57600080fd5b6000613fca86828701613e11565b9350506020613fdb86828701613e11565b9250506040613fec86828701613f2d565b9150509250925092565b6000806000806080858703121561400c57600080fd5b600061401a87828801613e11565b945050602061402b87828801613e11565b935050604061403c87828801613f2d565b925050606085013567ffffffffffffffff81111561405957600080fd5b61406587828801613eb9565b91505092959194509250565b6000806040838503121561408457600080fd5b600061409285828601613e11565b92505060206140a385828601613e7a565b9150509250929050565b600080604083850312156140c057600080fd5b60006140ce85828601613e11565b92505060206140df85828601613f2d565b9150509250929050565b6000602082840312156140fb57600080fd5b600082013567ffffffffffffffff81111561411557600080fd5b61412184828501613e26565b91505092915050565b6000806040838503121561413d57600080fd5b600083013567ffffffffffffffff81111561415757600080fd5b61416385828601613e26565b925050602083013567ffffffffffffffff81111561418057600080fd5b61418c85828601613e50565b9150509250929050565b6000602082840312156141a857600080fd5b600082013567ffffffffffffffff8111156141c257600080fd5b6141ce84828501613e50565b91505092915050565b6000602082840312156141e957600080fd5b60006141f784828501613e7a565b91505092915050565b60006020828403121561421257600080fd5b600061422084828501613e8f565b91505092915050565b60006020828403121561423b57600080fd5b600061424984828501613ea4565b91505092915050565b6000806020838503121561426557600080fd5b600083013567ffffffffffffffff81111561427f57600080fd5b61428b85828601613ee3565b92509250509250929050565b6000602082840312156142a957600080fd5b60006142b784828501613f2d565b91505092915050565b6142c981614b4e565b82525050565b6142d881614b4e565b82525050565b6142e781614b60565b82525050565b6142f681614b60565b82525050565b6000614307826149f6565b6143118185614a0c565b9350614321818560208601614be5565b61432a81614db1565b840191505092915050565b600061434082614a01565b61434a8185614a1d565b935061435a818560208601614be5565b61436381614db1565b840191505092915050565b600061437982614a01565b6143838185614a2e565b9350614393818560208601614be5565b80840191505092915050565b600081546143ac81614c18565b6143b68186614a2e565b945060018216600081146143d157600181146143e257614415565b60ff19831686528186019350614415565b6143eb856149e1565b60005b8381101561440d578154818901526001820191506020810190506143ee565b838801955050505b50505092915050565b600061442b602683614a1d565b915061443682614dc2565b604082019050919050565b600061444e601583614a1d565b915061445982614e11565b602082019050919050565b6000614471601383614a1d565b915061447c82614e3a565b602082019050919050565b6000614494600c83614a1d565b915061449f82614e63565b602082019050919050565b60006144b7600f83614a1d565b91506144c282614e8c565b602082019050919050565b60006144da602483614a1d565b91506144e582614eb5565b604082019050919050565b60006144fd601783614a1d565b915061450882614f04565b602082019050919050565b6000614520602083614a1d565b915061452b82614f2d565b602082019050919050565b6000614543601283614a1d565b915061454e82614f56565b602082019050919050565b6000614566601383614a1d565b915061457182614f7f565b602082019050919050565b6000614589601483614a1d565b915061459482614fa8565b602082019050919050565b60006145ac601f83614a1d565b91506145b782614fd1565b602082019050919050565b60006145cf601483614a1d565b91506145da82614ffa565b602082019050919050565b60006145f2600c83614a1d565b91506145fd82615023565b602082019050919050565b60608201600082015161461e60008501826142c0565b5060208201516146316020850182614659565b50604082015161464460408501826142de565b50505050565b61465381614bb8565b82525050565b61466281614bc2565b82525050565b6000614674828661439f565b9150614680828561436e565b915061468c828461436e565b9150819050949350505050565b60006020820190506146ae60008301846142cf565b92915050565b60006080820190506146c960008301876142cf565b6146d660208301866142cf565b6146e3604083018561464a565b81810360608301526146f581846142fc565b905095945050505050565b600060208201905061471560008301846142ed565b92915050565b600060208201905081810360008301526147358184614335565b905092915050565b600060208201905081810360008301526147568161441e565b9050919050565b6000602082019050818103600083015261477681614441565b9050919050565b6000602082019050818103600083015261479681614464565b9050919050565b600060208201905081810360008301526147b681614487565b9050919050565b600060208201905081810360008301526147d6816144aa565b9050919050565b600060208201905081810360008301526147f6816144cd565b9050919050565b60006020820190508181036000830152614816816144f0565b9050919050565b6000602082019050818103600083015261483681614513565b9050919050565b6000602082019050818103600083015261485681614536565b9050919050565b6000602082019050818103600083015261487681614559565b9050919050565b600060208201905081810360008301526148968161457c565b9050919050565b600060208201905081810360008301526148b68161459f565b9050919050565b600060208201905081810360008301526148d6816145c2565b9050919050565b600060208201905081810360008301526148f6816145e5565b9050919050565b60006060820190506149126000830184614608565b92915050565b600060208201905061492d600083018461464a565b92915050565b600061493d61494e565b90506149498282614c4a565b919050565b6000604051905090565b600067ffffffffffffffff82111561497357614972614d82565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561499f5761499e614d82565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156149cb576149ca614d82565b5b6149d482614db1565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a4482614bb8565b9150614a4f83614bb8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a8457614a83614cf5565b5b828201905092915050565b6000614a9a82614bb8565b9150614aa583614bb8565b925082614ab557614ab4614d24565b5b828204905092915050565b6000614acb82614bb8565b9150614ad683614bb8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b0f57614b0e614cf5565b5b828202905092915050565b6000614b2582614bb8565b9150614b3083614bb8565b925082821015614b4357614b42614cf5565b5b828203905092915050565b6000614b5982614b98565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015614c03578082015181840152602081019050614be8565b83811115614c12576000848401525b50505050565b60006002820490506001821680614c3057607f821691505b60208210811415614c4457614c43614d53565b5b50919050565b614c5382614db1565b810181811067ffffffffffffffff82111715614c7257614c71614d82565b5b80604052505050565b6000614c8682614bb8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614cb957614cb8614cf5565b5b600182019050919050565b6000614ccf82614bb8565b9150614cda83614bb8565b925082614cea57614ce9614d24565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f41646472657373206c696d697420726561636865640000000000000000000000600082015250565b7f50726573616c65206e6f74206f6e676f696e6700000000000000000000000000600082015250565b7f57616c6c6574204572726f720000000000000000000000000000000000000000600082015250565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b7f4572726f723a207573657220616c726561647920636c61696d6564206769766560008201527f6177617900000000000000000000000000000000000000000000000000000000602082015250565b7f5075626c69632053616c65206e6f74206f6e676f696e67000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4e6f6e206578697374656e7420546f6b656e0000000000000000000000000000600082015250565b7f61727261792073697a65206d69736d6174636800000000000000000000000000600082015250565b7f45746865722076616c7565206d69736d61746368000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f537570706c79206c696d69742072656163686564000000000000000000000000600082015250565b7f5a65726f2042616c616e63650000000000000000000000000000000000000000600082015250565b61505581614b4e565b811461506057600080fd5b50565b61506c81614b60565b811461507757600080fd5b50565b61508381614b6c565b811461508e57600080fd5b50565b61509a81614bb8565b81146150a557600080fd5b5056fea26469706673582212208b092ca2851a746926d35ab3e880952066964ae7a9c353d2dea0ab88ff3d8d1f64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000cb0186abfe3735a96470bc3aea6553bd5ccef798000000000000000000000000120fbe2eb3e4983f5bbbdde7c84e80eaf548e914000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000007486f6f646c6573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004484f4f44000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d654c786b7874745a44714d72704c56473463724453614d7271476f6d527762724863313461696352725044462f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d594e675a7770653734776b336f796e615862683234774e79745a6d44753368725a6e687973353255786b55472f00000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Hoodles
Arg [1] : _symbol (string): HOOD
Arg [2] : _beneficiary (address): 0xCB0186aBfE3735A96470BC3aEA6553BD5CceF798
Arg [3] : _hoodlesTreasury (address): 0x120FbE2Eb3E4983F5BbBdde7C84E80eAF548E914
Arg [4] : _initialTokenURI (string): ipfs://QmeLxkxttZDqMrpLVG4crDSaMrqGomRwbrHc14aicRrPDF/
Arg [5] : _hiddenTokenURI (string): ipfs://QmYNgZwpe74wk3oynaXbh24wNytZmDu3hrZnhys52UxkUG/
-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 000000000000000000000000cb0186abfe3735a96470bc3aea6553bd5ccef798
Arg [3] : 000000000000000000000000120fbe2eb3e4983f5bbbdde7c84e80eaf548e914
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [7] : 486f6f646c657300000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 484f4f4400000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [11] : 697066733a2f2f516d654c786b7874745a44714d72704c56473463724453614d
Arg [12] : 7271476f6d527762724863313461696352725044462f00000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [14] : 697066733a2f2f516d594e675a7770653734776b336f796e615862683234774e
Arg [15] : 79745a6d44753368725a6e687973353255786b55472f00000000000000000000
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.