ERC-721
NFT
Overview
Max Total Supply
12,222 AHC
Holders
2,117
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 AHCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ApeHaterClub
Compiler Version
v0.8.11+commit.d7f03943
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.9; import "erc721a/contracts/extensions/ERC721AQueryable1.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; //BANANO contract abstract contract Bnno { function burnBanana(address burnTokenAddress) external virtual; function balanceOf(address account, uint256 id) public view virtual returns (uint256); } //OG contract (GodHatesNFTees) abstract contract Ghnft { function balanceOf(address owner) public view virtual returns (uint256); } contract ApeHaterClub is ERC721AQueryable, Ownable, ReentrancyGuard { using Strings for uint256; // Public Constants uint256 public constant MAX_SUPPLY = 12222; //TOTAL SUPPLY OF APES (12222) uint256 public constant MAX_SUPPLY_PUBLIC_MINT = 2178; //PHASE 1 (2178) uint256 public constant MAX_MINTS_PUBLIC = 3; uint256 public constant PUBLIC_PRICE = 0.25 ether; string public uriPrefix = ""; string public uriSuffix = ".json"; // Variables string private baseURI; string public hiddenMetadataUri; uint256 public _minted = 0; // Sale controllers bool public FreeMutation = false ; bool public PublicActive = false ; //Instant reveal bool public revealed = true; Ghnft private immutable ghnft; Bnno private immutable bnno; constructor( string memory name, string memory symbol, address ghnftAddress, address bnnoAddress ) ERC721A(name, symbol) { ghnft = Ghnft(ghnftAddress); bnno = Bnno(bnnoAddress); } //PUBLIC MINT (PHASE 1) function MintPublic(uint256 amount) external payable nonReentrant { require(PublicActive, "Public sale is paused"); require(_minted + amount <= MAX_SUPPLY_PUBLIC_MINT, "Exceed max supply"); require(amount > 0 && amount <= MAX_MINTS_PUBLIC,"Must mint between the min and max."); require(msg.value == amount * PUBLIC_PRICE, "Invalid funds provided"); _minted += amount; _safeMint(msg.sender,amount); } //FREE MUTATION MINT (PHASE 2) function MintFreeMutation(uint256 amount) external { require(FreeMutation, "Free Mutation is not active"); require(_minted + amount <= MAX_SUPPLY, "Exceed max supply"); require(ghnft.balanceOf(msg.sender) > 0, "Must own at least 1 GodHatesNFTees"); require(bnno.balanceOf(msg.sender, 0) > 0 && bnno.balanceOf(msg.sender, 0) >= amount, "Must own at least 1 Banano to mutate, or max bananas."); for (uint256 i = 0; i < amount; i++) { bnno.burnBanana(msg.sender); } _minted += amount; _safeMint(msg.sender,amount); } //TEAM MINT (PHASE 3) function internalMint(uint256 amount) external onlyOwner { require(_minted + amount <= MAX_SUPPLY, "Max supply exceeded!"); _minted += amount; _safeMint(msg.sender, amount); } function HowManyOGs(address owner) public view returns (uint256){ uint256 numberogs = ghnft.balanceOf(owner); return numberogs; } function HowManyBananos(address account) public view returns (uint256){ uint256 numberbananos = bnno.balanceOf(account, 0); return numberbananos; } //SETS function setFreeMutationMint(bool _state) public onlyOwner { FreeMutation = _state; } function setPublicMint(bool _state) public onlyOwner { PublicActive = _state; } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ''; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function withdrawMoney() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "WITHDRAW FAILED!"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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 (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import "../ERC721a.sol"; error InvalidQueryRange(); /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) public view returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _currentIndex) { return ownership; } ownership = _ownerships[tokenId]; if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _currentIndex; // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, _currentIndex)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// 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/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 MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); 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 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) { 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) { 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) { 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 { _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 virtual 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); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.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; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.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; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, 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 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"ghnftAddress","type":"address"},{"internalType":"address","name":"bnnoAddress","type":"address"}],"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":"InvalidQueryRange","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":"FreeMutation","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"HowManyBananos","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"HowManyOGs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MintFreeMutation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"PUBLIC_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PublicActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_minted","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","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":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"internalMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setFreeMutationMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c060405260405180602001604052806000815250600a90805190602001906200002b929190620002c0565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b908051906020019062000079929190620002c0565b506000600e556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055506001600f60026101000a81548160ff021916908315150217905550348015620000dd57600080fd5b506040516200540638038062005406833981810160405281019062000103919062000572565b838381600290805190602001906200011d929190620002c0565b50806003908051906020019062000136929190620002c0565b5062000147620001e960201b60201c565b60008190555050506200016f62000163620001f260201b60201c565b620001fa60201b60201c565b60016009819055508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250505050505062000687565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002ce9062000651565b90600052602060002090601f016020900481019282620002f257600085556200033e565b82601f106200030d57805160ff19168380011785556200033e565b828001600101855582156200033e579182015b828111156200033d57825182559160200191906001019062000320565b5b5090506200034d919062000351565b5090565b5b808211156200036c57600081600090555060010162000352565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003d9826200038e565b810181811067ffffffffffffffff82111715620003fb57620003fa6200039f565b5b80604052505050565b60006200041062000370565b90506200041e8282620003ce565b919050565b600067ffffffffffffffff8211156200044157620004406200039f565b5b6200044c826200038e565b9050602081019050919050565b60005b83811015620004795780820151818401526020810190506200045c565b8381111562000489576000848401525b50505050565b6000620004a6620004a08462000423565b62000404565b905082815260208101848484011115620004c557620004c462000389565b5b620004d284828562000459565b509392505050565b600082601f830112620004f257620004f162000384565b5b8151620005048482602086016200048f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200053a826200050d565b9050919050565b6200054c816200052d565b81146200055857600080fd5b50565b6000815190506200056c8162000541565b92915050565b600080600080608085870312156200058f576200058e6200037a565b5b600085015167ffffffffffffffff811115620005b057620005af6200037f565b5b620005be87828801620004da565b945050602085015167ffffffffffffffff811115620005e257620005e16200037f565b5b620005f087828801620004da565b935050604062000603878288016200055b565b925050606062000616878288016200055b565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200066a57607f821691505b6020821081141562000681576200068062000622565b5b50919050565b60805160a051614d3d620006c9600039600081816113dd015281816114820152818161156b0152611eca015260008181610d9b01526113010152614d3d6000f3fe60806040526004361061025c5760003560e01c806366259b1c11610144578063a51cce44116100b6578063c87b56dd1161007a578063c87b56dd146108ff578063c89b350d1461093c578063e0a8085314610967578063e985e9c514610990578063f17afd1c146109cd578063f2fde38b146109f85761025c565b8063a51cce441461081c578063ac44600214610859578063acd0d9a614610870578063b88d4fde14610899578063c23dc68f146108c25761025c565b80638da5cb5b116101085780638da5cb5b1461070a57806395d89b411461073557806399a2557a14610760578063a22cb4651461079d578063a45ba8e7146107c6578063a51ad615146107f15761025c565b806366259b1c1461062757806370a0823114610650578063715018a61461068d5780637ec4a659146106a45780638462151c146106cd5761025c565b80633fb1ec57116101dd5780635503a0e8116101a15780635503a0e8146105105780635bbb21771461053b578063611f3f101461057857806362b99ad4146105a35780636352211e146105ce578063643439df1461060b5761025c565b80633fb1ec571461042b57806342842e0e146104685780634bfbfc61146104915780634c0011ff146104bc57806351830227146104e55761025c565b806316ba10e01161022457806316ba10e01461035857806318160ddd1461038157806323b872dd146103ac5780632c19b7f3146103d557806332cb6b0c146104005761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780630e2d56cf1461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613713565b610a21565b604051610295919061375b565b60405180910390f35b3480156102aa57600080fd5b506102b3610b03565b6040516102c0919061380f565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613867565b610b95565b6040516102fd91906138d5565b60405180910390f35b34801561031257600080fd5b5061032d6004803603810190610328919061391c565b610c11565b005b34801561033b57600080fd5b5061035660048036038101906103519190613988565b610d1c565b005b34801561036457600080fd5b5061037f600480360381019061037a9190613aea565b610d41565b005b34801561038d57600080fd5b50610396610d63565b6040516103a39190613b42565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce9190613b5d565b610d7a565b005b3480156103e157600080fd5b506103ea610d8a565b6040516103f79190613b42565b60405180910390f35b34801561040c57600080fd5b50610415610d90565b6040516104229190613b42565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d9190613bb0565b610d96565b60405161045f9190613b42565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a9190613b5d565b610e3e565b005b34801561049d57600080fd5b506104a6610e5e565b6040516104b39190613b42565b60405180910390f35b3480156104c857600080fd5b506104e360048036038101906104de9190613988565b610e63565b005b3480156104f157600080fd5b506104fa610e88565b604051610507919061375b565b60405180910390f35b34801561051c57600080fd5b50610525610e9b565b604051610532919061380f565b60405180910390f35b34801561054757600080fd5b50610562600480360381019061055d9190613ca5565b610f29565b60405161056f9190613e20565b60405180910390f35b34801561058457600080fd5b5061058d610fea565b60405161059a9190613b42565b60405180910390f35b3480156105af57600080fd5b506105b8610ff6565b6040516105c5919061380f565b60405180910390f35b3480156105da57600080fd5b506105f560048036038101906105f09190613867565b611084565b60405161060291906138d5565b60405180910390f35b61062560048036038101906106209190613867565b61109a565b005b34801561063357600080fd5b5061064e60048036038101906106499190613867565b61125c565b005b34801561065c57600080fd5b5061067760048036038101906106729190613bb0565b61162e565b6040516106849190613b42565b60405180910390f35b34801561069957600080fd5b506106a26116fe565b005b3480156106b057600080fd5b506106cb60048036038101906106c69190613aea565b611712565b005b3480156106d957600080fd5b506106f460048036038101906106ef9190613bb0565b611734565b6040516107019190613f00565b60405180910390f35b34801561071657600080fd5b5061071f611936565b60405161072c91906138d5565b60405180910390f35b34801561074157600080fd5b5061074a611960565b604051610757919061380f565b60405180910390f35b34801561076c57600080fd5b5061078760048036038101906107829190613f22565b6119f2565b6040516107949190613f00565b60405180910390f35b3480156107a957600080fd5b506107c460048036038101906107bf9190613f75565b611cb9565b005b3480156107d257600080fd5b506107db611e31565b6040516107e8919061380f565b60405180910390f35b3480156107fd57600080fd5b50610806611ebf565b6040516108139190613b42565b60405180910390f35b34801561082857600080fd5b50610843600480360381019061083e9190613bb0565b611ec5565b6040516108509190613b42565b60405180910390f35b34801561086557600080fd5b5061086e611f6f565b005b34801561087c57600080fd5b5061089760048036038101906108929190613867565b612026565b005b3480156108a557600080fd5b506108c060048036038101906108bb9190614056565b6120a6565b005b3480156108ce57600080fd5b506108e960048036038101906108e49190613867565b612122565b6040516108f6919061411b565b60405180910390f35b34801561090b57600080fd5b5061092660048036038101906109219190613867565b61223f565b604051610933919061380f565b60405180910390f35b34801561094857600080fd5b506109516122e9565b60405161095e919061375b565b60405180910390f35b34801561097357600080fd5b5061098e60048036038101906109899190613988565b6122fc565b005b34801561099c57600080fd5b506109b760048036038101906109b29190614136565b612321565b6040516109c4919061375b565b60405180910390f35b3480156109d957600080fd5b506109e26123b5565b6040516109ef919061375b565b60405180910390f35b348015610a0457600080fd5b50610a1f6004803603810190610a1a9190613bb0565b6123c8565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aec57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610afc5750610afb8261244c565b5b9050919050565b606060028054610b12906141a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3e906141a5565b8015610b8b5780601f10610b6057610100808354040283529160200191610b8b565b820191906000526020600020905b815481529060010190602001808311610b6e57829003601f168201915b5050505050905090565b6000610ba0826124b6565b610bd6576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c1c82611084565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c84576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ca3612504565b73ffffffffffffffffffffffffffffffffffffffff1614158015610cd55750610cd381610cce612504565b612321565b155b15610d0c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d1783838361250c565b505050565b610d246125be565b80600f60016101000a81548160ff02191690831515021790555050565b610d496125be565b80600b9080519060200190610d5f9291906135c1565b5050565b6000610d6d61263c565b6001546000540303905090565b610d85838383612645565b505050565b600e5481565b612fbe81565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610df291906138d5565b602060405180830381865afa158015610e0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3391906141ec565b905080915050919050565b610e59838383604051806020016040528060008152506120a6565b505050565b600381565b610e6b6125be565b80600f60006101000a81548160ff02191690831515021790555050565b600f60029054906101000a900460ff1681565b600b8054610ea8906141a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed4906141a5565b8015610f215780601f10610ef657610100808354040283529160200191610f21565b820191906000526020600020905b815481529060010190602001808311610f0457829003601f168201915b505050505081565b606060008251905060008167ffffffffffffffff811115610f4d57610f4c6139bf565b5b604051908082528060200260200182016040528015610f8657816020015b610f73613647565b815260200190600190039081610f6b5790505b50905060005b828114610fdf57610fb6858281518110610fa957610fa8614219565b5b6020026020010151612122565b828281518110610fc957610fc8614219565b5b6020026020010181905250806001019050610f8c565b508092505050919050565b6703782dace9d9000081565b600a8054611003906141a5565b80601f016020809104026020016040519081016040528092919081815260200182805461102f906141a5565b801561107c5780601f106110515761010080835404028352916020019161107c565b820191906000526020600020905b81548152906001019060200180831161105f57829003601f168201915b505050505081565b600061108f82612afb565b600001519050919050565b600260095414156110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d790614294565b60405180910390fd5b6002600981905550600f60019054906101000a900460ff16611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e90614300565b60405180910390fd5b61088281600e54611148919061434f565b1115611189576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611180906143f1565b60405180910390fd5b60008111801561119a575060038111155b6111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d090614483565b60405180910390fd5b6703782dace9d90000816111ed91906144a3565b341461122e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122590614549565b60405180910390fd5b80600e6000828254611240919061434f565b925050819055506112513382612d8a565b600160098190555050565b600f60009054906101000a900460ff166112ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a2906145b5565b60405180910390fd5b612fbe81600e546112bc919061434f565b11156112fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f4906143f1565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161135891906138d5565b602060405180830381865afa158015611375573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139991906141ec565b116113d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d090614647565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b81526004016114369291906146ac565b602060405180830381865afa158015611453573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147791906141ec565b11801561151f5750807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b81526004016114db9291906146ac565b602060405180830381865afa1580156114f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151c91906141ec565b10155b61155e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155590614747565b60405180910390fd5b60005b81811015611607577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663facfb40d336040518263ffffffff1660e01b81526004016115c291906138d5565b600060405180830381600087803b1580156115dc57600080fd5b505af11580156115f0573d6000803e3d6000fd5b5050505080806115ff90614767565b915050611561565b5080600e600082825461161a919061434f565b9250508190555061162b3382612d8a565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611696576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6117066125be565b6117106000612da8565b565b61171a6125be565b80600a90805190602001906117309291906135c1565b5050565b606060008060006117448561162e565b905060008167ffffffffffffffff811115611762576117616139bf565b5b6040519080825280602002602001820160405280156117905781602001602082028036833780820191505090505b50905061179b613647565b60006117a561263c565b90505b83861461192857600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505091508160400151156118815761191d565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146118c157816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561191c578083878060010198508151811061190f5761190e614219565b5b6020026020010181815250505b5b8060010190506117a8565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461196f906141a5565b80601f016020809104026020016040519081016040528092919081815260200182805461199b906141a5565b80156119e85780601f106119bd576101008083540402835291602001916119e8565b820191906000526020600020905b8154815290600101906020018083116119cb57829003601f168201915b5050505050905090565b6060818310611a2d576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000549050611a3d61263c565b851015611a4f57611a4c61263c565b94505b80841115611a5b578093505b6000611a668761162e565b905084861015611a89576000868603905081811015611a83578091505b50611a8e565b600090505b60008167ffffffffffffffff811115611aaa57611aa96139bf565b5b604051908082528060200260200182016040528015611ad85781602001602082028036833780820191505090505b5090506000821415611af05780945050505050611cb2565b6000611afb88612122565b905060008160400151611b1057816000015190505b60008990505b888114158015611b265750848714155b15611ca457600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509250826040015115611bfd57611c99565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611c3d57826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c985780848880600101995081518110611c8b57611c8a614219565b5b6020026020010181815250505b5b806001019050611b16565b508583528296505050505050505b9392505050565b611cc1612504565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d26576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611d33612504565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611de0612504565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e25919061375b565b60405180910390a35050565b600d8054611e3e906141a5565b80601f0160208091040260200160405190810160405280929190818152602001828054611e6a906141a5565b8015611eb75780601f10611e8c57610100808354040283529160200191611eb7565b820191906000526020600020905b815481529060010190602001808311611e9a57829003601f168201915b505050505081565b61088281565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1662fdd58e8460006040518363ffffffff1660e01b8152600401611f239291906146ac565b602060405180830381865afa158015611f40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6491906141ec565b905080915050919050565b611f776125be565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611f9d906147e1565b60006040518083038185875af1925050503d8060008114611fda576040519150601f19603f3d011682016040523d82523d6000602084013e611fdf565b606091505b5050905080612023576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201a90614842565b60405180910390fd5b50565b61202e6125be565b612fbe81600e5461203f919061434f565b1115612080576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612077906148ae565b60405180910390fd5b80600e6000828254612092919061434f565b925050819055506120a33382612d8a565b50565b6120b1848484612645565b6120d08373ffffffffffffffffffffffffffffffffffffffff16612e6e565b80156120e557506120e384848484612e91565b155b1561211c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61212a613647565b612132613647565b61213a61263c565b83108061214957506000548310155b15612157578091505061223a565b600460008481526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511561222d578091505061223a565b61223683612afb565b9150505b919050565b606061224a826124b6565b612289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228090614940565b60405180910390fd5b6000612293612fe2565b905060008151116122b357604051806020016040528060008152506122e1565b806122bd84613074565b600b6040516020016122d193929190614a30565b6040516020818303038152906040525b915050919050565b600f60019054906101000a900460ff1681565b6123046125be565b80600f60026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900460ff1681565b6123d06125be565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612440576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243790614ad3565b60405180910390fd5b61244981612da8565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816124c161263c565b111580156124d0575060005482105b80156124fd575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6125c6612504565b73ffffffffffffffffffffffffffffffffffffffff166125e4611936565b73ffffffffffffffffffffffffffffffffffffffff161461263a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263190614b3f565b60405180910390fd5b565b60006001905090565b600061265082612afb565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126bb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166126dc612504565b73ffffffffffffffffffffffffffffffffffffffff16148061270b575061270a85612705612504565b612321565b5b806127505750612719612504565b73ffffffffffffffffffffffffffffffffffffffff1661273884610b95565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612789576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127f0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127fd85858560016131d5565b6128096000848761250c565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612a89576000548214612a8857878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612af485858560016131db565b5050505050565b612b03613647565b600082905080612b1161263c565b11158015612b20575060005481105b15612d53576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612d5157600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c35578092505050612d85565b5b600115612d5057818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d4b578092505050612d85565b612c36565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b612da48282604051806020016040528060008152506131e1565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eb7612504565b8786866040518563ffffffff1660e01b8152600401612ed99493929190614bb4565b6020604051808303816000875af1925050508015612f1557506040513d601f19601f82011682018060405250810190612f129190614c15565b60015b612f8f573d8060008114612f45576040519150601f19603f3d011682016040523d82523d6000602084013e612f4a565b606091505b50600081511415612f87576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054612ff1906141a5565b80601f016020809104026020016040519081016040528092919081815260200182805461301d906141a5565b801561306a5780601f1061303f5761010080835404028352916020019161306a565b820191906000526020600020905b81548152906001019060200180831161304d57829003601f168201915b5050505050905090565b606060008214156130bc576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131d0565b600082905060005b600082146130ee5780806130d790614767565b915050600a826130e79190614c71565b91506130c4565b60008167ffffffffffffffff81111561310a576131096139bf565b5b6040519080825280601f01601f19166020018201604052801561313c5781602001600182028036833780820191505090505b5090505b600085146131c9576001826131559190614ca2565b9150600a856131649190614cd6565b6030613170919061434f565b60f81b81838151811061318657613185614219565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131c29190614c71565b9450613140565b8093505050505b919050565b50505050565b50505050565b6131ee83838360016131f3565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613260576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084141561329b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132a860008683876131d5565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561347257506134718773ffffffffffffffffffffffffffffffffffffffff16612e6e565b5b15613538575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134e76000888480600101955088612e91565b61351d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561347857826000541461353357600080fd5b6135a4565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613539575b8160008190555050506135ba60008683876131db565b5050505050565b8280546135cd906141a5565b90600052602060002090601f0160209004810192826135ef5760008555613636565b82601f1061360857805160ff1916838001178555613636565b82800160010185558215613636579182015b8281111561363557825182559160200191906001019061361a565b5b509050613643919061368a565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156136a357600081600090555060010161368b565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136f0816136bb565b81146136fb57600080fd5b50565b60008135905061370d816136e7565b92915050565b600060208284031215613729576137286136b1565b5b6000613737848285016136fe565b91505092915050565b60008115159050919050565b61375581613740565b82525050565b6000602082019050613770600083018461374c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137b0578082015181840152602081019050613795565b838111156137bf576000848401525b50505050565b6000601f19601f8301169050919050565b60006137e182613776565b6137eb8185613781565b93506137fb818560208601613792565b613804816137c5565b840191505092915050565b6000602082019050818103600083015261382981846137d6565b905092915050565b6000819050919050565b61384481613831565b811461384f57600080fd5b50565b6000813590506138618161383b565b92915050565b60006020828403121561387d5761387c6136b1565b5b600061388b84828501613852565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138bf82613894565b9050919050565b6138cf816138b4565b82525050565b60006020820190506138ea60008301846138c6565b92915050565b6138f9816138b4565b811461390457600080fd5b50565b600081359050613916816138f0565b92915050565b60008060408385031215613933576139326136b1565b5b600061394185828601613907565b925050602061395285828601613852565b9150509250929050565b61396581613740565b811461397057600080fd5b50565b6000813590506139828161395c565b92915050565b60006020828403121561399e5761399d6136b1565b5b60006139ac84828501613973565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6139f7826137c5565b810181811067ffffffffffffffff82111715613a1657613a156139bf565b5b80604052505050565b6000613a296136a7565b9050613a3582826139ee565b919050565b600067ffffffffffffffff821115613a5557613a546139bf565b5b613a5e826137c5565b9050602081019050919050565b82818337600083830152505050565b6000613a8d613a8884613a3a565b613a1f565b905082815260208101848484011115613aa957613aa86139ba565b5b613ab4848285613a6b565b509392505050565b600082601f830112613ad157613ad06139b5565b5b8135613ae1848260208601613a7a565b91505092915050565b600060208284031215613b0057613aff6136b1565b5b600082013567ffffffffffffffff811115613b1e57613b1d6136b6565b5b613b2a84828501613abc565b91505092915050565b613b3c81613831565b82525050565b6000602082019050613b576000830184613b33565b92915050565b600080600060608486031215613b7657613b756136b1565b5b6000613b8486828701613907565b9350506020613b9586828701613907565b9250506040613ba686828701613852565b9150509250925092565b600060208284031215613bc657613bc56136b1565b5b6000613bd484828501613907565b91505092915050565b600067ffffffffffffffff821115613bf857613bf76139bf565b5b602082029050602081019050919050565b600080fd5b6000613c21613c1c84613bdd565b613a1f565b90508083825260208201905060208402830185811115613c4457613c43613c09565b5b835b81811015613c6d5780613c598882613852565b845260208401935050602081019050613c46565b5050509392505050565b600082601f830112613c8c57613c8b6139b5565b5b8135613c9c848260208601613c0e565b91505092915050565b600060208284031215613cbb57613cba6136b1565b5b600082013567ffffffffffffffff811115613cd957613cd86136b6565b5b613ce584828501613c77565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613d23816138b4565b82525050565b600067ffffffffffffffff82169050919050565b613d4681613d29565b82525050565b613d5581613740565b82525050565b606082016000820151613d716000850182613d1a565b506020820151613d846020850182613d3d565b506040820151613d976040850182613d4c565b50505050565b6000613da98383613d5b565b60608301905092915050565b6000602082019050919050565b6000613dcd82613cee565b613dd78185613cf9565b9350613de283613d0a565b8060005b83811015613e13578151613dfa8882613d9d565b9750613e0583613db5565b925050600181019050613de6565b5085935050505092915050565b60006020820190508181036000830152613e3a8184613dc2565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e7781613831565b82525050565b6000613e898383613e6e565b60208301905092915050565b6000602082019050919050565b6000613ead82613e42565b613eb78185613e4d565b9350613ec283613e5e565b8060005b83811015613ef3578151613eda8882613e7d565b9750613ee583613e95565b925050600181019050613ec6565b5085935050505092915050565b60006020820190508181036000830152613f1a8184613ea2565b905092915050565b600080600060608486031215613f3b57613f3a6136b1565b5b6000613f4986828701613907565b9350506020613f5a86828701613852565b9250506040613f6b86828701613852565b9150509250925092565b60008060408385031215613f8c57613f8b6136b1565b5b6000613f9a85828601613907565b9250506020613fab85828601613973565b9150509250929050565b600067ffffffffffffffff821115613fd057613fcf6139bf565b5b613fd9826137c5565b9050602081019050919050565b6000613ff9613ff484613fb5565b613a1f565b905082815260208101848484011115614015576140146139ba565b5b614020848285613a6b565b509392505050565b600082601f83011261403d5761403c6139b5565b5b813561404d848260208601613fe6565b91505092915050565b600080600080608085870312156140705761406f6136b1565b5b600061407e87828801613907565b945050602061408f87828801613907565b93505060406140a087828801613852565b925050606085013567ffffffffffffffff8111156140c1576140c06136b6565b5b6140cd87828801614028565b91505092959194509250565b6060820160008201516140ef6000850182613d1a565b5060208201516141026020850182613d3d565b5060408201516141156040850182613d4c565b50505050565b600060608201905061413060008301846140d9565b92915050565b6000806040838503121561414d5761414c6136b1565b5b600061415b85828601613907565b925050602061416c85828601613907565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806141bd57607f821691505b602082108114156141d1576141d0614176565b5b50919050565b6000815190506141e68161383b565b92915050565b600060208284031215614202576142016136b1565b5b6000614210848285016141d7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061427e601f83613781565b915061428982614248565b602082019050919050565b600060208201905081810360008301526142ad81614271565b9050919050565b7f5075626c69632073616c65206973207061757365640000000000000000000000600082015250565b60006142ea601583613781565b91506142f5826142b4565b602082019050919050565b60006020820190508181036000830152614319816142dd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061435a82613831565b915061436583613831565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561439a57614399614320565b5b828201905092915050565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b60006143db601183613781565b91506143e6826143a5565b602082019050919050565b6000602082019050818103600083015261440a816143ce565b9050919050565b7f4d757374206d696e74206265747765656e20746865206d696e20616e64206d6160008201527f782e000000000000000000000000000000000000000000000000000000000000602082015250565b600061446d602283613781565b915061447882614411565b604082019050919050565b6000602082019050818103600083015261449c81614460565b9050919050565b60006144ae82613831565b91506144b983613831565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144f2576144f1614320565b5b828202905092915050565b7f496e76616c69642066756e64732070726f766964656400000000000000000000600082015250565b6000614533601683613781565b915061453e826144fd565b602082019050919050565b6000602082019050818103600083015261456281614526565b9050919050565b7f46726565204d75746174696f6e206973206e6f74206163746976650000000000600082015250565b600061459f601b83613781565b91506145aa82614569565b602082019050919050565b600060208201905081810360008301526145ce81614592565b9050919050565b7f4d757374206f776e206174206c65617374203120476f6448617465734e46546560008201527f6573000000000000000000000000000000000000000000000000000000000000602082015250565b6000614631602283613781565b915061463c826145d5565b604082019050919050565b6000602082019050818103600083015261466081614624565b9050919050565b6000819050919050565b6000819050919050565b600061469661469161468c84614667565b614671565b613831565b9050919050565b6146a68161467b565b82525050565b60006040820190506146c160008301856138c6565b6146ce602083018461469d565b9392505050565b7f4d757374206f776e206174206c6561737420312042616e616e6f20746f206d7560008201527f746174652c206f72206d61782062616e616e61732e0000000000000000000000602082015250565b6000614731603583613781565b915061473c826146d5565b604082019050919050565b6000602082019050818103600083015261476081614724565b9050919050565b600061477282613831565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147a5576147a4614320565b5b600182019050919050565b600081905092915050565b50565b60006147cb6000836147b0565b91506147d6826147bb565b600082019050919050565b60006147ec826147be565b9150819050919050565b7f5749544844524157204641494c45442100000000000000000000000000000000600082015250565b600061482c601083613781565b9150614837826147f6565b602082019050919050565b6000602082019050818103600083015261485b8161481f565b9050919050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000614898601483613781565b91506148a382614862565b602082019050919050565b600060208201905081810360008301526148c78161488b565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061492a602f83613781565b9150614935826148ce565b604082019050919050565b600060208201905081810360008301526149598161491d565b9050919050565b600081905092915050565b600061497682613776565b6149808185614960565b9350614990818560208601613792565b80840191505092915050565b60008190508160005260206000209050919050565b600081546149be816141a5565b6149c88186614960565b945060018216600081146149e357600181146149f457614a27565b60ff19831686528186019350614a27565b6149fd8561499c565b60005b83811015614a1f57815481890152600182019150602081019050614a00565b838801955050505b50505092915050565b6000614a3c828661496b565b9150614a48828561496b565b9150614a5482846149b1565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614abd602683613781565b9150614ac882614a61565b604082019050919050565b60006020820190508181036000830152614aec81614ab0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b29602083613781565b9150614b3482614af3565b602082019050919050565b60006020820190508181036000830152614b5881614b1c565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614b8682614b5f565b614b908185614b6a565b9350614ba0818560208601613792565b614ba9816137c5565b840191505092915050565b6000608082019050614bc960008301876138c6565b614bd660208301866138c6565b614be36040830185613b33565b8181036060830152614bf58184614b7b565b905095945050505050565b600081519050614c0f816136e7565b92915050565b600060208284031215614c2b57614c2a6136b1565b5b6000614c3984828501614c00565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c7c82613831565b9150614c8783613831565b925082614c9757614c96614c42565b5b828204905092915050565b6000614cad82613831565b9150614cb883613831565b925082821015614ccb57614cca614320565b5b828203905092915050565b6000614ce182613831565b9150614cec83613831565b925082614cfc57614cfb614c42565b5b82820690509291505056fea2646970667358221220919814e91bc40fd455f24b4a7e1c8d29956160e4c95faf1870fa9807f07e0fc164736f6c634300080b0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e6d48bf4ee912235398b96e16db6f310c21e82cb00000000000000000000000050beffd8a0808314d3cc81b3cbf7f1afa3a6b56c000000000000000000000000000000000000000000000000000000000000000e41706520486174657220436c756200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034148430000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061025c5760003560e01c806366259b1c11610144578063a51cce44116100b6578063c87b56dd1161007a578063c87b56dd146108ff578063c89b350d1461093c578063e0a8085314610967578063e985e9c514610990578063f17afd1c146109cd578063f2fde38b146109f85761025c565b8063a51cce441461081c578063ac44600214610859578063acd0d9a614610870578063b88d4fde14610899578063c23dc68f146108c25761025c565b80638da5cb5b116101085780638da5cb5b1461070a57806395d89b411461073557806399a2557a14610760578063a22cb4651461079d578063a45ba8e7146107c6578063a51ad615146107f15761025c565b806366259b1c1461062757806370a0823114610650578063715018a61461068d5780637ec4a659146106a45780638462151c146106cd5761025c565b80633fb1ec57116101dd5780635503a0e8116101a15780635503a0e8146105105780635bbb21771461053b578063611f3f101461057857806362b99ad4146105a35780636352211e146105ce578063643439df1461060b5761025c565b80633fb1ec571461042b57806342842e0e146104685780634bfbfc61146104915780634c0011ff146104bc57806351830227146104e55761025c565b806316ba10e01161022457806316ba10e01461035857806318160ddd1461038157806323b872dd146103ac5780632c19b7f3146103d557806332cb6b0c146104005761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780630e2d56cf1461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613713565b610a21565b604051610295919061375b565b60405180910390f35b3480156102aa57600080fd5b506102b3610b03565b6040516102c0919061380f565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613867565b610b95565b6040516102fd91906138d5565b60405180910390f35b34801561031257600080fd5b5061032d6004803603810190610328919061391c565b610c11565b005b34801561033b57600080fd5b5061035660048036038101906103519190613988565b610d1c565b005b34801561036457600080fd5b5061037f600480360381019061037a9190613aea565b610d41565b005b34801561038d57600080fd5b50610396610d63565b6040516103a39190613b42565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce9190613b5d565b610d7a565b005b3480156103e157600080fd5b506103ea610d8a565b6040516103f79190613b42565b60405180910390f35b34801561040c57600080fd5b50610415610d90565b6040516104229190613b42565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d9190613bb0565b610d96565b60405161045f9190613b42565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a9190613b5d565b610e3e565b005b34801561049d57600080fd5b506104a6610e5e565b6040516104b39190613b42565b60405180910390f35b3480156104c857600080fd5b506104e360048036038101906104de9190613988565b610e63565b005b3480156104f157600080fd5b506104fa610e88565b604051610507919061375b565b60405180910390f35b34801561051c57600080fd5b50610525610e9b565b604051610532919061380f565b60405180910390f35b34801561054757600080fd5b50610562600480360381019061055d9190613ca5565b610f29565b60405161056f9190613e20565b60405180910390f35b34801561058457600080fd5b5061058d610fea565b60405161059a9190613b42565b60405180910390f35b3480156105af57600080fd5b506105b8610ff6565b6040516105c5919061380f565b60405180910390f35b3480156105da57600080fd5b506105f560048036038101906105f09190613867565b611084565b60405161060291906138d5565b60405180910390f35b61062560048036038101906106209190613867565b61109a565b005b34801561063357600080fd5b5061064e60048036038101906106499190613867565b61125c565b005b34801561065c57600080fd5b5061067760048036038101906106729190613bb0565b61162e565b6040516106849190613b42565b60405180910390f35b34801561069957600080fd5b506106a26116fe565b005b3480156106b057600080fd5b506106cb60048036038101906106c69190613aea565b611712565b005b3480156106d957600080fd5b506106f460048036038101906106ef9190613bb0565b611734565b6040516107019190613f00565b60405180910390f35b34801561071657600080fd5b5061071f611936565b60405161072c91906138d5565b60405180910390f35b34801561074157600080fd5b5061074a611960565b604051610757919061380f565b60405180910390f35b34801561076c57600080fd5b5061078760048036038101906107829190613f22565b6119f2565b6040516107949190613f00565b60405180910390f35b3480156107a957600080fd5b506107c460048036038101906107bf9190613f75565b611cb9565b005b3480156107d257600080fd5b506107db611e31565b6040516107e8919061380f565b60405180910390f35b3480156107fd57600080fd5b50610806611ebf565b6040516108139190613b42565b60405180910390f35b34801561082857600080fd5b50610843600480360381019061083e9190613bb0565b611ec5565b6040516108509190613b42565b60405180910390f35b34801561086557600080fd5b5061086e611f6f565b005b34801561087c57600080fd5b5061089760048036038101906108929190613867565b612026565b005b3480156108a557600080fd5b506108c060048036038101906108bb9190614056565b6120a6565b005b3480156108ce57600080fd5b506108e960048036038101906108e49190613867565b612122565b6040516108f6919061411b565b60405180910390f35b34801561090b57600080fd5b5061092660048036038101906109219190613867565b61223f565b604051610933919061380f565b60405180910390f35b34801561094857600080fd5b506109516122e9565b60405161095e919061375b565b60405180910390f35b34801561097357600080fd5b5061098e60048036038101906109899190613988565b6122fc565b005b34801561099c57600080fd5b506109b760048036038101906109b29190614136565b612321565b6040516109c4919061375b565b60405180910390f35b3480156109d957600080fd5b506109e26123b5565b6040516109ef919061375b565b60405180910390f35b348015610a0457600080fd5b50610a1f6004803603810190610a1a9190613bb0565b6123c8565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aec57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610afc5750610afb8261244c565b5b9050919050565b606060028054610b12906141a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3e906141a5565b8015610b8b5780601f10610b6057610100808354040283529160200191610b8b565b820191906000526020600020905b815481529060010190602001808311610b6e57829003601f168201915b5050505050905090565b6000610ba0826124b6565b610bd6576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c1c82611084565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c84576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ca3612504565b73ffffffffffffffffffffffffffffffffffffffff1614158015610cd55750610cd381610cce612504565b612321565b155b15610d0c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d1783838361250c565b505050565b610d246125be565b80600f60016101000a81548160ff02191690831515021790555050565b610d496125be565b80600b9080519060200190610d5f9291906135c1565b5050565b6000610d6d61263c565b6001546000540303905090565b610d85838383612645565b505050565b600e5481565b612fbe81565b6000807f000000000000000000000000e6d48bf4ee912235398b96e16db6f310c21e82cb73ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610df291906138d5565b602060405180830381865afa158015610e0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3391906141ec565b905080915050919050565b610e59838383604051806020016040528060008152506120a6565b505050565b600381565b610e6b6125be565b80600f60006101000a81548160ff02191690831515021790555050565b600f60029054906101000a900460ff1681565b600b8054610ea8906141a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed4906141a5565b8015610f215780601f10610ef657610100808354040283529160200191610f21565b820191906000526020600020905b815481529060010190602001808311610f0457829003601f168201915b505050505081565b606060008251905060008167ffffffffffffffff811115610f4d57610f4c6139bf565b5b604051908082528060200260200182016040528015610f8657816020015b610f73613647565b815260200190600190039081610f6b5790505b50905060005b828114610fdf57610fb6858281518110610fa957610fa8614219565b5b6020026020010151612122565b828281518110610fc957610fc8614219565b5b6020026020010181905250806001019050610f8c565b508092505050919050565b6703782dace9d9000081565b600a8054611003906141a5565b80601f016020809104026020016040519081016040528092919081815260200182805461102f906141a5565b801561107c5780601f106110515761010080835404028352916020019161107c565b820191906000526020600020905b81548152906001019060200180831161105f57829003601f168201915b505050505081565b600061108f82612afb565b600001519050919050565b600260095414156110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d790614294565b60405180910390fd5b6002600981905550600f60019054906101000a900460ff16611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e90614300565b60405180910390fd5b61088281600e54611148919061434f565b1115611189576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611180906143f1565b60405180910390fd5b60008111801561119a575060038111155b6111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d090614483565b60405180910390fd5b6703782dace9d90000816111ed91906144a3565b341461122e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122590614549565b60405180910390fd5b80600e6000828254611240919061434f565b925050819055506112513382612d8a565b600160098190555050565b600f60009054906101000a900460ff166112ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a2906145b5565b60405180910390fd5b612fbe81600e546112bc919061434f565b11156112fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f4906143f1565b60405180910390fd5b60007f000000000000000000000000e6d48bf4ee912235398b96e16db6f310c21e82cb73ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161135891906138d5565b602060405180830381865afa158015611375573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139991906141ec565b116113d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d090614647565b60405180910390fd5b60007f00000000000000000000000050beffd8a0808314d3cc81b3cbf7f1afa3a6b56c73ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b81526004016114369291906146ac565b602060405180830381865afa158015611453573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147791906141ec565b11801561151f5750807f00000000000000000000000050beffd8a0808314d3cc81b3cbf7f1afa3a6b56c73ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b81526004016114db9291906146ac565b602060405180830381865afa1580156114f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151c91906141ec565b10155b61155e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155590614747565b60405180910390fd5b60005b81811015611607577f00000000000000000000000050beffd8a0808314d3cc81b3cbf7f1afa3a6b56c73ffffffffffffffffffffffffffffffffffffffff1663facfb40d336040518263ffffffff1660e01b81526004016115c291906138d5565b600060405180830381600087803b1580156115dc57600080fd5b505af11580156115f0573d6000803e3d6000fd5b5050505080806115ff90614767565b915050611561565b5080600e600082825461161a919061434f565b9250508190555061162b3382612d8a565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611696576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6117066125be565b6117106000612da8565b565b61171a6125be565b80600a90805190602001906117309291906135c1565b5050565b606060008060006117448561162e565b905060008167ffffffffffffffff811115611762576117616139bf565b5b6040519080825280602002602001820160405280156117905781602001602082028036833780820191505090505b50905061179b613647565b60006117a561263c565b90505b83861461192857600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505091508160400151156118815761191d565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146118c157816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561191c578083878060010198508151811061190f5761190e614219565b5b6020026020010181815250505b5b8060010190506117a8565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461196f906141a5565b80601f016020809104026020016040519081016040528092919081815260200182805461199b906141a5565b80156119e85780601f106119bd576101008083540402835291602001916119e8565b820191906000526020600020905b8154815290600101906020018083116119cb57829003601f168201915b5050505050905090565b6060818310611a2d576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000549050611a3d61263c565b851015611a4f57611a4c61263c565b94505b80841115611a5b578093505b6000611a668761162e565b905084861015611a89576000868603905081811015611a83578091505b50611a8e565b600090505b60008167ffffffffffffffff811115611aaa57611aa96139bf565b5b604051908082528060200260200182016040528015611ad85781602001602082028036833780820191505090505b5090506000821415611af05780945050505050611cb2565b6000611afb88612122565b905060008160400151611b1057816000015190505b60008990505b888114158015611b265750848714155b15611ca457600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509250826040015115611bfd57611c99565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611c3d57826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c985780848880600101995081518110611c8b57611c8a614219565b5b6020026020010181815250505b5b806001019050611b16565b508583528296505050505050505b9392505050565b611cc1612504565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d26576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611d33612504565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611de0612504565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e25919061375b565b60405180910390a35050565b600d8054611e3e906141a5565b80601f0160208091040260200160405190810160405280929190818152602001828054611e6a906141a5565b8015611eb75780601f10611e8c57610100808354040283529160200191611eb7565b820191906000526020600020905b815481529060010190602001808311611e9a57829003601f168201915b505050505081565b61088281565b6000807f00000000000000000000000050beffd8a0808314d3cc81b3cbf7f1afa3a6b56c73ffffffffffffffffffffffffffffffffffffffff1662fdd58e8460006040518363ffffffff1660e01b8152600401611f239291906146ac565b602060405180830381865afa158015611f40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6491906141ec565b905080915050919050565b611f776125be565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611f9d906147e1565b60006040518083038185875af1925050503d8060008114611fda576040519150601f19603f3d011682016040523d82523d6000602084013e611fdf565b606091505b5050905080612023576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201a90614842565b60405180910390fd5b50565b61202e6125be565b612fbe81600e5461203f919061434f565b1115612080576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612077906148ae565b60405180910390fd5b80600e6000828254612092919061434f565b925050819055506120a33382612d8a565b50565b6120b1848484612645565b6120d08373ffffffffffffffffffffffffffffffffffffffff16612e6e565b80156120e557506120e384848484612e91565b155b1561211c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61212a613647565b612132613647565b61213a61263c565b83108061214957506000548310155b15612157578091505061223a565b600460008481526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511561222d578091505061223a565b61223683612afb565b9150505b919050565b606061224a826124b6565b612289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228090614940565b60405180910390fd5b6000612293612fe2565b905060008151116122b357604051806020016040528060008152506122e1565b806122bd84613074565b600b6040516020016122d193929190614a30565b6040516020818303038152906040525b915050919050565b600f60019054906101000a900460ff1681565b6123046125be565b80600f60026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900460ff1681565b6123d06125be565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612440576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243790614ad3565b60405180910390fd5b61244981612da8565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816124c161263c565b111580156124d0575060005482105b80156124fd575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6125c6612504565b73ffffffffffffffffffffffffffffffffffffffff166125e4611936565b73ffffffffffffffffffffffffffffffffffffffff161461263a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263190614b3f565b60405180910390fd5b565b60006001905090565b600061265082612afb565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126bb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166126dc612504565b73ffffffffffffffffffffffffffffffffffffffff16148061270b575061270a85612705612504565b612321565b5b806127505750612719612504565b73ffffffffffffffffffffffffffffffffffffffff1661273884610b95565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612789576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127f0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127fd85858560016131d5565b6128096000848761250c565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612a89576000548214612a8857878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612af485858560016131db565b5050505050565b612b03613647565b600082905080612b1161263c565b11158015612b20575060005481105b15612d53576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612d5157600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c35578092505050612d85565b5b600115612d5057818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d4b578092505050612d85565b612c36565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b612da48282604051806020016040528060008152506131e1565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eb7612504565b8786866040518563ffffffff1660e01b8152600401612ed99493929190614bb4565b6020604051808303816000875af1925050508015612f1557506040513d601f19601f82011682018060405250810190612f129190614c15565b60015b612f8f573d8060008114612f45576040519150601f19603f3d011682016040523d82523d6000602084013e612f4a565b606091505b50600081511415612f87576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054612ff1906141a5565b80601f016020809104026020016040519081016040528092919081815260200182805461301d906141a5565b801561306a5780601f1061303f5761010080835404028352916020019161306a565b820191906000526020600020905b81548152906001019060200180831161304d57829003601f168201915b5050505050905090565b606060008214156130bc576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131d0565b600082905060005b600082146130ee5780806130d790614767565b915050600a826130e79190614c71565b91506130c4565b60008167ffffffffffffffff81111561310a576131096139bf565b5b6040519080825280601f01601f19166020018201604052801561313c5781602001600182028036833780820191505090505b5090505b600085146131c9576001826131559190614ca2565b9150600a856131649190614cd6565b6030613170919061434f565b60f81b81838151811061318657613185614219565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131c29190614c71565b9450613140565b8093505050505b919050565b50505050565b50505050565b6131ee83838360016131f3565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613260576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084141561329b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132a860008683876131d5565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561347257506134718773ffffffffffffffffffffffffffffffffffffffff16612e6e565b5b15613538575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134e76000888480600101955088612e91565b61351d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561347857826000541461353357600080fd5b6135a4565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613539575b8160008190555050506135ba60008683876131db565b5050505050565b8280546135cd906141a5565b90600052602060002090601f0160209004810192826135ef5760008555613636565b82601f1061360857805160ff1916838001178555613636565b82800160010185558215613636579182015b8281111561363557825182559160200191906001019061361a565b5b509050613643919061368a565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156136a357600081600090555060010161368b565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136f0816136bb565b81146136fb57600080fd5b50565b60008135905061370d816136e7565b92915050565b600060208284031215613729576137286136b1565b5b6000613737848285016136fe565b91505092915050565b60008115159050919050565b61375581613740565b82525050565b6000602082019050613770600083018461374c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137b0578082015181840152602081019050613795565b838111156137bf576000848401525b50505050565b6000601f19601f8301169050919050565b60006137e182613776565b6137eb8185613781565b93506137fb818560208601613792565b613804816137c5565b840191505092915050565b6000602082019050818103600083015261382981846137d6565b905092915050565b6000819050919050565b61384481613831565b811461384f57600080fd5b50565b6000813590506138618161383b565b92915050565b60006020828403121561387d5761387c6136b1565b5b600061388b84828501613852565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138bf82613894565b9050919050565b6138cf816138b4565b82525050565b60006020820190506138ea60008301846138c6565b92915050565b6138f9816138b4565b811461390457600080fd5b50565b600081359050613916816138f0565b92915050565b60008060408385031215613933576139326136b1565b5b600061394185828601613907565b925050602061395285828601613852565b9150509250929050565b61396581613740565b811461397057600080fd5b50565b6000813590506139828161395c565b92915050565b60006020828403121561399e5761399d6136b1565b5b60006139ac84828501613973565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6139f7826137c5565b810181811067ffffffffffffffff82111715613a1657613a156139bf565b5b80604052505050565b6000613a296136a7565b9050613a3582826139ee565b919050565b600067ffffffffffffffff821115613a5557613a546139bf565b5b613a5e826137c5565b9050602081019050919050565b82818337600083830152505050565b6000613a8d613a8884613a3a565b613a1f565b905082815260208101848484011115613aa957613aa86139ba565b5b613ab4848285613a6b565b509392505050565b600082601f830112613ad157613ad06139b5565b5b8135613ae1848260208601613a7a565b91505092915050565b600060208284031215613b0057613aff6136b1565b5b600082013567ffffffffffffffff811115613b1e57613b1d6136b6565b5b613b2a84828501613abc565b91505092915050565b613b3c81613831565b82525050565b6000602082019050613b576000830184613b33565b92915050565b600080600060608486031215613b7657613b756136b1565b5b6000613b8486828701613907565b9350506020613b9586828701613907565b9250506040613ba686828701613852565b9150509250925092565b600060208284031215613bc657613bc56136b1565b5b6000613bd484828501613907565b91505092915050565b600067ffffffffffffffff821115613bf857613bf76139bf565b5b602082029050602081019050919050565b600080fd5b6000613c21613c1c84613bdd565b613a1f565b90508083825260208201905060208402830185811115613c4457613c43613c09565b5b835b81811015613c6d5780613c598882613852565b845260208401935050602081019050613c46565b5050509392505050565b600082601f830112613c8c57613c8b6139b5565b5b8135613c9c848260208601613c0e565b91505092915050565b600060208284031215613cbb57613cba6136b1565b5b600082013567ffffffffffffffff811115613cd957613cd86136b6565b5b613ce584828501613c77565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613d23816138b4565b82525050565b600067ffffffffffffffff82169050919050565b613d4681613d29565b82525050565b613d5581613740565b82525050565b606082016000820151613d716000850182613d1a565b506020820151613d846020850182613d3d565b506040820151613d976040850182613d4c565b50505050565b6000613da98383613d5b565b60608301905092915050565b6000602082019050919050565b6000613dcd82613cee565b613dd78185613cf9565b9350613de283613d0a565b8060005b83811015613e13578151613dfa8882613d9d565b9750613e0583613db5565b925050600181019050613de6565b5085935050505092915050565b60006020820190508181036000830152613e3a8184613dc2565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e7781613831565b82525050565b6000613e898383613e6e565b60208301905092915050565b6000602082019050919050565b6000613ead82613e42565b613eb78185613e4d565b9350613ec283613e5e565b8060005b83811015613ef3578151613eda8882613e7d565b9750613ee583613e95565b925050600181019050613ec6565b5085935050505092915050565b60006020820190508181036000830152613f1a8184613ea2565b905092915050565b600080600060608486031215613f3b57613f3a6136b1565b5b6000613f4986828701613907565b9350506020613f5a86828701613852565b9250506040613f6b86828701613852565b9150509250925092565b60008060408385031215613f8c57613f8b6136b1565b5b6000613f9a85828601613907565b9250506020613fab85828601613973565b9150509250929050565b600067ffffffffffffffff821115613fd057613fcf6139bf565b5b613fd9826137c5565b9050602081019050919050565b6000613ff9613ff484613fb5565b613a1f565b905082815260208101848484011115614015576140146139ba565b5b614020848285613a6b565b509392505050565b600082601f83011261403d5761403c6139b5565b5b813561404d848260208601613fe6565b91505092915050565b600080600080608085870312156140705761406f6136b1565b5b600061407e87828801613907565b945050602061408f87828801613907565b93505060406140a087828801613852565b925050606085013567ffffffffffffffff8111156140c1576140c06136b6565b5b6140cd87828801614028565b91505092959194509250565b6060820160008201516140ef6000850182613d1a565b5060208201516141026020850182613d3d565b5060408201516141156040850182613d4c565b50505050565b600060608201905061413060008301846140d9565b92915050565b6000806040838503121561414d5761414c6136b1565b5b600061415b85828601613907565b925050602061416c85828601613907565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806141bd57607f821691505b602082108114156141d1576141d0614176565b5b50919050565b6000815190506141e68161383b565b92915050565b600060208284031215614202576142016136b1565b5b6000614210848285016141d7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061427e601f83613781565b915061428982614248565b602082019050919050565b600060208201905081810360008301526142ad81614271565b9050919050565b7f5075626c69632073616c65206973207061757365640000000000000000000000600082015250565b60006142ea601583613781565b91506142f5826142b4565b602082019050919050565b60006020820190508181036000830152614319816142dd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061435a82613831565b915061436583613831565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561439a57614399614320565b5b828201905092915050565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b60006143db601183613781565b91506143e6826143a5565b602082019050919050565b6000602082019050818103600083015261440a816143ce565b9050919050565b7f4d757374206d696e74206265747765656e20746865206d696e20616e64206d6160008201527f782e000000000000000000000000000000000000000000000000000000000000602082015250565b600061446d602283613781565b915061447882614411565b604082019050919050565b6000602082019050818103600083015261449c81614460565b9050919050565b60006144ae82613831565b91506144b983613831565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144f2576144f1614320565b5b828202905092915050565b7f496e76616c69642066756e64732070726f766964656400000000000000000000600082015250565b6000614533601683613781565b915061453e826144fd565b602082019050919050565b6000602082019050818103600083015261456281614526565b9050919050565b7f46726565204d75746174696f6e206973206e6f74206163746976650000000000600082015250565b600061459f601b83613781565b91506145aa82614569565b602082019050919050565b600060208201905081810360008301526145ce81614592565b9050919050565b7f4d757374206f776e206174206c65617374203120476f6448617465734e46546560008201527f6573000000000000000000000000000000000000000000000000000000000000602082015250565b6000614631602283613781565b915061463c826145d5565b604082019050919050565b6000602082019050818103600083015261466081614624565b9050919050565b6000819050919050565b6000819050919050565b600061469661469161468c84614667565b614671565b613831565b9050919050565b6146a68161467b565b82525050565b60006040820190506146c160008301856138c6565b6146ce602083018461469d565b9392505050565b7f4d757374206f776e206174206c6561737420312042616e616e6f20746f206d7560008201527f746174652c206f72206d61782062616e616e61732e0000000000000000000000602082015250565b6000614731603583613781565b915061473c826146d5565b604082019050919050565b6000602082019050818103600083015261476081614724565b9050919050565b600061477282613831565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147a5576147a4614320565b5b600182019050919050565b600081905092915050565b50565b60006147cb6000836147b0565b91506147d6826147bb565b600082019050919050565b60006147ec826147be565b9150819050919050565b7f5749544844524157204641494c45442100000000000000000000000000000000600082015250565b600061482c601083613781565b9150614837826147f6565b602082019050919050565b6000602082019050818103600083015261485b8161481f565b9050919050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000614898601483613781565b91506148a382614862565b602082019050919050565b600060208201905081810360008301526148c78161488b565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061492a602f83613781565b9150614935826148ce565b604082019050919050565b600060208201905081810360008301526149598161491d565b9050919050565b600081905092915050565b600061497682613776565b6149808185614960565b9350614990818560208601613792565b80840191505092915050565b60008190508160005260206000209050919050565b600081546149be816141a5565b6149c88186614960565b945060018216600081146149e357600181146149f457614a27565b60ff19831686528186019350614a27565b6149fd8561499c565b60005b83811015614a1f57815481890152600182019150602081019050614a00565b838801955050505b50505092915050565b6000614a3c828661496b565b9150614a48828561496b565b9150614a5482846149b1565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614abd602683613781565b9150614ac882614a61565b604082019050919050565b60006020820190508181036000830152614aec81614ab0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b29602083613781565b9150614b3482614af3565b602082019050919050565b60006020820190508181036000830152614b5881614b1c565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614b8682614b5f565b614b908185614b6a565b9350614ba0818560208601613792565b614ba9816137c5565b840191505092915050565b6000608082019050614bc960008301876138c6565b614bd660208301866138c6565b614be36040830185613b33565b8181036060830152614bf58184614b7b565b905095945050505050565b600081519050614c0f816136e7565b92915050565b600060208284031215614c2b57614c2a6136b1565b5b6000614c3984828501614c00565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c7c82613831565b9150614c8783613831565b925082614c9757614c96614c42565b5b828204905092915050565b6000614cad82613831565b9150614cb883613831565b925082821015614ccb57614cca614320565b5b828203905092915050565b6000614ce182613831565b9150614cec83613831565b925082614cfc57614cfb614c42565b5b82820690509291505056fea2646970667358221220919814e91bc40fd455f24b4a7e1c8d29956160e4c95faf1870fa9807f07e0fc164736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e6d48bf4ee912235398b96e16db6f310c21e82cb00000000000000000000000050beffd8a0808314d3cc81b3cbf7f1afa3a6b56c000000000000000000000000000000000000000000000000000000000000000e41706520486174657220436c756200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034148430000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Ape Hater Club
Arg [1] : symbol (string): AHC
Arg [2] : ghnftAddress (address): 0xE6d48bF4ee912235398b96E16Db6F310c21e82CB
Arg [3] : bnnoAddress (address): 0x50BEfFd8A0808314d3cc81B3cbF7f1AFA3A6B56c
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000e6d48bf4ee912235398b96e16db6f310c21e82cb
Arg [3] : 00000000000000000000000050beffd8a0808314d3cc81b3cbf7f1afa3a6b56c
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [5] : 41706520486174657220436c7562000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 4148430000000000000000000000000000000000000000000000000000000000
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.