ERC-721
Overview
Max Total Supply
1,111 FLOWERAI
Holders
184
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 FLOWERAILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FlowerAI
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "./ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/[email protected]/utils/cryptography/MerkleProof.sol"; contract FlowerAI is ERC721A, Ownable { using Strings for uint256; uint256 public constant maxSupply = 1111; uint256 public premintCost = 0.02 ether; uint256 public publicCost = 0.03 ether; uint256 public cosmicAllow; bytes32 private merkleRoot; bytes32 private merkleRootWL; bool public presaleActive; bool public publicsaleActive; bool public freeWLActive; string private baseURI; bool public appendedID; mapping(address => uint256) public holderFreeMintCount; mapping(address => uint256) public holderPaidMintCount; mapping(address => uint256) public whitelistPaidCount; mapping(address => uint256) public publicMintCount; constructor() ERC721A("Murakami FlowerAI", "FLOWERAI") { } function mintFreeHolder(uint256 _quantity, bytes32[] memory _merkleProof) external payable { require(_quantity > 0); uint256 supply = totalSupply(); cosmicAllow = getCosmicAllow(msg.sender); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!'); require(supply + _quantity <= maxSupply, "Cant go over supply"); require(presaleActive, "HOLDERSALE_INACTIVE"); require(holderFreeMintCount[msg.sender] + _quantity <= cosmicAllow, "HOLDERSALEFREE_MAXED"); unchecked { holderFreeMintCount[msg.sender] += _quantity; } _safeMint(msg.sender, _quantity); } function mintPaidHolder(uint256 _quantity, bytes32[] memory _merkleProof) external payable { require(_quantity > 0); uint256 supply = totalSupply(); cosmicAllow = getCosmicAllow(msg.sender); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!'); require(supply + _quantity <= maxSupply, "Cant go over supply"); require(presaleActive, "HOLDERSALE_INACTIVE"); require(holderPaidMintCount[msg.sender] + _quantity <= cosmicAllow, "HOLDERSALEPAID_MAXED"); require(msg.value >= premintCost * _quantity, "INCORRECT_ETH"); unchecked { holderPaidMintCount[msg.sender] += _quantity; } _safeMint(msg.sender, _quantity); } function mintFreeWL(uint256 _quantity, bytes32[] memory _merkleProof) public payable { require(_quantity > 0); require(freeWLActive, "FREEWL_INACTIVE"); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require(MerkleProof.verify(_merkleProof, merkleRootWL, leaf), 'Invalid proof!'); uint256 s = totalSupply(); require(s + _quantity <= maxSupply, "Cant go over supply"); require(whitelistPaidCount[msg.sender] + _quantity <= 1, "WLPAID_MAXED"); unchecked { whitelistPaidCount[msg.sender] += _quantity; } _safeMint(msg.sender, _quantity); delete s; } function mintPaidWL(uint256 _quantity, bytes32[] memory _merkleProof) public payable { require(_quantity > 0); require(publicsaleActive, "PUBLICSALE_INACTIVE"); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require(MerkleProof.verify(_merkleProof, merkleRootWL, leaf), 'Invalid proof!'); uint256 s = totalSupply(); require(s + _quantity <= maxSupply, "Cant go over supply"); require(msg.value >= premintCost * _quantity); require(whitelistPaidCount[msg.sender] + _quantity <= 2, "WLPAID_MAXED"); unchecked { whitelistPaidCount[msg.sender] += _quantity; } _safeMint(msg.sender, _quantity); delete s; } function mintPaidPublic(uint256 _quantity) external payable { require(_quantity > 0); uint256 s = totalSupply(); require(s + _quantity <= maxSupply, "Cant go over supply"); require(presaleActive, "PUBLIC_INACTIVE"); require(msg.value >= publicCost * _quantity, "INCORRECT_ETH"); require(publicMintCount[msg.sender] + _quantity <= 4, "PUBLICPAID_MAXED"); unchecked { publicMintCount[msg.sender] += _quantity; } _safeMint(msg.sender, _quantity); } function reserveMint(address _account, uint256 _quantity) external onlyOwner { uint256 s = totalSupply(); require(s + _quantity <= maxSupply, "Over Supply"); require(_quantity > 0, "QUANTITY_INVALID"); _safeMint(_account, _quantity); } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function setMerkleRootWL(bytes32 _merkleRoot) external onlyOwner { merkleRootWL = _merkleRoot; } function setPremintCost(uint256 _newCost) public onlyOwner { premintCost = _newCost; } function setPublicCost(uint256 _newCost) public onlyOwner { publicCost = _newCost; } function activateHolderSale() external onlyOwner { !presaleActive ? presaleActive = true : presaleActive = false; } function activatePublicSale() external onlyOwner { !publicsaleActive ? publicsaleActive = true : publicsaleActive = false; } function activateFreeMintWL() external onlyOwner { !freeWLActive ? freeWLActive = true : freeWLActive = false; } function numberMinted(address owner) external view returns (uint256) { return _numberMinted(owner); } function setBaseURI(string calldata _baseURI, bool appendID) external onlyOwner { if (!appendedID && appendID) appendedID = appendID; baseURI = _baseURI; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "Cannot query non-existent token"); if (appendedID) { return string(abi.encodePacked(baseURI, _tokenId.toString())); } else { return baseURI; } } function withdraw() public payable onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success); } function withdrawAny(uint256 _amount) public payable onlyOwner { (bool success, ) = payable(msg.sender).call{value: _amount}(""); require(success); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) 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) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { 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 = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } function getCosmicAllow(address owner) public view returns (uint256) { uint256 cloneAllow = uint(IERC721(0xeFE58f3ace7d7DaC903b2cC2e18Ef1858d4E2675).balanceOf(owner)/5); uint256 passAllow = uint(IERC721(0xb5596D75c727559463836eb67aA5CD574A43c7f0).balanceOf(owner)); uint256 cosmicAllow = cloneAllow + passAllow; return cosmicAllow; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"activateFreeMintWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"activateHolderSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"activatePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"appendedID","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cosmicAllow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeWLActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getCosmicAllow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"holderFreeMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"holderPaidMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintFreeHolder","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintFreeWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintPaidHolder","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintPaidPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintPaidWL","outputs":[],"stateMutability":"payable","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":[],"name":"premintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicsaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"bool","name":"appendID","type":"bool"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRootWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPremintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPublicCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"address","name":"","type":"address"}],"name":"whitelistPaidCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawAny","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405266470de4df820000600955666a94d74f430000600a553480156200002757600080fd5b506040518060400160405280601181526020017f4d7572616b616d6920466c6f77657241490000000000000000000000000000008152506040518060400160405280600881526020017f464c4f57455241490000000000000000000000000000000000000000000000008152508160029080519060200190620000ac929190620001d7565b508060039080519060200190620000c5929190620001d7565b50620000d66200010460201b60201c565b6000819055505050620000fe620000f26200010960201b60201c565b6200011160201b60201c565b620002ec565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001e590620002b6565b90600052602060002090601f01602090048101928262000209576000855562000255565b82601f106200022457805160ff191683800117855562000255565b8280016001018555821562000255579182015b828111156200025457825182559160200191906001019062000237565b5b50905062000264919062000268565b5090565b5b808211156200028357600081600090555060010162000269565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002cf57607f821691505b60208210811415620002e657620002e562000287565b5b50919050565b614b7f80620002fc6000396000f3fe6080604052600436106102885760003560e01c80637cb647591161015a578063b3b1cc7a116100c1578063dc33e6811161007a578063dc33e68114610961578063e985e9c51461099e578063ee06017f146109db578063eff8f51d14610a06578063f183f2f314610a22578063f2fde38b14610a3e57610288565b8063b3b1cc7a1461086f578063b64b21ca1461088b578063b88d4fde146108b4578063c87b56dd146108dd578063d03cad151461091a578063d5abeb011461093657610288565b80639459376511610113578063945937651461076157806395d89b411461078c57806396330b5f146107b7578063a22cb465146107f4578063ad3e31b71461081d578063b0ea18021461084657610288565b80637cb6475914610677578063811d2437146106a05780638693da20146106c95780638cdfe11b146106f45780638da5cb5b1461071f5780638f2d42b61461074a57610288565b80633ccfd60b116101fe5780636352211e116101b75780636352211e1461057157806370a08231146105ae578063715018a6146105eb578063726f6037146106025780637661bc051461063f57806377ad99f01461065b57610288565b80633ccfd60b1461046e57806342842e0e146104785780634b107901146104a15780634fbce94e146104cc57806353135ca014610509578063537c08ff1461053457610288565b8063110640cd11610250578063110640cd1461039857806311eb3047146103c157806318160ddd146103d857806323b872dd146104035780633432123d1461042c57806338c303051461045757610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b314610332578063108b5aa91461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af919061378b565b610a67565b6040516102c191906137d3565b60405180910390f35b3480156102d657600080fd5b506102df610b49565b6040516102ec9190613887565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906138df565b610bdb565b604051610329919061394d565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190613994565b610c57565b005b34801561036757600080fd5b50610382600480360381019061037d91906139d4565b610d62565b60405161038f9190613a10565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba91906138df565b610d7a565b005b3480156103cd57600080fd5b506103d6610d8c565b005b3480156103e457600080fd5b506103ed610de6565b6040516103fa9190613a10565b60405180910390f35b34801561040f57600080fd5b5061042a60048036038101906104259190613a2b565b610dfd565b005b34801561043857600080fd5b50610441610e0d565b60405161044e91906137d3565b60405180910390f35b34801561046357600080fd5b5061046c610e20565b005b610476610e7a565b005b34801561048457600080fd5b5061049f600480360381019061049a9190613a2b565b610efb565b005b3480156104ad57600080fd5b506104b6610f1b565b6040516104c39190613a10565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee91906139d4565b610f21565b6040516105009190613a10565b60405180910390f35b34801561051557600080fd5b5061051e610f39565b60405161052b91906137d3565b60405180910390f35b34801561054057600080fd5b5061055b600480360381019061055691906139d4565b610f4c565b6040516105689190613a10565b60405180910390f35b34801561057d57600080fd5b50610598600480360381019061059391906138df565b6110b6565b6040516105a5919061394d565b60405180910390f35b3480156105ba57600080fd5b506105d560048036038101906105d091906139d4565b6110cc565b6040516105e29190613a10565b60405180910390f35b3480156105f757600080fd5b5061060061119c565b005b34801561060e57600080fd5b50610629600480360381019061062491906139d4565b6111b0565b6040516106369190613a10565b60405180910390f35b61065960048036038101906106549190613bfc565b6111c8565b005b610675600480360381019061067091906138df565b611407565b005b34801561068357600080fd5b5061069e60048036038101906106999190613c58565b611489565b005b3480156106ac57600080fd5b506106c760048036038101906106c291906138df565b61149b565b005b3480156106d557600080fd5b506106de6114ad565b6040516106eb9190613a10565b60405180910390f35b34801561070057600080fd5b506107096114b3565b60405161071691906137d3565b60405180910390f35b34801561072b57600080fd5b506107346114c6565b604051610741919061394d565b60405180910390f35b34801561075657600080fd5b5061075f6114f0565b005b34801561076d57600080fd5b5061077661154a565b60405161078391906137d3565b60405180910390f35b34801561079857600080fd5b506107a161155d565b6040516107ae9190613887565b60405180910390f35b3480156107c357600080fd5b506107de60048036038101906107d991906139d4565b6115ef565b6040516107eb9190613a10565b60405180910390f35b34801561080057600080fd5b5061081b60048036038101906108169190613cb1565b611607565b005b34801561082957600080fd5b50610844600480360381019061083f9190613c58565b61177f565b005b34801561085257600080fd5b5061086d60048036038101906108689190613994565b611791565b005b61088960048036038101906108849190613bfc565b611847565b005b34801561089757600080fd5b506108b260048036038101906108ad9190613d4c565b611ac8565b005b3480156108c057600080fd5b506108db60048036038101906108d69190613e61565b611b21565b005b3480156108e957600080fd5b5061090460048036038101906108ff91906138df565b611b9d565b6040516109119190613887565b60405180910390f35b610934600480360381019061092f9190613bfc565b611cc1565b005b34801561094257600080fd5b5061094b611ef2565b6040516109589190613a10565b60405180910390f35b34801561096d57600080fd5b50610988600480360381019061098391906139d4565b611ef8565b6040516109959190613a10565b60405180910390f35b3480156109aa57600080fd5b506109c560048036038101906109c09190613ee4565b611f0a565b6040516109d291906137d3565b60405180910390f35b3480156109e757600080fd5b506109f0611f9e565b6040516109fd9190613a10565b60405180910390f35b610a206004803603810190610a1b9190613bfc565b611fa4565b005b610a3c6004803603810190610a3791906138df565b6121c9565b005b348015610a4a57600080fd5b50610a656004803603810190610a6091906139d4565b6123ba565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b3257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b425750610b418261243e565b5b9050919050565b606060028054610b5890613f53565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8490613f53565b8015610bd15780601f10610ba657610100808354040283529160200191610bd1565b820191906000526020600020905b815481529060010190602001808311610bb457829003601f168201915b5050505050905090565b6000610be6826124a8565b610c1c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c62826110b6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cca576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ce96124f6565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d1b5750610d1981610d146124f6565b611f0a565b155b15610d52576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d5d8383836124fe565b505050565b60116020528060005260406000206000915090505481565b610d826125b0565b8060098190555050565b610d946125b0565b600e60019054906101000a900460ff1615610dc8576000600e60016101000a81548160ff0219169083151502179055610de3565b6001600e60016101000a81548160ff02191690831515021790555b50565b6000610df061262e565b6001546000540303905090565b610e08838383612633565b505050565b600e60019054906101000a900460ff1681565b610e286125b0565b600e60009054906101000a900460ff1615610e5c576000600e60006101000a81548160ff0219169083151502179055610e77565b6001600e60006101000a81548160ff02191690831515021790555b50565b610e826125b0565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610ea890613fb6565b60006040518083038185875af1925050503d8060008114610ee5576040519150601f19603f3d011682016040523d82523d6000602084013e610eea565b606091505b5050905080610ef857600080fd5b50565b610f1683838360405180602001604052806000815250611b21565b505050565b60095481565b60136020528060005260406000206000915090505481565b600e60009054906101000a900460ff1681565b600080600573efe58f3ace7d7dac903b2cc2e18ef1858d4e267573ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401610f9e919061394d565b60206040518083038186803b158015610fb657600080fd5b505afa158015610fca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fee9190613fe0565b610ff8919061406b565b9050600073b5596d75c727559463836eb67aa5cd574a43c7f073ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401611049919061394d565b60206040518083038186803b15801561106157600080fd5b505afa158015611075573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110999190613fe0565b9050600081836110a9919061409c565b9050809350505050919050565b60006110c182612ae9565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611134576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6111a46125b0565b6111ae6000612d78565b565b60126020528060005260406000206000915090505481565b600082116111d557600080fd5b600e60019054906101000a900460ff16611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121b9061413e565b60405180910390fd5b600061122e6124f6565b60405160200161123e91906141a6565b60405160208183030381529060405280519060200120905061126382600d5483612e3e565b6112a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112999061420d565b60405180910390fd5b60006112ac610de6565b905061045784826112bd919061409c565b11156112fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f590614279565b60405180910390fd5b8360095461130c9190614299565b34101561131857600080fd5b600284601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611365919061409c565b11156113a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139d9061433f565b60405180910390fd5b83601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506113fd3385612e55565b6000905050505050565b61140f6125b0565b60003373ffffffffffffffffffffffffffffffffffffffff168260405161143590613fb6565b60006040518083038185875af1925050503d8060008114611472576040519150601f19603f3d011682016040523d82523d6000602084013e611477565b606091505b505090508061148557600080fd5b5050565b6114916125b0565b80600c8190555050565b6114a36125b0565b80600a8190555050565b600a5481565b600e60029054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114f86125b0565b600e60029054906101000a900460ff161561152c576000600e60026101000a81548160ff0219169083151502179055611547565b6001600e60026101000a81548160ff02191690831515021790555b50565b601060009054906101000a900460ff1681565b60606003805461156c90613f53565b80601f016020809104026020016040519081016040528092919081815260200182805461159890613f53565b80156115e55780601f106115ba576101008083540402835291602001916115e5565b820191906000526020600020905b8154815290600101906020018083116115c857829003601f168201915b5050505050905090565b60146020528060005260406000206000915090505481565b61160f6124f6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611674576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006116816124f6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661172e6124f6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161177391906137d3565b60405180910390a35050565b6117876125b0565b80600d8190555050565b6117996125b0565b60006117a3610de6565b905061045782826117b4919061409c565b11156117f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ec906143ab565b60405180910390fd5b60008211611838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182f90614417565b60405180910390fd5b6118428383612e55565b505050565b6000821161185457600080fd5b600061185e610de6565b905061186933610f4c565b600b8190555060006118796124f6565b60405160200161188991906141a6565b6040516020818303038152906040528051906020012090506118ae83600c5483612e3e565b6118ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e49061420d565b60405180910390fd5b61045784836118fc919061409c565b111561193d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193490614279565b60405180910390fd5b600e60009054906101000a900460ff1661198c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198390614483565b60405180910390fd5b600b5484601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119da919061409c565b1115611a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a12906144ef565b60405180910390fd5b83600954611a299190614299565b341015611a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a629061455b565b60405180910390fd5b83601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611ac23385612e55565b50505050565b611ad06125b0565b601060009054906101000a900460ff16158015611aea5750805b15611b0a5780601060006101000a81548160ff0219169083151502179055505b8282600f9190611b1b929190613639565b50505050565b611b2c848484612633565b611b4b8373ffffffffffffffffffffffffffffffffffffffff16612e73565b8015611b605750611b5e84848484612e96565b155b15611b97576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611ba8826124a8565b611be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bde906145c7565b60405180910390fd5b601060009054906101000a900460ff1615611c2e57600f611c0783612ff6565b604051602001611c189291906146b7565b6040516020818303038152906040529050611cbc565b600f8054611c3b90613f53565b80601f0160208091040260200160405190810160405280929190818152602001828054611c6790613f53565b8015611cb45780601f10611c8957610100808354040283529160200191611cb4565b820191906000526020600020905b815481529060010190602001808311611c9757829003601f168201915b505050505090505b919050565b60008211611cce57600080fd5b6000611cd8610de6565b9050611ce333610f4c565b600b819055506000611cf36124f6565b604051602001611d0391906141a6565b604051602081830303815290604052805190602001209050611d2883600c5483612e3e565b611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e9061420d565b60405180910390fd5b6104578483611d76919061409c565b1115611db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dae90614279565b60405180910390fd5b600e60009054906101000a900460ff16611e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfd90614483565b60405180910390fd5b600b5484601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e54919061409c565b1115611e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8c90614727565b60405180910390fd5b83601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611eec3385612e55565b50505050565b61045781565b6000611f0382613157565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b5481565b60008211611fb157600080fd5b600e60029054906101000a900460ff16612000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff790614793565b60405180910390fd5b600061200a6124f6565b60405160200161201a91906141a6565b60405160208183030381529060405280519060200120905061203f82600d5483612e3e565b61207e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120759061420d565b60405180910390fd5b6000612088610de6565b90506104578482612099919061409c565b11156120da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d190614279565b60405180910390fd5b600184601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612127919061409c565b1115612168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215f9061433f565b60405180910390fd5b83601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506121bf3385612e55565b6000905050505050565b600081116121d657600080fd5b60006121e0610de6565b905061045782826121f1919061409c565b1115612232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222990614279565b60405180910390fd5b600e60009054906101000a900460ff16612281576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612278906147ff565b60405180910390fd5b81600a5461228f9190614299565b3410156122d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c89061455b565b60405180910390fd5b600482601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461231e919061409c565b111561235f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123569061486b565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506123b63383612e55565b5050565b6123c26125b0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612432576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612429906148fd565b60405180910390fd5b61243b81612d78565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816124b361262e565b111580156124c2575060005482105b80156124ef575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6125b86124f6565b73ffffffffffffffffffffffffffffffffffffffff166125d66114c6565b73ffffffffffffffffffffffffffffffffffffffff161461262c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262390614969565b60405180910390fd5b565b600090565b600061263e82612ae9565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126a9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166126ca6124f6565b73ffffffffffffffffffffffffffffffffffffffff1614806126f957506126f8856126f36124f6565b611f0a565b5b8061273e57506127076124f6565b73ffffffffffffffffffffffffffffffffffffffff1661272684610bdb565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612777576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127de576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127eb85858560016131c1565b6127f7600084876124fe565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612a77576000548214612a7657878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ae285858560016131c7565b5050505050565b612af16136bf565b600082905080612aff61262e565b11158015612b0e575060005481105b15612d41576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612d3f57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c23578092505050612d73565b5b600115612d3e57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d39578092505050612d73565b612c24565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612e4b85846131cd565b1490509392505050565b612e6f828260405180602001604052806000815250613242565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ebc6124f6565b8786866040518563ffffffff1660e01b8152600401612ede94939291906149de565b602060405180830381600087803b158015612ef857600080fd5b505af1925050508015612f2957506040513d601f19601f82011682018060405250810190612f269190614a3f565b60015b612fa3573d8060008114612f59576040519150601f19603f3d011682016040523d82523d6000602084013e612f5e565b606091505b50600081511415612f9b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600082141561303e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613152565b600082905060005b6000821461307057808061305990614a6c565b915050600a82613069919061406b565b9150613046565b60008167ffffffffffffffff81111561308c5761308b613a83565b5b6040519080825280601f01601f1916602001820160405280156130be5781602001600182028036833780820191505090505b5090505b6000851461314b576001826130d79190614ab5565b9150600a856130e69190614ae9565b60306130f2919061409c565b60f81b81838151811061310857613107614b1a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613144919061406b565b94506130c2565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b60008082905060005b84518110156132375760008582815181106131f4576131f3614b1a565b5b602002602001015190508083116132165761320f8382613254565b9250613223565b6132208184613254565b92505b50808061322f90614a6c565b9150506131d6565b508091505092915050565b61324f838383600161326b565b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156132d8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613313576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61332060008683876131c1565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156134ea57506134e98773ffffffffffffffffffffffffffffffffffffffff16612e73565b5b156135b0575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461355f6000888480600101955088612e96565b613595576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156134f05782600054146135ab57600080fd5b61361c565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156135b1575b81600081905550505061363260008683876131c7565b5050505050565b82805461364590613f53565b90600052602060002090601f01602090048101928261366757600085556136ae565b82601f1061368057803560ff19168380011785556136ae565b828001600101855582156136ae579182015b828111156136ad578235825591602001919060010190613692565b5b5090506136bb9190613702565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561371b576000816000905550600101613703565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61376881613733565b811461377357600080fd5b50565b6000813590506137858161375f565b92915050565b6000602082840312156137a1576137a0613729565b5b60006137af84828501613776565b91505092915050565b60008115159050919050565b6137cd816137b8565b82525050565b60006020820190506137e860008301846137c4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561382857808201518184015260208101905061380d565b83811115613837576000848401525b50505050565b6000601f19601f8301169050919050565b6000613859826137ee565b61386381856137f9565b935061387381856020860161380a565b61387c8161383d565b840191505092915050565b600060208201905081810360008301526138a1818461384e565b905092915050565b6000819050919050565b6138bc816138a9565b81146138c757600080fd5b50565b6000813590506138d9816138b3565b92915050565b6000602082840312156138f5576138f4613729565b5b6000613903848285016138ca565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139378261390c565b9050919050565b6139478161392c565b82525050565b6000602082019050613962600083018461393e565b92915050565b6139718161392c565b811461397c57600080fd5b50565b60008135905061398e81613968565b92915050565b600080604083850312156139ab576139aa613729565b5b60006139b98582860161397f565b92505060206139ca858286016138ca565b9150509250929050565b6000602082840312156139ea576139e9613729565b5b60006139f88482850161397f565b91505092915050565b613a0a816138a9565b82525050565b6000602082019050613a256000830184613a01565b92915050565b600080600060608486031215613a4457613a43613729565b5b6000613a528682870161397f565b9350506020613a638682870161397f565b9250506040613a74868287016138ca565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613abb8261383d565b810181811067ffffffffffffffff82111715613ada57613ad9613a83565b5b80604052505050565b6000613aed61371f565b9050613af98282613ab2565b919050565b600067ffffffffffffffff821115613b1957613b18613a83565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b613b4281613b2f565b8114613b4d57600080fd5b50565b600081359050613b5f81613b39565b92915050565b6000613b78613b7384613afe565b613ae3565b90508083825260208201905060208402830185811115613b9b57613b9a613b2a565b5b835b81811015613bc45780613bb08882613b50565b845260208401935050602081019050613b9d565b5050509392505050565b600082601f830112613be357613be2613a7e565b5b8135613bf3848260208601613b65565b91505092915050565b60008060408385031215613c1357613c12613729565b5b6000613c21858286016138ca565b925050602083013567ffffffffffffffff811115613c4257613c4161372e565b5b613c4e85828601613bce565b9150509250929050565b600060208284031215613c6e57613c6d613729565b5b6000613c7c84828501613b50565b91505092915050565b613c8e816137b8565b8114613c9957600080fd5b50565b600081359050613cab81613c85565b92915050565b60008060408385031215613cc857613cc7613729565b5b6000613cd68582860161397f565b9250506020613ce785828601613c9c565b9150509250929050565b600080fd5b60008083601f840112613d0c57613d0b613a7e565b5b8235905067ffffffffffffffff811115613d2957613d28613cf1565b5b602083019150836001820283011115613d4557613d44613b2a565b5b9250929050565b600080600060408486031215613d6557613d64613729565b5b600084013567ffffffffffffffff811115613d8357613d8261372e565b5b613d8f86828701613cf6565b93509350506020613da286828701613c9c565b9150509250925092565b600080fd5b600067ffffffffffffffff821115613dcc57613dcb613a83565b5b613dd58261383d565b9050602081019050919050565b82818337600083830152505050565b6000613e04613dff84613db1565b613ae3565b905082815260208101848484011115613e2057613e1f613dac565b5b613e2b848285613de2565b509392505050565b600082601f830112613e4857613e47613a7e565b5b8135613e58848260208601613df1565b91505092915050565b60008060008060808587031215613e7b57613e7a613729565b5b6000613e898782880161397f565b9450506020613e9a8782880161397f565b9350506040613eab878288016138ca565b925050606085013567ffffffffffffffff811115613ecc57613ecb61372e565b5b613ed887828801613e33565b91505092959194509250565b60008060408385031215613efb57613efa613729565b5b6000613f098582860161397f565b9250506020613f1a8582860161397f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f6b57607f821691505b60208210811415613f7f57613f7e613f24565b5b50919050565b600081905092915050565b50565b6000613fa0600083613f85565b9150613fab82613f90565b600082019050919050565b6000613fc182613f93565b9150819050919050565b600081519050613fda816138b3565b92915050565b600060208284031215613ff657613ff5613729565b5b600061400484828501613fcb565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614076826138a9565b9150614081836138a9565b9250826140915761409061400d565b5b828204905092915050565b60006140a7826138a9565b91506140b2836138a9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140e7576140e661403c565b5b828201905092915050565b7f5055424c494353414c455f494e41435449564500000000000000000000000000600082015250565b60006141286013836137f9565b9150614133826140f2565b602082019050919050565b600060208201905081810360008301526141578161411b565b9050919050565b60008160601b9050919050565b60006141768261415e565b9050919050565b60006141888261416b565b9050919050565b6141a061419b8261392c565b61417d565b82525050565b60006141b2828461418f565b60148201915081905092915050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b60006141f7600e836137f9565b9150614202826141c1565b602082019050919050565b60006020820190508181036000830152614226816141ea565b9050919050565b7f43616e7420676f206f76657220737570706c7900000000000000000000000000600082015250565b60006142636013836137f9565b915061426e8261422d565b602082019050919050565b6000602082019050818103600083015261429281614256565b9050919050565b60006142a4826138a9565b91506142af836138a9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142e8576142e761403c565b5b828202905092915050565b7f574c504149445f4d415845440000000000000000000000000000000000000000600082015250565b6000614329600c836137f9565b9150614334826142f3565b602082019050919050565b600060208201905081810360008301526143588161431c565b9050919050565b7f4f76657220537570706c79000000000000000000000000000000000000000000600082015250565b6000614395600b836137f9565b91506143a08261435f565b602082019050919050565b600060208201905081810360008301526143c481614388565b9050919050565b7f5155414e544954595f494e56414c494400000000000000000000000000000000600082015250565b60006144016010836137f9565b915061440c826143cb565b602082019050919050565b60006020820190508181036000830152614430816143f4565b9050919050565b7f484f4c44455253414c455f494e41435449564500000000000000000000000000600082015250565b600061446d6013836137f9565b915061447882614437565b602082019050919050565b6000602082019050818103600083015261449c81614460565b9050919050565b7f484f4c44455253414c45504149445f4d41584544000000000000000000000000600082015250565b60006144d96014836137f9565b91506144e4826144a3565b602082019050919050565b60006020820190508181036000830152614508816144cc565b9050919050565b7f494e434f52524543545f45544800000000000000000000000000000000000000600082015250565b6000614545600d836137f9565b91506145508261450f565b602082019050919050565b6000602082019050818103600083015261457481614538565b9050919050565b7f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00600082015250565b60006145b1601f836137f9565b91506145bc8261457b565b602082019050919050565b600060208201905081810360008301526145e0816145a4565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461461481613f53565b61461e81866145e7565b94506001821660008114614639576001811461464a5761467d565b60ff1983168652818601935061467d565b614653856145f2565b60005b8381101561467557815481890152600182019150602081019050614656565b838801955050505b50505092915050565b6000614691826137ee565b61469b81856145e7565b93506146ab81856020860161380a565b80840191505092915050565b60006146c38285614607565b91506146cf8284614686565b91508190509392505050565b7f484f4c44455253414c45465245455f4d41584544000000000000000000000000600082015250565b60006147116014836137f9565b915061471c826146db565b602082019050919050565b6000602082019050818103600083015261474081614704565b9050919050565b7f46524545574c5f494e4143544956450000000000000000000000000000000000600082015250565b600061477d600f836137f9565b915061478882614747565b602082019050919050565b600060208201905081810360008301526147ac81614770565b9050919050565b7f5055424c49435f494e4143544956450000000000000000000000000000000000600082015250565b60006147e9600f836137f9565b91506147f4826147b3565b602082019050919050565b60006020820190508181036000830152614818816147dc565b9050919050565b7f5055424c4943504149445f4d4158454400000000000000000000000000000000600082015250565b60006148556010836137f9565b91506148608261481f565b602082019050919050565b6000602082019050818103600083015261488481614848565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006148e76026836137f9565b91506148f28261488b565b604082019050919050565b60006020820190508181036000830152614916816148da565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149536020836137f9565b915061495e8261491d565b602082019050919050565b6000602082019050818103600083015261498281614946565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149b082614989565b6149ba8185614994565b93506149ca81856020860161380a565b6149d38161383d565b840191505092915050565b60006080820190506149f3600083018761393e565b614a00602083018661393e565b614a0d6040830185613a01565b8181036060830152614a1f81846149a5565b905095945050505050565b600081519050614a398161375f565b92915050565b600060208284031215614a5557614a54613729565b5b6000614a6384828501614a2a565b91505092915050565b6000614a77826138a9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614aaa57614aa961403c565b5b600182019050919050565b6000614ac0826138a9565b9150614acb836138a9565b925082821015614ade57614add61403c565b5b828203905092915050565b6000614af4826138a9565b9150614aff836138a9565b925082614b0f57614b0e61400d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122029b55b5e920bfe3c41917a39fa885f8a5b320a261849a785dce5f034db2a965c64736f6c63430008090033
Deployed Bytecode
0x6080604052600436106102885760003560e01c80637cb647591161015a578063b3b1cc7a116100c1578063dc33e6811161007a578063dc33e68114610961578063e985e9c51461099e578063ee06017f146109db578063eff8f51d14610a06578063f183f2f314610a22578063f2fde38b14610a3e57610288565b8063b3b1cc7a1461086f578063b64b21ca1461088b578063b88d4fde146108b4578063c87b56dd146108dd578063d03cad151461091a578063d5abeb011461093657610288565b80639459376511610113578063945937651461076157806395d89b411461078c57806396330b5f146107b7578063a22cb465146107f4578063ad3e31b71461081d578063b0ea18021461084657610288565b80637cb6475914610677578063811d2437146106a05780638693da20146106c95780638cdfe11b146106f45780638da5cb5b1461071f5780638f2d42b61461074a57610288565b80633ccfd60b116101fe5780636352211e116101b75780636352211e1461057157806370a08231146105ae578063715018a6146105eb578063726f6037146106025780637661bc051461063f57806377ad99f01461065b57610288565b80633ccfd60b1461046e57806342842e0e146104785780634b107901146104a15780634fbce94e146104cc57806353135ca014610509578063537c08ff1461053457610288565b8063110640cd11610250578063110640cd1461039857806311eb3047146103c157806318160ddd146103d857806323b872dd146104035780633432123d1461042c57806338c303051461045757610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b314610332578063108b5aa91461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af919061378b565b610a67565b6040516102c191906137d3565b60405180910390f35b3480156102d657600080fd5b506102df610b49565b6040516102ec9190613887565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906138df565b610bdb565b604051610329919061394d565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190613994565b610c57565b005b34801561036757600080fd5b50610382600480360381019061037d91906139d4565b610d62565b60405161038f9190613a10565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba91906138df565b610d7a565b005b3480156103cd57600080fd5b506103d6610d8c565b005b3480156103e457600080fd5b506103ed610de6565b6040516103fa9190613a10565b60405180910390f35b34801561040f57600080fd5b5061042a60048036038101906104259190613a2b565b610dfd565b005b34801561043857600080fd5b50610441610e0d565b60405161044e91906137d3565b60405180910390f35b34801561046357600080fd5b5061046c610e20565b005b610476610e7a565b005b34801561048457600080fd5b5061049f600480360381019061049a9190613a2b565b610efb565b005b3480156104ad57600080fd5b506104b6610f1b565b6040516104c39190613a10565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee91906139d4565b610f21565b6040516105009190613a10565b60405180910390f35b34801561051557600080fd5b5061051e610f39565b60405161052b91906137d3565b60405180910390f35b34801561054057600080fd5b5061055b600480360381019061055691906139d4565b610f4c565b6040516105689190613a10565b60405180910390f35b34801561057d57600080fd5b50610598600480360381019061059391906138df565b6110b6565b6040516105a5919061394d565b60405180910390f35b3480156105ba57600080fd5b506105d560048036038101906105d091906139d4565b6110cc565b6040516105e29190613a10565b60405180910390f35b3480156105f757600080fd5b5061060061119c565b005b34801561060e57600080fd5b50610629600480360381019061062491906139d4565b6111b0565b6040516106369190613a10565b60405180910390f35b61065960048036038101906106549190613bfc565b6111c8565b005b610675600480360381019061067091906138df565b611407565b005b34801561068357600080fd5b5061069e60048036038101906106999190613c58565b611489565b005b3480156106ac57600080fd5b506106c760048036038101906106c291906138df565b61149b565b005b3480156106d557600080fd5b506106de6114ad565b6040516106eb9190613a10565b60405180910390f35b34801561070057600080fd5b506107096114b3565b60405161071691906137d3565b60405180910390f35b34801561072b57600080fd5b506107346114c6565b604051610741919061394d565b60405180910390f35b34801561075657600080fd5b5061075f6114f0565b005b34801561076d57600080fd5b5061077661154a565b60405161078391906137d3565b60405180910390f35b34801561079857600080fd5b506107a161155d565b6040516107ae9190613887565b60405180910390f35b3480156107c357600080fd5b506107de60048036038101906107d991906139d4565b6115ef565b6040516107eb9190613a10565b60405180910390f35b34801561080057600080fd5b5061081b60048036038101906108169190613cb1565b611607565b005b34801561082957600080fd5b50610844600480360381019061083f9190613c58565b61177f565b005b34801561085257600080fd5b5061086d60048036038101906108689190613994565b611791565b005b61088960048036038101906108849190613bfc565b611847565b005b34801561089757600080fd5b506108b260048036038101906108ad9190613d4c565b611ac8565b005b3480156108c057600080fd5b506108db60048036038101906108d69190613e61565b611b21565b005b3480156108e957600080fd5b5061090460048036038101906108ff91906138df565b611b9d565b6040516109119190613887565b60405180910390f35b610934600480360381019061092f9190613bfc565b611cc1565b005b34801561094257600080fd5b5061094b611ef2565b6040516109589190613a10565b60405180910390f35b34801561096d57600080fd5b50610988600480360381019061098391906139d4565b611ef8565b6040516109959190613a10565b60405180910390f35b3480156109aa57600080fd5b506109c560048036038101906109c09190613ee4565b611f0a565b6040516109d291906137d3565b60405180910390f35b3480156109e757600080fd5b506109f0611f9e565b6040516109fd9190613a10565b60405180910390f35b610a206004803603810190610a1b9190613bfc565b611fa4565b005b610a3c6004803603810190610a3791906138df565b6121c9565b005b348015610a4a57600080fd5b50610a656004803603810190610a6091906139d4565b6123ba565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b3257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b425750610b418261243e565b5b9050919050565b606060028054610b5890613f53565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8490613f53565b8015610bd15780601f10610ba657610100808354040283529160200191610bd1565b820191906000526020600020905b815481529060010190602001808311610bb457829003601f168201915b5050505050905090565b6000610be6826124a8565b610c1c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c62826110b6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cca576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ce96124f6565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d1b5750610d1981610d146124f6565b611f0a565b155b15610d52576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d5d8383836124fe565b505050565b60116020528060005260406000206000915090505481565b610d826125b0565b8060098190555050565b610d946125b0565b600e60019054906101000a900460ff1615610dc8576000600e60016101000a81548160ff0219169083151502179055610de3565b6001600e60016101000a81548160ff02191690831515021790555b50565b6000610df061262e565b6001546000540303905090565b610e08838383612633565b505050565b600e60019054906101000a900460ff1681565b610e286125b0565b600e60009054906101000a900460ff1615610e5c576000600e60006101000a81548160ff0219169083151502179055610e77565b6001600e60006101000a81548160ff02191690831515021790555b50565b610e826125b0565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610ea890613fb6565b60006040518083038185875af1925050503d8060008114610ee5576040519150601f19603f3d011682016040523d82523d6000602084013e610eea565b606091505b5050905080610ef857600080fd5b50565b610f1683838360405180602001604052806000815250611b21565b505050565b60095481565b60136020528060005260406000206000915090505481565b600e60009054906101000a900460ff1681565b600080600573efe58f3ace7d7dac903b2cc2e18ef1858d4e267573ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401610f9e919061394d565b60206040518083038186803b158015610fb657600080fd5b505afa158015610fca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fee9190613fe0565b610ff8919061406b565b9050600073b5596d75c727559463836eb67aa5cd574a43c7f073ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401611049919061394d565b60206040518083038186803b15801561106157600080fd5b505afa158015611075573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110999190613fe0565b9050600081836110a9919061409c565b9050809350505050919050565b60006110c182612ae9565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611134576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6111a46125b0565b6111ae6000612d78565b565b60126020528060005260406000206000915090505481565b600082116111d557600080fd5b600e60019054906101000a900460ff16611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121b9061413e565b60405180910390fd5b600061122e6124f6565b60405160200161123e91906141a6565b60405160208183030381529060405280519060200120905061126382600d5483612e3e565b6112a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112999061420d565b60405180910390fd5b60006112ac610de6565b905061045784826112bd919061409c565b11156112fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f590614279565b60405180910390fd5b8360095461130c9190614299565b34101561131857600080fd5b600284601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611365919061409c565b11156113a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139d9061433f565b60405180910390fd5b83601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506113fd3385612e55565b6000905050505050565b61140f6125b0565b60003373ffffffffffffffffffffffffffffffffffffffff168260405161143590613fb6565b60006040518083038185875af1925050503d8060008114611472576040519150601f19603f3d011682016040523d82523d6000602084013e611477565b606091505b505090508061148557600080fd5b5050565b6114916125b0565b80600c8190555050565b6114a36125b0565b80600a8190555050565b600a5481565b600e60029054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114f86125b0565b600e60029054906101000a900460ff161561152c576000600e60026101000a81548160ff0219169083151502179055611547565b6001600e60026101000a81548160ff02191690831515021790555b50565b601060009054906101000a900460ff1681565b60606003805461156c90613f53565b80601f016020809104026020016040519081016040528092919081815260200182805461159890613f53565b80156115e55780601f106115ba576101008083540402835291602001916115e5565b820191906000526020600020905b8154815290600101906020018083116115c857829003601f168201915b5050505050905090565b60146020528060005260406000206000915090505481565b61160f6124f6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611674576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006116816124f6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661172e6124f6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161177391906137d3565b60405180910390a35050565b6117876125b0565b80600d8190555050565b6117996125b0565b60006117a3610de6565b905061045782826117b4919061409c565b11156117f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ec906143ab565b60405180910390fd5b60008211611838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182f90614417565b60405180910390fd5b6118428383612e55565b505050565b6000821161185457600080fd5b600061185e610de6565b905061186933610f4c565b600b8190555060006118796124f6565b60405160200161188991906141a6565b6040516020818303038152906040528051906020012090506118ae83600c5483612e3e565b6118ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e49061420d565b60405180910390fd5b61045784836118fc919061409c565b111561193d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193490614279565b60405180910390fd5b600e60009054906101000a900460ff1661198c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198390614483565b60405180910390fd5b600b5484601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119da919061409c565b1115611a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a12906144ef565b60405180910390fd5b83600954611a299190614299565b341015611a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a629061455b565b60405180910390fd5b83601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611ac23385612e55565b50505050565b611ad06125b0565b601060009054906101000a900460ff16158015611aea5750805b15611b0a5780601060006101000a81548160ff0219169083151502179055505b8282600f9190611b1b929190613639565b50505050565b611b2c848484612633565b611b4b8373ffffffffffffffffffffffffffffffffffffffff16612e73565b8015611b605750611b5e84848484612e96565b155b15611b97576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611ba8826124a8565b611be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bde906145c7565b60405180910390fd5b601060009054906101000a900460ff1615611c2e57600f611c0783612ff6565b604051602001611c189291906146b7565b6040516020818303038152906040529050611cbc565b600f8054611c3b90613f53565b80601f0160208091040260200160405190810160405280929190818152602001828054611c6790613f53565b8015611cb45780601f10611c8957610100808354040283529160200191611cb4565b820191906000526020600020905b815481529060010190602001808311611c9757829003601f168201915b505050505090505b919050565b60008211611cce57600080fd5b6000611cd8610de6565b9050611ce333610f4c565b600b819055506000611cf36124f6565b604051602001611d0391906141a6565b604051602081830303815290604052805190602001209050611d2883600c5483612e3e565b611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e9061420d565b60405180910390fd5b6104578483611d76919061409c565b1115611db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dae90614279565b60405180910390fd5b600e60009054906101000a900460ff16611e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfd90614483565b60405180910390fd5b600b5484601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e54919061409c565b1115611e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8c90614727565b60405180910390fd5b83601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611eec3385612e55565b50505050565b61045781565b6000611f0382613157565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b5481565b60008211611fb157600080fd5b600e60029054906101000a900460ff16612000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff790614793565b60405180910390fd5b600061200a6124f6565b60405160200161201a91906141a6565b60405160208183030381529060405280519060200120905061203f82600d5483612e3e565b61207e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120759061420d565b60405180910390fd5b6000612088610de6565b90506104578482612099919061409c565b11156120da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d190614279565b60405180910390fd5b600184601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612127919061409c565b1115612168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215f9061433f565b60405180910390fd5b83601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506121bf3385612e55565b6000905050505050565b600081116121d657600080fd5b60006121e0610de6565b905061045782826121f1919061409c565b1115612232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222990614279565b60405180910390fd5b600e60009054906101000a900460ff16612281576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612278906147ff565b60405180910390fd5b81600a5461228f9190614299565b3410156122d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c89061455b565b60405180910390fd5b600482601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461231e919061409c565b111561235f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123569061486b565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506123b63383612e55565b5050565b6123c26125b0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612432576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612429906148fd565b60405180910390fd5b61243b81612d78565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816124b361262e565b111580156124c2575060005482105b80156124ef575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6125b86124f6565b73ffffffffffffffffffffffffffffffffffffffff166125d66114c6565b73ffffffffffffffffffffffffffffffffffffffff161461262c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262390614969565b60405180910390fd5b565b600090565b600061263e82612ae9565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126a9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166126ca6124f6565b73ffffffffffffffffffffffffffffffffffffffff1614806126f957506126f8856126f36124f6565b611f0a565b5b8061273e57506127076124f6565b73ffffffffffffffffffffffffffffffffffffffff1661272684610bdb565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612777576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127de576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127eb85858560016131c1565b6127f7600084876124fe565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612a77576000548214612a7657878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ae285858560016131c7565b5050505050565b612af16136bf565b600082905080612aff61262e565b11158015612b0e575060005481105b15612d41576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612d3f57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c23578092505050612d73565b5b600115612d3e57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d39578092505050612d73565b612c24565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612e4b85846131cd565b1490509392505050565b612e6f828260405180602001604052806000815250613242565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ebc6124f6565b8786866040518563ffffffff1660e01b8152600401612ede94939291906149de565b602060405180830381600087803b158015612ef857600080fd5b505af1925050508015612f2957506040513d601f19601f82011682018060405250810190612f269190614a3f565b60015b612fa3573d8060008114612f59576040519150601f19603f3d011682016040523d82523d6000602084013e612f5e565b606091505b50600081511415612f9b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600082141561303e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613152565b600082905060005b6000821461307057808061305990614a6c565b915050600a82613069919061406b565b9150613046565b60008167ffffffffffffffff81111561308c5761308b613a83565b5b6040519080825280601f01601f1916602001820160405280156130be5781602001600182028036833780820191505090505b5090505b6000851461314b576001826130d79190614ab5565b9150600a856130e69190614ae9565b60306130f2919061409c565b60f81b81838151811061310857613107614b1a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613144919061406b565b94506130c2565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b60008082905060005b84518110156132375760008582815181106131f4576131f3614b1a565b5b602002602001015190508083116132165761320f8382613254565b9250613223565b6132208184613254565b92505b50808061322f90614a6c565b9150506131d6565b508091505092915050565b61324f838383600161326b565b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156132d8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613313576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61332060008683876131c1565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156134ea57506134e98773ffffffffffffffffffffffffffffffffffffffff16612e73565b5b156135b0575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461355f6000888480600101955088612e96565b613595576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156134f05782600054146135ab57600080fd5b61361c565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156135b1575b81600081905550505061363260008683876131c7565b5050505050565b82805461364590613f53565b90600052602060002090601f01602090048101928261366757600085556136ae565b82601f1061368057803560ff19168380011785556136ae565b828001600101855582156136ae579182015b828111156136ad578235825591602001919060010190613692565b5b5090506136bb9190613702565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561371b576000816000905550600101613703565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61376881613733565b811461377357600080fd5b50565b6000813590506137858161375f565b92915050565b6000602082840312156137a1576137a0613729565b5b60006137af84828501613776565b91505092915050565b60008115159050919050565b6137cd816137b8565b82525050565b60006020820190506137e860008301846137c4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561382857808201518184015260208101905061380d565b83811115613837576000848401525b50505050565b6000601f19601f8301169050919050565b6000613859826137ee565b61386381856137f9565b935061387381856020860161380a565b61387c8161383d565b840191505092915050565b600060208201905081810360008301526138a1818461384e565b905092915050565b6000819050919050565b6138bc816138a9565b81146138c757600080fd5b50565b6000813590506138d9816138b3565b92915050565b6000602082840312156138f5576138f4613729565b5b6000613903848285016138ca565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139378261390c565b9050919050565b6139478161392c565b82525050565b6000602082019050613962600083018461393e565b92915050565b6139718161392c565b811461397c57600080fd5b50565b60008135905061398e81613968565b92915050565b600080604083850312156139ab576139aa613729565b5b60006139b98582860161397f565b92505060206139ca858286016138ca565b9150509250929050565b6000602082840312156139ea576139e9613729565b5b60006139f88482850161397f565b91505092915050565b613a0a816138a9565b82525050565b6000602082019050613a256000830184613a01565b92915050565b600080600060608486031215613a4457613a43613729565b5b6000613a528682870161397f565b9350506020613a638682870161397f565b9250506040613a74868287016138ca565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613abb8261383d565b810181811067ffffffffffffffff82111715613ada57613ad9613a83565b5b80604052505050565b6000613aed61371f565b9050613af98282613ab2565b919050565b600067ffffffffffffffff821115613b1957613b18613a83565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b613b4281613b2f565b8114613b4d57600080fd5b50565b600081359050613b5f81613b39565b92915050565b6000613b78613b7384613afe565b613ae3565b90508083825260208201905060208402830185811115613b9b57613b9a613b2a565b5b835b81811015613bc45780613bb08882613b50565b845260208401935050602081019050613b9d565b5050509392505050565b600082601f830112613be357613be2613a7e565b5b8135613bf3848260208601613b65565b91505092915050565b60008060408385031215613c1357613c12613729565b5b6000613c21858286016138ca565b925050602083013567ffffffffffffffff811115613c4257613c4161372e565b5b613c4e85828601613bce565b9150509250929050565b600060208284031215613c6e57613c6d613729565b5b6000613c7c84828501613b50565b91505092915050565b613c8e816137b8565b8114613c9957600080fd5b50565b600081359050613cab81613c85565b92915050565b60008060408385031215613cc857613cc7613729565b5b6000613cd68582860161397f565b9250506020613ce785828601613c9c565b9150509250929050565b600080fd5b60008083601f840112613d0c57613d0b613a7e565b5b8235905067ffffffffffffffff811115613d2957613d28613cf1565b5b602083019150836001820283011115613d4557613d44613b2a565b5b9250929050565b600080600060408486031215613d6557613d64613729565b5b600084013567ffffffffffffffff811115613d8357613d8261372e565b5b613d8f86828701613cf6565b93509350506020613da286828701613c9c565b9150509250925092565b600080fd5b600067ffffffffffffffff821115613dcc57613dcb613a83565b5b613dd58261383d565b9050602081019050919050565b82818337600083830152505050565b6000613e04613dff84613db1565b613ae3565b905082815260208101848484011115613e2057613e1f613dac565b5b613e2b848285613de2565b509392505050565b600082601f830112613e4857613e47613a7e565b5b8135613e58848260208601613df1565b91505092915050565b60008060008060808587031215613e7b57613e7a613729565b5b6000613e898782880161397f565b9450506020613e9a8782880161397f565b9350506040613eab878288016138ca565b925050606085013567ffffffffffffffff811115613ecc57613ecb61372e565b5b613ed887828801613e33565b91505092959194509250565b60008060408385031215613efb57613efa613729565b5b6000613f098582860161397f565b9250506020613f1a8582860161397f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f6b57607f821691505b60208210811415613f7f57613f7e613f24565b5b50919050565b600081905092915050565b50565b6000613fa0600083613f85565b9150613fab82613f90565b600082019050919050565b6000613fc182613f93565b9150819050919050565b600081519050613fda816138b3565b92915050565b600060208284031215613ff657613ff5613729565b5b600061400484828501613fcb565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614076826138a9565b9150614081836138a9565b9250826140915761409061400d565b5b828204905092915050565b60006140a7826138a9565b91506140b2836138a9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140e7576140e661403c565b5b828201905092915050565b7f5055424c494353414c455f494e41435449564500000000000000000000000000600082015250565b60006141286013836137f9565b9150614133826140f2565b602082019050919050565b600060208201905081810360008301526141578161411b565b9050919050565b60008160601b9050919050565b60006141768261415e565b9050919050565b60006141888261416b565b9050919050565b6141a061419b8261392c565b61417d565b82525050565b60006141b2828461418f565b60148201915081905092915050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b60006141f7600e836137f9565b9150614202826141c1565b602082019050919050565b60006020820190508181036000830152614226816141ea565b9050919050565b7f43616e7420676f206f76657220737570706c7900000000000000000000000000600082015250565b60006142636013836137f9565b915061426e8261422d565b602082019050919050565b6000602082019050818103600083015261429281614256565b9050919050565b60006142a4826138a9565b91506142af836138a9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142e8576142e761403c565b5b828202905092915050565b7f574c504149445f4d415845440000000000000000000000000000000000000000600082015250565b6000614329600c836137f9565b9150614334826142f3565b602082019050919050565b600060208201905081810360008301526143588161431c565b9050919050565b7f4f76657220537570706c79000000000000000000000000000000000000000000600082015250565b6000614395600b836137f9565b91506143a08261435f565b602082019050919050565b600060208201905081810360008301526143c481614388565b9050919050565b7f5155414e544954595f494e56414c494400000000000000000000000000000000600082015250565b60006144016010836137f9565b915061440c826143cb565b602082019050919050565b60006020820190508181036000830152614430816143f4565b9050919050565b7f484f4c44455253414c455f494e41435449564500000000000000000000000000600082015250565b600061446d6013836137f9565b915061447882614437565b602082019050919050565b6000602082019050818103600083015261449c81614460565b9050919050565b7f484f4c44455253414c45504149445f4d41584544000000000000000000000000600082015250565b60006144d96014836137f9565b91506144e4826144a3565b602082019050919050565b60006020820190508181036000830152614508816144cc565b9050919050565b7f494e434f52524543545f45544800000000000000000000000000000000000000600082015250565b6000614545600d836137f9565b91506145508261450f565b602082019050919050565b6000602082019050818103600083015261457481614538565b9050919050565b7f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00600082015250565b60006145b1601f836137f9565b91506145bc8261457b565b602082019050919050565b600060208201905081810360008301526145e0816145a4565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461461481613f53565b61461e81866145e7565b94506001821660008114614639576001811461464a5761467d565b60ff1983168652818601935061467d565b614653856145f2565b60005b8381101561467557815481890152600182019150602081019050614656565b838801955050505b50505092915050565b6000614691826137ee565b61469b81856145e7565b93506146ab81856020860161380a565b80840191505092915050565b60006146c38285614607565b91506146cf8284614686565b91508190509392505050565b7f484f4c44455253414c45465245455f4d41584544000000000000000000000000600082015250565b60006147116014836137f9565b915061471c826146db565b602082019050919050565b6000602082019050818103600083015261474081614704565b9050919050565b7f46524545574c5f494e4143544956450000000000000000000000000000000000600082015250565b600061477d600f836137f9565b915061478882614747565b602082019050919050565b600060208201905081810360008301526147ac81614770565b9050919050565b7f5055424c49435f494e4143544956450000000000000000000000000000000000600082015250565b60006147e9600f836137f9565b91506147f4826147b3565b602082019050919050565b60006020820190508181036000830152614818816147dc565b9050919050565b7f5055424c4943504149445f4d4158454400000000000000000000000000000000600082015250565b60006148556010836137f9565b91506148608261481f565b602082019050919050565b6000602082019050818103600083015261488481614848565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006148e76026836137f9565b91506148f28261488b565b604082019050919050565b60006020820190508181036000830152614916816148da565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149536020836137f9565b915061495e8261491d565b602082019050919050565b6000602082019050818103600083015261498281614946565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149b082614989565b6149ba8185614994565b93506149ca81856020860161380a565b6149d38161383d565b840191505092915050565b60006080820190506149f3600083018761393e565b614a00602083018661393e565b614a0d6040830185613a01565b8181036060830152614a1f81846149a5565b905095945050505050565b600081519050614a398161375f565b92915050565b600060208284031215614a5557614a54613729565b5b6000614a6384828501614a2a565b91505092915050565b6000614a77826138a9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614aaa57614aa961403c565b5b600182019050919050565b6000614ac0826138a9565b9150614acb836138a9565b925082821015614ade57614add61403c565b5b828203905092915050565b6000614af4826138a9565b9150614aff836138a9565b925082614b0f57614b0e61400d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122029b55b5e920bfe3c41917a39fa885f8a5b320a261849a785dce5f034db2a965c64736f6c63430008090033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.