Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
3,599 POOPOOS
Holders
1,172
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 POOPOOSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CryptoPooPoos
Compiler Version
v0.8.10+commit.fc410830
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.10; /** iiii>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Good girl, RayRay>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>iii iii>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>iiii <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< >>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<!WOOF<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<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<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>> >>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<q$$$$@mYXYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYO@@@@@B~<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>> >>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<q$$$$@mYXYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYO@@@@@B~<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>> >>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<q$$$$@mYXYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYUCCCCCLWW&&W#?<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>> >>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<q$$$$@mYXYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYUY@@@@@%-<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>> */ // Contract by: @backseats_eth import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; // Errors error ExceedsMaxSupply(); error ClaimClosed(); error MintClosed(); error NoContracts(); error WrongAmount(); error WrongETHAmount(); error AlreadyMinted(); error RayRaysEmpty(); // CryptoRayRays Interface interface IRayRay { function balanceOf(address owner) external returns (uint256); function tokenOfOwnerByIndex(address owner, uint256 index) external returns (uint256); } // CryptoPooPoos Contract contract CryptoPooPoos is ERC721A, ERC2981, Ownable { // RayRay's home on-chain address public constant RAY_RAYS_CONTRACT = 0x8d4E2435c262eB6df10E5e4672A8f07E42D8d67e; // The withdraw address for contract funds address public _withdrawAddress = 0xF75a7D7cC5991630FB44EAA74D938bd28e35E87E; // A mapping of CryptoRayRay IDs to whether they've been used to mint a CryptoPooPoo mapping(uint256 => bool) public _rayRayClaimUsed; // The price is 0.0123 ETH uint256 public price = 0.0123 ether; // RayRay took 20,000 PooPoos. She's been busy! uint256 public constant MAX_SUPPLY = 20_000; // Reserving 100 CryptoPooPoos for the team uint256 public constant TEAM_MINT_SUPPLY = 100; // Whether the team has claimed their 100 CryptoPooPoos bool public _teamMintFinished; // The URI where our data can be found string public _baseTokenURI; // An enum and associated variable tracking the state of the mint enum MintState { CLOSED, CLAIM_OR_PURCHASE, PURCHASE } MintState public _mintState; // Modifiers modifier ensureSupply(uint256 _amount){ if (totalSupply() + _amount > MAX_SUPPLY) revert ExceedsMaxSupply(); _; } modifier noContracts() { if (msg.sender != tx.origin) revert NoContracts(); _; } modifier squatting() { if (_mintState != MintState.CLAIM_OR_PURCHASE) revert ClaimClosed(); _; } modifier mintOpen() { if (_mintState == MintState.CLOSED) revert MintClosed(); _; } // Constructor constructor() ERC721A("CryptoPooPoos", "POOPOOS") {} /** @notice 10,000 CryptoPooPoos, claimable by RayRay holders. Use the `checkIfClaimed` method to see if your CryptoRayRay has been used to claim a CryptoPooPoo yet */ function claimPooPoos() external squatting() noContracts() { IRayRay rr = IRayRay(RAY_RAYS_CONTRACT); uint256 tokenCount = rr.balanceOf(msg.sender); uint256[] memory _rayRayIDs = new uint256[](tokenCount); for(uint256 i; i < tokenCount; i++){ _rayRayIDs[i] = rr.tokenOfOwnerByIndex(msg.sender, i); } uint256 length = _rayRayIDs.length; if (length == 0) revert RayRaysEmpty(); uint256 count; for(uint256 i; i < length;) { if (_rayRayClaimUsed[_rayRayIDs[i]] == false) { _rayRayClaimUsed[_rayRayIDs[i]] = true; unchecked { ++count; } } unchecked { ++i; } } if (totalSupply() + count > MAX_SUPPLY) revert ExceedsMaxSupply(); _mint(msg.sender, count); } /** @notice 10,000 PooPoos for sale */ function mintYourPooPoo(uint256 _amount) external payable mintOpen() noContracts() ensureSupply(_amount) { if (_amount > 20) revert WrongAmount(); if (_amount * price != msg.value) revert WrongETHAmount(); _mint(msg.sender, _amount); } /** @notice Team reserves 100 CryptoPooPoos for promotion and marketing purposes */ function teamMint() external onlyOwner ensureSupply(TEAM_MINT_SUPPLY) { if(_teamMintFinished) revert AlreadyMinted(); _teamMintFinished = true; _mint(_withdrawAddress, TEAM_MINT_SUPPLY); } // Setters /** @notice Sets the contract-wide royalty info */ function setRoyaltyInfo(address _receiver, uint96 _feeBasisPoints) external onlyOwner { _setDefaultRoyalty(_receiver, _feeBasisPoints); } /** @notice Sets the baseURI for the collection */ function setBaseURI(string calldata _baseURI) external onlyOwner { _baseTokenURI = _baseURI; } /** @notice Sets the mint state for the contract */ function setMintState(uint256 _status) external onlyOwner { require(_status <= uint256(MintState.PURCHASE), "Bad status"); _mintState = MintState(_status); } /** @notice Sets the withdraw address */ function setWithdrawAddress(address _val) external onlyOwner { _withdrawAddress = _val; } // Important: Set new price in wei (i.e. 50000000000000000 for 0.05 ETH) function setPrice(uint _newPrice) external onlyOwner { price = _newPrice; } // View Functions /** @notice Checks if the CryptoRayRay ID was used to mint a CryptoPooPoo yet */ function checkIfClaimed(uint256 _id) external view returns (bool) { return _rayRayClaimUsed[_id]; } /** @notice Returns the IDs of the CryptoPooPoos of the wallet in question */ 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; } } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual override returns (uint256) { return 1; } /** @notice Returns the baseURI of the collection */ function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } /** @notice Boilerplate to support ERC721A and ERC2981 */ function supportsInterface(bytes4 interfaceId) public view override(ERC721A, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } // Withdraw function withdrawFunds() external onlyOwner { (bool sent, ) = payable(_withdrawAddress).call{value: address(this).balance}(''); require(sent); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.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'; /** * @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, IERC721A { using Address for address; using Strings for uint256; // 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 override 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) if (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) if(!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()) if(!_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; } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ 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 { 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 (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 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) 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; 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 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 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A is IERC721, IERC721Metadata { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); // 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; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); }
// 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.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyMinted","type":"error"},{"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":"ClaimClosed","type":"error"},{"inputs":[],"name":"ExceedsMaxSupply","type":"error"},{"inputs":[],"name":"MintClosed","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NoContracts","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"RayRaysEmpty","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"WrongAmount","type":"error"},{"inputs":[],"name":"WrongETHAmount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RAY_RAYS_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_MINT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintState","outputs":[{"internalType":"enum CryptoPooPoos.MintState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_rayRayClaimUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_teamMintFinished","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_withdrawAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"_id","type":"uint256"}],"name":"checkIfClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimPooPoos","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintYourPooPoo","outputs":[],"stateMutability":"payable","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_status","type":"uint256"}],"name":"setMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeBasisPoints","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_val","type":"address"}],"name":"setWithdrawAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","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":[],"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":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405273f75a7d7cc5991630fb44eaa74d938bd28e35e87e600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550662bb2c8eabcc000600d553480156200007157600080fd5b506040518060400160405280600d81526020017f43727970746f506f6f506f6f73000000000000000000000000000000000000008152506040518060400160405280600781526020017f504f4f504f4f53000000000000000000000000000000000000000000000000008152508160029080519060200190620000f692919062000225565b5080600390805190602001906200010f92919062000225565b50620001206200014e60201b60201c565b6000819055505050620001486200013c6200015760201b60201c565b6200015f60201b60201c565b6200033a565b60006001905090565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002339062000304565b90600052602060002090601f016020900481019282620002575760008555620002a3565b82601f106200027257805160ff1916838001178555620002a3565b82800160010185558215620002a3579182015b82811115620002a257825182559160200191906001019062000285565b5b509050620002b29190620002b6565b5090565b5b80821115620002d1576000816000905550600101620002b7565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200031d57607f821691505b60208210811415620003345762000333620002d5565b5b50919050565b614577806200034a6000396000f3fe6080604052600436106102255760003560e01c80636f3a1b4011610123578063b0a7012d116100ab578063e2da1bc01161006f578063e2da1bc0146107e5578063e985e9c514610810578063ed716a371461084d578063f2fde38b14610878578063fd07bf18146108a157610225565b8063b0a7012d14610712578063b88d4fde1461073d578063ba7a86b814610766578063c87b56dd1461077d578063cfc86f7b146107ba57610225565b80638da5cb5b116100f25780638da5cb5b1461063f57806391b7f5ed1461066a57806395d89b4114610693578063a035b1fe146106be578063a22cb465146106e957610225565b80636f3a1b401461058357806370a08231146105ae578063715018a6146105eb5780638462151c1461060257610225565b806324600fc3116101b157806344bbabad1161017557806344bbabad1461048c5780634528e08d146104c9578063503eb099146104e057806355f804b31461051d5780636352211e1461054657610225565b806324600fc3146103ba5780632a55205a146103d157806332cb6b0c1461040f5780633ab1a4941461043a57806342842e0e1461046357610225565b8063081812fc116101f8578063081812fc146102d7578063095ea7b3146103145780630bb862d11461033d57806318160ddd1461036657806323b872dd1461039157610225565b806301ffc9a71461022a578063023798db1461026757806302fa7c471461028357806306fdde03146102ac575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c919061362e565b6108cc565b60405161025e9190613676565b60405180910390f35b610281600480360381019061027c91906136c7565b6108de565b005b34801561028f57600080fd5b506102aa60048036038101906102a59190613796565b610a8f565b005b3480156102b857600080fd5b506102c1610b19565b6040516102ce919061386f565b60405180910390f35b3480156102e357600080fd5b506102fe60048036038101906102f991906136c7565b610bab565b60405161030b91906138a0565b60405180910390f35b34801561032057600080fd5b5061033b600480360381019061033691906138bb565b610c27565b005b34801561034957600080fd5b50610364600480360381019061035f91906136c7565b610d2c565b005b34801561037257600080fd5b5061037b610e3c565b604051610388919061390a565b60405180910390f35b34801561039d57600080fd5b506103b860048036038101906103b39190613925565b610e53565b005b3480156103c657600080fd5b506103cf610e63565b005b3480156103dd57600080fd5b506103f860048036038101906103f39190613978565b610f7a565b6040516104069291906139b8565b60405180910390f35b34801561041b57600080fd5b50610424611165565b604051610431919061390a565b60405180910390f35b34801561044657600080fd5b50610461600480360381019061045c91906139e1565b61116b565b005b34801561046f57600080fd5b5061048a60048036038101906104859190613925565b61122b565b005b34801561049857600080fd5b506104b360048036038101906104ae91906136c7565b61124b565b6040516104c09190613676565b60405180910390f35b3480156104d557600080fd5b506104de61126b565b005b3480156104ec57600080fd5b50610507600480360381019061050291906136c7565b61162b565b6040516105149190613676565b60405180910390f35b34801561052957600080fd5b50610544600480360381019061053f9190613a73565b611655565b005b34801561055257600080fd5b5061056d600480360381019061056891906136c7565b6116e7565b60405161057a91906138a0565b60405180910390f35b34801561058f57600080fd5b506105986116fd565b6040516105a59190613b37565b60405180910390f35b3480156105ba57600080fd5b506105d560048036038101906105d091906139e1565b611710565b6040516105e2919061390a565b60405180910390f35b3480156105f757600080fd5b506106006117e0565b005b34801561060e57600080fd5b50610629600480360381019061062491906139e1565b611868565b6040516106369190613c10565b60405180910390f35b34801561064b57600080fd5b50610654611a6a565b60405161066191906138a0565b60405180910390f35b34801561067657600080fd5b50610691600480360381019061068c91906136c7565b611a94565b005b34801561069f57600080fd5b506106a8611b1a565b6040516106b5919061386f565b60405180910390f35b3480156106ca57600080fd5b506106d3611bac565b6040516106e0919061390a565b60405180910390f35b3480156106f557600080fd5b50610710600480360381019061070b9190613c5e565b611bb2565b005b34801561071e57600080fd5b50610727611d2a565b6040516107349190613676565b60405180910390f35b34801561074957600080fd5b50610764600480360381019061075f9190613dce565b611d3d565b005b34801561077257600080fd5b5061077b611db5565b005b34801561078957600080fd5b506107a4600480360381019061079f91906136c7565b611f13565b6040516107b1919061386f565b60405180910390f35b3480156107c657600080fd5b506107cf611fb2565b6040516107dc919061386f565b60405180910390f35b3480156107f157600080fd5b506107fa612040565b604051610807919061390a565b60405180910390f35b34801561081c57600080fd5b5061083760048036038101906108329190613e51565b612045565b6040516108449190613676565b60405180910390f35b34801561085957600080fd5b506108626120d9565b60405161086f91906138a0565b60405180910390f35b34801561088457600080fd5b5061089f600480360381019061089a91906139e1565b6120f1565b005b3480156108ad57600080fd5b506108b66121e9565b6040516108c391906138a0565b60405180910390f35b60006108d78261220f565b9050919050565b600060028111156108f2576108f1613ac0565b5b601060009054906101000a900460ff16600281111561091457610913613ac0565b5b141561094c576040517f589ed34b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109b1576040517f875fdad700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80614e20816109be610e3c565b6109c89190613ec0565b1115610a00576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6014821115610a3b576040517f49986e7300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b34600d5483610a4a9190613f16565b14610a81576040517fecf2a26300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a8b3383612289565b5050565b610a97612565565b73ffffffffffffffffffffffffffffffffffffffff16610ab5611a6a565b73ffffffffffffffffffffffffffffffffffffffff1614610b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0290613fbc565b60405180910390fd5b610b15828261256d565b5050565b606060028054610b289061400b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b549061400b565b8015610ba15780601f10610b7657610100808354040283529160200191610ba1565b820191906000526020600020905b815481529060010190602001808311610b8457829003601f168201915b5050505050905090565b6000610bb682612703565b610bec576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c32826116e7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c9a576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cb9612565565b73ffffffffffffffffffffffffffffffffffffffff1614610d1c57610ce581610ce0612565565b612045565b610d1b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610d27838383612751565b505050565b610d34612565565b73ffffffffffffffffffffffffffffffffffffffff16610d52611a6a565b73ffffffffffffffffffffffffffffffffffffffff1614610da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9f90613fbc565b60405180910390fd5b600280811115610dbb57610dba613ac0565b5b811115610dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df490614089565b60405180910390fd5b806002811115610e1057610e0f613ac0565b5b601060006101000a81548160ff02191690836002811115610e3457610e33613ac0565b5b021790555050565b6000610e46612803565b6001546000540303905090565b610e5e83838361280c565b505050565b610e6b612565565b73ffffffffffffffffffffffffffffffffffffffff16610e89611a6a565b73ffffffffffffffffffffffffffffffffffffffff1614610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed690613fbc565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051610f27906140da565b60006040518083038185875af1925050503d8060008114610f64576040519150601f19603f3d011682016040523d82523d6000602084013e610f69565b606091505b5050905080610f7757600080fd5b50565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156111105760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061111a612cc2565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866111469190613f16565b611150919061411e565b90508160000151819350935050509250929050565b614e2081565b611173612565565b73ffffffffffffffffffffffffffffffffffffffff16611191611a6a565b73ffffffffffffffffffffffffffffffffffffffff16146111e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111de90613fbc565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61124683838360405180602001604052806000815250611d3d565b505050565b600c6020528060005260406000206000915054906101000a900460ff1681565b6001600281111561127f5761127e613ac0565b5b601060009054906101000a900460ff1660028111156112a1576112a0613ac0565b5b146112d8576040517ff6e8504100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461133d576040517f875fdad700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000738d4e2435c262eb6df10e5e4672a8f07e42d8d67e905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161139191906138a0565b6020604051808303816000875af11580156113b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d49190614164565b905060008167ffffffffffffffff8111156113f2576113f1613ca3565b5b6040519080825280602002602001820160405280156114205781602001602082028036833780820191505090505b50905060005b828110156114de578373ffffffffffffffffffffffffffffffffffffffff16632f745c5933836040518363ffffffff1660e01b81526004016114699291906139b8565b6020604051808303816000875af1158015611488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ac9190614164565b8282815181106114bf576114be614191565b5b60200260200101818152505080806114d6906141c0565b915050611426565b506000815190506000811415611520576040517f20957ee800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805b828110156115cb5760001515600c600086848151811061154757611546614191565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff16151514156115c0576001600c600086848151811061158c5761158b614191565b5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055508160010191505b806001019050611524565b50614e20816115d8610e3c565b6115e29190613ec0565b111561161a576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116243382612289565b5050505050565b6000600c600083815260200190815260200160002060009054906101000a900460ff169050919050565b61165d612565565b73ffffffffffffffffffffffffffffffffffffffff1661167b611a6a565b73ffffffffffffffffffffffffffffffffffffffff16146116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c890613fbc565b60405180910390fd5b8181600f91906116e29291906134dc565b505050565b60006116f282612ccc565b600001519050919050565b601060009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611778576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6117e8612565565b73ffffffffffffffffffffffffffffffffffffffff16611806611a6a565b73ffffffffffffffffffffffffffffffffffffffff161461185c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185390613fbc565b60405180910390fd5b6118666000612f57565b565b6060600080600061187885611710565b905060008167ffffffffffffffff81111561189657611895613ca3565b5b6040519080825280602002602001820160405280156118c45781602001602082028036833780820191505090505b5090506118cf613562565b60006118d9612803565b90505b838614611a5c57600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505091508160400151156119b557611a51565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146119f557816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611a505780838780600101985081518110611a4357611a42614191565b5b6020026020010181815250505b5b8060010190506118dc565b508195505050505050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a9c612565565b73ffffffffffffffffffffffffffffffffffffffff16611aba611a6a565b73ffffffffffffffffffffffffffffffffffffffff1614611b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0790613fbc565b60405180910390fd5b80600d8190555050565b606060038054611b299061400b565b80601f0160208091040260200160405190810160405280929190818152602001828054611b559061400b565b8015611ba25780601f10611b7757610100808354040283529160200191611ba2565b820191906000526020600020905b815481529060010190602001808311611b8557829003601f168201915b5050505050905090565b600d5481565b611bba612565565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c1f576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611c2c612565565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611cd9612565565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d1e9190613676565b60405180910390a35050565b600e60009054906101000a900460ff1681565b611d4884848461280c565b611d678373ffffffffffffffffffffffffffffffffffffffff1661301d565b15611daf57611d7884848484613040565b611dae576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611dbd612565565b73ffffffffffffffffffffffffffffffffffffffff16611ddb611a6a565b73ffffffffffffffffffffffffffffffffffffffff1614611e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2890613fbc565b60405180910390fd5b6064614e2081611e3f610e3c565b611e499190613ec0565b1115611e81576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e60009054906101000a900460ff1615611ec8576040517fddefae2800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550611f10600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064612289565b50565b6060611f1e82612703565b611f54576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611f5e613191565b9050600081511415611f7f5760405180602001604052806000815250611faa565b80611f8984613223565b604051602001611f9a929190614245565b6040516020818303038152906040525b915050919050565b600f8054611fbf9061400b565b80601f0160208091040260200160405190810160405280929190818152602001828054611feb9061400b565b80156120385780601f1061200d57610100808354040283529160200191612038565b820191906000526020600020905b81548152906001019060200180831161201b57829003601f168201915b505050505081565b606481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b738d4e2435c262eb6df10e5e4672a8f07e42d8d67e81565b6120f9612565565b73ffffffffffffffffffffffffffffffffffffffff16612117611a6a565b73ffffffffffffffffffffffffffffffffffffffff161461216d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216490613fbc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d4906142db565b60405180910390fd5b6121e681612f57565b50565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612282575061228182613384565b5b9050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122f6576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612331576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61233e6000848385613466565b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550826004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106124e157816000819055505050612560600084838561346c565b505050565b600033905090565b612575612cc2565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156125d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ca9061436d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263a906143d9565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008161270e612803565b1115801561271d575060005482105b801561274a575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061281782612ccc565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612882576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166128a3612565565b73ffffffffffffffffffffffffffffffffffffffff1614806128d257506128d1856128cc612565565b612045565b5b8061291757506128e0612565565b73ffffffffffffffffffffffffffffffffffffffff166128ff84610bab565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612950576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129b7576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129c48585856001613466565b6129d060008487612751565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612c50576000548214612c4f57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612cbb858585600161346c565b5050505050565b6000612710905090565b612cd4613562565b600082905080612ce2612803565b11612f2057600054811015612f1f576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612f1d57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612e01578092505050612f52565b5b600115612f1c57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612f17578092505050612f52565b612e02565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613066612565565b8786866040518563ffffffff1660e01b8152600401613088949392919061444e565b6020604051808303816000875af19250505080156130c457506040513d601f19601f820116820180604052508101906130c191906144af565b60015b61313e573d80600081146130f4576040519150601f19603f3d011682016040523d82523d6000602084013e6130f9565b606091505b50600081511415613136576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f80546131a09061400b565b80601f01602080910402602001604051908101604052809291908181526020018280546131cc9061400b565b80156132195780601f106131ee57610100808354040283529160200191613219565b820191906000526020600020905b8154815290600101906020018083116131fc57829003601f168201915b5050505050905090565b6060600082141561326b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061337f565b600082905060005b6000821461329d578080613286906141c0565b915050600a82613296919061411e565b9150613273565b60008167ffffffffffffffff8111156132b9576132b8613ca3565b5b6040519080825280601f01601f1916602001820160405280156132eb5781602001600182028036833780820191505090505b5090505b600085146133785760018261330491906144dc565b9150600a856133139190614510565b603061331f9190613ec0565b60f81b81838151811061333557613334614191565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613371919061411e565b94506132ef565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061344f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061345f575061345e82613472565b5b9050919050565b50505050565b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546134e89061400b565b90600052602060002090601f01602090048101928261350a5760008555613551565b82601f1061352357803560ff1916838001178555613551565b82800160010185558215613551579182015b82811115613550578235825591602001919060010190613535565b5b50905061355e91906135a5565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156135be5760008160009055506001016135a6565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61360b816135d6565b811461361657600080fd5b50565b60008135905061362881613602565b92915050565b600060208284031215613644576136436135cc565b5b600061365284828501613619565b91505092915050565b60008115159050919050565b6136708161365b565b82525050565b600060208201905061368b6000830184613667565b92915050565b6000819050919050565b6136a481613691565b81146136af57600080fd5b50565b6000813590506136c18161369b565b92915050565b6000602082840312156136dd576136dc6135cc565b5b60006136eb848285016136b2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061371f826136f4565b9050919050565b61372f81613714565b811461373a57600080fd5b50565b60008135905061374c81613726565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61377381613752565b811461377e57600080fd5b50565b6000813590506137908161376a565b92915050565b600080604083850312156137ad576137ac6135cc565b5b60006137bb8582860161373d565b92505060206137cc85828601613781565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138105780820151818401526020810190506137f5565b8381111561381f576000848401525b50505050565b6000601f19601f8301169050919050565b6000613841826137d6565b61384b81856137e1565b935061385b8185602086016137f2565b61386481613825565b840191505092915050565b600060208201905081810360008301526138898184613836565b905092915050565b61389a81613714565b82525050565b60006020820190506138b56000830184613891565b92915050565b600080604083850312156138d2576138d16135cc565b5b60006138e08582860161373d565b92505060206138f1858286016136b2565b9150509250929050565b61390481613691565b82525050565b600060208201905061391f60008301846138fb565b92915050565b60008060006060848603121561393e5761393d6135cc565b5b600061394c8682870161373d565b935050602061395d8682870161373d565b925050604061396e868287016136b2565b9150509250925092565b6000806040838503121561398f5761398e6135cc565b5b600061399d858286016136b2565b92505060206139ae858286016136b2565b9150509250929050565b60006040820190506139cd6000830185613891565b6139da60208301846138fb565b9392505050565b6000602082840312156139f7576139f66135cc565b5b6000613a058482850161373d565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613a3357613a32613a0e565b5b8235905067ffffffffffffffff811115613a5057613a4f613a13565b5b602083019150836001820283011115613a6c57613a6b613a18565b5b9250929050565b60008060208385031215613a8a57613a896135cc565b5b600083013567ffffffffffffffff811115613aa857613aa76135d1565b5b613ab485828601613a1d565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613b0057613aff613ac0565b5b50565b6000819050613b1182613aef565b919050565b6000613b2182613b03565b9050919050565b613b3181613b16565b82525050565b6000602082019050613b4c6000830184613b28565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b8781613691565b82525050565b6000613b998383613b7e565b60208301905092915050565b6000602082019050919050565b6000613bbd82613b52565b613bc78185613b5d565b9350613bd283613b6e565b8060005b83811015613c03578151613bea8882613b8d565b9750613bf583613ba5565b925050600181019050613bd6565b5085935050505092915050565b60006020820190508181036000830152613c2a8184613bb2565b905092915050565b613c3b8161365b565b8114613c4657600080fd5b50565b600081359050613c5881613c32565b92915050565b60008060408385031215613c7557613c746135cc565b5b6000613c838582860161373d565b9250506020613c9485828601613c49565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613cdb82613825565b810181811067ffffffffffffffff82111715613cfa57613cf9613ca3565b5b80604052505050565b6000613d0d6135c2565b9050613d198282613cd2565b919050565b600067ffffffffffffffff821115613d3957613d38613ca3565b5b613d4282613825565b9050602081019050919050565b82818337600083830152505050565b6000613d71613d6c84613d1e565b613d03565b905082815260208101848484011115613d8d57613d8c613c9e565b5b613d98848285613d4f565b509392505050565b600082601f830112613db557613db4613a0e565b5b8135613dc5848260208601613d5e565b91505092915050565b60008060008060808587031215613de857613de76135cc565b5b6000613df68782880161373d565b9450506020613e078782880161373d565b9350506040613e18878288016136b2565b925050606085013567ffffffffffffffff811115613e3957613e386135d1565b5b613e4587828801613da0565b91505092959194509250565b60008060408385031215613e6857613e676135cc565b5b6000613e768582860161373d565b9250506020613e878582860161373d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ecb82613691565b9150613ed683613691565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f0b57613f0a613e91565b5b828201905092915050565b6000613f2182613691565b9150613f2c83613691565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f6557613f64613e91565b5b828202905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613fa66020836137e1565b9150613fb182613f70565b602082019050919050565b60006020820190508181036000830152613fd581613f99565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061402357607f821691505b6020821081141561403757614036613fdc565b5b50919050565b7f4261642073746174757300000000000000000000000000000000000000000000600082015250565b6000614073600a836137e1565b915061407e8261403d565b602082019050919050565b600060208201905081810360008301526140a281614066565b9050919050565b600081905092915050565b50565b60006140c46000836140a9565b91506140cf826140b4565b600082019050919050565b60006140e5826140b7565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061412982613691565b915061413483613691565b925082614144576141436140ef565b5b828204905092915050565b60008151905061415e8161369b565b92915050565b60006020828403121561417a576141796135cc565b5b60006141888482850161414f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006141cb82613691565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141fe576141fd613e91565b5b600182019050919050565b600081905092915050565b600061421f826137d6565b6142298185614209565b93506142398185602086016137f2565b80840191505092915050565b60006142518285614214565b915061425d8284614214565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006142c56026836137e1565b91506142d082614269565b604082019050919050565b600060208201905081810360008301526142f4816142b8565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614357602a836137e1565b9150614362826142fb565b604082019050919050565b600060208201905081810360008301526143868161434a565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006143c36019836137e1565b91506143ce8261438d565b602082019050919050565b600060208201905081810360008301526143f2816143b6565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614420826143f9565b61442a8185614404565b935061443a8185602086016137f2565b61444381613825565b840191505092915050565b60006080820190506144636000830187613891565b6144706020830186613891565b61447d60408301856138fb565b818103606083015261448f8184614415565b905095945050505050565b6000815190506144a981613602565b92915050565b6000602082840312156144c5576144c46135cc565b5b60006144d38482850161449a565b91505092915050565b60006144e782613691565b91506144f283613691565b92508282101561450557614504613e91565b5b828203905092915050565b600061451b82613691565b915061452683613691565b925082614536576145356140ef565b5b82820690509291505056fea26469706673582212209cc0ac40ba755ee7232a81ed9b6df829e1074dbd6c67f79d4255b8338aa0f23364736f6c634300080a0033
Deployed Bytecode
0x6080604052600436106102255760003560e01c80636f3a1b4011610123578063b0a7012d116100ab578063e2da1bc01161006f578063e2da1bc0146107e5578063e985e9c514610810578063ed716a371461084d578063f2fde38b14610878578063fd07bf18146108a157610225565b8063b0a7012d14610712578063b88d4fde1461073d578063ba7a86b814610766578063c87b56dd1461077d578063cfc86f7b146107ba57610225565b80638da5cb5b116100f25780638da5cb5b1461063f57806391b7f5ed1461066a57806395d89b4114610693578063a035b1fe146106be578063a22cb465146106e957610225565b80636f3a1b401461058357806370a08231146105ae578063715018a6146105eb5780638462151c1461060257610225565b806324600fc3116101b157806344bbabad1161017557806344bbabad1461048c5780634528e08d146104c9578063503eb099146104e057806355f804b31461051d5780636352211e1461054657610225565b806324600fc3146103ba5780632a55205a146103d157806332cb6b0c1461040f5780633ab1a4941461043a57806342842e0e1461046357610225565b8063081812fc116101f8578063081812fc146102d7578063095ea7b3146103145780630bb862d11461033d57806318160ddd1461036657806323b872dd1461039157610225565b806301ffc9a71461022a578063023798db1461026757806302fa7c471461028357806306fdde03146102ac575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c919061362e565b6108cc565b60405161025e9190613676565b60405180910390f35b610281600480360381019061027c91906136c7565b6108de565b005b34801561028f57600080fd5b506102aa60048036038101906102a59190613796565b610a8f565b005b3480156102b857600080fd5b506102c1610b19565b6040516102ce919061386f565b60405180910390f35b3480156102e357600080fd5b506102fe60048036038101906102f991906136c7565b610bab565b60405161030b91906138a0565b60405180910390f35b34801561032057600080fd5b5061033b600480360381019061033691906138bb565b610c27565b005b34801561034957600080fd5b50610364600480360381019061035f91906136c7565b610d2c565b005b34801561037257600080fd5b5061037b610e3c565b604051610388919061390a565b60405180910390f35b34801561039d57600080fd5b506103b860048036038101906103b39190613925565b610e53565b005b3480156103c657600080fd5b506103cf610e63565b005b3480156103dd57600080fd5b506103f860048036038101906103f39190613978565b610f7a565b6040516104069291906139b8565b60405180910390f35b34801561041b57600080fd5b50610424611165565b604051610431919061390a565b60405180910390f35b34801561044657600080fd5b50610461600480360381019061045c91906139e1565b61116b565b005b34801561046f57600080fd5b5061048a60048036038101906104859190613925565b61122b565b005b34801561049857600080fd5b506104b360048036038101906104ae91906136c7565b61124b565b6040516104c09190613676565b60405180910390f35b3480156104d557600080fd5b506104de61126b565b005b3480156104ec57600080fd5b50610507600480360381019061050291906136c7565b61162b565b6040516105149190613676565b60405180910390f35b34801561052957600080fd5b50610544600480360381019061053f9190613a73565b611655565b005b34801561055257600080fd5b5061056d600480360381019061056891906136c7565b6116e7565b60405161057a91906138a0565b60405180910390f35b34801561058f57600080fd5b506105986116fd565b6040516105a59190613b37565b60405180910390f35b3480156105ba57600080fd5b506105d560048036038101906105d091906139e1565b611710565b6040516105e2919061390a565b60405180910390f35b3480156105f757600080fd5b506106006117e0565b005b34801561060e57600080fd5b50610629600480360381019061062491906139e1565b611868565b6040516106369190613c10565b60405180910390f35b34801561064b57600080fd5b50610654611a6a565b60405161066191906138a0565b60405180910390f35b34801561067657600080fd5b50610691600480360381019061068c91906136c7565b611a94565b005b34801561069f57600080fd5b506106a8611b1a565b6040516106b5919061386f565b60405180910390f35b3480156106ca57600080fd5b506106d3611bac565b6040516106e0919061390a565b60405180910390f35b3480156106f557600080fd5b50610710600480360381019061070b9190613c5e565b611bb2565b005b34801561071e57600080fd5b50610727611d2a565b6040516107349190613676565b60405180910390f35b34801561074957600080fd5b50610764600480360381019061075f9190613dce565b611d3d565b005b34801561077257600080fd5b5061077b611db5565b005b34801561078957600080fd5b506107a4600480360381019061079f91906136c7565b611f13565b6040516107b1919061386f565b60405180910390f35b3480156107c657600080fd5b506107cf611fb2565b6040516107dc919061386f565b60405180910390f35b3480156107f157600080fd5b506107fa612040565b604051610807919061390a565b60405180910390f35b34801561081c57600080fd5b5061083760048036038101906108329190613e51565b612045565b6040516108449190613676565b60405180910390f35b34801561085957600080fd5b506108626120d9565b60405161086f91906138a0565b60405180910390f35b34801561088457600080fd5b5061089f600480360381019061089a91906139e1565b6120f1565b005b3480156108ad57600080fd5b506108b66121e9565b6040516108c391906138a0565b60405180910390f35b60006108d78261220f565b9050919050565b600060028111156108f2576108f1613ac0565b5b601060009054906101000a900460ff16600281111561091457610913613ac0565b5b141561094c576040517f589ed34b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109b1576040517f875fdad700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80614e20816109be610e3c565b6109c89190613ec0565b1115610a00576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6014821115610a3b576040517f49986e7300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b34600d5483610a4a9190613f16565b14610a81576040517fecf2a26300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a8b3383612289565b5050565b610a97612565565b73ffffffffffffffffffffffffffffffffffffffff16610ab5611a6a565b73ffffffffffffffffffffffffffffffffffffffff1614610b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0290613fbc565b60405180910390fd5b610b15828261256d565b5050565b606060028054610b289061400b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b549061400b565b8015610ba15780601f10610b7657610100808354040283529160200191610ba1565b820191906000526020600020905b815481529060010190602001808311610b8457829003601f168201915b5050505050905090565b6000610bb682612703565b610bec576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c32826116e7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c9a576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cb9612565565b73ffffffffffffffffffffffffffffffffffffffff1614610d1c57610ce581610ce0612565565b612045565b610d1b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610d27838383612751565b505050565b610d34612565565b73ffffffffffffffffffffffffffffffffffffffff16610d52611a6a565b73ffffffffffffffffffffffffffffffffffffffff1614610da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9f90613fbc565b60405180910390fd5b600280811115610dbb57610dba613ac0565b5b811115610dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df490614089565b60405180910390fd5b806002811115610e1057610e0f613ac0565b5b601060006101000a81548160ff02191690836002811115610e3457610e33613ac0565b5b021790555050565b6000610e46612803565b6001546000540303905090565b610e5e83838361280c565b505050565b610e6b612565565b73ffffffffffffffffffffffffffffffffffffffff16610e89611a6a565b73ffffffffffffffffffffffffffffffffffffffff1614610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed690613fbc565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051610f27906140da565b60006040518083038185875af1925050503d8060008114610f64576040519150601f19603f3d011682016040523d82523d6000602084013e610f69565b606091505b5050905080610f7757600080fd5b50565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156111105760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061111a612cc2565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866111469190613f16565b611150919061411e565b90508160000151819350935050509250929050565b614e2081565b611173612565565b73ffffffffffffffffffffffffffffffffffffffff16611191611a6a565b73ffffffffffffffffffffffffffffffffffffffff16146111e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111de90613fbc565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61124683838360405180602001604052806000815250611d3d565b505050565b600c6020528060005260406000206000915054906101000a900460ff1681565b6001600281111561127f5761127e613ac0565b5b601060009054906101000a900460ff1660028111156112a1576112a0613ac0565b5b146112d8576040517ff6e8504100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461133d576040517f875fdad700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000738d4e2435c262eb6df10e5e4672a8f07e42d8d67e905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161139191906138a0565b6020604051808303816000875af11580156113b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d49190614164565b905060008167ffffffffffffffff8111156113f2576113f1613ca3565b5b6040519080825280602002602001820160405280156114205781602001602082028036833780820191505090505b50905060005b828110156114de578373ffffffffffffffffffffffffffffffffffffffff16632f745c5933836040518363ffffffff1660e01b81526004016114699291906139b8565b6020604051808303816000875af1158015611488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ac9190614164565b8282815181106114bf576114be614191565b5b60200260200101818152505080806114d6906141c0565b915050611426565b506000815190506000811415611520576040517f20957ee800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805b828110156115cb5760001515600c600086848151811061154757611546614191565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff16151514156115c0576001600c600086848151811061158c5761158b614191565b5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055508160010191505b806001019050611524565b50614e20816115d8610e3c565b6115e29190613ec0565b111561161a576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116243382612289565b5050505050565b6000600c600083815260200190815260200160002060009054906101000a900460ff169050919050565b61165d612565565b73ffffffffffffffffffffffffffffffffffffffff1661167b611a6a565b73ffffffffffffffffffffffffffffffffffffffff16146116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c890613fbc565b60405180910390fd5b8181600f91906116e29291906134dc565b505050565b60006116f282612ccc565b600001519050919050565b601060009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611778576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6117e8612565565b73ffffffffffffffffffffffffffffffffffffffff16611806611a6a565b73ffffffffffffffffffffffffffffffffffffffff161461185c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185390613fbc565b60405180910390fd5b6118666000612f57565b565b6060600080600061187885611710565b905060008167ffffffffffffffff81111561189657611895613ca3565b5b6040519080825280602002602001820160405280156118c45781602001602082028036833780820191505090505b5090506118cf613562565b60006118d9612803565b90505b838614611a5c57600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505091508160400151156119b557611a51565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146119f557816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611a505780838780600101985081518110611a4357611a42614191565b5b6020026020010181815250505b5b8060010190506118dc565b508195505050505050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a9c612565565b73ffffffffffffffffffffffffffffffffffffffff16611aba611a6a565b73ffffffffffffffffffffffffffffffffffffffff1614611b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0790613fbc565b60405180910390fd5b80600d8190555050565b606060038054611b299061400b565b80601f0160208091040260200160405190810160405280929190818152602001828054611b559061400b565b8015611ba25780601f10611b7757610100808354040283529160200191611ba2565b820191906000526020600020905b815481529060010190602001808311611b8557829003601f168201915b5050505050905090565b600d5481565b611bba612565565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c1f576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611c2c612565565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611cd9612565565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d1e9190613676565b60405180910390a35050565b600e60009054906101000a900460ff1681565b611d4884848461280c565b611d678373ffffffffffffffffffffffffffffffffffffffff1661301d565b15611daf57611d7884848484613040565b611dae576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611dbd612565565b73ffffffffffffffffffffffffffffffffffffffff16611ddb611a6a565b73ffffffffffffffffffffffffffffffffffffffff1614611e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2890613fbc565b60405180910390fd5b6064614e2081611e3f610e3c565b611e499190613ec0565b1115611e81576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e60009054906101000a900460ff1615611ec8576040517fddefae2800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550611f10600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064612289565b50565b6060611f1e82612703565b611f54576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611f5e613191565b9050600081511415611f7f5760405180602001604052806000815250611faa565b80611f8984613223565b604051602001611f9a929190614245565b6040516020818303038152906040525b915050919050565b600f8054611fbf9061400b565b80601f0160208091040260200160405190810160405280929190818152602001828054611feb9061400b565b80156120385780601f1061200d57610100808354040283529160200191612038565b820191906000526020600020905b81548152906001019060200180831161201b57829003601f168201915b505050505081565b606481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b738d4e2435c262eb6df10e5e4672a8f07e42d8d67e81565b6120f9612565565b73ffffffffffffffffffffffffffffffffffffffff16612117611a6a565b73ffffffffffffffffffffffffffffffffffffffff161461216d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216490613fbc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d4906142db565b60405180910390fd5b6121e681612f57565b50565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612282575061228182613384565b5b9050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122f6576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612331576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61233e6000848385613466565b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550826004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106124e157816000819055505050612560600084838561346c565b505050565b600033905090565b612575612cc2565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156125d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ca9061436d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263a906143d9565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008161270e612803565b1115801561271d575060005482105b801561274a575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061281782612ccc565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612882576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166128a3612565565b73ffffffffffffffffffffffffffffffffffffffff1614806128d257506128d1856128cc612565565b612045565b5b8061291757506128e0612565565b73ffffffffffffffffffffffffffffffffffffffff166128ff84610bab565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612950576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129b7576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129c48585856001613466565b6129d060008487612751565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612c50576000548214612c4f57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612cbb858585600161346c565b5050505050565b6000612710905090565b612cd4613562565b600082905080612ce2612803565b11612f2057600054811015612f1f576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612f1d57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612e01578092505050612f52565b5b600115612f1c57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612f17578092505050612f52565b612e02565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613066612565565b8786866040518563ffffffff1660e01b8152600401613088949392919061444e565b6020604051808303816000875af19250505080156130c457506040513d601f19601f820116820180604052508101906130c191906144af565b60015b61313e573d80600081146130f4576040519150601f19603f3d011682016040523d82523d6000602084013e6130f9565b606091505b50600081511415613136576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f80546131a09061400b565b80601f01602080910402602001604051908101604052809291908181526020018280546131cc9061400b565b80156132195780601f106131ee57610100808354040283529160200191613219565b820191906000526020600020905b8154815290600101906020018083116131fc57829003601f168201915b5050505050905090565b6060600082141561326b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061337f565b600082905060005b6000821461329d578080613286906141c0565b915050600a82613296919061411e565b9150613273565b60008167ffffffffffffffff8111156132b9576132b8613ca3565b5b6040519080825280601f01601f1916602001820160405280156132eb5781602001600182028036833780820191505090505b5090505b600085146133785760018261330491906144dc565b9150600a856133139190614510565b603061331f9190613ec0565b60f81b81838151811061333557613334614191565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613371919061411e565b94506132ef565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061344f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061345f575061345e82613472565b5b9050919050565b50505050565b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546134e89061400b565b90600052602060002090601f01602090048101928261350a5760008555613551565b82601f1061352357803560ff1916838001178555613551565b82800160010185558215613551579182015b82811115613550578235825591602001919060010190613535565b5b50905061355e91906135a5565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156135be5760008160009055506001016135a6565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61360b816135d6565b811461361657600080fd5b50565b60008135905061362881613602565b92915050565b600060208284031215613644576136436135cc565b5b600061365284828501613619565b91505092915050565b60008115159050919050565b6136708161365b565b82525050565b600060208201905061368b6000830184613667565b92915050565b6000819050919050565b6136a481613691565b81146136af57600080fd5b50565b6000813590506136c18161369b565b92915050565b6000602082840312156136dd576136dc6135cc565b5b60006136eb848285016136b2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061371f826136f4565b9050919050565b61372f81613714565b811461373a57600080fd5b50565b60008135905061374c81613726565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61377381613752565b811461377e57600080fd5b50565b6000813590506137908161376a565b92915050565b600080604083850312156137ad576137ac6135cc565b5b60006137bb8582860161373d565b92505060206137cc85828601613781565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138105780820151818401526020810190506137f5565b8381111561381f576000848401525b50505050565b6000601f19601f8301169050919050565b6000613841826137d6565b61384b81856137e1565b935061385b8185602086016137f2565b61386481613825565b840191505092915050565b600060208201905081810360008301526138898184613836565b905092915050565b61389a81613714565b82525050565b60006020820190506138b56000830184613891565b92915050565b600080604083850312156138d2576138d16135cc565b5b60006138e08582860161373d565b92505060206138f1858286016136b2565b9150509250929050565b61390481613691565b82525050565b600060208201905061391f60008301846138fb565b92915050565b60008060006060848603121561393e5761393d6135cc565b5b600061394c8682870161373d565b935050602061395d8682870161373d565b925050604061396e868287016136b2565b9150509250925092565b6000806040838503121561398f5761398e6135cc565b5b600061399d858286016136b2565b92505060206139ae858286016136b2565b9150509250929050565b60006040820190506139cd6000830185613891565b6139da60208301846138fb565b9392505050565b6000602082840312156139f7576139f66135cc565b5b6000613a058482850161373d565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613a3357613a32613a0e565b5b8235905067ffffffffffffffff811115613a5057613a4f613a13565b5b602083019150836001820283011115613a6c57613a6b613a18565b5b9250929050565b60008060208385031215613a8a57613a896135cc565b5b600083013567ffffffffffffffff811115613aa857613aa76135d1565b5b613ab485828601613a1d565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613b0057613aff613ac0565b5b50565b6000819050613b1182613aef565b919050565b6000613b2182613b03565b9050919050565b613b3181613b16565b82525050565b6000602082019050613b4c6000830184613b28565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b8781613691565b82525050565b6000613b998383613b7e565b60208301905092915050565b6000602082019050919050565b6000613bbd82613b52565b613bc78185613b5d565b9350613bd283613b6e565b8060005b83811015613c03578151613bea8882613b8d565b9750613bf583613ba5565b925050600181019050613bd6565b5085935050505092915050565b60006020820190508181036000830152613c2a8184613bb2565b905092915050565b613c3b8161365b565b8114613c4657600080fd5b50565b600081359050613c5881613c32565b92915050565b60008060408385031215613c7557613c746135cc565b5b6000613c838582860161373d565b9250506020613c9485828601613c49565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613cdb82613825565b810181811067ffffffffffffffff82111715613cfa57613cf9613ca3565b5b80604052505050565b6000613d0d6135c2565b9050613d198282613cd2565b919050565b600067ffffffffffffffff821115613d3957613d38613ca3565b5b613d4282613825565b9050602081019050919050565b82818337600083830152505050565b6000613d71613d6c84613d1e565b613d03565b905082815260208101848484011115613d8d57613d8c613c9e565b5b613d98848285613d4f565b509392505050565b600082601f830112613db557613db4613a0e565b5b8135613dc5848260208601613d5e565b91505092915050565b60008060008060808587031215613de857613de76135cc565b5b6000613df68782880161373d565b9450506020613e078782880161373d565b9350506040613e18878288016136b2565b925050606085013567ffffffffffffffff811115613e3957613e386135d1565b5b613e4587828801613da0565b91505092959194509250565b60008060408385031215613e6857613e676135cc565b5b6000613e768582860161373d565b9250506020613e878582860161373d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ecb82613691565b9150613ed683613691565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f0b57613f0a613e91565b5b828201905092915050565b6000613f2182613691565b9150613f2c83613691565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f6557613f64613e91565b5b828202905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613fa66020836137e1565b9150613fb182613f70565b602082019050919050565b60006020820190508181036000830152613fd581613f99565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061402357607f821691505b6020821081141561403757614036613fdc565b5b50919050565b7f4261642073746174757300000000000000000000000000000000000000000000600082015250565b6000614073600a836137e1565b915061407e8261403d565b602082019050919050565b600060208201905081810360008301526140a281614066565b9050919050565b600081905092915050565b50565b60006140c46000836140a9565b91506140cf826140b4565b600082019050919050565b60006140e5826140b7565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061412982613691565b915061413483613691565b925082614144576141436140ef565b5b828204905092915050565b60008151905061415e8161369b565b92915050565b60006020828403121561417a576141796135cc565b5b60006141888482850161414f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006141cb82613691565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141fe576141fd613e91565b5b600182019050919050565b600081905092915050565b600061421f826137d6565b6142298185614209565b93506142398185602086016137f2565b80840191505092915050565b60006142518285614214565b915061425d8284614214565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006142c56026836137e1565b91506142d082614269565b604082019050919050565b600060208201905081810360008301526142f4816142b8565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614357602a836137e1565b9150614362826142fb565b604082019050919050565b600060208201905081810360008301526143868161434a565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006143c36019836137e1565b91506143ce8261438d565b602082019050919050565b600060208201905081810360008301526143f2816143b6565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614420826143f9565b61442a8185614404565b935061443a8185602086016137f2565b61444381613825565b840191505092915050565b60006080820190506144636000830187613891565b6144706020830186613891565b61447d60408301856138fb565b818103606083015261448f8184614415565b905095945050505050565b6000815190506144a981613602565b92915050565b6000602082840312156144c5576144c46135cc565b5b60006144d38482850161449a565b91505092915050565b60006144e782613691565b91506144f283613691565b92508282101561450557614504613e91565b5b828203905092915050565b600061451b82613691565b915061452683613691565b925082614536576145356140ef565b5b82820690509291505056fea26469706673582212209cc0ac40ba755ee7232a81ed9b6df829e1074dbd6c67f79d4255b8338aa0f23364736f6c634300080a0033
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.