ERC-721
Overview
Max Total Supply
9,915 CPP
Holders
305
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
20 CPPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CryptoPepePunks
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//Frogtober 2022 // ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄ ▄ ▄▄▄ ▄ ▄▄▄▄▄▄▄ //█ █ ▄ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ //█ █ █ █ █ █ █▄█ █ ▄ █▄ ▄█ ▄ █ ▄ █ ▄▄▄█ ▄ █ ▄▄▄█ ▄ █ █ █ █ █▄█ █ █▄█ █ ▄▄▄▄▄█ //█ ▄▄█ █▄▄█▄█ █ █▄█ █ █ █ █ █ █ █ █▄█ █ █▄▄▄█ █▄█ █ █▄▄▄█ █▄█ █ █▄█ █ █ ▄█ █▄▄▄▄▄ //█ █ █ ▄▄ █▄ ▄█ ▄▄▄█ █ █ █ █▄█ █ ▄▄▄█ ▄▄▄█ ▄▄▄█ ▄▄▄█ ▄▄▄█ █ ▄ █ █▄█▄▄▄▄▄ █ //█ █▄▄█ █ █ █ █ █ █ █ █ █ █ █ █ █ █▄▄▄█ █ █ █▄▄▄█ █ █ █ █ █ █ ▄ █▄▄▄▄▄█ █ //█▄▄▄▄▄▄▄█▄▄▄█ █▄█ █▄▄▄█ █▄▄▄█ █▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄█ █▄▄▄▄▄▄▄█▄█ █▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ //A collection of Pepe characters on the blockchain. // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "erc721psi/contracts/ERC721Psi.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract CryptoPepePunks is ERC721Psi, Ownable { uint256 public maxPepes = 10000; uint256 public publicPepes = 9000; uint256 public privatePepes = 1000; uint256 public publicMaxMint = 5; uint256 public privateMintTotal = 0; bool public Active = false; mapping(address => uint256) public howmanyminted; string public metaURI = "ipfs://bafybeifctik2dz3abrlq4qlas4xr7uzmtvlhbxb244jdumfooh7xg4csfa/"; constructor() ERC721Psi ("CryptoPepePunks", "CPP"){} function _baseURI() internal view virtual override returns (string memory) { return metaURI; } function freeMint(uint256 quantity) external payable { require(Active, "Sale paused."); uint256 totalPepes = totalSupply(); require(msg.sender == tx.origin); require(totalPepes < maxPepes, "CryptoPepePunks mint is sold out."); require(totalPepes <= publicPepes, "CryptoPepePunks public mint is sold out."); require(howmanyminted[msg.sender] < publicMaxMint, "You have already max minted."); require(howmanyminted[msg.sender] + quantity <= publicMaxMint, "You have exceeded the maximum allowed per wallet, lower mint amount and try again."); require(totalPepes + quantity <= (publicPepes + privateMintTotal), "Public supply exceeded, lower mint quantity and try again."); // _safeMint's second argument now takes in a quantity, not a tokenId. (same as ERC721A) _safeMint(msg.sender, quantity); howmanyminted[msg.sender] += quantity; } function privateMint(address sendTo, uint256 howMany) external onlyOwner { uint256 totalPepes = totalSupply(); require(totalPepes < maxPepes, "CryptoPepePunks mint is sold out."); require(privateMintTotal < privatePepes, "You have already minted 1000."); require(privateMintTotal + howMany <= privatePepes, "Private supply exceeded, lower mint quantity and try again."); require(totalPepes + howMany <= maxPepes, "CryptoPepePunks supply exceeded, lower mint quantity and try again."); // _safeMint's second argument now takes in a quantity, not a tokenId. (same as ERC721A) _safeMint(sendTo, howMany); privateMintTotal += howMany; } function Sale(bool _status) external onlyOwner { Active = _status; } function setMaxMint(uint256 _max) external onlyOwner { publicMaxMint = _max; } function setMetaURI(string memory loc) external onlyOwner { metaURI = loc; } function withdrawal() public payable onlyOwner { (bool success, ) = payable(msg.sender).call{value: address(this).balance}(""); require(success); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT /** ______ _____ _____ ______ ___ __ _ _ _ | ____| __ \ / ____|____ |__ \/_ | || || | | |__ | |__) | | / / ) || | \| |/ | | __| | _ /| | / / / / | |\_ _/ | |____| | \ \| |____ / / / /_ | | | | |______|_| \_\\_____|/_/ |____||_| |_| */ pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/StorageSlot.sol"; import "solidity-bits/contracts/BitMaps.sol"; contract ERC721Psi is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; using BitMaps for BitMaps.BitMap; BitMaps.BitMap private _batchHead; string private _name; string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) internal _owners; uint256 internal _minted; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint) { require(owner != address(0), "ERC721Psi: balance query for the zero address"); uint count; for( uint i; i < _minted; ++i ){ if(_exists(i)){ if( owner == ownerOf(i)){ ++count; } } } return count; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { (address owner, ) = _ownerAndBatchHeadOf(tokenId); return owner; } function _ownerAndBatchHeadOf(uint256 tokenId) internal view returns (address owner, uint256 tokenIdBatchHead){ require(_exists(tokenId), "ERC721Psi: owner query for nonexistent token"); tokenIdBatchHead = _getBatchHead(tokenId); owner = _owners[tokenIdBatchHead]; } /** * @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) { require(_exists(tokenId), "ERC721Psi: URI query for nonexistent token"); 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 virtual override { address owner = ownerOf(tokenId); require(to != owner, "ERC721Psi: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721Psi: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721Psi: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721Psi: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721Psi: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721Psi: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, 1,_data), "ERC721Psi: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _minted; } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721Psi: operator query for nonexistent token" ); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @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) internal virtual { _safeMint(to, quantity, ""); } function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { uint256 startTokenId = _minted; _mint(to, quantity); require( _checkOnERC721Received(address(0), to, startTokenId, quantity, _data), "ERC721Psi: transfer to non ERC721Receiver implementer" ); } function _mint( address to, uint256 quantity ) internal virtual { uint256 tokenIdBatchHead = _minted; require(quantity > 0, "ERC721Psi: quantity must be greater 0"); require(to != address(0), "ERC721Psi: mint to the zero address"); _beforeTokenTransfers(address(0), to, tokenIdBatchHead, quantity); _minted += quantity; _owners[tokenIdBatchHead] = to; _batchHead.set(tokenIdBatchHead); _afterTokenTransfers(address(0), to, tokenIdBatchHead, quantity); // Emit events for(uint256 tokenId=tokenIdBatchHead;tokenId < tokenIdBatchHead + quantity; tokenId++){ emit Transfer(address(0), to, tokenId); } } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { (address owner, uint256 tokenIdBatchHead) = _ownerAndBatchHeadOf(tokenId); require( owner == from, "ERC721Psi: transfer of token that is not own" ); require(to != address(0), "ERC721Psi: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId); uint256 nextTokenId = tokenId + 1; if(!_batchHead.get(nextTokenId) && nextTokenId < _minted ) { _owners[nextTokenId] = from; _batchHead.set(nextTokenId); } _owners[tokenId] = to; if(tokenId != tokenIdBatchHead) { _batchHead.set(tokenId); } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param startTokenId uint256 the first ID of the tokens to be transferred * @param quantity uint256 amount of the tokens to be transfered. * @param _data bytes optional data to send along with the call * @return r bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 startTokenId, uint256 quantity, bytes memory _data ) private returns (bool r) { if (to.isContract()) { r = true; for(uint256 tokenId = startTokenId; tokenId < startTokenId + quantity; tokenId++){ try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { r = r && retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721Psi: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } return r; } else { return true; } } function _getBatchHead(uint256 tokenId) internal view returns (uint256 tokenIdBatchHead) { tokenIdBatchHead = _batchHead.scanForward(tokenId); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _minted; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256 tokenId) { require(index < totalSupply(), "ERC721Psi: global index out of bounds"); uint count; for(uint i; i < _minted; i++){ if(_exists(i)){ if(count == index) return i; else count++; } } } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) { uint count; for(uint i; i < _minted; i++){ if(_exists(i) && owner == ownerOf(i)){ if(count == index) return i; else count++; } } revert("ERC721Psi: owner index out of bounds"); } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * 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`. */ 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. * * 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` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT /** _____ ___ ___ __ ____ _ __ / ___/____ / (_)___/ (_) /___ __ / __ )(_) /______ \__ \/ __ \/ / / __ / / __/ / / / / __ / / __/ ___/ ___/ / /_/ / / / /_/ / / /_/ /_/ / / /_/ / / /_(__ ) /____/\____/_/_/\__,_/_/\__/\__, / /_____/_/\__/____/ /____/ - npm: https://www.npmjs.com/package/solidity-bits - github: https://github.com/estarriolvetch/solidity-bits */ pragma solidity ^0.8.0; import "./BitScan.sol"; import "./Popcount.sol"; /** * @dev This Library is a modified version of Openzeppelin's BitMaps library with extra features. * * 1. Functions of finding the index of the closest set bit from a given index are added. * The indexing of each bucket is modifed to count from the MSB to the LSB instead of from the LSB to the MSB. * The modification of indexing makes finding the closest previous set bit more efficient in gas usage. * 2. Setting and unsetting the bitmap consecutively. * 3. Accounting number of set bits within a given range. * */ /** * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential. * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor]. */ library BitMaps { using BitScan for uint256; uint256 private constant MASK_INDEX_ZERO = (1 << 255); uint256 private constant MASK_FULL = type(uint256).max; struct BitMap { mapping(uint256 => uint256) _data; } /** * @dev Returns whether the bit at `index` is set. */ function get(BitMap storage bitmap, uint256 index) internal view returns (bool) { uint256 bucket = index >> 8; uint256 mask = MASK_INDEX_ZERO >> (index & 0xff); return bitmap._data[bucket] & mask != 0; } /** * @dev Sets the bit at `index` to the boolean `value`. */ function setTo( BitMap storage bitmap, uint256 index, bool value ) internal { if (value) { set(bitmap, index); } else { unset(bitmap, index); } } /** * @dev Sets the bit at `index`. */ function set(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = MASK_INDEX_ZERO >> (index & 0xff); bitmap._data[bucket] |= mask; } /** * @dev Unsets the bit at `index`. */ function unset(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = MASK_INDEX_ZERO >> (index & 0xff); bitmap._data[bucket] &= ~mask; } /** * @dev Consecutively sets `amount` of bits starting from the bit at `startIndex`. */ function setBatch(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal { uint256 bucket = startIndex >> 8; uint256 bucketStartIndex = (startIndex & 0xff); unchecked { if(bucketStartIndex + amount < 256) { bitmap._data[bucket] |= MASK_FULL << (256 - amount) >> bucketStartIndex; } else { bitmap._data[bucket] |= MASK_FULL >> bucketStartIndex; amount -= (256 - bucketStartIndex); bucket++; while(amount > 256) { bitmap._data[bucket] = MASK_FULL; amount -= 256; bucket++; } bitmap._data[bucket] |= MASK_FULL << (256 - amount); } } } /** * @dev Consecutively unsets `amount` of bits starting from the bit at `startIndex`. */ function unsetBatch(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal { uint256 bucket = startIndex >> 8; uint256 bucketStartIndex = (startIndex & 0xff); unchecked { if(bucketStartIndex + amount < 256) { bitmap._data[bucket] &= ~(MASK_FULL << (256 - amount) >> bucketStartIndex); } else { bitmap._data[bucket] &= ~(MASK_FULL >> bucketStartIndex); amount -= (256 - bucketStartIndex); bucket++; while(amount > 256) { bitmap._data[bucket] = 0; amount -= 256; bucket++; } bitmap._data[bucket] &= ~(MASK_FULL << (256 - amount)); } } } /** * @dev Returns number of set bits within a range. */ function popcountA(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal view returns(uint256 count) { uint256 bucket = startIndex >> 8; uint256 bucketStartIndex = (startIndex & 0xff); unchecked { if(bucketStartIndex + amount < 256) { count += Popcount.popcount256A( bitmap._data[bucket] & (MASK_FULL << (256 - amount) >> bucketStartIndex) ); } else { count += Popcount.popcount256A( bitmap._data[bucket] & (MASK_FULL >> bucketStartIndex) ); amount -= (256 - bucketStartIndex); bucket++; while(amount > 256) { count += Popcount.popcount256A(bitmap._data[bucket]); amount -= 256; bucket++; } count += Popcount.popcount256A( bitmap._data[bucket] & (MASK_FULL << (256 - amount)) ); } } } /** * @dev Returns number of set bits within a range. */ function popcountB(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal view returns(uint256 count) { uint256 bucket = startIndex >> 8; uint256 bucketStartIndex = (startIndex & 0xff); unchecked { if(bucketStartIndex + amount < 256) { count += Popcount.popcount256B( bitmap._data[bucket] & (MASK_FULL << (256 - amount) >> bucketStartIndex) ); } else { count += Popcount.popcount256B( bitmap._data[bucket] & (MASK_FULL >> bucketStartIndex) ); amount -= (256 - bucketStartIndex); bucket++; while(amount > 256) { count += Popcount.popcount256B(bitmap._data[bucket]); amount -= 256; bucket++; } count += Popcount.popcount256B( bitmap._data[bucket] & (MASK_FULL << (256 - amount)) ); } } } /** * @dev Find the closest index of the set bit before `index`. */ function scanForward(BitMap storage bitmap, uint256 index) internal view returns (uint256 setBitIndex) { uint256 bucket = index >> 8; // index within the bucket uint256 bucketIndex = (index & 0xff); // load a bitboard from the bitmap. uint256 bb = bitmap._data[bucket]; // offset the bitboard to scan from `bucketIndex`. bb = bb >> (0xff ^ bucketIndex); // bb >> (255 - bucketIndex) if(bb > 0) { unchecked { setBitIndex = (bucket << 8) | (bucketIndex - bb.bitScanForward256()); } } else { while(true) { require(bucket > 0, "BitMaps: The set bit before the index doesn't exist."); unchecked { bucket--; } // No offset. Always scan from the least significiant bit now. bb = bitmap._data[bucket]; if(bb > 0) { unchecked { setBitIndex = (bucket << 8) | (255 - bb.bitScanForward256()); break; } } } } } function getBucket(BitMap storage bitmap, uint256 bucket) internal view returns (uint256) { return bitmap._data[bucket]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol) pragma solidity ^0.8.0; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ``` * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._ */ library StorageSlot { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT /** _____ ___ ___ __ ____ _ __ / ___/____ / (_)___/ (_) /___ __ / __ )(_) /______ \__ \/ __ \/ / / __ / / __/ / / / / __ / / __/ ___/ ___/ / /_/ / / / /_/ / / /_/ /_/ / / /_/ / / /_(__ ) /____/\____/_/_/\__,_/_/\__/\__, / /_____/_/\__/____/ /____/ - npm: https://www.npmjs.com/package/solidity-bits - github: https://github.com/estarriolvetch/solidity-bits */ pragma solidity ^0.8.0; library Popcount { uint256 private constant m1 = 0x5555555555555555555555555555555555555555555555555555555555555555; uint256 private constant m2 = 0x3333333333333333333333333333333333333333333333333333333333333333; uint256 private constant m4 = 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f; uint256 private constant h01 = 0x0101010101010101010101010101010101010101010101010101010101010101; function popcount256A(uint256 x) internal pure returns (uint256 count) { unchecked{ for (count=0; x!=0; count++) x &= x - 1; } } function popcount256B(uint256 x) internal pure returns (uint256) { if (x == type(uint256).max) { return 256; } unchecked { x -= (x >> 1) & m1; //put count of each 2 bits into those 2 bits x = (x & m2) + ((x >> 2) & m2); //put count of each 4 bits into those 4 bits x = (x + (x >> 4)) & m4; //put count of each 8 bits into those 8 bits x = (x * h01) >> 248; //returns left 8 bits of x + (x<<8) + (x<<16) + (x<<24) + ... } return x; } }
// SPDX-License-Identifier: MIT /** _____ ___ ___ __ ____ _ __ / ___/____ / (_)___/ (_) /___ __ / __ )(_) /______ \__ \/ __ \/ / / __ / / __/ / / / / __ / / __/ ___/ ___/ / /_/ / / / /_/ / / /_/ /_/ / / /_/ / / /_(__ ) /____/\____/_/_/\__,_/_/\__/\__, / /_____/_/\__/____/ /____/ - npm: https://www.npmjs.com/package/solidity-bits - github: https://github.com/estarriolvetch/solidity-bits */ pragma solidity ^0.8.0; library BitScan { uint256 constant private DEBRUIJN_256 = 0x818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff; bytes constant private LOOKUP_TABLE_256 = hex"0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8"; /** @dev Isolate the least significant set bit. */ function isolateLS1B256(uint256 bb) pure internal returns (uint256) { require(bb > 0); unchecked { return bb & (0 - bb); } } /** @dev Isolate the most significant set bit. */ function isolateMS1B256(uint256 bb) pure internal returns (uint256) { require(bb > 0); unchecked { bb |= bb >> 128; bb |= bb >> 64; bb |= bb >> 32; bb |= bb >> 16; bb |= bb >> 8; bb |= bb >> 4; bb |= bb >> 2; bb |= bb >> 1; return (bb >> 1) + 1; } } /** @dev Find the index of the lest significant set bit. (trailing zero count) */ function bitScanForward256(uint256 bb) pure internal returns (uint8) { unchecked { return uint8(LOOKUP_TABLE_256[(isolateLS1B256(bb) * DEBRUIJN_256) >> 248]); } } /** @dev Find the index of the most significant set bit. */ function bitScanReverse256(uint256 bb) pure internal returns (uint8) { unchecked { return 255 - uint8(LOOKUP_TABLE_256[((isolateMS1B256(bb) * DEBRUIJN_256) >> 248)]); } } function log2(uint256 bb) pure internal returns (uint8) { unchecked { return uint8(LOOKUP_TABLE_256[(isolateMS1B256(bb) * DEBRUIJN_256) >> 248]); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"Active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"Sale","outputs":[],"stateMutability":"nonpayable","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":"quantity","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"payable","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":"","type":"address"}],"name":"howmanyminted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPepes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metaURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sendTo","type":"address"},{"internalType":"uint256","name":"howMany","type":"uint256"}],"name":"privateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"privateMintTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"privatePepes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPepes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_max","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"loc","type":"string"}],"name":"setMetaURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawal","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526127106008556123286009556103e8600a556005600b556000600c556000600d60006101000a81548160ff0219169083151502179055506040518060800160405280604381526020016200475d60439139600f90805190602001906200006c9291906200020f565b503480156200007a57600080fd5b506040518060400160405280600f81526020017f43727970746f5065706550756e6b7300000000000000000000000000000000008152506040518060400160405280600381526020017f43505000000000000000000000000000000000000000000000000000000000008152508160019080519060200190620000ff9291906200020f565b508060029080519060200190620001189291906200020f565b5050506200013b6200012f6200014160201b60201c565b6200014960201b60201c565b62000324565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200021d90620002bf565b90600052602060002090601f0160209004810192826200024157600085556200028d565b82601f106200025c57805160ff19168380011785556200028d565b828001600101855582156200028d579182015b828111156200028c5782518255916020019190600101906200026f565b5b5090506200029c9190620002a0565b5090565b5b80821115620002bb576000816000905550600101620002a1565b5090565b60006002820490506001821680620002d857607f821691505b60208210811415620002ef57620002ee620002f5565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61442980620003346000396000f3fe6080604052600436106101ee5760003560e01c8063715018a61161010d578063bdfdf3b2116100a0578063c9e642ee1161006f578063c9e642ee14610702578063d4e932921461072d578063e8e2be9514610737578063e985e9c514610762578063f2fde38b1461079f576101ee565b8063bdfdf3b214610646578063be62b3c114610671578063c87b56dd1461069a578063c9b0a2a7146106d7576101ee565b806395d89b41116100dc57806395d89b41146105a0578063a0eddf7e146105cb578063a22cb465146105f4578063b88d4fde1461061d576101ee565b8063715018a6146105175780637c928fe91461052e5780638da5cb5b1461054a57806390058e0c14610575576101ee565b80633875226d116101855780635cbfc89f116101545780635cbfc89f146104355780636352211e1461047257806367605787146104af57806370a08231146104da576101ee565b80633875226d1461037d57806342842e0e146103a65780634f6ccce7146103cf578063547520fe1461040c576101ee565b806318160ddd116101c157806318160ddd146102c157806323b872dd146102ec5780632f745c5914610315578063305c7d4a14610352576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190612c20565b6107c8565b6040516102279190613257565b60405180910390f35b34801561023c57600080fd5b50610245610912565b6040516102529190613272565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190612cc3565b6109a4565b60405161028f91906131f0565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190612bb3565b610a29565b005b3480156102cd57600080fd5b506102d6610b41565b6040516102e39190613614565b60405180910390f35b3480156102f857600080fd5b50610313600480360381019061030e9190612a9d565b610b4b565b005b34801561032157600080fd5b5061033c60048036038101906103379190612bb3565b610bab565b6040516103499190613614565b60405180910390f35b34801561035e57600080fd5b50610367610c7e565b6040516103749190613614565b60405180910390f35b34801561038957600080fd5b506103a4600480360381019061039f9190612bf3565b610c84565b005b3480156103b257600080fd5b506103cd60048036038101906103c89190612a9d565b610ca9565b005b3480156103db57600080fd5b506103f660048036038101906103f19190612cc3565b610cc9565b6040516104039190613614565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e9190612cc3565b610d6c565b005b34801561044157600080fd5b5061045c60048036038101906104579190612a30565b610d7e565b6040516104699190613614565b60405180910390f35b34801561047e57600080fd5b5061049960048036038101906104949190612cc3565b610d96565b6040516104a691906131f0565b60405180910390f35b3480156104bb57600080fd5b506104c4610dae565b6040516104d19190613272565b60405180910390f35b3480156104e657600080fd5b5061050160048036038101906104fc9190612a30565b610e3c565b60405161050e9190613614565b60405180910390f35b34801561052357600080fd5b5061052c610f2e565b005b61054860048036038101906105439190612cc3565b610f42565b005b34801561055657600080fd5b5061055f611231565b60405161056c91906131f0565b60405180910390f35b34801561058157600080fd5b5061058a61125b565b6040516105979190613614565b60405180910390f35b3480156105ac57600080fd5b506105b5611261565b6040516105c29190613272565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed9190612c7a565b6112f3565b005b34801561060057600080fd5b5061061b60048036038101906106169190612b73565b611315565b005b34801561062957600080fd5b50610644600480360381019061063f9190612af0565b611496565b005b34801561065257600080fd5b5061065b6114f8565b6040516106689190613614565b60405180910390f35b34801561067d57600080fd5b5061069860048036038101906106939190612bb3565b6114fe565b005b3480156106a657600080fd5b506106c160048036038101906106bc9190612cc3565b611666565b6040516106ce9190613272565b60405180910390f35b3480156106e357600080fd5b506106ec61170d565b6040516106f99190613257565b60405180910390f35b34801561070e57600080fd5b50610717611720565b6040516107249190613614565b60405180910390f35b610735611726565b005b34801561074357600080fd5b5061074c6117a7565b6040516107599190613614565b60405180910390f35b34801561076e57600080fd5b5061078960048036038101906107849190612a5d565b6117ad565b6040516107969190613257565b60405180910390f35b3480156107ab57600080fd5b506107c660048036038101906107c19190612a30565b611841565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061089357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108fb57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061090b575061090a826118c5565b5b9050919050565b60606001805461092190613875565b80601f016020809104026020016040519081016040528092919081815260200182805461094d90613875565b801561099a5780601f1061096f5761010080835404028352916020019161099a565b820191906000526020600020905b81548152906001019060200180831161097d57829003601f168201915b5050505050905090565b60006109af8261192f565b6109ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e590613314565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3482610d96565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c906134b4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ac461193d565b73ffffffffffffffffffffffffffffffffffffffff161480610af35750610af281610aed61193d565b6117ad565b5b610b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b29906135d4565b60405180910390fd5b610b3c8383611945565b505050565b6000600454905090565b610b5c610b5661193d565b826119fe565b610b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9290613554565b60405180910390fd5b610ba6838383611adc565b505050565b60008060005b600454811015610c3c57610bc48161192f565b8015610c035750610bd481610d96565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15610c295783821415610c1a578092505050610c78565b8180610c25906138d8565b9250505b8080610c34906138d8565b915050610bb1565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6f90613414565b60405180910390fd5b92915050565b600b5481565b610c8c611d5f565b80600d60006101000a81548160ff02191690831515021790555050565b610cc483838360405180602001604052806000815250611496565b505050565b6000610cd3610b41565b8210610d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0b906132b4565b60405180910390fd5b6000805b600454811015610d6457610d2b8161192f565b15610d515783821415610d42578092505050610d67565b8180610d4d906138d8565b9250505b8080610d5c906138d8565b915050610d18565b50505b919050565b610d74611d5f565b80600b8190555050565b600e6020528060005260406000206000915090505481565b600080610da283611ddd565b50905080915050919050565b600f8054610dbb90613875565b80601f0160208091040260200160405190810160405280929190818152602001828054610de790613875565b8015610e345780601f10610e0957610100808354040283529160200191610e34565b820191906000526020600020905b815481529060010190602001808311610e1757829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490613354565b60405180910390fd5b6000805b600454811015610f2457610ec48161192f565b15610f1357610ed281610d96565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610f125781610f0f906138d8565b91505b5b80610f1d906138d8565b9050610eb1565b5080915050919050565b610f36611d5f565b610f406000611e6e565b565b600d60009054906101000a900460ff16610f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f88906133d4565b60405180910390fd5b6000610f9b610b41565b90503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fd557600080fd5b6008548110611019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101090613374565b60405180910390fd5b60095481111561105e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611055906132d4565b60405180910390fd5b600b54600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d890613474565b60405180910390fd5b600b5482600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461112f9190613704565b1115611170576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116790613514565b60405180910390fd5b600c546009546111809190613704565b828261118c9190613704565b11156111cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c490613434565b60405180910390fd5b6111d73383611f34565b81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112269190613704565b925050819055505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60095481565b60606002805461127090613875565b80601f016020809104026020016040519081016040528092919081815260200182805461129c90613875565b80156112e95780601f106112be576101008083540402835291602001916112e9565b820191906000526020600020905b8154815290600101906020018083116112cc57829003601f168201915b5050505050905090565b6112fb611d5f565b80600f9080519060200190611311929190612844565b5050565b61131d61193d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561138b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138290613394565b60405180910390fd5b806006600061139861193d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661144561193d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161148a9190613257565b60405180910390a35050565b6114a76114a161193d565b836119fe565b6114e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dd90613554565b60405180910390fd5b6114f284848484611f52565b50505050565b600a5481565b611506611d5f565b6000611510610b41565b90506008548110611556576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154d90613374565b60405180910390fd5b600a54600c541061159c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159390613534565b60405180910390fd5b600a5482600c546115ad9190613704565b11156115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e590613334565b60405180910390fd5b60085482826115fd9190613704565b111561163e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163590613454565b60405180910390fd5b6116488383611f34565b81600c600082825461165a9190613704565b92505081905550505050565b60606116718261192f565b6116b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a790613294565b60405180910390fd5b60006116ba611fb0565b905060008151116116da5760405180602001604052806000815250611705565b806116e484612042565b6040516020016116f59291906131b7565b6040516020818303038152906040525b915050919050565b600d60009054906101000a900460ff1681565b600c5481565b61172e611d5f565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611754906131db565b60006040518083038185875af1925050503d8060008114611791576040519150601f19603f3d011682016040523d82523d6000602084013e611796565b606091505b50509050806117a457600080fd5b50565b60085481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611849611d5f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b0906132f4565b60405180910390fd5b6118c281611e6e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060045482109050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166119b883610d96565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a098261192f565b611a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3f906135b4565b60405180910390fd5b6000611a5383610d96565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ac257508373ffffffffffffffffffffffffffffffffffffffff16611aaa846109a4565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ad35750611ad281856117ad565b5b91505092915050565b600080611ae883611ddd565b915091508473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611b5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5190613594565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc190613494565b60405180910390fd5b611bd785858560016121a3565b611be2600084611945565b6000600184611bf19190613704565b9050611c078160006121a990919063ffffffff16565b158015611c15575060045481105b15611c8157856003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611c8081600061220490919063ffffffff16565b5b846003600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818414611cef57611cee84600061220490919063ffffffff16565b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d578686866001612261565b505050505050565b611d6761193d565b73ffffffffffffffffffffffffffffffffffffffff16611d85611231565b73ffffffffffffffffffffffffffffffffffffffff1614611ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd2906134d4565b60405180910390fd5b565b600080611de98361192f565b611e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1f906135f4565b60405180910390fd5b611e3183612267565b90506003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150915091565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611f4e828260405180602001604052806000815250612284565b5050565b611f5d848484611adc565b611f6b8484846001856122e8565b611faa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa1906133b4565b60405180910390fd5b50505050565b6060600f8054611fbf90613875565b80601f0160208091040260200160405190810160405280929190818152602001828054611feb90613875565b80156120385780601f1061200d57610100808354040283529160200191612038565b820191906000526020600020905b81548152906001019060200180831161201b57829003601f168201915b5050505050905090565b6060600082141561208a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061219e565b600082905060005b600082146120bc5780806120a5906138d8565b915050600a826120b5919061375a565b9150612092565b60008167ffffffffffffffff8111156120d8576120d7613a0e565b5b6040519080825280601f01601f19166020018201604052801561210a5781602001600182028036833780820191505090505b5090505b6000851461219757600182612123919061378b565b9150600a856121329190613921565b603061213e9190613704565b60f81b818381518110612154576121536139df565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612190919061375a565b945061210e565b8093505050505b919050565b50505050565b600080600883901c9050600060ff84167f8000000000000000000000000000000000000000000000000000000000000000901c9050600081866000016000858152602001908152602001600020541614159250505092915050565b6000600882901c9050600060ff83167f8000000000000000000000000000000000000000000000000000000000000000901c9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b50505050565b600061227d8260006124ba90919063ffffffff16565b9050919050565b6000600454905061229584846125b3565b6122a36000858386866122e8565b6122e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d9906133b4565b60405180910390fd5b50505050565b60006123098573ffffffffffffffffffffffffffffffffffffffff16612794565b156124ac576001905060008490505b83856123249190613704565b8110156124a6578573ffffffffffffffffffffffffffffffffffffffff1663150b7a0261234f61193d565b8984876040518563ffffffff1660e01b8152600401612371949392919061320b565b602060405180830381600087803b15801561238b57600080fd5b505af19250505080156123bc57506040513d601f19601f820116820180604052508101906123b99190612c4d565b60015b61243f573d80600081146123ec576040519150601f19603f3d011682016040523d82523d6000602084013e6123f1565b606091505b50600081511415612437576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242e906133b4565b60405180910390fd5b805181602001fd5b828015612490575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b925050808061249e906138d8565b915050612318565b506124b1565b600190505b95945050505050565b600080600883901c9050600060ff8416905060008560000160008481526020019081526020016000205490508160ff1881901c9050600081111561251357612501816127b7565b60ff168203600884901b1793506125aa565b5b6001156125a9576000831161255e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612555906134f4565b60405180910390fd5b82806001900393505085600001600084815260200190815260200160002054905060008111156125a457612591816127b7565b60ff0360ff16600884901b1793506125a9565b612514565b5b50505092915050565b60006004549050600082116125fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f490613574565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561266d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612664906133f4565b60405180910390fd5b61267a60008483856121a3565b816004600082825461268c9190613704565b92505081905550826003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506126f981600061220490919063ffffffff16565b6127066000848385612261565b60008190505b82826127189190613704565b81101561278e57808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48080612786906138d8565b91505061270c565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060405180610120016040528061010081526020016142f4610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff61280085612829565b02901c81518110612814576128136139df565b5b602001015160f81c60f81b60f81c9050919050565b600080821161283757600080fd5b8160000382169050919050565b82805461285090613875565b90600052602060002090601f01602090048101928261287257600085556128b9565b82601f1061288b57805160ff19168380011785556128b9565b828001600101855582156128b9579182015b828111156128b857825182559160200191906001019061289d565b5b5090506128c691906128ca565b5090565b5b808211156128e35760008160009055506001016128cb565b5090565b60006128fa6128f584613654565b61362f565b90508281526020810184848401111561291657612915613a42565b5b612921848285613833565b509392505050565b600061293c61293784613685565b61362f565b90508281526020810184848401111561295857612957613a42565b5b612963848285613833565b509392505050565b60008135905061297a81614297565b92915050565b60008135905061298f816142ae565b92915050565b6000813590506129a4816142c5565b92915050565b6000815190506129b9816142c5565b92915050565b600082601f8301126129d4576129d3613a3d565b5b81356129e48482602086016128e7565b91505092915050565b600082601f830112612a0257612a01613a3d565b5b8135612a12848260208601612929565b91505092915050565b600081359050612a2a816142dc565b92915050565b600060208284031215612a4657612a45613a4c565b5b6000612a548482850161296b565b91505092915050565b60008060408385031215612a7457612a73613a4c565b5b6000612a828582860161296b565b9250506020612a938582860161296b565b9150509250929050565b600080600060608486031215612ab657612ab5613a4c565b5b6000612ac48682870161296b565b9350506020612ad58682870161296b565b9250506040612ae686828701612a1b565b9150509250925092565b60008060008060808587031215612b0a57612b09613a4c565b5b6000612b188782880161296b565b9450506020612b298782880161296b565b9350506040612b3a87828801612a1b565b925050606085013567ffffffffffffffff811115612b5b57612b5a613a47565b5b612b67878288016129bf565b91505092959194509250565b60008060408385031215612b8a57612b89613a4c565b5b6000612b988582860161296b565b9250506020612ba985828601612980565b9150509250929050565b60008060408385031215612bca57612bc9613a4c565b5b6000612bd88582860161296b565b9250506020612be985828601612a1b565b9150509250929050565b600060208284031215612c0957612c08613a4c565b5b6000612c1784828501612980565b91505092915050565b600060208284031215612c3657612c35613a4c565b5b6000612c4484828501612995565b91505092915050565b600060208284031215612c6357612c62613a4c565b5b6000612c71848285016129aa565b91505092915050565b600060208284031215612c9057612c8f613a4c565b5b600082013567ffffffffffffffff811115612cae57612cad613a47565b5b612cba848285016129ed565b91505092915050565b600060208284031215612cd957612cd8613a4c565b5b6000612ce784828501612a1b565b91505092915050565b612cf9816137bf565b82525050565b612d08816137d1565b82525050565b6000612d19826136b6565b612d2381856136cc565b9350612d33818560208601613842565b612d3c81613a51565b840191505092915050565b6000612d52826136c1565b612d5c81856136e8565b9350612d6c818560208601613842565b612d7581613a51565b840191505092915050565b6000612d8b826136c1565b612d9581856136f9565b9350612da5818560208601613842565b80840191505092915050565b6000612dbe602a836136e8565b9150612dc982613a62565b604082019050919050565b6000612de16025836136e8565b9150612dec82613ab1565b604082019050919050565b6000612e046028836136e8565b9150612e0f82613b00565b604082019050919050565b6000612e276026836136e8565b9150612e3282613b4f565b604082019050919050565b6000612e4a602f836136e8565b9150612e5582613b9e565b604082019050919050565b6000612e6d603b836136e8565b9150612e7882613bed565b604082019050919050565b6000612e90602d836136e8565b9150612e9b82613c3c565b604082019050919050565b6000612eb36021836136e8565b9150612ebe82613c8b565b604082019050919050565b6000612ed6601c836136e8565b9150612ee182613cda565b602082019050919050565b6000612ef96035836136e8565b9150612f0482613d03565b604082019050919050565b6000612f1c600c836136e8565b9150612f2782613d52565b602082019050919050565b6000612f3f6023836136e8565b9150612f4a82613d7b565b604082019050919050565b6000612f626024836136e8565b9150612f6d82613dca565b604082019050919050565b6000612f85603a836136e8565b9150612f9082613e19565b604082019050919050565b6000612fa86043836136e8565b9150612fb382613e68565b606082019050919050565b6000612fcb601c836136e8565b9150612fd682613edd565b602082019050919050565b6000612fee6027836136e8565b9150612ff982613f06565b604082019050919050565b60006130116024836136e8565b915061301c82613f55565b604082019050919050565b60006130346020836136e8565b915061303f82613fa4565b602082019050919050565b60006130576034836136e8565b915061306282613fcd565b604082019050919050565b600061307a6052836136e8565b91506130858261401c565b606082019050919050565b600061309d601d836136e8565b91506130a882614091565b602082019050919050565b60006130c06034836136e8565b91506130cb826140ba565b604082019050919050565b60006130e36025836136e8565b91506130ee82614109565b604082019050919050565b6000613106602c836136e8565b915061311182614158565b604082019050919050565b6000613129602f836136e8565b9150613134826141a7565b604082019050919050565b600061314c6000836136dd565b9150613157826141f6565b600082019050919050565b600061316f603b836136e8565b915061317a826141f9565b604082019050919050565b6000613192602c836136e8565b915061319d82614248565b604082019050919050565b6131b181613829565b82525050565b60006131c38285612d80565b91506131cf8284612d80565b91508190509392505050565b60006131e68261313f565b9150819050919050565b60006020820190506132056000830184612cf0565b92915050565b60006080820190506132206000830187612cf0565b61322d6020830186612cf0565b61323a60408301856131a8565b818103606083015261324c8184612d0e565b905095945050505050565b600060208201905061326c6000830184612cff565b92915050565b6000602082019050818103600083015261328c8184612d47565b905092915050565b600060208201905081810360008301526132ad81612db1565b9050919050565b600060208201905081810360008301526132cd81612dd4565b9050919050565b600060208201905081810360008301526132ed81612df7565b9050919050565b6000602082019050818103600083015261330d81612e1a565b9050919050565b6000602082019050818103600083015261332d81612e3d565b9050919050565b6000602082019050818103600083015261334d81612e60565b9050919050565b6000602082019050818103600083015261336d81612e83565b9050919050565b6000602082019050818103600083015261338d81612ea6565b9050919050565b600060208201905081810360008301526133ad81612ec9565b9050919050565b600060208201905081810360008301526133cd81612eec565b9050919050565b600060208201905081810360008301526133ed81612f0f565b9050919050565b6000602082019050818103600083015261340d81612f32565b9050919050565b6000602082019050818103600083015261342d81612f55565b9050919050565b6000602082019050818103600083015261344d81612f78565b9050919050565b6000602082019050818103600083015261346d81612f9b565b9050919050565b6000602082019050818103600083015261348d81612fbe565b9050919050565b600060208201905081810360008301526134ad81612fe1565b9050919050565b600060208201905081810360008301526134cd81613004565b9050919050565b600060208201905081810360008301526134ed81613027565b9050919050565b6000602082019050818103600083015261350d8161304a565b9050919050565b6000602082019050818103600083015261352d8161306d565b9050919050565b6000602082019050818103600083015261354d81613090565b9050919050565b6000602082019050818103600083015261356d816130b3565b9050919050565b6000602082019050818103600083015261358d816130d6565b9050919050565b600060208201905081810360008301526135ad816130f9565b9050919050565b600060208201905081810360008301526135cd8161311c565b9050919050565b600060208201905081810360008301526135ed81613162565b9050919050565b6000602082019050818103600083015261360d81613185565b9050919050565b600060208201905061362960008301846131a8565b92915050565b600061363961364a565b905061364582826138a7565b919050565b6000604051905090565b600067ffffffffffffffff82111561366f5761366e613a0e565b5b61367882613a51565b9050602081019050919050565b600067ffffffffffffffff8211156136a05761369f613a0e565b5b6136a982613a51565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061370f82613829565b915061371a83613829565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561374f5761374e613952565b5b828201905092915050565b600061376582613829565b915061377083613829565b9250826137805761377f613981565b5b828204905092915050565b600061379682613829565b91506137a183613829565b9250828210156137b4576137b3613952565b5b828203905092915050565b60006137ca82613809565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613860578082015181840152602081019050613845565b8381111561386f576000848401525b50505050565b6000600282049050600182168061388d57607f821691505b602082108114156138a1576138a06139b0565b5b50919050565b6138b082613a51565b810181811067ffffffffffffffff821117156138cf576138ce613a0e565b5b80604052505050565b60006138e382613829565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561391657613915613952565b5b600182019050919050565b600061392c82613829565b915061393783613829565b92508261394757613946613981565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732315073693a2055524920717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f4552433732315073693a20676c6f62616c20696e646578206f7574206f66206260008201527f6f756e6473000000000000000000000000000000000000000000000000000000602082015250565b7f43727970746f5065706550756e6b73207075626c6963206d696e74206973207360008201527f6f6c64206f75742e000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732315073693a20617070726f76656420717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5072697661746520737570706c792065786365656465642c206c6f776572206d60008201527f696e74207175616e7469747920616e642074727920616761696e2e0000000000602082015250565b7f4552433732315073693a2062616c616e636520717565727920666f722074686560008201527f207a65726f206164647265737300000000000000000000000000000000000000602082015250565b7f43727970746f5065706550756e6b73206d696e7420697320736f6c64206f757460008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732315073693a20617070726f766520746f2063616c6c657200000000600082015250565b7f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260008201527f31526563656976657220696d706c656d656e7465720000000000000000000000602082015250565b7f53616c65207061757365642e0000000000000000000000000000000000000000600082015250565b7f4552433732315073693a206d696e7420746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732315073693a206f776e657220696e646578206f7574206f6620626f60008201527f756e647300000000000000000000000000000000000000000000000000000000602082015250565b7f5075626c696320737570706c792065786365656465642c206c6f776572206d6960008201527f6e74207175616e7469747920616e642074727920616761696e2e000000000000602082015250565b7f43727970746f5065706550756e6b7320737570706c792065786365656465642c60008201527f206c6f776572206d696e74207175616e7469747920616e64207472792061676160208201527f696e2e0000000000000000000000000000000000000000000000000000000000604082015250565b7f596f75206861766520616c7265616479206d6178206d696e7465642e00000000600082015250565b7f4552433732315073693a207472616e7366657220746f20746865207a65726f2060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b7f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60008201527f776e657200000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4269744d6170733a205468652073657420626974206265666f7265207468652060008201527f696e64657820646f65736e27742065786973742e000000000000000000000000602082015250565b7f596f75206861766520657863656564656420746865206d6178696d756d20616c60008201527f6c6f776564207065722077616c6c65742c206c6f776572206d696e7420616d6f60208201527f756e7420616e642074727920616761696e2e0000000000000000000000000000604082015250565b7f596f75206861766520616c7265616479206d696e74656420313030302e000000600082015250565b7f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60008201527f74206f776e6572206e6f7220617070726f766564000000000000000000000000602082015250565b7f4552433732315073693a207175616e74697479206d757374206265206772656160008201527f7465722030000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160008201527f74206973206e6f74206f776e0000000000000000000000000000000000000000602082015250565b7f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b50565b7f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460008201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000602082015250565b7f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6142a0816137bf565b81146142ab57600080fd5b50565b6142b7816137d1565b81146142c257600080fd5b50565b6142ce816137dd565b81146142d957600080fd5b50565b6142e581613829565b81146142f057600080fd5b5056fe0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a2646970667358221220ae2823310c023c315933e8b57116dcaf6eb86bd892eff71d5aad4091c846501d64736f6c63430008070033697066733a2f2f62616679626569666374696b32647a336162726c7134716c617334787237757a6d74766c686278623234346a64756d666f6f6837786734637366612f
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c8063715018a61161010d578063bdfdf3b2116100a0578063c9e642ee1161006f578063c9e642ee14610702578063d4e932921461072d578063e8e2be9514610737578063e985e9c514610762578063f2fde38b1461079f576101ee565b8063bdfdf3b214610646578063be62b3c114610671578063c87b56dd1461069a578063c9b0a2a7146106d7576101ee565b806395d89b41116100dc57806395d89b41146105a0578063a0eddf7e146105cb578063a22cb465146105f4578063b88d4fde1461061d576101ee565b8063715018a6146105175780637c928fe91461052e5780638da5cb5b1461054a57806390058e0c14610575576101ee565b80633875226d116101855780635cbfc89f116101545780635cbfc89f146104355780636352211e1461047257806367605787146104af57806370a08231146104da576101ee565b80633875226d1461037d57806342842e0e146103a65780634f6ccce7146103cf578063547520fe1461040c576101ee565b806318160ddd116101c157806318160ddd146102c157806323b872dd146102ec5780632f745c5914610315578063305c7d4a14610352576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190612c20565b6107c8565b6040516102279190613257565b60405180910390f35b34801561023c57600080fd5b50610245610912565b6040516102529190613272565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190612cc3565b6109a4565b60405161028f91906131f0565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190612bb3565b610a29565b005b3480156102cd57600080fd5b506102d6610b41565b6040516102e39190613614565b60405180910390f35b3480156102f857600080fd5b50610313600480360381019061030e9190612a9d565b610b4b565b005b34801561032157600080fd5b5061033c60048036038101906103379190612bb3565b610bab565b6040516103499190613614565b60405180910390f35b34801561035e57600080fd5b50610367610c7e565b6040516103749190613614565b60405180910390f35b34801561038957600080fd5b506103a4600480360381019061039f9190612bf3565b610c84565b005b3480156103b257600080fd5b506103cd60048036038101906103c89190612a9d565b610ca9565b005b3480156103db57600080fd5b506103f660048036038101906103f19190612cc3565b610cc9565b6040516104039190613614565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e9190612cc3565b610d6c565b005b34801561044157600080fd5b5061045c60048036038101906104579190612a30565b610d7e565b6040516104699190613614565b60405180910390f35b34801561047e57600080fd5b5061049960048036038101906104949190612cc3565b610d96565b6040516104a691906131f0565b60405180910390f35b3480156104bb57600080fd5b506104c4610dae565b6040516104d19190613272565b60405180910390f35b3480156104e657600080fd5b5061050160048036038101906104fc9190612a30565b610e3c565b60405161050e9190613614565b60405180910390f35b34801561052357600080fd5b5061052c610f2e565b005b61054860048036038101906105439190612cc3565b610f42565b005b34801561055657600080fd5b5061055f611231565b60405161056c91906131f0565b60405180910390f35b34801561058157600080fd5b5061058a61125b565b6040516105979190613614565b60405180910390f35b3480156105ac57600080fd5b506105b5611261565b6040516105c29190613272565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed9190612c7a565b6112f3565b005b34801561060057600080fd5b5061061b60048036038101906106169190612b73565b611315565b005b34801561062957600080fd5b50610644600480360381019061063f9190612af0565b611496565b005b34801561065257600080fd5b5061065b6114f8565b6040516106689190613614565b60405180910390f35b34801561067d57600080fd5b5061069860048036038101906106939190612bb3565b6114fe565b005b3480156106a657600080fd5b506106c160048036038101906106bc9190612cc3565b611666565b6040516106ce9190613272565b60405180910390f35b3480156106e357600080fd5b506106ec61170d565b6040516106f99190613257565b60405180910390f35b34801561070e57600080fd5b50610717611720565b6040516107249190613614565b60405180910390f35b610735611726565b005b34801561074357600080fd5b5061074c6117a7565b6040516107599190613614565b60405180910390f35b34801561076e57600080fd5b5061078960048036038101906107849190612a5d565b6117ad565b6040516107969190613257565b60405180910390f35b3480156107ab57600080fd5b506107c660048036038101906107c19190612a30565b611841565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061089357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108fb57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061090b575061090a826118c5565b5b9050919050565b60606001805461092190613875565b80601f016020809104026020016040519081016040528092919081815260200182805461094d90613875565b801561099a5780601f1061096f5761010080835404028352916020019161099a565b820191906000526020600020905b81548152906001019060200180831161097d57829003601f168201915b5050505050905090565b60006109af8261192f565b6109ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e590613314565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3482610d96565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c906134b4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ac461193d565b73ffffffffffffffffffffffffffffffffffffffff161480610af35750610af281610aed61193d565b6117ad565b5b610b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b29906135d4565b60405180910390fd5b610b3c8383611945565b505050565b6000600454905090565b610b5c610b5661193d565b826119fe565b610b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9290613554565b60405180910390fd5b610ba6838383611adc565b505050565b60008060005b600454811015610c3c57610bc48161192f565b8015610c035750610bd481610d96565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15610c295783821415610c1a578092505050610c78565b8180610c25906138d8565b9250505b8080610c34906138d8565b915050610bb1565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6f90613414565b60405180910390fd5b92915050565b600b5481565b610c8c611d5f565b80600d60006101000a81548160ff02191690831515021790555050565b610cc483838360405180602001604052806000815250611496565b505050565b6000610cd3610b41565b8210610d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0b906132b4565b60405180910390fd5b6000805b600454811015610d6457610d2b8161192f565b15610d515783821415610d42578092505050610d67565b8180610d4d906138d8565b9250505b8080610d5c906138d8565b915050610d18565b50505b919050565b610d74611d5f565b80600b8190555050565b600e6020528060005260406000206000915090505481565b600080610da283611ddd565b50905080915050919050565b600f8054610dbb90613875565b80601f0160208091040260200160405190810160405280929190818152602001828054610de790613875565b8015610e345780601f10610e0957610100808354040283529160200191610e34565b820191906000526020600020905b815481529060010190602001808311610e1757829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490613354565b60405180910390fd5b6000805b600454811015610f2457610ec48161192f565b15610f1357610ed281610d96565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610f125781610f0f906138d8565b91505b5b80610f1d906138d8565b9050610eb1565b5080915050919050565b610f36611d5f565b610f406000611e6e565b565b600d60009054906101000a900460ff16610f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f88906133d4565b60405180910390fd5b6000610f9b610b41565b90503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fd557600080fd5b6008548110611019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101090613374565b60405180910390fd5b60095481111561105e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611055906132d4565b60405180910390fd5b600b54600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d890613474565b60405180910390fd5b600b5482600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461112f9190613704565b1115611170576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116790613514565b60405180910390fd5b600c546009546111809190613704565b828261118c9190613704565b11156111cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c490613434565b60405180910390fd5b6111d73383611f34565b81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112269190613704565b925050819055505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60095481565b60606002805461127090613875565b80601f016020809104026020016040519081016040528092919081815260200182805461129c90613875565b80156112e95780601f106112be576101008083540402835291602001916112e9565b820191906000526020600020905b8154815290600101906020018083116112cc57829003601f168201915b5050505050905090565b6112fb611d5f565b80600f9080519060200190611311929190612844565b5050565b61131d61193d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561138b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138290613394565b60405180910390fd5b806006600061139861193d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661144561193d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161148a9190613257565b60405180910390a35050565b6114a76114a161193d565b836119fe565b6114e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dd90613554565b60405180910390fd5b6114f284848484611f52565b50505050565b600a5481565b611506611d5f565b6000611510610b41565b90506008548110611556576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154d90613374565b60405180910390fd5b600a54600c541061159c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159390613534565b60405180910390fd5b600a5482600c546115ad9190613704565b11156115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e590613334565b60405180910390fd5b60085482826115fd9190613704565b111561163e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163590613454565b60405180910390fd5b6116488383611f34565b81600c600082825461165a9190613704565b92505081905550505050565b60606116718261192f565b6116b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a790613294565b60405180910390fd5b60006116ba611fb0565b905060008151116116da5760405180602001604052806000815250611705565b806116e484612042565b6040516020016116f59291906131b7565b6040516020818303038152906040525b915050919050565b600d60009054906101000a900460ff1681565b600c5481565b61172e611d5f565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611754906131db565b60006040518083038185875af1925050503d8060008114611791576040519150601f19603f3d011682016040523d82523d6000602084013e611796565b606091505b50509050806117a457600080fd5b50565b60085481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611849611d5f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b0906132f4565b60405180910390fd5b6118c281611e6e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060045482109050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166119b883610d96565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a098261192f565b611a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3f906135b4565b60405180910390fd5b6000611a5383610d96565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ac257508373ffffffffffffffffffffffffffffffffffffffff16611aaa846109a4565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ad35750611ad281856117ad565b5b91505092915050565b600080611ae883611ddd565b915091508473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611b5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5190613594565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc190613494565b60405180910390fd5b611bd785858560016121a3565b611be2600084611945565b6000600184611bf19190613704565b9050611c078160006121a990919063ffffffff16565b158015611c15575060045481105b15611c8157856003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611c8081600061220490919063ffffffff16565b5b846003600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818414611cef57611cee84600061220490919063ffffffff16565b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d578686866001612261565b505050505050565b611d6761193d565b73ffffffffffffffffffffffffffffffffffffffff16611d85611231565b73ffffffffffffffffffffffffffffffffffffffff1614611ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd2906134d4565b60405180910390fd5b565b600080611de98361192f565b611e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1f906135f4565b60405180910390fd5b611e3183612267565b90506003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150915091565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611f4e828260405180602001604052806000815250612284565b5050565b611f5d848484611adc565b611f6b8484846001856122e8565b611faa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa1906133b4565b60405180910390fd5b50505050565b6060600f8054611fbf90613875565b80601f0160208091040260200160405190810160405280929190818152602001828054611feb90613875565b80156120385780601f1061200d57610100808354040283529160200191612038565b820191906000526020600020905b81548152906001019060200180831161201b57829003601f168201915b5050505050905090565b6060600082141561208a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061219e565b600082905060005b600082146120bc5780806120a5906138d8565b915050600a826120b5919061375a565b9150612092565b60008167ffffffffffffffff8111156120d8576120d7613a0e565b5b6040519080825280601f01601f19166020018201604052801561210a5781602001600182028036833780820191505090505b5090505b6000851461219757600182612123919061378b565b9150600a856121329190613921565b603061213e9190613704565b60f81b818381518110612154576121536139df565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612190919061375a565b945061210e565b8093505050505b919050565b50505050565b600080600883901c9050600060ff84167f8000000000000000000000000000000000000000000000000000000000000000901c9050600081866000016000858152602001908152602001600020541614159250505092915050565b6000600882901c9050600060ff83167f8000000000000000000000000000000000000000000000000000000000000000901c9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b50505050565b600061227d8260006124ba90919063ffffffff16565b9050919050565b6000600454905061229584846125b3565b6122a36000858386866122e8565b6122e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d9906133b4565b60405180910390fd5b50505050565b60006123098573ffffffffffffffffffffffffffffffffffffffff16612794565b156124ac576001905060008490505b83856123249190613704565b8110156124a6578573ffffffffffffffffffffffffffffffffffffffff1663150b7a0261234f61193d565b8984876040518563ffffffff1660e01b8152600401612371949392919061320b565b602060405180830381600087803b15801561238b57600080fd5b505af19250505080156123bc57506040513d601f19601f820116820180604052508101906123b99190612c4d565b60015b61243f573d80600081146123ec576040519150601f19603f3d011682016040523d82523d6000602084013e6123f1565b606091505b50600081511415612437576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242e906133b4565b60405180910390fd5b805181602001fd5b828015612490575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b925050808061249e906138d8565b915050612318565b506124b1565b600190505b95945050505050565b600080600883901c9050600060ff8416905060008560000160008481526020019081526020016000205490508160ff1881901c9050600081111561251357612501816127b7565b60ff168203600884901b1793506125aa565b5b6001156125a9576000831161255e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612555906134f4565b60405180910390fd5b82806001900393505085600001600084815260200190815260200160002054905060008111156125a457612591816127b7565b60ff0360ff16600884901b1793506125a9565b612514565b5b50505092915050565b60006004549050600082116125fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f490613574565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561266d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612664906133f4565b60405180910390fd5b61267a60008483856121a3565b816004600082825461268c9190613704565b92505081905550826003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506126f981600061220490919063ffffffff16565b6127066000848385612261565b60008190505b82826127189190613704565b81101561278e57808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48080612786906138d8565b91505061270c565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060405180610120016040528061010081526020016142f4610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff61280085612829565b02901c81518110612814576128136139df565b5b602001015160f81c60f81b60f81c9050919050565b600080821161283757600080fd5b8160000382169050919050565b82805461285090613875565b90600052602060002090601f01602090048101928261287257600085556128b9565b82601f1061288b57805160ff19168380011785556128b9565b828001600101855582156128b9579182015b828111156128b857825182559160200191906001019061289d565b5b5090506128c691906128ca565b5090565b5b808211156128e35760008160009055506001016128cb565b5090565b60006128fa6128f584613654565b61362f565b90508281526020810184848401111561291657612915613a42565b5b612921848285613833565b509392505050565b600061293c61293784613685565b61362f565b90508281526020810184848401111561295857612957613a42565b5b612963848285613833565b509392505050565b60008135905061297a81614297565b92915050565b60008135905061298f816142ae565b92915050565b6000813590506129a4816142c5565b92915050565b6000815190506129b9816142c5565b92915050565b600082601f8301126129d4576129d3613a3d565b5b81356129e48482602086016128e7565b91505092915050565b600082601f830112612a0257612a01613a3d565b5b8135612a12848260208601612929565b91505092915050565b600081359050612a2a816142dc565b92915050565b600060208284031215612a4657612a45613a4c565b5b6000612a548482850161296b565b91505092915050565b60008060408385031215612a7457612a73613a4c565b5b6000612a828582860161296b565b9250506020612a938582860161296b565b9150509250929050565b600080600060608486031215612ab657612ab5613a4c565b5b6000612ac48682870161296b565b9350506020612ad58682870161296b565b9250506040612ae686828701612a1b565b9150509250925092565b60008060008060808587031215612b0a57612b09613a4c565b5b6000612b188782880161296b565b9450506020612b298782880161296b565b9350506040612b3a87828801612a1b565b925050606085013567ffffffffffffffff811115612b5b57612b5a613a47565b5b612b67878288016129bf565b91505092959194509250565b60008060408385031215612b8a57612b89613a4c565b5b6000612b988582860161296b565b9250506020612ba985828601612980565b9150509250929050565b60008060408385031215612bca57612bc9613a4c565b5b6000612bd88582860161296b565b9250506020612be985828601612a1b565b9150509250929050565b600060208284031215612c0957612c08613a4c565b5b6000612c1784828501612980565b91505092915050565b600060208284031215612c3657612c35613a4c565b5b6000612c4484828501612995565b91505092915050565b600060208284031215612c6357612c62613a4c565b5b6000612c71848285016129aa565b91505092915050565b600060208284031215612c9057612c8f613a4c565b5b600082013567ffffffffffffffff811115612cae57612cad613a47565b5b612cba848285016129ed565b91505092915050565b600060208284031215612cd957612cd8613a4c565b5b6000612ce784828501612a1b565b91505092915050565b612cf9816137bf565b82525050565b612d08816137d1565b82525050565b6000612d19826136b6565b612d2381856136cc565b9350612d33818560208601613842565b612d3c81613a51565b840191505092915050565b6000612d52826136c1565b612d5c81856136e8565b9350612d6c818560208601613842565b612d7581613a51565b840191505092915050565b6000612d8b826136c1565b612d9581856136f9565b9350612da5818560208601613842565b80840191505092915050565b6000612dbe602a836136e8565b9150612dc982613a62565b604082019050919050565b6000612de16025836136e8565b9150612dec82613ab1565b604082019050919050565b6000612e046028836136e8565b9150612e0f82613b00565b604082019050919050565b6000612e276026836136e8565b9150612e3282613b4f565b604082019050919050565b6000612e4a602f836136e8565b9150612e5582613b9e565b604082019050919050565b6000612e6d603b836136e8565b9150612e7882613bed565b604082019050919050565b6000612e90602d836136e8565b9150612e9b82613c3c565b604082019050919050565b6000612eb36021836136e8565b9150612ebe82613c8b565b604082019050919050565b6000612ed6601c836136e8565b9150612ee182613cda565b602082019050919050565b6000612ef96035836136e8565b9150612f0482613d03565b604082019050919050565b6000612f1c600c836136e8565b9150612f2782613d52565b602082019050919050565b6000612f3f6023836136e8565b9150612f4a82613d7b565b604082019050919050565b6000612f626024836136e8565b9150612f6d82613dca565b604082019050919050565b6000612f85603a836136e8565b9150612f9082613e19565b604082019050919050565b6000612fa86043836136e8565b9150612fb382613e68565b606082019050919050565b6000612fcb601c836136e8565b9150612fd682613edd565b602082019050919050565b6000612fee6027836136e8565b9150612ff982613f06565b604082019050919050565b60006130116024836136e8565b915061301c82613f55565b604082019050919050565b60006130346020836136e8565b915061303f82613fa4565b602082019050919050565b60006130576034836136e8565b915061306282613fcd565b604082019050919050565b600061307a6052836136e8565b91506130858261401c565b606082019050919050565b600061309d601d836136e8565b91506130a882614091565b602082019050919050565b60006130c06034836136e8565b91506130cb826140ba565b604082019050919050565b60006130e36025836136e8565b91506130ee82614109565b604082019050919050565b6000613106602c836136e8565b915061311182614158565b604082019050919050565b6000613129602f836136e8565b9150613134826141a7565b604082019050919050565b600061314c6000836136dd565b9150613157826141f6565b600082019050919050565b600061316f603b836136e8565b915061317a826141f9565b604082019050919050565b6000613192602c836136e8565b915061319d82614248565b604082019050919050565b6131b181613829565b82525050565b60006131c38285612d80565b91506131cf8284612d80565b91508190509392505050565b60006131e68261313f565b9150819050919050565b60006020820190506132056000830184612cf0565b92915050565b60006080820190506132206000830187612cf0565b61322d6020830186612cf0565b61323a60408301856131a8565b818103606083015261324c8184612d0e565b905095945050505050565b600060208201905061326c6000830184612cff565b92915050565b6000602082019050818103600083015261328c8184612d47565b905092915050565b600060208201905081810360008301526132ad81612db1565b9050919050565b600060208201905081810360008301526132cd81612dd4565b9050919050565b600060208201905081810360008301526132ed81612df7565b9050919050565b6000602082019050818103600083015261330d81612e1a565b9050919050565b6000602082019050818103600083015261332d81612e3d565b9050919050565b6000602082019050818103600083015261334d81612e60565b9050919050565b6000602082019050818103600083015261336d81612e83565b9050919050565b6000602082019050818103600083015261338d81612ea6565b9050919050565b600060208201905081810360008301526133ad81612ec9565b9050919050565b600060208201905081810360008301526133cd81612eec565b9050919050565b600060208201905081810360008301526133ed81612f0f565b9050919050565b6000602082019050818103600083015261340d81612f32565b9050919050565b6000602082019050818103600083015261342d81612f55565b9050919050565b6000602082019050818103600083015261344d81612f78565b9050919050565b6000602082019050818103600083015261346d81612f9b565b9050919050565b6000602082019050818103600083015261348d81612fbe565b9050919050565b600060208201905081810360008301526134ad81612fe1565b9050919050565b600060208201905081810360008301526134cd81613004565b9050919050565b600060208201905081810360008301526134ed81613027565b9050919050565b6000602082019050818103600083015261350d8161304a565b9050919050565b6000602082019050818103600083015261352d8161306d565b9050919050565b6000602082019050818103600083015261354d81613090565b9050919050565b6000602082019050818103600083015261356d816130b3565b9050919050565b6000602082019050818103600083015261358d816130d6565b9050919050565b600060208201905081810360008301526135ad816130f9565b9050919050565b600060208201905081810360008301526135cd8161311c565b9050919050565b600060208201905081810360008301526135ed81613162565b9050919050565b6000602082019050818103600083015261360d81613185565b9050919050565b600060208201905061362960008301846131a8565b92915050565b600061363961364a565b905061364582826138a7565b919050565b6000604051905090565b600067ffffffffffffffff82111561366f5761366e613a0e565b5b61367882613a51565b9050602081019050919050565b600067ffffffffffffffff8211156136a05761369f613a0e565b5b6136a982613a51565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061370f82613829565b915061371a83613829565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561374f5761374e613952565b5b828201905092915050565b600061376582613829565b915061377083613829565b9250826137805761377f613981565b5b828204905092915050565b600061379682613829565b91506137a183613829565b9250828210156137b4576137b3613952565b5b828203905092915050565b60006137ca82613809565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613860578082015181840152602081019050613845565b8381111561386f576000848401525b50505050565b6000600282049050600182168061388d57607f821691505b602082108114156138a1576138a06139b0565b5b50919050565b6138b082613a51565b810181811067ffffffffffffffff821117156138cf576138ce613a0e565b5b80604052505050565b60006138e382613829565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561391657613915613952565b5b600182019050919050565b600061392c82613829565b915061393783613829565b92508261394757613946613981565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732315073693a2055524920717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f4552433732315073693a20676c6f62616c20696e646578206f7574206f66206260008201527f6f756e6473000000000000000000000000000000000000000000000000000000602082015250565b7f43727970746f5065706550756e6b73207075626c6963206d696e74206973207360008201527f6f6c64206f75742e000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732315073693a20617070726f76656420717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5072697661746520737570706c792065786365656465642c206c6f776572206d60008201527f696e74207175616e7469747920616e642074727920616761696e2e0000000000602082015250565b7f4552433732315073693a2062616c616e636520717565727920666f722074686560008201527f207a65726f206164647265737300000000000000000000000000000000000000602082015250565b7f43727970746f5065706550756e6b73206d696e7420697320736f6c64206f757460008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732315073693a20617070726f766520746f2063616c6c657200000000600082015250565b7f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260008201527f31526563656976657220696d706c656d656e7465720000000000000000000000602082015250565b7f53616c65207061757365642e0000000000000000000000000000000000000000600082015250565b7f4552433732315073693a206d696e7420746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732315073693a206f776e657220696e646578206f7574206f6620626f60008201527f756e647300000000000000000000000000000000000000000000000000000000602082015250565b7f5075626c696320737570706c792065786365656465642c206c6f776572206d6960008201527f6e74207175616e7469747920616e642074727920616761696e2e000000000000602082015250565b7f43727970746f5065706550756e6b7320737570706c792065786365656465642c60008201527f206c6f776572206d696e74207175616e7469747920616e64207472792061676160208201527f696e2e0000000000000000000000000000000000000000000000000000000000604082015250565b7f596f75206861766520616c7265616479206d6178206d696e7465642e00000000600082015250565b7f4552433732315073693a207472616e7366657220746f20746865207a65726f2060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b7f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60008201527f776e657200000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4269744d6170733a205468652073657420626974206265666f7265207468652060008201527f696e64657820646f65736e27742065786973742e000000000000000000000000602082015250565b7f596f75206861766520657863656564656420746865206d6178696d756d20616c60008201527f6c6f776564207065722077616c6c65742c206c6f776572206d696e7420616d6f60208201527f756e7420616e642074727920616761696e2e0000000000000000000000000000604082015250565b7f596f75206861766520616c7265616479206d696e74656420313030302e000000600082015250565b7f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60008201527f74206f776e6572206e6f7220617070726f766564000000000000000000000000602082015250565b7f4552433732315073693a207175616e74697479206d757374206265206772656160008201527f7465722030000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160008201527f74206973206e6f74206f776e0000000000000000000000000000000000000000602082015250565b7f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b50565b7f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460008201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000602082015250565b7f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6142a0816137bf565b81146142ab57600080fd5b50565b6142b7816137d1565b81146142c257600080fd5b50565b6142ce816137dd565b81146142d957600080fd5b50565b6142e581613829565b81146142f057600080fd5b5056fe0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a2646970667358221220ae2823310c023c315933e8b57116dcaf6eb86bd892eff71d5aad4091c846501d64736f6c63430008070033
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.