Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 3,933 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 20052109 | 86 days ago | IN | 0 ETH | 0.00014893 | ||||
Set Approval For... | 19333280 | 186 days ago | IN | 0 ETH | 0.00196576 | ||||
Set Approval For... | 19201030 | 205 days ago | IN | 0 ETH | 0.00114159 | ||||
Safe Transfer Fr... | 19201013 | 205 days ago | IN | 0 ETH | 0.00185032 | ||||
Set Approval For... | 19106746 | 218 days ago | IN | 0 ETH | 0.00057141 | ||||
Safe Transfer Fr... | 18232423 | 341 days ago | IN | 0 ETH | 0.00056343 | ||||
Set Approval For... | 18232197 | 341 days ago | IN | 0 ETH | 0.00019332 | ||||
Set Approval For... | 17841024 | 395 days ago | IN | 0 ETH | 0.0007087 | ||||
Set Approval For... | 17681453 | 418 days ago | IN | 0 ETH | 0.00082235 | ||||
Set Approval For... | 17179922 | 488 days ago | IN | 0 ETH | 0.00260036 | ||||
Set Approval For... | 17045388 | 507 days ago | IN | 0 ETH | 0.0007272 | ||||
Set Approval For... | 16873071 | 532 days ago | IN | 0 ETH | 0.00063843 | ||||
Set Approval For... | 16816941 | 540 days ago | IN | 0 ETH | 0.00092917 | ||||
Set Approval For... | 16813109 | 540 days ago | IN | 0 ETH | 0.00091178 | ||||
Set Approval For... | 16791790 | 543 days ago | IN | 0 ETH | 0.00173749 | ||||
Set Approval For... | 16639799 | 565 days ago | IN | 0 ETH | 0.00149341 | ||||
Set Approval For... | 16582085 | 573 days ago | IN | 0 ETH | 0.0011073 | ||||
Set Approval For... | 16573709 | 574 days ago | IN | 0 ETH | 0.00112497 | ||||
Set Approval For... | 16573693 | 574 days ago | IN | 0 ETH | 0.00110069 | ||||
Set Approval For... | 16573676 | 574 days ago | IN | 0 ETH | 0.00115318 | ||||
Set Approval For... | 16573670 | 574 days ago | IN | 0 ETH | 0.00112666 | ||||
Set Approval For... | 16573661 | 574 days ago | IN | 0 ETH | 0.00117652 | ||||
Set Approval For... | 16568390 | 575 days ago | IN | 0 ETH | 0.00075872 | ||||
Set Approval For... | 16568384 | 575 days ago | IN | 0 ETH | 0.00082361 | ||||
Set Approval For... | 16568368 | 575 days ago | IN | 0 ETH | 0.0007154 |
Loading...
Loading
Contract Name:
ZzoopersEVO
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./libraries/Ownable.sol"; import "./libraries/ERC721A.sol"; import "./libraries/MerkleProof.sol"; import "./libraries/IERC2981.sol"; import "./libraries/ERC721.sol"; interface IZzoopersInterface { function mint( uint256 batchNo, uint256 zzoopersEVOTokenId, address to ) external returns (uint256); } /** * @title ZzoopersEVO contract */ contract ZzoopersEVO is ERC721A, IERC2981, Ownable { using MerkleProof for *; uint256 constant LIMIT_AMOUNT = 5555; uint256 constant BATCH_SIZE = 1111; bool private _salesStarted = false; bool private _publicSalesStarted = false; bytes32 private _whiteListMerkleRoot; IZzoopersInterface private _zzoopers; uint256 private _whiteListSalesPrice = 0.1 ether; uint256 private _publicSalesPrice = 0.15 ether; uint256 private _publicSalesCount = 0; uint256 private _migrateBatch = 0; //From 1 to 5; string private _zzoopersEVOBaseURI; string private _contractURI; address private _mintFeeReceiver; address private _royaltyReceiver; uint256 private _royaltyRate = 65; //6.5% event SetSalesPrice( uint256 newWhitelistSalesPrice, uint256 newPublicSalesPrice ); event ZzoopersMigrated( address indexed owner, uint256 zzoopersEVOTokenId, uint256 zzoopersTokenId ); constructor( bytes32 whiteListMerkleRoot, string memory baseURI, string memory contactURI ) ERC721A("ZzoopersEVO", "ZzoopersEVO") Ownable() { _whiteListMerkleRoot = whiteListMerkleRoot; _zzoopersEVOBaseURI = baseURI; _contractURI = contactURI; } function _startTokenId() internal pure override returns (uint256) { return 1; //TokenId start from 1; } function toggleSalesStarted() public onlyOwner { _salesStarted = !_salesStarted; } function togglePublicSalesStarted() public onlyOwner { _publicSalesStarted = !_publicSalesStarted; } function setSalesPrice( uint256 whitelistSalesPrice, uint256 publicSalesPrice ) public onlyOwner { _whiteListSalesPrice = whitelistSalesPrice; _publicSalesPrice = publicSalesPrice; emit SetSalesPrice(whitelistSalesPrice, publicSalesPrice); } function getWhiteListSalesPrice() public view returns (uint256) { return _whiteListSalesPrice; } function getPublicSalesPrice() public view returns (uint256) { return _publicSalesPrice; } function getPublicSalesCount() public view returns (uint256) { return _publicSalesCount; } function setZzoopersAddress(address newZzoopersAddress) public onlyOwner { _zzoopers = IZzoopersInterface(newZzoopersAddress); } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function whiteListMint(bytes32[] calldata merkleProof, uint256 quantity) public payable { require(_salesStarted, "ZzoopersEVO: Sales has not started"); require( !isContract(msg.sender), "ZzoopersEVO: Cannot mint via contract" ); require( MerkleProof.verify( merkleProof, _whiteListMerkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "ZzoopersEVO: Not in whitelist" ); require( _numberMinted(msg.sender) + quantity <= 2, "ZzoopersEVO: Can only mint 2 nfts per whitelist address" ); require( msg.value >= _whiteListSalesPrice * quantity, "ZzoopersEVO: Not enough money" ); require( _totalMinted() + quantity <= LIMIT_AMOUNT, "ZzoopersEVO: Limit reached" ); _mint(msg.sender, quantity); } function publicMint(uint256 quantity) public payable { require( _salesStarted && _publicSalesStarted, "ZzoopersEVO: Public sales has not started" ); require( !isContract(msg.sender), "ZzoopersEVO: Cannot mint via contract" ); require( msg.value >= _publicSalesPrice * quantity, "ZzoopersEVO: Not enough money" ); require( _numberMinted(msg.sender) + quantity <= 10, "ZzoopersEVO: Can only mint 10 nfts per address" ); require( _totalMinted() + quantity <= LIMIT_AMOUNT, "ZzoopersEVO: Limit reached" ); _mint(msg.sender, quantity); _publicSalesCount += quantity; } function isContract(address account) internal view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } function totalMinted() public view returns (uint256) { return _totalMinted(); } function setMigrateBatch(uint256 batchNo) public onlyOwner { require( batchNo >= 1 && batchNo <= 5, "ZzoopersEVO: Batch limit reached" ); require(_migrateBatch + 1 == batchNo, "ZzoopersEVO: Invalid batchNo "); _migrateBatch = batchNo; } function getMigrateBatch() public view returns (uint256) { return _migrateBatch; } //migrateToken migrate ZzoopersEVO NFT to Zzoopers NFT function migrateToken(uint256 tokenId) public returns (uint256) { require(_migrateBatch > 0, "ZzoopersEVO: migrate has not started"); require( !isContract(msg.sender), "ZzoopersEVO: Cannot migrate via contract" ); require(_exists(tokenId), "ZzoopersEVO: tokenId doesn't exist"); require( msg.sender == ownerOf(tokenId), "ZzoopersEVO: Only NFT owner can migrate" ); _burn(tokenId); uint256 zzoopersTokenId = _zzoopers.mint( _migrateBatch, tokenId, msg.sender ); emit ZzoopersMigrated(msg.sender, tokenId, zzoopersTokenId); return zzoopersTokenId; } function setMerkleRoot(bytes32 merkleRoot) public onlyOwner { _whiteListMerkleRoot = merkleRoot; } function tokenURI(uint256 tokenId) public view override returns (string memory) { return _zzoopersEVOBaseURI; } function setBaseURI(string calldata baseURI) public onlyOwner { _zzoopersEVOBaseURI = baseURI; } function setContractURI(string calldata contractUri) public onlyOwner { _contractURI = contractUri; } function contractURI() public view returns (string memory) { return _contractURI; } function setMintFeeReceiver(address newMintFeeReceiver) public onlyOwner { _mintFeeReceiver = newMintFeeReceiver; } function setRoyaltyReceiver(address newRoyaltyReceiver) public onlyOwner { _royaltyReceiver = newRoyaltyReceiver; } function getMintFeeReceiver() public view returns (address) { if (_mintFeeReceiver == address(0)) { return this.owner(); } return _mintFeeReceiver; } function getRoyaltyReceiver() public view returns (address) { if (_royaltyReceiver == address(0)) { return this.owner(); } return _royaltyReceiver; } function setRoyaltyRate(uint256 newRoyaltyRate) public onlyOwner { require( newRoyaltyRate >= 0 && newRoyaltyRate <= 1000, "ZzoopersEVO: newRoyaltyRate should between [0, 1000]" ); _royaltyRate = newRoyaltyRate; } function getRoyaltyRate() public view returns (uint256) { return _royaltyRate; } function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address receiver, uint256 royaltyAmount) { receiver = getRoyaltyReceiver(); royaltyAmount = (salePrice * _royaltyRate) / 1000; return (receiver, royaltyAmount); } function withdrawFunds() public onlyOwner { address receiver = getMintFeeReceiver(); payable(receiver).transfer(address(this).balance); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721A) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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" ); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./ERC165.sol"; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if ( to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data) ) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if ( !_checkContractOnERC721Received( address(0), to, updatedIndex++, _data ) ) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256( abi.encodePacked(computedHash, proofElement) ); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256( abi.encodePacked(proofElement, computedHash) ); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard */ interface IERC2981 is IERC165 { /** * @dev Called with the sale price to determine how much royalty is owed and to whom. * @param tokenId - the NFT asset queried for royalty information * @param salePrice - the sale price of the NFT asset specified by `tokenId` * @return receiver - address of who should be sent the royalty payment * @return royaltyAmount - the royalty payment amount for `salePrice` */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require( owner != address(0), "ERC721: balance query for the zero address" ); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require( owner != address(0), "ERC721: owner query for nonexistent token" ); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: 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 = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: 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), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: 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), "ERC721: 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), "ERC721: 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, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.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 tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer( address indexed from, address indexed to, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval( address indexed owner, address indexed approved, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll( address indexed owner, address indexed operator, bool approved ); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require( address(this).balance >= amount, "Address: insufficient balance" ); (bool success, ) = recipient.call{value: amount}(""); require( success, "Address: unable to send value, recipient may have reverted" ); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue( target, data, value, "Address: low-level call with value failed" ); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require( address(this).balance >= value, "Address: insufficient balance for call" ); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}( data ); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall( target, data, "Address: low-level static call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall( target, data, "Address: low-level delegate call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } struct slice { uint256 _len; uint256 _ptr; } function memcpy( uint256 dest, uint256 src, uint256 len ) private pure { // Copy word-length chunks while possible for (; len >= 32; len -= 32) { assembly { mstore(dest, mload(src)) } dest += 32; src += 32; } // Copy remaining bytes uint256 mask = 256**(32 - len) - 1; assembly { let srcpart := and(mload(src), not(mask)) let destpart := and(mload(dest), mask) mstore(dest, or(destpart, srcpart)) } } /* * @dev Returns a slice containing the entire string. * @param self The string to make a slice from. * @return A newly allocated slice containing the entire string. */ function toSlice(string memory self) internal pure returns (slice memory) { uint256 ptr; assembly { ptr := add(self, 0x20) } return slice(bytes(self).length, ptr); } /* * @dev Copies a slice to a new string. * @param self The slice to copy. * @return A newly allocated string containing the slice's text. */ function toString(slice memory self) internal pure returns (string memory) { string memory ret = new string(self._len); uint256 retptr; assembly { retptr := add(ret, 32) } memcpy(retptr, self._ptr, self._len); return ret; } // Returns the memory address of the first byte of the first occurrence of // `needle` in `self`, or the first byte after `self` if not found. function findPtr( uint256 selflen, uint256 selfptr, uint256 needlelen, uint256 needleptr ) private pure returns (uint256) { uint256 ptr = selfptr; uint256 idx; if (needlelen <= selflen) { if (needlelen <= 32) { bytes32 mask = bytes32(~(2**(8 * (32 - needlelen)) - 1)); bytes32 needledata; assembly { needledata := and(mload(needleptr), mask) } uint256 end = selfptr + selflen - needlelen; bytes32 ptrdata; assembly { ptrdata := and(mload(ptr), mask) } while (ptrdata != needledata) { if (ptr >= end) return selfptr + selflen; ptr++; assembly { ptrdata := and(mload(ptr), mask) } } return ptr; } else { // For long needles, use hashing bytes32 hash; assembly { hash := keccak256(needleptr, needlelen) } for (idx = 0; idx <= selflen - needlelen; idx++) { bytes32 testHash; assembly { testHash := keccak256(ptr, needlelen) } if (hash == testHash) return ptr; ptr += 1; } } } return selfptr + selflen; } /* * @dev Splits the slice, setting `self` to everything after the first * occurrence of `needle`, and `token` to everything before it. If * `needle` does not occur in `self`, `self` is set to the empty slice, * and `token` is set to the entirety of `self`. * @param self The slice to split. * @param needle The text to search for in `self`. * @param token An output parameter to which the first token is written. * @return `token`. */ function split( slice memory self, slice memory needle, slice memory token ) internal pure returns (slice memory) { uint256 ptr = findPtr(self._len, self._ptr, needle._len, needle._ptr); token._ptr = self._ptr; token._len = ptr - self._ptr; if (ptr == self._ptr + self._len) { // Not found self._len = 0; } else { self._len -= token._len + needle._len; self._ptr = ptr + needle._len; } return token; } /* * @dev Splits the slice, setting `self` to everything after the first * occurrence of `needle`, and returning everything before it. If * `needle` does not occur in `self`, `self` is set to the empty slice, * and the entirety of `self` is returned. * @param self The slice to split. * @param needle The text to search for in `self`. * @return The part of `self` up to the first occurrence of `delim`. */ function split(slice memory self, slice memory needle) internal pure returns (slice memory token) { split(self, needle, token); } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes32","name":"whiteListMerkleRoot","type":"bytes32"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"string","name":"contactURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newWhitelistSalesPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPublicSalesPrice","type":"uint256"}],"name":"SetSalesPrice","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"zzoopersEVOTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"zzoopersTokenId","type":"uint256"}],"name":"ZzoopersMigrated","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMigrateBatch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintFeeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicSalesCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicSalesPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRoyaltyRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRoyaltyReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhiteListSalesPrice","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"migrateToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractUri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"batchNo","type":"uint256"}],"name":"setMigrateBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMintFeeReceiver","type":"address"}],"name":"setMintFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRoyaltyRate","type":"uint256"}],"name":"setRoyaltyRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRoyaltyReceiver","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistSalesPrice","type":"uint256"},{"internalType":"uint256","name":"publicSalesPrice","type":"uint256"}],"name":"setSalesPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newZzoopersAddress","type":"address"}],"name":"setZzoopersAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublicSalesStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSalesStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"whiteListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600860146101000a81548160ff0219169083151502179055506000600860156101000a81548160ff02191690831515021790555067016345785d8a0000600b55670214e8348c4f0000600c556000600d556000600e5560416013553480156200006e57600080fd5b506040516200551b3803806200551b8339818101604052810190620000949190620003bc565b6040518060400160405280600b81526020017f5a7a6f6f7065727345564f0000000000000000000000000000000000000000008152506040518060400160405280600b81526020017f5a7a6f6f7065727345564f00000000000000000000000000000000000000000081525081600290805190602001906200011892919062000283565b5080600390805190602001906200013192919062000283565b5062000142620001ac60201b60201c565b60008190555050506200016a6200015e620001b560201b60201c565b620001bd60201b60201c565b8260098190555081600f90805190602001906200018992919062000283565b508060109080519060200190620001a292919062000283565b50505050620005d8565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200029190620004e3565b90600052602060002090601f016020900481019282620002b5576000855562000301565b82601f10620002d057805160ff191683800117855562000301565b8280016001018555821562000301579182015b8281111562000300578251825591602001919060010190620002e3565b5b50905062000310919062000314565b5090565b5b808211156200032f57600081600090555060010162000315565b5090565b60006200034a62000344846200046d565b62000444565b9050828152602081018484840111156200036357600080fd5b62000370848285620004ad565b509392505050565b6000815190506200038981620005be565b92915050565b600082601f830112620003a157600080fd5b8151620003b384826020860162000333565b91505092915050565b600080600060608486031215620003d257600080fd5b6000620003e28682870162000378565b935050602084015167ffffffffffffffff8111156200040057600080fd5b6200040e868287016200038f565b925050604084015167ffffffffffffffff8111156200042c57600080fd5b6200043a868287016200038f565b9150509250925092565b60006200045062000463565b90506200045e828262000519565b919050565b6000604051905090565b600067ffffffffffffffff8211156200048b576200048a6200057e565b5b6200049682620005ad565b9050602081019050919050565b6000819050919050565b60005b83811015620004cd578082015181840152602081019050620004b0565b83811115620004dd576000848401525b50505050565b60006002820490506001821680620004fc57607f821691505b602082108114156200051357620005126200054f565b5b50919050565b6200052482620005ad565b810181811067ffffffffffffffff821117156200054657620005456200057e565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620005c981620004a3565b8114620005d557600080fd5b50565b614f3380620005e86000396000f3fe60806040526004361061025c5760003560e01c8063715018a611610144578063b82398ce116100b6578063dc33e6811161007a578063dc33e681146108a3578063dd9d6274146108e0578063e488aa4a14610909578063e8a3d48514610920578063e985e9c51461094b578063f2fde38b146109885761025c565b8063b82398ce146107cb578063b88d4fde146107f6578063b96ef8bb1461081f578063c30bf3181461084a578063c87b56dd146108665761025c565b8063938e3d7b11610108578063938e3d7b146106cd57806395d89b41146106f6578063a22cb46514610721578063a2309ff81461074a578063a3d3ff0414610775578063a5bd5235146107a05761025c565b8063715018a61461060e5780637cb647591461062557806386cca6f81461064e5780638da5cb5b146106795780638dc251e3146106a45761025c565b8063313ec73f116101dd578063537782a2116101a1578063537782a2146104dc57806355f804b3146105055780635f6be6141461052e5780635fc2be401461056b5780636352211e1461059457806370a08231146105d15761025c565b8063313ec73f1461040b57806334e753c11461043457806342842e0e1461045f57806343f366c3146104885780634775d149146104b35761025c565b806323b872dd1161022457806323b872dd1461035a57806324600fc31461038357806325831a2d1461039a5780632a55205a146103b15780632db11544146103ef5761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806318160ddd1461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613e58565b6109b1565b6040516102959190614374565b60405180910390f35b3480156102aa57600080fd5b506102b3610a2b565b6040516102c0919061438f565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613eef565b610abd565b6040516102fd91906142e4565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613d9b565b610b39565b005b34801561033b57600080fd5b50610344610c44565b60405161035191906145d1565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190613c95565b610c5b565b005b34801561038f57600080fd5b50610398610c6b565b005b3480156103a657600080fd5b506103af610d3d565b005b3480156103bd57600080fd5b506103d860048036038101906103d39190613f41565b610de5565b6040516103e692919061434b565b60405180910390f35b61040960048036038101906104049190613eef565b610e16565b005b34801561041757600080fd5b50610432600480360381019061042d9190613c07565b610fea565b005b34801561044057600080fd5b506104496110aa565b60405161045691906145d1565b60405180910390f35b34801561046b57600080fd5b5061048660048036038101906104819190613c95565b6110b4565b005b34801561049457600080fd5b5061049d6110d4565b6040516104aa91906142e4565b60405180910390f35b3480156104bf57600080fd5b506104da60048036038101906104d59190613f41565b6111da565b005b3480156104e857600080fd5b5061050360048036038101906104fe9190613eef565b6112a1565b005b34801561051157600080fd5b5061052c60048036038101906105279190613eaa565b611379565b005b34801561053a57600080fd5b5061055560048036038101906105509190613eef565b61140b565b60405161056291906145d1565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d9190613eef565b611671565b005b3480156105a057600080fd5b506105bb60048036038101906105b69190613eef565b611798565b6040516105c891906142e4565b60405180910390f35b3480156105dd57600080fd5b506105f860048036038101906105f39190613c07565b6117ae565b60405161060591906145d1565b60405180910390f35b34801561061a57600080fd5b5061062361187e565b005b34801561063157600080fd5b5061064c60048036038101906106479190613e2f565b611906565b005b34801561065a57600080fd5b5061066361198c565b60405161067091906145d1565b60405180910390f35b34801561068557600080fd5b5061068e611996565b60405161069b91906142e4565b60405180910390f35b3480156106b057600080fd5b506106cb60048036038101906106c69190613c07565b6119c0565b005b3480156106d957600080fd5b506106f460048036038101906106ef9190613eaa565b611a80565b005b34801561070257600080fd5b5061070b611b12565b604051610718919061438f565b60405180910390f35b34801561072d57600080fd5b5061074860048036038101906107439190613d5f565b611ba4565b005b34801561075657600080fd5b5061075f611d1c565b60405161076c91906145d1565b60405180910390f35b34801561078157600080fd5b5061078a611d2b565b60405161079791906145d1565b60405180910390f35b3480156107ac57600080fd5b506107b5611d35565b6040516107c291906142e4565b60405180910390f35b3480156107d757600080fd5b506107e0611e3b565b6040516107ed91906145d1565b60405180910390f35b34801561080257600080fd5b5061081d60048036038101906108189190613ce4565b611e45565b005b34801561082b57600080fd5b50610834611ec1565b60405161084191906145d1565b60405180910390f35b610864600480360381019061085f9190613dd7565b611ecb565b005b34801561087257600080fd5b5061088d60048036038101906108889190613eef565b612123565b60405161089a919061438f565b60405180910390f35b3480156108af57600080fd5b506108ca60048036038101906108c59190613c07565b6121b7565b6040516108d791906145d1565b60405180910390f35b3480156108ec57600080fd5b5061090760048036038101906109029190613c07565b6121c9565b005b34801561091557600080fd5b5061091e612289565b005b34801561092c57600080fd5b50610935612331565b604051610942919061438f565b60405180910390f35b34801561095757600080fd5b50610972600480360381019061096d9190613c59565b6123c3565b60405161097f9190614374565b60405180910390f35b34801561099457600080fd5b506109af60048036038101906109aa9190613c07565b612457565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a245750610a238261254f565b5b9050919050565b606060028054610a3a9061487b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a669061487b565b8015610ab35780601f10610a8857610100808354040283529160200191610ab3565b820191906000526020600020905b815481529060010190602001808311610a9657829003601f168201915b5050505050905090565b6000610ac882612631565b610afe576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b4482611798565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bac576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bcb61267f565b73ffffffffffffffffffffffffffffffffffffffff1614158015610bfd5750610bfb81610bf661267f565b6123c3565b155b15610c34576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c3f838383612687565b505050565b6000610c4e612739565b6001546000540303905090565b610c66838383612742565b505050565b610c7361267f565b73ffffffffffffffffffffffffffffffffffffffff16610c91611996565b73ffffffffffffffffffffffffffffffffffffffff1614610ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cde906144f1565b60405180910390fd5b6000610cf16110d4565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610d39573d6000803e3d6000fd5b5050565b610d4561267f565b73ffffffffffffffffffffffffffffffffffffffff16610d63611996565b73ffffffffffffffffffffffffffffffffffffffff1614610db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db0906144f1565b60405180910390fd5b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b600080610df0611d35565b91506103e860135484610e039190614761565b610e0d9190614730565b90509250929050565b600860149054906101000a900460ff168015610e3e5750600860159054906101000a900460ff165b610e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7490614511565b60405180910390fd5b610e8633612bf8565b15610ec6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebd90614431565b60405180910390fd5b80600c54610ed49190614761565b341015610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d90614591565b60405180910390fd5b600a81610f2233612c0b565b610f2c91906146da565b1115610f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6490614411565b60405180910390fd5b6115b381610f79612c75565b610f8391906146da565b1115610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb90614571565b60405180910390fd5b610fce3382612c88565b80600d6000828254610fe091906146da565b9250508190555050565b610ff261267f565b73ffffffffffffffffffffffffffffffffffffffff16611010611996565b73ffffffffffffffffffffffffffffffffffffffff1614611066576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105d906144f1565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600c54905090565b6110cf83838360405180602001604052806000815250611e45565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156111b1573073ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561117257600080fd5b505afa158015611186573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111aa9190613c30565b90506111d7565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b90565b6111e261267f565b73ffffffffffffffffffffffffffffffffffffffff16611200611996565b73ffffffffffffffffffffffffffffffffffffffff1614611256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124d906144f1565b60405180910390fd5b81600b8190555080600c819055507f81cf1ed0f0d11cef0dc37158ec31a9c4e806b4e775809f8b9fa057d716016d4f82826040516112959291906145ec565b60405180910390a15050565b6112a961267f565b73ffffffffffffffffffffffffffffffffffffffff166112c7611996565b73ffffffffffffffffffffffffffffffffffffffff161461131d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611314906144f1565b60405180910390fd5b6000811015801561133057506103e88111155b61136f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611366906145b1565b60405180910390fd5b8060138190555050565b61138161267f565b73ffffffffffffffffffffffffffffffffffffffff1661139f611996565b73ffffffffffffffffffffffffffffffffffffffff16146113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec906144f1565b60405180910390fd5b8181600f919061140692919061397d565b505050565b600080600e5411611451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144890614451565b60405180910390fd5b61145a33612bf8565b1561149a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149190614531565b60405180910390fd5b6114a382612631565b6114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d990614471565b60405180910390fd5b6114eb82611798565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154f90614491565b60405180910390fd5b61156182612f65565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e7d3fe6b600e5485336040518463ffffffff1660e01b81526004016115c493929190614615565b602060405180830381600087803b1580156115de57600080fd5b505af11580156115f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116169190613f18565b90503373ffffffffffffffffffffffffffffffffffffffff167f24b1dbdfb939867acc6a2195e79bb9110bfa5101bebe8768cff2d1bf0156eeee84836040516116609291906145ec565b60405180910390a280915050919050565b61167961267f565b73ffffffffffffffffffffffffffffffffffffffff16611697611996565b73ffffffffffffffffffffffffffffffffffffffff16146116ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e4906144f1565b60405180910390fd5b600181101580156116ff575060058111155b61173e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173590614551565b60405180910390fd5b806001600e5461174e91906146da565b1461178e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611785906144d1565b60405180910390fd5b80600e8190555050565b60006117a382612f73565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611816576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61188661267f565b73ffffffffffffffffffffffffffffffffffffffff166118a4611996565b73ffffffffffffffffffffffffffffffffffffffff16146118fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f1906144f1565b60405180910390fd5b6119046000613202565b565b61190e61267f565b73ffffffffffffffffffffffffffffffffffffffff1661192c611996565b73ffffffffffffffffffffffffffffffffffffffff1614611982576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611979906144f1565b60405180910390fd5b8060098190555050565b6000601354905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6119c861267f565b73ffffffffffffffffffffffffffffffffffffffff166119e6611996565b73ffffffffffffffffffffffffffffffffffffffff1614611a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a33906144f1565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611a8861267f565b73ffffffffffffffffffffffffffffffffffffffff16611aa6611996565b73ffffffffffffffffffffffffffffffffffffffff1614611afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af3906144f1565b60405180910390fd5b818160109190611b0d92919061397d565b505050565b606060038054611b219061487b565b80601f0160208091040260200160405190810160405280929190818152602001828054611b4d9061487b565b8015611b9a5780601f10611b6f57610100808354040283529160200191611b9a565b820191906000526020600020905b815481529060010190602001808311611b7d57829003601f168201915b5050505050905090565b611bac61267f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c11576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611c1e61267f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ccb61267f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d109190614374565b60405180910390a35050565b6000611d26612c75565b905090565b6000600d54905090565b60008073ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611e12573073ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611dd357600080fd5b505afa158015611de7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e0b9190613c30565b9050611e38565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b90565b6000600e54905090565b611e50848484612742565b611e6f8373ffffffffffffffffffffffffffffffffffffffff166132c8565b8015611e845750611e82848484846132db565b155b15611ebb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000600b54905090565b600860149054906101000a900460ff16611f1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f11906143d1565b60405180910390fd5b611f2333612bf8565b15611f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5a90614431565b60405180910390fd5b611fd7838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095433604051602001611fbc919061429d565b6040516020818303038152906040528051906020012061343b565b612016576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200d906144b1565b60405180910390fd5b60028161202233612c0b565b61202c91906146da565b111561206d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612064906143b1565b60405180910390fd5b80600b5461207b9190614761565b3410156120bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b490614591565b60405180910390fd5b6115b3816120c9612c75565b6120d391906146da565b1115612114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210b90614571565b60405180910390fd5b61211e3382612c88565b505050565b6060600f80546121329061487b565b80601f016020809104026020016040519081016040528092919081815260200182805461215e9061487b565b80156121ab5780601f10612180576101008083540402835291602001916121ab565b820191906000526020600020905b81548152906001019060200180831161218e57829003601f168201915b50505050509050919050565b60006121c282612c0b565b9050919050565b6121d161267f565b73ffffffffffffffffffffffffffffffffffffffff166121ef611996565b73ffffffffffffffffffffffffffffffffffffffff1614612245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223c906144f1565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61229161267f565b73ffffffffffffffffffffffffffffffffffffffff166122af611996565b73ffffffffffffffffffffffffffffffffffffffff1614612305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fc906144f1565b60405180910390fd5b600860159054906101000a900460ff1615600860156101000a81548160ff021916908315150217905550565b6060601080546123409061487b565b80601f016020809104026020016040519081016040528092919081815260200182805461236c9061487b565b80156123b95780601f1061238e576101008083540402835291602001916123b9565b820191906000526020600020905b81548152906001019060200180831161239c57829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61245f61267f565b73ffffffffffffffffffffffffffffffffffffffff1661247d611996565b73ffffffffffffffffffffffffffffffffffffffff16146124d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ca906144f1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612543576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253a906143f1565b60405180910390fd5b61254c81613202565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061261a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061262a575061262982613517565b5b9050919050565b60008161263c612739565b1115801561264b575060005482105b8015612678575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061274d82612f73565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127b8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166127d961267f565b73ffffffffffffffffffffffffffffffffffffffff16148061280857506128078561280261267f565b6123c3565b5b8061284d575061281661267f565b73ffffffffffffffffffffffffffffffffffffffff1661283584610abd565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612886576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156128ed576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128fa8585856001613581565b61290660008487612687565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612b86576000548214612b8557878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612bf18585856001613587565b5050505050565b600080823b905060008111915050919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6000612c7f612739565b60005403905090565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cf5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612d30576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d3d6000848385613581565b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550826004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612ee057816000819055505050612f606000848385613587565b505050565b612f7081600061358d565b50565b612f7b613a03565b600082905080612f89612739565b11158015612f98575060005481105b156131cb576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516131c957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146130ad5780925050506131fd565b5b6001156131c857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146131c35780925050506131fd565b6130ae565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261330161267f565b8786866040518563ffffffff1660e01b815260040161332394939291906142ff565b602060405180830381600087803b15801561333d57600080fd5b505af192505050801561336e57506040513d601f19601f8201168201806040525081019061336b9190613e81565b60015b6133e8573d806000811461339e576040519150601f19603f3d011682016040523d82523d6000602084013e6133a3565b606091505b506000815114156133e0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008082905060005b8551811015613509576000868281518110613488577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116134c95782816040516020016134ac9291906142b8565b6040516020818303038152906040528051906020012092506134f5565b80836040516020016134dc9291906142b8565b6040516020818303038152906040528051906020012092505b508080613501906148de565b915050613444565b508381149150509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b600061359883612f73565b905060008160000151905082156136795760008173ffffffffffffffffffffffffffffffffffffffff166135ca61267f565b73ffffffffffffffffffffffffffffffffffffffff1614806135f957506135f8826135f361267f565b6123c3565b5b8061363e575061360761267f565b73ffffffffffffffffffffffffffffffffffffffff1661362686610abd565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613677576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b613687816000866001613581565b61369360008583612687565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060018160000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060018160000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008781526020019081526020016000209050828160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600181600001601c6101000a81548160ff02191690831515021790555060006001870190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156138f75760005482146138f657848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5050505083600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613965816000866001613587565b60016000815480929190600101919050555050505050565b8280546139899061487b565b90600052602060002090601f0160209004810192826139ab57600085556139f2565b82601f106139c457803560ff19168380011785556139f2565b828001600101855582156139f2579182015b828111156139f15782358255916020019190600101906139d6565b5b5090506139ff9190613a46565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613a5f576000816000905550600101613a47565b5090565b6000613a76613a7184614671565b61464c565b905082815260208101848484011115613a8e57600080fd5b613a99848285614839565b509392505050565b600081359050613ab081614e8a565b92915050565b600081519050613ac581614e8a565b92915050565b60008083601f840112613add57600080fd5b8235905067ffffffffffffffff811115613af657600080fd5b602083019150836020820283011115613b0e57600080fd5b9250929050565b600081359050613b2481614ea1565b92915050565b600081359050613b3981614eb8565b92915050565b600081359050613b4e81614ecf565b92915050565b600081519050613b6381614ecf565b92915050565b600082601f830112613b7a57600080fd5b8135613b8a848260208601613a63565b91505092915050565b60008083601f840112613ba557600080fd5b8235905067ffffffffffffffff811115613bbe57600080fd5b602083019150836001820283011115613bd657600080fd5b9250929050565b600081359050613bec81614ee6565b92915050565b600081519050613c0181614ee6565b92915050565b600060208284031215613c1957600080fd5b6000613c2784828501613aa1565b91505092915050565b600060208284031215613c4257600080fd5b6000613c5084828501613ab6565b91505092915050565b60008060408385031215613c6c57600080fd5b6000613c7a85828601613aa1565b9250506020613c8b85828601613aa1565b9150509250929050565b600080600060608486031215613caa57600080fd5b6000613cb886828701613aa1565b9350506020613cc986828701613aa1565b9250506040613cda86828701613bdd565b9150509250925092565b60008060008060808587031215613cfa57600080fd5b6000613d0887828801613aa1565b9450506020613d1987828801613aa1565b9350506040613d2a87828801613bdd565b925050606085013567ffffffffffffffff811115613d4757600080fd5b613d5387828801613b69565b91505092959194509250565b60008060408385031215613d7257600080fd5b6000613d8085828601613aa1565b9250506020613d9185828601613b15565b9150509250929050565b60008060408385031215613dae57600080fd5b6000613dbc85828601613aa1565b9250506020613dcd85828601613bdd565b9150509250929050565b600080600060408486031215613dec57600080fd5b600084013567ffffffffffffffff811115613e0657600080fd5b613e1286828701613acb565b93509350506020613e2586828701613bdd565b9150509250925092565b600060208284031215613e4157600080fd5b6000613e4f84828501613b2a565b91505092915050565b600060208284031215613e6a57600080fd5b6000613e7884828501613b3f565b91505092915050565b600060208284031215613e9357600080fd5b6000613ea184828501613b54565b91505092915050565b60008060208385031215613ebd57600080fd5b600083013567ffffffffffffffff811115613ed757600080fd5b613ee385828601613b93565b92509250509250929050565b600060208284031215613f0157600080fd5b6000613f0f84828501613bdd565b91505092915050565b600060208284031215613f2a57600080fd5b6000613f3884828501613bf2565b91505092915050565b60008060408385031215613f5457600080fd5b6000613f6285828601613bdd565b9250506020613f7385828601613bdd565b9150509250929050565b613f86816147bb565b82525050565b613f9d613f98826147bb565b614927565b82525050565b613fac816147cd565b82525050565b613fc3613fbe826147d9565b614939565b82525050565b6000613fd4826146a2565b613fde81856146b8565b9350613fee818560208601614848565b613ff781614a11565b840191505092915050565b600061400d826146ad565b61401781856146c9565b9350614027818560208601614848565b61403081614a11565b840191505092915050565b60006140486037836146c9565b915061405382614a2f565b604082019050919050565b600061406b6022836146c9565b915061407682614a7e565b604082019050919050565b600061408e6026836146c9565b915061409982614acd565b604082019050919050565b60006140b1602e836146c9565b91506140bc82614b1c565b604082019050919050565b60006140d46025836146c9565b91506140df82614b6b565b604082019050919050565b60006140f76024836146c9565b915061410282614bba565b604082019050919050565b600061411a6022836146c9565b915061412582614c09565b604082019050919050565b600061413d6027836146c9565b915061414882614c58565b604082019050919050565b6000614160601d836146c9565b915061416b82614ca7565b602082019050919050565b6000614183601d836146c9565b915061418e82614cd0565b602082019050919050565b60006141a66020836146c9565b91506141b182614cf9565b602082019050919050565b60006141c96029836146c9565b91506141d482614d22565b604082019050919050565b60006141ec6028836146c9565b91506141f782614d71565b604082019050919050565b600061420f6020836146c9565b915061421a82614dc0565b602082019050919050565b6000614232601a836146c9565b915061423d82614de9565b602082019050919050565b6000614255601d836146c9565b915061426082614e12565b602082019050919050565b60006142786034836146c9565b915061428382614e3b565b604082019050919050565b6142978161482f565b82525050565b60006142a98284613f8c565b60148201915081905092915050565b60006142c48285613fb2565b6020820191506142d48284613fb2565b6020820191508190509392505050565b60006020820190506142f96000830184613f7d565b92915050565b60006080820190506143146000830187613f7d565b6143216020830186613f7d565b61432e604083018561428e565b81810360608301526143408184613fc9565b905095945050505050565b60006040820190506143606000830185613f7d565b61436d602083018461428e565b9392505050565b60006020820190506143896000830184613fa3565b92915050565b600060208201905081810360008301526143a98184614002565b905092915050565b600060208201905081810360008301526143ca8161403b565b9050919050565b600060208201905081810360008301526143ea8161405e565b9050919050565b6000602082019050818103600083015261440a81614081565b9050919050565b6000602082019050818103600083015261442a816140a4565b9050919050565b6000602082019050818103600083015261444a816140c7565b9050919050565b6000602082019050818103600083015261446a816140ea565b9050919050565b6000602082019050818103600083015261448a8161410d565b9050919050565b600060208201905081810360008301526144aa81614130565b9050919050565b600060208201905081810360008301526144ca81614153565b9050919050565b600060208201905081810360008301526144ea81614176565b9050919050565b6000602082019050818103600083015261450a81614199565b9050919050565b6000602082019050818103600083015261452a816141bc565b9050919050565b6000602082019050818103600083015261454a816141df565b9050919050565b6000602082019050818103600083015261456a81614202565b9050919050565b6000602082019050818103600083015261458a81614225565b9050919050565b600060208201905081810360008301526145aa81614248565b9050919050565b600060208201905081810360008301526145ca8161426b565b9050919050565b60006020820190506145e6600083018461428e565b92915050565b6000604082019050614601600083018561428e565b61460e602083018461428e565b9392505050565b600060608201905061462a600083018661428e565b614637602083018561428e565b6146446040830184613f7d565b949350505050565b6000614656614667565b905061466282826148ad565b919050565b6000604051905090565b600067ffffffffffffffff82111561468c5761468b6149e2565b5b61469582614a11565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006146e58261482f565b91506146f08361482f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561472557614724614955565b5b828201905092915050565b600061473b8261482f565b91506147468361482f565b92508261475657614755614984565b5b828204905092915050565b600061476c8261482f565b91506147778361482f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147b0576147af614955565b5b828202905092915050565b60006147c68261480f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561486657808201518184015260208101905061484b565b83811115614875576000848401525b50505050565b6000600282049050600182168061489357607f821691505b602082108114156148a7576148a66149b3565b5b50919050565b6148b682614a11565b810181811067ffffffffffffffff821117156148d5576148d46149e2565b5b80604052505050565b60006148e98261482f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561491c5761491b614955565b5b600182019050919050565b600061493282614943565b9050919050565b6000819050919050565b600061494e82614a22565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5a7a6f6f7065727345564f3a2043616e206f6e6c79206d696e742032206e667460008201527f73207065722077686974656c6973742061646472657373000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a2053616c657320686173206e6f7420737461727460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a2043616e206f6e6c79206d696e74203130206e6660008201527f7473207065722061646472657373000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a2043616e6e6f74206d696e742076696120636f6e60008201527f7472616374000000000000000000000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a206d69677261746520686173206e6f742073746160008201527f7274656400000000000000000000000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a20746f6b656e496420646f65736e27742065786960008201527f7374000000000000000000000000000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a204f6e6c79204e4654206f776e65722063616e2060008201527f6d69677261746500000000000000000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a204e6f7420696e2077686974656c697374000000600082015250565b7f5a7a6f6f7065727345564f3a20496e76616c69642062617463684e6f20000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5a7a6f6f7065727345564f3a205075626c69632073616c657320686173206e6f60008201527f7420737461727465640000000000000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a2043616e6e6f74206d696772617465207669612060008201527f636f6e7472616374000000000000000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a204261746368206c696d69742072656163686564600082015250565b7f5a7a6f6f7065727345564f3a204c696d69742072656163686564000000000000600082015250565b7f5a7a6f6f7065727345564f3a204e6f7420656e6f756768206d6f6e6579000000600082015250565b7f5a7a6f6f7065727345564f3a206e6577526f79616c7479526174652073686f7560008201527f6c64206265747765656e205b302c20313030305d000000000000000000000000602082015250565b614e93816147bb565b8114614e9e57600080fd5b50565b614eaa816147cd565b8114614eb557600080fd5b50565b614ec1816147d9565b8114614ecc57600080fd5b50565b614ed8816147e3565b8114614ee357600080fd5b50565b614eef8161482f565b8114614efa57600080fd5b5056fea2646970667358221220a454a8a7d837d730b6dbbe8af0c2064274d1333eaaf2fc9c70b450f62f4e2b7964736f6c63430008040033b57eda7d6d93c365be3038eeafd69083179692f81315eb38a02679d3704f5735000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261667962656967706b78326e6679677a6c6766367375686d786564367836377a3534756c6d326a7037616b7934666269766a6b747767623267340000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5265553941634170754654417a723266565641444e6a5965717633536d7542484733486f524739434739336d0000000000000000000000
Deployed Bytecode
0x60806040526004361061025c5760003560e01c8063715018a611610144578063b82398ce116100b6578063dc33e6811161007a578063dc33e681146108a3578063dd9d6274146108e0578063e488aa4a14610909578063e8a3d48514610920578063e985e9c51461094b578063f2fde38b146109885761025c565b8063b82398ce146107cb578063b88d4fde146107f6578063b96ef8bb1461081f578063c30bf3181461084a578063c87b56dd146108665761025c565b8063938e3d7b11610108578063938e3d7b146106cd57806395d89b41146106f6578063a22cb46514610721578063a2309ff81461074a578063a3d3ff0414610775578063a5bd5235146107a05761025c565b8063715018a61461060e5780637cb647591461062557806386cca6f81461064e5780638da5cb5b146106795780638dc251e3146106a45761025c565b8063313ec73f116101dd578063537782a2116101a1578063537782a2146104dc57806355f804b3146105055780635f6be6141461052e5780635fc2be401461056b5780636352211e1461059457806370a08231146105d15761025c565b8063313ec73f1461040b57806334e753c11461043457806342842e0e1461045f57806343f366c3146104885780634775d149146104b35761025c565b806323b872dd1161022457806323b872dd1461035a57806324600fc31461038357806325831a2d1461039a5780632a55205a146103b15780632db11544146103ef5761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806318160ddd1461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613e58565b6109b1565b6040516102959190614374565b60405180910390f35b3480156102aa57600080fd5b506102b3610a2b565b6040516102c0919061438f565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613eef565b610abd565b6040516102fd91906142e4565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613d9b565b610b39565b005b34801561033b57600080fd5b50610344610c44565b60405161035191906145d1565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190613c95565b610c5b565b005b34801561038f57600080fd5b50610398610c6b565b005b3480156103a657600080fd5b506103af610d3d565b005b3480156103bd57600080fd5b506103d860048036038101906103d39190613f41565b610de5565b6040516103e692919061434b565b60405180910390f35b61040960048036038101906104049190613eef565b610e16565b005b34801561041757600080fd5b50610432600480360381019061042d9190613c07565b610fea565b005b34801561044057600080fd5b506104496110aa565b60405161045691906145d1565b60405180910390f35b34801561046b57600080fd5b5061048660048036038101906104819190613c95565b6110b4565b005b34801561049457600080fd5b5061049d6110d4565b6040516104aa91906142e4565b60405180910390f35b3480156104bf57600080fd5b506104da60048036038101906104d59190613f41565b6111da565b005b3480156104e857600080fd5b5061050360048036038101906104fe9190613eef565b6112a1565b005b34801561051157600080fd5b5061052c60048036038101906105279190613eaa565b611379565b005b34801561053a57600080fd5b5061055560048036038101906105509190613eef565b61140b565b60405161056291906145d1565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d9190613eef565b611671565b005b3480156105a057600080fd5b506105bb60048036038101906105b69190613eef565b611798565b6040516105c891906142e4565b60405180910390f35b3480156105dd57600080fd5b506105f860048036038101906105f39190613c07565b6117ae565b60405161060591906145d1565b60405180910390f35b34801561061a57600080fd5b5061062361187e565b005b34801561063157600080fd5b5061064c60048036038101906106479190613e2f565b611906565b005b34801561065a57600080fd5b5061066361198c565b60405161067091906145d1565b60405180910390f35b34801561068557600080fd5b5061068e611996565b60405161069b91906142e4565b60405180910390f35b3480156106b057600080fd5b506106cb60048036038101906106c69190613c07565b6119c0565b005b3480156106d957600080fd5b506106f460048036038101906106ef9190613eaa565b611a80565b005b34801561070257600080fd5b5061070b611b12565b604051610718919061438f565b60405180910390f35b34801561072d57600080fd5b5061074860048036038101906107439190613d5f565b611ba4565b005b34801561075657600080fd5b5061075f611d1c565b60405161076c91906145d1565b60405180910390f35b34801561078157600080fd5b5061078a611d2b565b60405161079791906145d1565b60405180910390f35b3480156107ac57600080fd5b506107b5611d35565b6040516107c291906142e4565b60405180910390f35b3480156107d757600080fd5b506107e0611e3b565b6040516107ed91906145d1565b60405180910390f35b34801561080257600080fd5b5061081d60048036038101906108189190613ce4565b611e45565b005b34801561082b57600080fd5b50610834611ec1565b60405161084191906145d1565b60405180910390f35b610864600480360381019061085f9190613dd7565b611ecb565b005b34801561087257600080fd5b5061088d60048036038101906108889190613eef565b612123565b60405161089a919061438f565b60405180910390f35b3480156108af57600080fd5b506108ca60048036038101906108c59190613c07565b6121b7565b6040516108d791906145d1565b60405180910390f35b3480156108ec57600080fd5b5061090760048036038101906109029190613c07565b6121c9565b005b34801561091557600080fd5b5061091e612289565b005b34801561092c57600080fd5b50610935612331565b604051610942919061438f565b60405180910390f35b34801561095757600080fd5b50610972600480360381019061096d9190613c59565b6123c3565b60405161097f9190614374565b60405180910390f35b34801561099457600080fd5b506109af60048036038101906109aa9190613c07565b612457565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a245750610a238261254f565b5b9050919050565b606060028054610a3a9061487b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a669061487b565b8015610ab35780601f10610a8857610100808354040283529160200191610ab3565b820191906000526020600020905b815481529060010190602001808311610a9657829003601f168201915b5050505050905090565b6000610ac882612631565b610afe576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b4482611798565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bac576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bcb61267f565b73ffffffffffffffffffffffffffffffffffffffff1614158015610bfd5750610bfb81610bf661267f565b6123c3565b155b15610c34576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c3f838383612687565b505050565b6000610c4e612739565b6001546000540303905090565b610c66838383612742565b505050565b610c7361267f565b73ffffffffffffffffffffffffffffffffffffffff16610c91611996565b73ffffffffffffffffffffffffffffffffffffffff1614610ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cde906144f1565b60405180910390fd5b6000610cf16110d4565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610d39573d6000803e3d6000fd5b5050565b610d4561267f565b73ffffffffffffffffffffffffffffffffffffffff16610d63611996565b73ffffffffffffffffffffffffffffffffffffffff1614610db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db0906144f1565b60405180910390fd5b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b600080610df0611d35565b91506103e860135484610e039190614761565b610e0d9190614730565b90509250929050565b600860149054906101000a900460ff168015610e3e5750600860159054906101000a900460ff165b610e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7490614511565b60405180910390fd5b610e8633612bf8565b15610ec6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebd90614431565b60405180910390fd5b80600c54610ed49190614761565b341015610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d90614591565b60405180910390fd5b600a81610f2233612c0b565b610f2c91906146da565b1115610f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6490614411565b60405180910390fd5b6115b381610f79612c75565b610f8391906146da565b1115610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb90614571565b60405180910390fd5b610fce3382612c88565b80600d6000828254610fe091906146da565b9250508190555050565b610ff261267f565b73ffffffffffffffffffffffffffffffffffffffff16611010611996565b73ffffffffffffffffffffffffffffffffffffffff1614611066576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105d906144f1565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600c54905090565b6110cf83838360405180602001604052806000815250611e45565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156111b1573073ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561117257600080fd5b505afa158015611186573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111aa9190613c30565b90506111d7565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b90565b6111e261267f565b73ffffffffffffffffffffffffffffffffffffffff16611200611996565b73ffffffffffffffffffffffffffffffffffffffff1614611256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124d906144f1565b60405180910390fd5b81600b8190555080600c819055507f81cf1ed0f0d11cef0dc37158ec31a9c4e806b4e775809f8b9fa057d716016d4f82826040516112959291906145ec565b60405180910390a15050565b6112a961267f565b73ffffffffffffffffffffffffffffffffffffffff166112c7611996565b73ffffffffffffffffffffffffffffffffffffffff161461131d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611314906144f1565b60405180910390fd5b6000811015801561133057506103e88111155b61136f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611366906145b1565b60405180910390fd5b8060138190555050565b61138161267f565b73ffffffffffffffffffffffffffffffffffffffff1661139f611996565b73ffffffffffffffffffffffffffffffffffffffff16146113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec906144f1565b60405180910390fd5b8181600f919061140692919061397d565b505050565b600080600e5411611451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144890614451565b60405180910390fd5b61145a33612bf8565b1561149a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149190614531565b60405180910390fd5b6114a382612631565b6114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d990614471565b60405180910390fd5b6114eb82611798565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154f90614491565b60405180910390fd5b61156182612f65565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e7d3fe6b600e5485336040518463ffffffff1660e01b81526004016115c493929190614615565b602060405180830381600087803b1580156115de57600080fd5b505af11580156115f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116169190613f18565b90503373ffffffffffffffffffffffffffffffffffffffff167f24b1dbdfb939867acc6a2195e79bb9110bfa5101bebe8768cff2d1bf0156eeee84836040516116609291906145ec565b60405180910390a280915050919050565b61167961267f565b73ffffffffffffffffffffffffffffffffffffffff16611697611996565b73ffffffffffffffffffffffffffffffffffffffff16146116ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e4906144f1565b60405180910390fd5b600181101580156116ff575060058111155b61173e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173590614551565b60405180910390fd5b806001600e5461174e91906146da565b1461178e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611785906144d1565b60405180910390fd5b80600e8190555050565b60006117a382612f73565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611816576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61188661267f565b73ffffffffffffffffffffffffffffffffffffffff166118a4611996565b73ffffffffffffffffffffffffffffffffffffffff16146118fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f1906144f1565b60405180910390fd5b6119046000613202565b565b61190e61267f565b73ffffffffffffffffffffffffffffffffffffffff1661192c611996565b73ffffffffffffffffffffffffffffffffffffffff1614611982576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611979906144f1565b60405180910390fd5b8060098190555050565b6000601354905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6119c861267f565b73ffffffffffffffffffffffffffffffffffffffff166119e6611996565b73ffffffffffffffffffffffffffffffffffffffff1614611a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a33906144f1565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611a8861267f565b73ffffffffffffffffffffffffffffffffffffffff16611aa6611996565b73ffffffffffffffffffffffffffffffffffffffff1614611afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af3906144f1565b60405180910390fd5b818160109190611b0d92919061397d565b505050565b606060038054611b219061487b565b80601f0160208091040260200160405190810160405280929190818152602001828054611b4d9061487b565b8015611b9a5780601f10611b6f57610100808354040283529160200191611b9a565b820191906000526020600020905b815481529060010190602001808311611b7d57829003601f168201915b5050505050905090565b611bac61267f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c11576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611c1e61267f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ccb61267f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d109190614374565b60405180910390a35050565b6000611d26612c75565b905090565b6000600d54905090565b60008073ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611e12573073ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611dd357600080fd5b505afa158015611de7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e0b9190613c30565b9050611e38565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b90565b6000600e54905090565b611e50848484612742565b611e6f8373ffffffffffffffffffffffffffffffffffffffff166132c8565b8015611e845750611e82848484846132db565b155b15611ebb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000600b54905090565b600860149054906101000a900460ff16611f1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f11906143d1565b60405180910390fd5b611f2333612bf8565b15611f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5a90614431565b60405180910390fd5b611fd7838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095433604051602001611fbc919061429d565b6040516020818303038152906040528051906020012061343b565b612016576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200d906144b1565b60405180910390fd5b60028161202233612c0b565b61202c91906146da565b111561206d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612064906143b1565b60405180910390fd5b80600b5461207b9190614761565b3410156120bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b490614591565b60405180910390fd5b6115b3816120c9612c75565b6120d391906146da565b1115612114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210b90614571565b60405180910390fd5b61211e3382612c88565b505050565b6060600f80546121329061487b565b80601f016020809104026020016040519081016040528092919081815260200182805461215e9061487b565b80156121ab5780601f10612180576101008083540402835291602001916121ab565b820191906000526020600020905b81548152906001019060200180831161218e57829003601f168201915b50505050509050919050565b60006121c282612c0b565b9050919050565b6121d161267f565b73ffffffffffffffffffffffffffffffffffffffff166121ef611996565b73ffffffffffffffffffffffffffffffffffffffff1614612245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223c906144f1565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61229161267f565b73ffffffffffffffffffffffffffffffffffffffff166122af611996565b73ffffffffffffffffffffffffffffffffffffffff1614612305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fc906144f1565b60405180910390fd5b600860159054906101000a900460ff1615600860156101000a81548160ff021916908315150217905550565b6060601080546123409061487b565b80601f016020809104026020016040519081016040528092919081815260200182805461236c9061487b565b80156123b95780601f1061238e576101008083540402835291602001916123b9565b820191906000526020600020905b81548152906001019060200180831161239c57829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61245f61267f565b73ffffffffffffffffffffffffffffffffffffffff1661247d611996565b73ffffffffffffffffffffffffffffffffffffffff16146124d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ca906144f1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612543576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253a906143f1565b60405180910390fd5b61254c81613202565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061261a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061262a575061262982613517565b5b9050919050565b60008161263c612739565b1115801561264b575060005482105b8015612678575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061274d82612f73565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127b8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166127d961267f565b73ffffffffffffffffffffffffffffffffffffffff16148061280857506128078561280261267f565b6123c3565b5b8061284d575061281661267f565b73ffffffffffffffffffffffffffffffffffffffff1661283584610abd565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612886576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156128ed576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128fa8585856001613581565b61290660008487612687565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612b86576000548214612b8557878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612bf18585856001613587565b5050505050565b600080823b905060008111915050919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6000612c7f612739565b60005403905090565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cf5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612d30576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d3d6000848385613581565b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550826004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612ee057816000819055505050612f606000848385613587565b505050565b612f7081600061358d565b50565b612f7b613a03565b600082905080612f89612739565b11158015612f98575060005481105b156131cb576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516131c957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146130ad5780925050506131fd565b5b6001156131c857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146131c35780925050506131fd565b6130ae565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261330161267f565b8786866040518563ffffffff1660e01b815260040161332394939291906142ff565b602060405180830381600087803b15801561333d57600080fd5b505af192505050801561336e57506040513d601f19601f8201168201806040525081019061336b9190613e81565b60015b6133e8573d806000811461339e576040519150601f19603f3d011682016040523d82523d6000602084013e6133a3565b606091505b506000815114156133e0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008082905060005b8551811015613509576000868281518110613488577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116134c95782816040516020016134ac9291906142b8565b6040516020818303038152906040528051906020012092506134f5565b80836040516020016134dc9291906142b8565b6040516020818303038152906040528051906020012092505b508080613501906148de565b915050613444565b508381149150509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b600061359883612f73565b905060008160000151905082156136795760008173ffffffffffffffffffffffffffffffffffffffff166135ca61267f565b73ffffffffffffffffffffffffffffffffffffffff1614806135f957506135f8826135f361267f565b6123c3565b5b8061363e575061360761267f565b73ffffffffffffffffffffffffffffffffffffffff1661362686610abd565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613677576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b613687816000866001613581565b61369360008583612687565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060018160000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060018160000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008781526020019081526020016000209050828160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600181600001601c6101000a81548160ff02191690831515021790555060006001870190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156138f75760005482146138f657848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5050505083600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613965816000866001613587565b60016000815480929190600101919050555050505050565b8280546139899061487b565b90600052602060002090601f0160209004810192826139ab57600085556139f2565b82601f106139c457803560ff19168380011785556139f2565b828001600101855582156139f2579182015b828111156139f15782358255916020019190600101906139d6565b5b5090506139ff9190613a46565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613a5f576000816000905550600101613a47565b5090565b6000613a76613a7184614671565b61464c565b905082815260208101848484011115613a8e57600080fd5b613a99848285614839565b509392505050565b600081359050613ab081614e8a565b92915050565b600081519050613ac581614e8a565b92915050565b60008083601f840112613add57600080fd5b8235905067ffffffffffffffff811115613af657600080fd5b602083019150836020820283011115613b0e57600080fd5b9250929050565b600081359050613b2481614ea1565b92915050565b600081359050613b3981614eb8565b92915050565b600081359050613b4e81614ecf565b92915050565b600081519050613b6381614ecf565b92915050565b600082601f830112613b7a57600080fd5b8135613b8a848260208601613a63565b91505092915050565b60008083601f840112613ba557600080fd5b8235905067ffffffffffffffff811115613bbe57600080fd5b602083019150836001820283011115613bd657600080fd5b9250929050565b600081359050613bec81614ee6565b92915050565b600081519050613c0181614ee6565b92915050565b600060208284031215613c1957600080fd5b6000613c2784828501613aa1565b91505092915050565b600060208284031215613c4257600080fd5b6000613c5084828501613ab6565b91505092915050565b60008060408385031215613c6c57600080fd5b6000613c7a85828601613aa1565b9250506020613c8b85828601613aa1565b9150509250929050565b600080600060608486031215613caa57600080fd5b6000613cb886828701613aa1565b9350506020613cc986828701613aa1565b9250506040613cda86828701613bdd565b9150509250925092565b60008060008060808587031215613cfa57600080fd5b6000613d0887828801613aa1565b9450506020613d1987828801613aa1565b9350506040613d2a87828801613bdd565b925050606085013567ffffffffffffffff811115613d4757600080fd5b613d5387828801613b69565b91505092959194509250565b60008060408385031215613d7257600080fd5b6000613d8085828601613aa1565b9250506020613d9185828601613b15565b9150509250929050565b60008060408385031215613dae57600080fd5b6000613dbc85828601613aa1565b9250506020613dcd85828601613bdd565b9150509250929050565b600080600060408486031215613dec57600080fd5b600084013567ffffffffffffffff811115613e0657600080fd5b613e1286828701613acb565b93509350506020613e2586828701613bdd565b9150509250925092565b600060208284031215613e4157600080fd5b6000613e4f84828501613b2a565b91505092915050565b600060208284031215613e6a57600080fd5b6000613e7884828501613b3f565b91505092915050565b600060208284031215613e9357600080fd5b6000613ea184828501613b54565b91505092915050565b60008060208385031215613ebd57600080fd5b600083013567ffffffffffffffff811115613ed757600080fd5b613ee385828601613b93565b92509250509250929050565b600060208284031215613f0157600080fd5b6000613f0f84828501613bdd565b91505092915050565b600060208284031215613f2a57600080fd5b6000613f3884828501613bf2565b91505092915050565b60008060408385031215613f5457600080fd5b6000613f6285828601613bdd565b9250506020613f7385828601613bdd565b9150509250929050565b613f86816147bb565b82525050565b613f9d613f98826147bb565b614927565b82525050565b613fac816147cd565b82525050565b613fc3613fbe826147d9565b614939565b82525050565b6000613fd4826146a2565b613fde81856146b8565b9350613fee818560208601614848565b613ff781614a11565b840191505092915050565b600061400d826146ad565b61401781856146c9565b9350614027818560208601614848565b61403081614a11565b840191505092915050565b60006140486037836146c9565b915061405382614a2f565b604082019050919050565b600061406b6022836146c9565b915061407682614a7e565b604082019050919050565b600061408e6026836146c9565b915061409982614acd565b604082019050919050565b60006140b1602e836146c9565b91506140bc82614b1c565b604082019050919050565b60006140d46025836146c9565b91506140df82614b6b565b604082019050919050565b60006140f76024836146c9565b915061410282614bba565b604082019050919050565b600061411a6022836146c9565b915061412582614c09565b604082019050919050565b600061413d6027836146c9565b915061414882614c58565b604082019050919050565b6000614160601d836146c9565b915061416b82614ca7565b602082019050919050565b6000614183601d836146c9565b915061418e82614cd0565b602082019050919050565b60006141a66020836146c9565b91506141b182614cf9565b602082019050919050565b60006141c96029836146c9565b91506141d482614d22565b604082019050919050565b60006141ec6028836146c9565b91506141f782614d71565b604082019050919050565b600061420f6020836146c9565b915061421a82614dc0565b602082019050919050565b6000614232601a836146c9565b915061423d82614de9565b602082019050919050565b6000614255601d836146c9565b915061426082614e12565b602082019050919050565b60006142786034836146c9565b915061428382614e3b565b604082019050919050565b6142978161482f565b82525050565b60006142a98284613f8c565b60148201915081905092915050565b60006142c48285613fb2565b6020820191506142d48284613fb2565b6020820191508190509392505050565b60006020820190506142f96000830184613f7d565b92915050565b60006080820190506143146000830187613f7d565b6143216020830186613f7d565b61432e604083018561428e565b81810360608301526143408184613fc9565b905095945050505050565b60006040820190506143606000830185613f7d565b61436d602083018461428e565b9392505050565b60006020820190506143896000830184613fa3565b92915050565b600060208201905081810360008301526143a98184614002565b905092915050565b600060208201905081810360008301526143ca8161403b565b9050919050565b600060208201905081810360008301526143ea8161405e565b9050919050565b6000602082019050818103600083015261440a81614081565b9050919050565b6000602082019050818103600083015261442a816140a4565b9050919050565b6000602082019050818103600083015261444a816140c7565b9050919050565b6000602082019050818103600083015261446a816140ea565b9050919050565b6000602082019050818103600083015261448a8161410d565b9050919050565b600060208201905081810360008301526144aa81614130565b9050919050565b600060208201905081810360008301526144ca81614153565b9050919050565b600060208201905081810360008301526144ea81614176565b9050919050565b6000602082019050818103600083015261450a81614199565b9050919050565b6000602082019050818103600083015261452a816141bc565b9050919050565b6000602082019050818103600083015261454a816141df565b9050919050565b6000602082019050818103600083015261456a81614202565b9050919050565b6000602082019050818103600083015261458a81614225565b9050919050565b600060208201905081810360008301526145aa81614248565b9050919050565b600060208201905081810360008301526145ca8161426b565b9050919050565b60006020820190506145e6600083018461428e565b92915050565b6000604082019050614601600083018561428e565b61460e602083018461428e565b9392505050565b600060608201905061462a600083018661428e565b614637602083018561428e565b6146446040830184613f7d565b949350505050565b6000614656614667565b905061466282826148ad565b919050565b6000604051905090565b600067ffffffffffffffff82111561468c5761468b6149e2565b5b61469582614a11565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006146e58261482f565b91506146f08361482f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561472557614724614955565b5b828201905092915050565b600061473b8261482f565b91506147468361482f565b92508261475657614755614984565b5b828204905092915050565b600061476c8261482f565b91506147778361482f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147b0576147af614955565b5b828202905092915050565b60006147c68261480f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561486657808201518184015260208101905061484b565b83811115614875576000848401525b50505050565b6000600282049050600182168061489357607f821691505b602082108114156148a7576148a66149b3565b5b50919050565b6148b682614a11565b810181811067ffffffffffffffff821117156148d5576148d46149e2565b5b80604052505050565b60006148e98261482f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561491c5761491b614955565b5b600182019050919050565b600061493282614943565b9050919050565b6000819050919050565b600061494e82614a22565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5a7a6f6f7065727345564f3a2043616e206f6e6c79206d696e742032206e667460008201527f73207065722077686974656c6973742061646472657373000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a2053616c657320686173206e6f7420737461727460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a2043616e206f6e6c79206d696e74203130206e6660008201527f7473207065722061646472657373000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a2043616e6e6f74206d696e742076696120636f6e60008201527f7472616374000000000000000000000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a206d69677261746520686173206e6f742073746160008201527f7274656400000000000000000000000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a20746f6b656e496420646f65736e27742065786960008201527f7374000000000000000000000000000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a204f6e6c79204e4654206f776e65722063616e2060008201527f6d69677261746500000000000000000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a204e6f7420696e2077686974656c697374000000600082015250565b7f5a7a6f6f7065727345564f3a20496e76616c69642062617463684e6f20000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5a7a6f6f7065727345564f3a205075626c69632073616c657320686173206e6f60008201527f7420737461727465640000000000000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a2043616e6e6f74206d696772617465207669612060008201527f636f6e7472616374000000000000000000000000000000000000000000000000602082015250565b7f5a7a6f6f7065727345564f3a204261746368206c696d69742072656163686564600082015250565b7f5a7a6f6f7065727345564f3a204c696d69742072656163686564000000000000600082015250565b7f5a7a6f6f7065727345564f3a204e6f7420656e6f756768206d6f6e6579000000600082015250565b7f5a7a6f6f7065727345564f3a206e6577526f79616c7479526174652073686f7560008201527f6c64206265747765656e205b302c20313030305d000000000000000000000000602082015250565b614e93816147bb565b8114614e9e57600080fd5b50565b614eaa816147cd565b8114614eb557600080fd5b50565b614ec1816147d9565b8114614ecc57600080fd5b50565b614ed8816147e3565b8114614ee357600080fd5b50565b614eef8161482f565b8114614efa57600080fd5b5056fea2646970667358221220a454a8a7d837d730b6dbbe8af0c2064274d1333eaaf2fc9c70b450f62f4e2b7964736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
b57eda7d6d93c365be3038eeafd69083179692f81315eb38a02679d3704f5735000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261667962656967706b78326e6679677a6c6766367375686d786564367836377a3534756c6d326a7037616b7934666269766a6b747767623267340000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5265553941634170754654417a723266565641444e6a5965717633536d7542484733486f524739434739336d0000000000000000000000
-----Decoded View---------------
Arg [0] : whiteListMerkleRoot (bytes32): 0xb57eda7d6d93c365be3038eeafd69083179692f81315eb38a02679d3704f5735
Arg [1] : baseURI (string): ipfs://bafybeigpkx2nfygzlgf6suhmxed6x67z54ulm2jp7aky4fbivjktwgb2g4
Arg [2] : contactURI (string): ipfs://QmReU9AcApuFTAzr2fVVADNjYeqv3SmuBHG3HoRG9CG93m
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : b57eda7d6d93c365be3038eeafd69083179692f81315eb38a02679d3704f5735
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [4] : 697066733a2f2f6261667962656967706b78326e6679677a6c6766367375686d
Arg [5] : 786564367836377a3534756c6d326a7037616b7934666269766a6b7477676232
Arg [6] : 6734000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [8] : 697066733a2f2f516d5265553941634170754654417a723266565641444e6a59
Arg [9] : 65717633536d7542484733486f524739434739336d0000000000000000000000
Loading...
Loading
Loading...
Loading
OVERVIEW
Zzoopers Evo are used to redeem Zzoopers Genesis. 1 Zzoopers Evo = 1 Random Zzoopers Genesis. Zzoopers Genesis is a collection of 2929 unique 3D voxel anthropomorphic animal avatars with different species and personalities. They are born on the Ethereum blockchain and ready ...Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.