Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,444 HUNTINGSZN
Holders
271
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 HUNTINGSZNLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HuntingSZN
Compiler Version
v0.8.13+commit.abaa5c0e
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 <0.9.0; import 'erc721a/contracts/ERC721A.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import {DefaultOperatorFilterer721, OperatorFilterer721} from "./DefaultOperatorFilterer721.sol"; contract HuntingSZN is ERC721A, DefaultOperatorFilterer721, Ownable, ReentrancyGuard { using Strings for uint256; mapping(address => uint256) public amountClaimed; string public uriPrefix = ''; string public uriSuffix = '.json'; string public hiddenMetadataUri; bytes32 public merkleRoot; bytes32 public merkleRootTeam; uint256 public cost; uint256 public maxSupply; uint256 public maxMintAmountPerTx; bool public paused = true; bool public teamMintEnabled = true; bool public whitelistMintEnabled = false; bool public revealed = false; constructor( string memory _tokenName, string memory _tokenSymbol, uint256 _cost, uint256 _maxSupply, uint256 _maxMintAmountPerTx, bytes32 _merkleRoot, bytes32 _merkleRootTeam ) ERC721A(_tokenName, _tokenSymbol) { cost = _cost; maxSupply = _maxSupply; maxMintAmountPerTx = _maxMintAmountPerTx; merkleRoot = _merkleRoot; merkleRootTeam = _merkleRootTeam; } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } modifier mintCompliance(uint256 _mintAmount) { require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, 'Invalid mint amount!'); require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!'); _; } modifier mintPriceCompliance(uint256 _mintAmount) { require(!paused, 'Contract is paused!'); require(msg.value >= cost * _mintAmount, 'Insufficient funds!'); _; } function teamMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable mintCompliance(_mintAmount) { require(teamMintEnabled, 'Team sale is disabled!'); require(msg.value >= cost * _mintAmount, 'Insufficient funds!'); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require(MerkleProof.verify(_merkleProof, merkleRootTeam, leaf), 'Invalid proof!'); _safeMint(_msgSender(), _mintAmount); } function whitelistMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) { require(whitelistMintEnabled, 'The whitelist sale is disabled!'); require(amountClaimed[_msgSender()] <= maxMintAmountPerTx, 'Address already claimed max amount'); amountClaimed[_msgSender()] = amountClaimed[_msgSender()] + _mintAmount; bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!'); _safeMint(_msgSender(), _mintAmount); } function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) { require(!whitelistMintEnabled, 'The whitelist sale is enabled!'); _safeMint(_msgSender(), _mintAmount); } function airDrop(uint256 _mintAmount, address[] calldata _receivers) public mintCompliance(_mintAmount) onlyOwner { for (uint256 i = 0; i < _receivers.length; i++) { _safeMint(_receivers[i], _mintAmount); } } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = _startTokenId(); uint256 ownedTokenIndex = 0; address latestOwnerAddress; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) { TokenOwnership memory ownership = _ownerships[currentTokenId]; if (!ownership.burned && ownership.addr != address(0)) { latestOwnerAddress = ownership.addr; } if (latestOwnerAddress == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ''; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function setMerkleRootTeam(bytes32 _merkleRootTeam) public onlyOwner { merkleRootTeam = _merkleRootTeam; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setMaxSupply(uint256 _maxSupply) public onlyOwner { maxSupply = _maxSupply; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setTeamMintEnabled(bool _state) public onlyOwner { teamMintEnabled = _state; } function setWhitelistMintEnabled(bool _state) public onlyOwner { whitelistMintEnabled = _state; } function withdraw() public onlyOwner nonReentrant { uint256 balance = address(this).balance; uint256 projectWalletBal = balance * 40 / 100; uint256 founderBal = balance * 20 / 100; uint256 artistBal = balance * 20 / 100; uint256 communityManagerBal = balance * 10 / 100; uint256 developerBal = balance * 10 / 100; (bool ps, ) = payable(0x17BD65a45cD6B48C162191a1E2276e67812bC3Ce).call{value: projectWalletBal}(''); require(ps); (bool fs, ) = payable(0x6f99D6E7E88d506F431B288608eE4A8a64477D9A).call{value: founderBal}(''); require(fs); (bool cs, ) = payable(0x1BF1CC67aafd64385F8Bae6d257CDfA35E7cA951).call{value: artistBal}(''); require(cs); (bool ms, ) = payable(0x89d46Fb865D46eee7813871C6E3764ebA4438AF2).call{value: communityManagerBal}(''); require(ms); (bool ds, ) = payable(0xd8cf6013f11a93eE6E6C9c7CBf779eB5d36C9CAf).call{value: developerBal}(''); require(ds); (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } }
// 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/token/ERC721/extensions/IERC721Enumerable.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 MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); 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 See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); 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) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); 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) { if (owner == address(0)) revert AuxQueryForZeroAddress(); 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 { if (owner == address(0)) revert AuxQueryForZeroAddress(); _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 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); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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; _ownerships[tokenId].addr = to; _ownerships[tokenId].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; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].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; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, 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 (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 // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ 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 Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer721} from "./OperatorFilterer721.sol"; abstract contract DefaultOperatorFilterer721 is OperatorFilterer721 { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer721(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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 (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 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.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _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) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _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/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 v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; abstract contract OperatorFilterer721 { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(operatorFilterRegistry).code.length > 0) { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from == msg.sender) { _; return; } if ( !( operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender) && operatorFilterRegistry.isOperatorAllowed(address(this), from) ) ) { revert OperatorNotAllowed(msg.sender); } } _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint256","name":"_cost","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_merkleRootTeam","type":"bytes32"}],"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":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address[]","name":"_receivers","type":"address[]"}],"name":"airDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootTeam","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRootTeam","type":"bytes32"}],"name":"setMerkleRootTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setTeamMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setWhitelistMintEnabled","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":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"teamMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"teamMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260405180602001604052806000815250600b90805190602001906200002b929190620004a2565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600c908051906020019062000079929190620004a2565b506001601360006101000a81548160ff0219169083151502179055506001601360016101000a81548160ff0219169083151502179055506000601360026101000a81548160ff0219169083151502179055506000601360036101000a81548160ff021916908315150217905550348015620000f357600080fd5b5060405162005e5338038062005e53833981810160405281019062000119919062000765565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001888881600290805190602001906200014a929190620004a2565b50806003908051906020019062000163929190620004a2565b5062000174620003cb60201b60201c565b600081905550505060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200037157801562000237576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001fd9291906200089b565b600060405180830381600087803b1580156200021857600080fd5b505af11580156200022d573d6000803e3d6000fd5b5050505062000370565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002f1576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620002b79291906200089b565b600060405180830381600087803b158015620002d257600080fd5b505af1158015620002e7573d6000803e3d6000fd5b505050506200036f565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200033a9190620008c8565b600060405180830381600087803b1580156200035557600080fd5b505af11580156200036a573d6000803e3d6000fd5b505050505b5b5b50506200039362000387620003d460201b60201c565b620003dc60201b60201c565b600160098190555084601081905550836011819055508260128190555081600e8190555080600f819055505050505050505062000949565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620004b09062000914565b90600052602060002090601f016020900481019282620004d4576000855562000520565b82601f10620004ef57805160ff191683800117855562000520565b8280016001018555821562000520579182015b828111156200051f57825182559160200191906001019062000502565b5b5090506200052f919062000533565b5090565b5b808211156200054e57600081600090555060010162000534565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620005bb8262000570565b810181811067ffffffffffffffff82111715620005dd57620005dc62000581565b5b80604052505050565b6000620005f262000552565b9050620006008282620005b0565b919050565b600067ffffffffffffffff82111562000623576200062262000581565b5b6200062e8262000570565b9050602081019050919050565b60005b838110156200065b5780820151818401526020810190506200063e565b838111156200066b576000848401525b50505050565b600062000688620006828462000605565b620005e6565b905082815260208101848484011115620006a757620006a66200056b565b5b620006b48482856200063b565b509392505050565b600082601f830112620006d457620006d362000566565b5b8151620006e684826020860162000671565b91505092915050565b6000819050919050565b6200070481620006ef565b81146200071057600080fd5b50565b6000815190506200072481620006f9565b92915050565b6000819050919050565b6200073f816200072a565b81146200074b57600080fd5b50565b6000815190506200075f8162000734565b92915050565b600080600080600080600060e0888a0312156200078757620007866200055c565b5b600088015167ffffffffffffffff811115620007a857620007a762000561565b5b620007b68a828b01620006bc565b975050602088015167ffffffffffffffff811115620007da57620007d962000561565b5b620007e88a828b01620006bc565b9650506040620007fb8a828b0162000713565b95505060606200080e8a828b0162000713565b9450506080620008218a828b0162000713565b93505060a0620008348a828b016200074e565b92505060c0620008478a828b016200074e565b91505092959891949750929550565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008838262000856565b9050919050565b620008958162000876565b82525050565b6000604082019050620008b260008301856200088a565b620008c160208301846200088a565b9392505050565b6000602082019050620008df60008301846200088a565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200092d57607f821691505b602082108103620009435762000942620008e5565b5b50919050565b6154fa80620009596000396000f3fe6080604052600436106102935760003560e01c80636f8b44b01161015a578063a45ba8e7116100c1578063d2cab0561161007a578063d2cab056146109aa578063d5abeb01146109c6578063d7e1ea17146109f1578063e0a8085314610a2e578063e985e9c514610a57578063f2fde38b14610a9457610293565b8063a45ba8e7146108ab578063b071401b146108d6578063b0ee9f76146108ff578063b767a0981461091b578063b88d4fde14610944578063c87b56dd1461096d57610293565b80638da5cb5b116101135780638da5cb5b146107ba5780638e771731146107e557806394354fd01461081057806395d89b411461083b578063a0712d6814610866578063a22cb4651461088257610293565b80636f8b44b0146106c257806370a08231146106eb578063715018a6146107285780637cb647591461073f5780637ec4a65914610768578063812c6f931461079157610293565b80633ccfd60b116101fe5780635503a0e8116101b75780635503a0e8146105ae5780635c975abb146105d95780635cdb83e11461060457806362b99ad41461062f5780636352211e1461065a5780636caede3d1461069757610293565b80633ccfd60b146104b457806342842e0e146104cb578063438b6300146104f457806344a0d68a146105315780634fdd43cb1461055a578063518302271461058357610293565b806316ba10e01161025057806316ba10e0146103ba57806316c38b3c146103e357806318160ddd1461040c57806323b872dd146104375780632920bbb2146104605780632eb4a7ab1461048957610293565b806301ffc9a71461029857806306fdde03146102d5578063081812fc14610300578063095ea7b31461033d57806313faede61461036657806315c1333714610391575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba9190614077565b610abd565b6040516102cc91906140bf565b60405180910390f35b3480156102e157600080fd5b506102ea610b9f565b6040516102f79190614173565b60405180910390f35b34801561030c57600080fd5b50610327600480360381019061032291906141cb565b610c31565b6040516103349190614239565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f9190614280565b610cad565b005b34801561037257600080fd5b5061037b610db7565b60405161038891906142cf565b60405180910390f35b34801561039d57600080fd5b506103b860048036038101906103b3919061434f565b610dbd565b005b3480156103c657600080fd5b506103e160048036038101906103dc91906144df565b610ec7565b005b3480156103ef57600080fd5b5061040a60048036038101906104059190614554565b610ee9565b005b34801561041857600080fd5b50610421610f0e565b60405161042e91906142cf565b60405180910390f35b34801561044357600080fd5b5061045e60048036038101906104599190614581565b610f25565b005b34801561046c57600080fd5b506104876004803603810190610482919061460a565b611107565b005b34801561049557600080fd5b5061049e611119565b6040516104ab9190614646565b60405180910390f35b3480156104c057600080fd5b506104c961111f565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190614581565b61150a565b005b34801561050057600080fd5b5061051b60048036038101906105169190614661565b6116ec565b604051610528919061474c565b60405180910390f35b34801561053d57600080fd5b50610558600480360381019061055391906141cb565b611906565b005b34801561056657600080fd5b50610581600480360381019061057c91906144df565b611918565b005b34801561058f57600080fd5b5061059861193a565b6040516105a591906140bf565b60405180910390f35b3480156105ba57600080fd5b506105c361194d565b6040516105d09190614173565b60405180910390f35b3480156105e557600080fd5b506105ee6119db565b6040516105fb91906140bf565b60405180910390f35b34801561061057600080fd5b506106196119ee565b60405161062691906140bf565b60405180910390f35b34801561063b57600080fd5b50610644611a01565b6040516106519190614173565b60405180910390f35b34801561066657600080fd5b50610681600480360381019061067c91906141cb565b611a8f565b60405161068e9190614239565b60405180910390f35b3480156106a357600080fd5b506106ac611aa5565b6040516106b991906140bf565b60405180910390f35b3480156106ce57600080fd5b506106e960048036038101906106e491906141cb565b611ab8565b005b3480156106f757600080fd5b50610712600480360381019061070d9190614661565b611aca565b60405161071f91906142cf565b60405180910390f35b34801561073457600080fd5b5061073d611b99565b005b34801561074b57600080fd5b506107666004803603810190610761919061460a565b611bad565b005b34801561077457600080fd5b5061078f600480360381019061078a91906144df565b611bbf565b005b34801561079d57600080fd5b506107b860048036038101906107b39190614554565b611be1565b005b3480156107c657600080fd5b506107cf611c06565b6040516107dc9190614239565b60405180910390f35b3480156107f157600080fd5b506107fa611c30565b6040516108079190614646565b60405180910390f35b34801561081c57600080fd5b50610825611c36565b60405161083291906142cf565b60405180910390f35b34801561084757600080fd5b50610850611c3c565b60405161085d9190614173565b60405180910390f35b610880600480360381019061087b91906141cb565b611cce565b005b34801561088e57600080fd5b506108a960048036038101906108a4919061476e565b611e7e565b005b3480156108b757600080fd5b506108c0611ff5565b6040516108cd9190614173565b60405180910390f35b3480156108e257600080fd5b506108fd60048036038101906108f891906141cb565b612083565b005b61091960048036038101906109149190614804565b612095565b005b34801561092757600080fd5b50610942600480360381019061093d9190614554565b6122b4565b005b34801561095057600080fd5b5061096b60048036038101906109669190614905565b6122d9565b005b34801561097957600080fd5b50610994600480360381019061098f91906141cb565b6124be565b6040516109a19190614173565b60405180910390f35b6109c460048036038101906109bf9190614804565b612616565b005b3480156109d257600080fd5b506109db6129ae565b6040516109e891906142cf565b60405180910390f35b3480156109fd57600080fd5b50610a186004803603810190610a139190614661565b6129b4565b604051610a2591906142cf565b60405180910390f35b348015610a3a57600080fd5b50610a556004803603810190610a509190614554565b6129cc565b005b348015610a6357600080fd5b50610a7e6004803603810190610a799190614988565b6129f1565b604051610a8b91906140bf565b60405180910390f35b348015610aa057600080fd5b50610abb6004803603810190610ab69190614661565b612a85565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b8857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b985750610b9782612b08565b5b9050919050565b606060028054610bae906149f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610bda906149f7565b8015610c275780601f10610bfc57610100808354040283529160200191610c27565b820191906000526020600020905b815481529060010190602001808311610c0a57829003601f168201915b5050505050905090565b6000610c3c82612b72565b610c72576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cb882611a8f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d1f576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d3e612bc0565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d705750610d6e81610d69612bc0565b6129f1565b155b15610da7576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610db2838383612bc8565b505050565b60105481565b82600081118015610dd057506012548111155b610e0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0690614a74565b60405180910390fd5b60115481610e1b610f0e565b610e259190614ac3565b1115610e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5d90614b65565b60405180910390fd5b610e6e612c7a565b60005b83839050811015610ec057610ead848483818110610e9257610e91614b85565b5b9050602002016020810190610ea79190614661565b86612cf8565b8080610eb890614bb4565b915050610e71565b5050505050565b610ecf612c7a565b80600c9080519060200190610ee5929190613f25565b5050565b610ef1612c7a565b80601360006101000a81548160ff02191690831515021790555050565b6000610f18612d16565b6001546000540303905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156110f5573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f9757610f92848484612d1f565b611101565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610fe0929190614bfc565b602060405180830381865afa158015610ffd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110219190614c3a565b80156110b357506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611071929190614bfc565b602060405180830381865afa15801561108e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b29190614c3a565b5b6110f457336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016110eb9190614239565b60405180910390fd5b5b611100848484612d1f565b5b50505050565b61110f612c7a565b80600f8190555050565b600e5481565b611127612c7a565b61112f612d2f565b6000479050600060646028836111459190614c67565b61114f9190614cf0565b9050600060646014846111629190614c67565b61116c9190614cf0565b90506000606460148561117f9190614c67565b6111899190614cf0565b905060006064600a8661119c9190614c67565b6111a69190614cf0565b905060006064600a876111b99190614c67565b6111c39190614cf0565b905060007317bd65a45cd6b48c162191a1e2276e67812bc3ce73ffffffffffffffffffffffffffffffffffffffff16866040516111ff90614d52565b60006040518083038185875af1925050503d806000811461123c576040519150601f19603f3d011682016040523d82523d6000602084013e611241565b606091505b505090508061124f57600080fd5b6000736f99d6e7e88d506f431b288608ee4a8a64477d9a73ffffffffffffffffffffffffffffffffffffffff168660405161128990614d52565b60006040518083038185875af1925050503d80600081146112c6576040519150601f19603f3d011682016040523d82523d6000602084013e6112cb565b606091505b50509050806112d957600080fd5b6000731bf1cc67aafd64385f8bae6d257cdfa35e7ca95173ffffffffffffffffffffffffffffffffffffffff168660405161131390614d52565b60006040518083038185875af1925050503d8060008114611350576040519150601f19603f3d011682016040523d82523d6000602084013e611355565b606091505b505090508061136357600080fd5b60007389d46fb865d46eee7813871c6e3764eba4438af273ffffffffffffffffffffffffffffffffffffffff168660405161139d90614d52565b60006040518083038185875af1925050503d80600081146113da576040519150601f19603f3d011682016040523d82523d6000602084013e6113df565b606091505b50509050806113ed57600080fd5b600073d8cf6013f11a93ee6e6c9c7cbf779eb5d36c9caf73ffffffffffffffffffffffffffffffffffffffff168660405161142790614d52565b60006040518083038185875af1925050503d8060008114611464576040519150601f19603f3d011682016040523d82523d6000602084013e611469565b606091505b505090508061147757600080fd5b6000611481611c06565b73ffffffffffffffffffffffffffffffffffffffff16476040516114a490614d52565b60006040518083038185875af1925050503d80600081146114e1576040519150601f19603f3d011682016040523d82523d6000602084013e6114e6565b606091505b50509050806114f457600080fd5b505050505050505050505050611508612d7e565b565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156116da573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361157c57611577848484612d88565b6116e6565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016115c5929190614bfc565b602060405180830381865afa1580156115e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116069190614c3a565b801561169857506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611656929190614bfc565b602060405180830381865afa158015611673573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116979190614c3a565b5b6116d957336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016116d09190614239565b60405180910390fd5b5b6116e5848484612d88565b5b50505050565b606060006116f983611aca565b905060008167ffffffffffffffff811115611717576117166143b4565b5b6040519080825280602002602001820160405280156117455781602001602082028036833780820191505090505b5090506000611752612d16565b90506000805b848210801561176957506011548311155b156118f9576000600460008581526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511580156118765750600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614155b1561188357806000015191505b8773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118e557838584815181106118ca576118c9614b85565b5b60200260200101818152505082806118e190614bb4565b9350505b83806118f090614bb4565b94505050611758565b8395505050505050919050565b61190e612c7a565b8060108190555050565b611920612c7a565b80600d9080519060200190611936929190613f25565b5050565b601360039054906101000a900460ff1681565b600c805461195a906149f7565b80601f0160208091040260200160405190810160405280929190818152602001828054611986906149f7565b80156119d35780601f106119a8576101008083540402835291602001916119d3565b820191906000526020600020905b8154815290600101906020018083116119b657829003601f168201915b505050505081565b601360009054906101000a900460ff1681565b601360019054906101000a900460ff1681565b600b8054611a0e906149f7565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3a906149f7565b8015611a875780601f10611a5c57610100808354040283529160200191611a87565b820191906000526020600020905b815481529060010190602001808311611a6a57829003601f168201915b505050505081565b6000611a9a82612da8565b600001519050919050565b601360029054906101000a900460ff1681565b611ac0612c7a565b8060118190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b31576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611ba1612c7a565b611bab6000613037565b565b611bb5612c7a565b80600e8190555050565b611bc7612c7a565b80600b9080519060200190611bdd929190613f25565b5050565b611be9612c7a565b80601360016101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f5481565b60125481565b606060038054611c4b906149f7565b80601f0160208091040260200160405190810160405280929190818152602001828054611c77906149f7565b8015611cc45780601f10611c9957610100808354040283529160200191611cc4565b820191906000526020600020905b815481529060010190602001808311611ca757829003601f168201915b5050505050905090565b80600081118015611ce157506012548111155b611d20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1790614a74565b60405180910390fd5b60115481611d2c610f0e565b611d369190614ac3565b1115611d77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6e90614b65565b60405180910390fd5b81601360009054906101000a900460ff1615611dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbf90614db3565b60405180910390fd5b80601054611dd69190614c67565b341015611e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0f90614e1f565b60405180910390fd5b601360029054906101000a900460ff1615611e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5f90614e8b565b60405180910390fd5b611e79611e73612bc0565b84612cf8565b505050565b611e86612bc0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611eea576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611ef7612bc0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611fa4612bc0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fe991906140bf565b60405180910390a35050565b600d8054612002906149f7565b80601f016020809104026020016040519081016040528092919081815260200182805461202e906149f7565b801561207b5780601f106120505761010080835404028352916020019161207b565b820191906000526020600020905b81548152906001019060200180831161205e57829003601f168201915b505050505081565b61208b612c7a565b8060128190555050565b826000811180156120a857506012548111155b6120e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120de90614a74565b60405180910390fd5b601154816120f3610f0e565b6120fd9190614ac3565b111561213e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213590614b65565b60405180910390fd5b601360019054906101000a900460ff1661218d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218490614ef7565b60405180910390fd5b8360105461219b9190614c67565b3410156121dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d490614e1f565b60405180910390fd5b60006121e7612bc0565b6040516020016121f79190614f5f565b60405160208183030381529060405280519060200120905061225d848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f54836130fd565b61229c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229390614fc6565b60405180910390fd5b6122ad6122a7612bc0565b86612cf8565b5050505050565b6122bc612c7a565b80601360026101000a81548160ff02191690831515021790555050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156124aa573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361234c5761234785858585613114565b6124b7565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401612395929190614bfc565b602060405180830381865afa1580156123b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123d69190614c3a565b801561246857506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612426929190614bfc565b602060405180830381865afa158015612443573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124679190614c3a565b5b6124a957336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016124a09190614239565b60405180910390fd5b5b6124b685858585613114565b5b5050505050565b60606124c982612b72565b612508576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ff90615058565b60405180910390fd5b60001515601360039054906101000a900460ff161515036125b557600d8054612530906149f7565b80601f016020809104026020016040519081016040528092919081815260200182805461255c906149f7565b80156125a95780601f1061257e576101008083540402835291602001916125a9565b820191906000526020600020905b81548152906001019060200180831161258c57829003601f168201915b50505050509050612611565b60006125bf613190565b905060008151116125df576040518060200160405280600081525061260d565b806125e984613222565b600c6040516020016125fd93929190615148565b6040516020818303038152906040525b9150505b919050565b8260008111801561262957506012548111155b612668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265f90614a74565b60405180910390fd5b60115481612674610f0e565b61267e9190614ac3565b11156126bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b690614b65565b60405180910390fd5b83601360009054906101000a900460ff1615612710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270790614db3565b60405180910390fd5b8060105461271e9190614c67565b341015612760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275790614e1f565b60405180910390fd5b601360029054906101000a900460ff166127af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a6906151c5565b60405180910390fd5b601254600a60006127be612bc0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561283a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283190615257565b60405180910390fd5b84600a6000612847612bc0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461288c9190614ac3565b600a6000612898612bc0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006128e0612bc0565b6040516020016128f09190614f5f565b604051602081830303815290604052805190602001209050612956858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e54836130fd565b612995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298c90614fc6565b60405180910390fd5b6129a66129a0612bc0565b87612cf8565b505050505050565b60115481565b600a6020528060005260406000206000915090505481565b6129d4612c7a565b80601360036101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612a8d612c7a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af3906152e9565b60405180910390fd5b612b0581613037565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612b7d612d16565b11158015612b8c575060005482105b8015612bb9575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612c82612bc0565b73ffffffffffffffffffffffffffffffffffffffff16612ca0611c06565b73ffffffffffffffffffffffffffffffffffffffff1614612cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ced90615355565b60405180910390fd5b565b612d128282604051806020016040528060008152506132f0565b5050565b60006001905090565b612d2a838383613302565b505050565b600260095403612d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6b906153c1565b60405180910390fd5b6002600981905550565b6001600981905550565b612da3838383604051806020016040528060008152506122d9565b505050565b612db0613fab565b600082905080612dbe612d16565b11158015612dcd575060005481105b15613000576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612ffe57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ee2578092505050613032565b5b600115612ffd57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ff8578092505050613032565b612ee3565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008261310a85846137f1565b1490509392505050565b61311f848484613302565b61313e8373ffffffffffffffffffffffffffffffffffffffff16613847565b801561315357506131518484848461386a565b155b1561318a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060600b805461319f906149f7565b80601f01602080910402602001604051908101604052809291908181526020018280546131cb906149f7565b80156132185780601f106131ed57610100808354040283529160200191613218565b820191906000526020600020905b8154815290600101906020018083116131fb57829003601f168201915b5050505050905090565b606060006001613231846139ba565b01905060008167ffffffffffffffff8111156132505761324f6143b4565b5b6040519080825280601f01601f1916602001820160405280156132825781602001600182028036833780820191505090505b509050600082602001820190505b6001156132e5578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816132d9576132d8614cc1565b5b04945060008503613290575b819350505050919050565b6132fd8383836001613b0d565b505050565b600061330d82612da8565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16613334612bc0565b73ffffffffffffffffffffffffffffffffffffffff16148061336757506133668260000151613361612bc0565b6129f1565b5b806133ac5750613375612bc0565b73ffffffffffffffffffffffffffffffffffffffff1661339484610c31565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806133e5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461344e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036134b4576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134c18585856001613ed7565b6134d16000848460000151612bc8565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603613781576000548110156137805782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46137ea8585856001613edd565b5050505050565b60008082905060005b845181101561383c576138278286838151811061381a57613819614b85565b5b6020026020010151613ee3565b9150808061383490614bb4565b9150506137fa565b508091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613890612bc0565b8786866040518563ffffffff1660e01b81526004016138b29493929190615436565b6020604051808303816000875af19250505080156138ee57506040513d601f19601f820116820180604052508101906138eb9190615497565b60015b613967573d806000811461391e576040519150601f19603f3d011682016040523d82523d6000602084013e613923565b606091505b50600081510361395f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613a18577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381613a0e57613a0d614cc1565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613a55576d04ee2d6d415b85acef81000000008381613a4b57613a4a614cc1565b5b0492506020810190505b662386f26fc100008310613a8457662386f26fc100008381613a7a57613a79614cc1565b5b0492506010810190505b6305f5e1008310613aad576305f5e1008381613aa357613aa2614cc1565b5b0492506008810190505b6127108310613ad2576127108381613ac857613ac7614cc1565b5b0492506004810190505b60648310613af55760648381613aeb57613aea614cc1565b5b0492506002810190505b600a8310613b04576001810190505b80915050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613b79576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403613bb3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613bc06000868387613ed7565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613d8a5750613d898773ffffffffffffffffffffffffffffffffffffffff16613847565b5b15613e4f575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613dff600088848060010195508861386a565b613e35576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808203613d90578260005414613e4a57600080fd5b613eba565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808203613e50575b816000819055505050613ed06000868387613edd565b5050505050565b50505050565b50505050565b6000818310613efb57613ef68284613f0e565b613f06565b613f058383613f0e565b5b905092915050565b600082600052816020526040600020905092915050565b828054613f31906149f7565b90600052602060002090601f016020900481019282613f535760008555613f9a565b82601f10613f6c57805160ff1916838001178555613f9a565b82800160010185558215613f9a579182015b82811115613f99578251825591602001919060010190613f7e565b5b509050613fa79190613fee565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115614007576000816000905550600101613fef565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6140548161401f565b811461405f57600080fd5b50565b6000813590506140718161404b565b92915050565b60006020828403121561408d5761408c614015565b5b600061409b84828501614062565b91505092915050565b60008115159050919050565b6140b9816140a4565b82525050565b60006020820190506140d460008301846140b0565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156141145780820151818401526020810190506140f9565b83811115614123576000848401525b50505050565b6000601f19601f8301169050919050565b6000614145826140da565b61414f81856140e5565b935061415f8185602086016140f6565b61416881614129565b840191505092915050565b6000602082019050818103600083015261418d818461413a565b905092915050565b6000819050919050565b6141a881614195565b81146141b357600080fd5b50565b6000813590506141c58161419f565b92915050565b6000602082840312156141e1576141e0614015565b5b60006141ef848285016141b6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614223826141f8565b9050919050565b61423381614218565b82525050565b600060208201905061424e600083018461422a565b92915050565b61425d81614218565b811461426857600080fd5b50565b60008135905061427a81614254565b92915050565b6000806040838503121561429757614296614015565b5b60006142a58582860161426b565b92505060206142b6858286016141b6565b9150509250929050565b6142c981614195565b82525050565b60006020820190506142e460008301846142c0565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261430f5761430e6142ea565b5b8235905067ffffffffffffffff81111561432c5761432b6142ef565b5b602083019150836020820283011115614348576143476142f4565b5b9250929050565b60008060006040848603121561436857614367614015565b5b6000614376868287016141b6565b935050602084013567ffffffffffffffff8111156143975761439661401a565b5b6143a3868287016142f9565b92509250509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6143ec82614129565b810181811067ffffffffffffffff8211171561440b5761440a6143b4565b5b80604052505050565b600061441e61400b565b905061442a82826143e3565b919050565b600067ffffffffffffffff82111561444a576144496143b4565b5b61445382614129565b9050602081019050919050565b82818337600083830152505050565b600061448261447d8461442f565b614414565b90508281526020810184848401111561449e5761449d6143af565b5b6144a9848285614460565b509392505050565b600082601f8301126144c6576144c56142ea565b5b81356144d684826020860161446f565b91505092915050565b6000602082840312156144f5576144f4614015565b5b600082013567ffffffffffffffff8111156145135761451261401a565b5b61451f848285016144b1565b91505092915050565b614531816140a4565b811461453c57600080fd5b50565b60008135905061454e81614528565b92915050565b60006020828403121561456a57614569614015565b5b60006145788482850161453f565b91505092915050565b60008060006060848603121561459a57614599614015565b5b60006145a88682870161426b565b93505060206145b98682870161426b565b92505060406145ca868287016141b6565b9150509250925092565b6000819050919050565b6145e7816145d4565b81146145f257600080fd5b50565b600081359050614604816145de565b92915050565b6000602082840312156146205761461f614015565b5b600061462e848285016145f5565b91505092915050565b614640816145d4565b82525050565b600060208201905061465b6000830184614637565b92915050565b60006020828403121561467757614676614015565b5b60006146858482850161426b565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6146c381614195565b82525050565b60006146d583836146ba565b60208301905092915050565b6000602082019050919050565b60006146f98261468e565b6147038185614699565b935061470e836146aa565b8060005b8381101561473f57815161472688826146c9565b9750614731836146e1565b925050600181019050614712565b5085935050505092915050565b6000602082019050818103600083015261476681846146ee565b905092915050565b6000806040838503121561478557614784614015565b5b60006147938582860161426b565b92505060206147a48582860161453f565b9150509250929050565b60008083601f8401126147c4576147c36142ea565b5b8235905067ffffffffffffffff8111156147e1576147e06142ef565b5b6020830191508360208202830111156147fd576147fc6142f4565b5b9250929050565b60008060006040848603121561481d5761481c614015565b5b600061482b868287016141b6565b935050602084013567ffffffffffffffff81111561484c5761484b61401a565b5b614858868287016147ae565b92509250509250925092565b600067ffffffffffffffff82111561487f5761487e6143b4565b5b61488882614129565b9050602081019050919050565b60006148a86148a384614864565b614414565b9050828152602081018484840111156148c4576148c36143af565b5b6148cf848285614460565b509392505050565b600082601f8301126148ec576148eb6142ea565b5b81356148fc848260208601614895565b91505092915050565b6000806000806080858703121561491f5761491e614015565b5b600061492d8782880161426b565b945050602061493e8782880161426b565b935050604061494f878288016141b6565b925050606085013567ffffffffffffffff8111156149705761496f61401a565b5b61497c878288016148d7565b91505092959194509250565b6000806040838503121561499f5761499e614015565b5b60006149ad8582860161426b565b92505060206149be8582860161426b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614a0f57607f821691505b602082108103614a2257614a216149c8565b5b50919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000614a5e6014836140e5565b9150614a6982614a28565b602082019050919050565b60006020820190508181036000830152614a8d81614a51565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614ace82614195565b9150614ad983614195565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b0e57614b0d614a94565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000614b4f6014836140e5565b9150614b5a82614b19565b602082019050919050565b60006020820190508181036000830152614b7e81614b42565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614bbf82614195565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614bf157614bf0614a94565b5b600182019050919050565b6000604082019050614c11600083018561422a565b614c1e602083018461422a565b9392505050565b600081519050614c3481614528565b92915050565b600060208284031215614c5057614c4f614015565b5b6000614c5e84828501614c25565b91505092915050565b6000614c7282614195565b9150614c7d83614195565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614cb657614cb5614a94565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614cfb82614195565b9150614d0683614195565b925082614d1657614d15614cc1565b5b828204905092915050565b600081905092915050565b50565b6000614d3c600083614d21565b9150614d4782614d2c565b600082019050919050565b6000614d5d82614d2f565b9150819050919050565b7f436f6e7472616374206973207061757365642100000000000000000000000000600082015250565b6000614d9d6013836140e5565b9150614da882614d67565b602082019050919050565b60006020820190508181036000830152614dcc81614d90565b9050919050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6000614e096013836140e5565b9150614e1482614dd3565b602082019050919050565b60006020820190508181036000830152614e3881614dfc565b9050919050565b7f5468652077686974656c6973742073616c6520697320656e61626c6564210000600082015250565b6000614e75601e836140e5565b9150614e8082614e3f565b602082019050919050565b60006020820190508181036000830152614ea481614e68565b9050919050565b7f5465616d2073616c652069732064697361626c65642100000000000000000000600082015250565b6000614ee16016836140e5565b9150614eec82614eab565b602082019050919050565b60006020820190508181036000830152614f1081614ed4565b9050919050565b60008160601b9050919050565b6000614f2f82614f17565b9050919050565b6000614f4182614f24565b9050919050565b614f59614f5482614218565b614f36565b82525050565b6000614f6b8284614f48565b60148201915081905092915050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b6000614fb0600e836140e5565b9150614fbb82614f7a565b602082019050919050565b60006020820190508181036000830152614fdf81614fa3565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615042602f836140e5565b915061504d82614fe6565b604082019050919050565b6000602082019050818103600083015261507181615035565b9050919050565b600081905092915050565b600061508e826140da565b6150988185615078565b93506150a88185602086016140f6565b80840191505092915050565b60008190508160005260206000209050919050565b600081546150d6816149f7565b6150e08186615078565b945060018216600081146150fb576001811461510c5761513f565b60ff1983168652818601935061513f565b615115856150b4565b60005b8381101561513757815481890152600182019150602081019050615118565b838801955050505b50505092915050565b60006151548286615083565b91506151608285615083565b915061516c82846150c9565b9150819050949350505050565b7f5468652077686974656c6973742073616c652069732064697361626c65642100600082015250565b60006151af601f836140e5565b91506151ba82615179565b602082019050919050565b600060208201905081810360008301526151de816151a2565b9050919050565b7f4164647265737320616c726561647920636c61696d6564206d617820616d6f7560008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b60006152416022836140e5565b915061524c826151e5565b604082019050919050565b6000602082019050818103600083015261527081615234565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006152d36026836140e5565b91506152de82615277565b604082019050919050565b60006020820190508181036000830152615302816152c6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061533f6020836140e5565b915061534a82615309565b602082019050919050565b6000602082019050818103600083015261536e81615332565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006153ab601f836140e5565b91506153b682615375565b602082019050919050565b600060208201905081810360008301526153da8161539e565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615408826153e1565b61541281856153ec565b93506154228185602086016140f6565b61542b81614129565b840191505092915050565b600060808201905061544b600083018761422a565b615458602083018661422a565b61546560408301856142c0565b818103606083015261547781846153fd565b905095945050505050565b6000815190506154918161404b565b92915050565b6000602082840312156154ad576154ac614015565b5b60006154bb84828501615482565b9150509291505056fea264697066735822122098332790f3c1c0df1a71cc42e315dee43bb11c57ecb3bea0eaf71b6ea8d9fdaa64736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000058d15e17628000000000000000000000000000000000000000000000000000000000000000115c00000000000000000000000000000000000000000000000000000000000000056a2ffe8911bdf5a4518b84c2cb91bce015cd31402185ffda3a3f4c809e12eee2739a185229e58feaf67b0cd3ec65fd1237ae8f2be09a3a915e8073894fe85631000000000000000000000000000000000000000000000000000000000000000a48756e74696e67535a4e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a48554e54494e47535a4e00000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102935760003560e01c80636f8b44b01161015a578063a45ba8e7116100c1578063d2cab0561161007a578063d2cab056146109aa578063d5abeb01146109c6578063d7e1ea17146109f1578063e0a8085314610a2e578063e985e9c514610a57578063f2fde38b14610a9457610293565b8063a45ba8e7146108ab578063b071401b146108d6578063b0ee9f76146108ff578063b767a0981461091b578063b88d4fde14610944578063c87b56dd1461096d57610293565b80638da5cb5b116101135780638da5cb5b146107ba5780638e771731146107e557806394354fd01461081057806395d89b411461083b578063a0712d6814610866578063a22cb4651461088257610293565b80636f8b44b0146106c257806370a08231146106eb578063715018a6146107285780637cb647591461073f5780637ec4a65914610768578063812c6f931461079157610293565b80633ccfd60b116101fe5780635503a0e8116101b75780635503a0e8146105ae5780635c975abb146105d95780635cdb83e11461060457806362b99ad41461062f5780636352211e1461065a5780636caede3d1461069757610293565b80633ccfd60b146104b457806342842e0e146104cb578063438b6300146104f457806344a0d68a146105315780634fdd43cb1461055a578063518302271461058357610293565b806316ba10e01161025057806316ba10e0146103ba57806316c38b3c146103e357806318160ddd1461040c57806323b872dd146104375780632920bbb2146104605780632eb4a7ab1461048957610293565b806301ffc9a71461029857806306fdde03146102d5578063081812fc14610300578063095ea7b31461033d57806313faede61461036657806315c1333714610391575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba9190614077565b610abd565b6040516102cc91906140bf565b60405180910390f35b3480156102e157600080fd5b506102ea610b9f565b6040516102f79190614173565b60405180910390f35b34801561030c57600080fd5b50610327600480360381019061032291906141cb565b610c31565b6040516103349190614239565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f9190614280565b610cad565b005b34801561037257600080fd5b5061037b610db7565b60405161038891906142cf565b60405180910390f35b34801561039d57600080fd5b506103b860048036038101906103b3919061434f565b610dbd565b005b3480156103c657600080fd5b506103e160048036038101906103dc91906144df565b610ec7565b005b3480156103ef57600080fd5b5061040a60048036038101906104059190614554565b610ee9565b005b34801561041857600080fd5b50610421610f0e565b60405161042e91906142cf565b60405180910390f35b34801561044357600080fd5b5061045e60048036038101906104599190614581565b610f25565b005b34801561046c57600080fd5b506104876004803603810190610482919061460a565b611107565b005b34801561049557600080fd5b5061049e611119565b6040516104ab9190614646565b60405180910390f35b3480156104c057600080fd5b506104c961111f565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190614581565b61150a565b005b34801561050057600080fd5b5061051b60048036038101906105169190614661565b6116ec565b604051610528919061474c565b60405180910390f35b34801561053d57600080fd5b50610558600480360381019061055391906141cb565b611906565b005b34801561056657600080fd5b50610581600480360381019061057c91906144df565b611918565b005b34801561058f57600080fd5b5061059861193a565b6040516105a591906140bf565b60405180910390f35b3480156105ba57600080fd5b506105c361194d565b6040516105d09190614173565b60405180910390f35b3480156105e557600080fd5b506105ee6119db565b6040516105fb91906140bf565b60405180910390f35b34801561061057600080fd5b506106196119ee565b60405161062691906140bf565b60405180910390f35b34801561063b57600080fd5b50610644611a01565b6040516106519190614173565b60405180910390f35b34801561066657600080fd5b50610681600480360381019061067c91906141cb565b611a8f565b60405161068e9190614239565b60405180910390f35b3480156106a357600080fd5b506106ac611aa5565b6040516106b991906140bf565b60405180910390f35b3480156106ce57600080fd5b506106e960048036038101906106e491906141cb565b611ab8565b005b3480156106f757600080fd5b50610712600480360381019061070d9190614661565b611aca565b60405161071f91906142cf565b60405180910390f35b34801561073457600080fd5b5061073d611b99565b005b34801561074b57600080fd5b506107666004803603810190610761919061460a565b611bad565b005b34801561077457600080fd5b5061078f600480360381019061078a91906144df565b611bbf565b005b34801561079d57600080fd5b506107b860048036038101906107b39190614554565b611be1565b005b3480156107c657600080fd5b506107cf611c06565b6040516107dc9190614239565b60405180910390f35b3480156107f157600080fd5b506107fa611c30565b6040516108079190614646565b60405180910390f35b34801561081c57600080fd5b50610825611c36565b60405161083291906142cf565b60405180910390f35b34801561084757600080fd5b50610850611c3c565b60405161085d9190614173565b60405180910390f35b610880600480360381019061087b91906141cb565b611cce565b005b34801561088e57600080fd5b506108a960048036038101906108a4919061476e565b611e7e565b005b3480156108b757600080fd5b506108c0611ff5565b6040516108cd9190614173565b60405180910390f35b3480156108e257600080fd5b506108fd60048036038101906108f891906141cb565b612083565b005b61091960048036038101906109149190614804565b612095565b005b34801561092757600080fd5b50610942600480360381019061093d9190614554565b6122b4565b005b34801561095057600080fd5b5061096b60048036038101906109669190614905565b6122d9565b005b34801561097957600080fd5b50610994600480360381019061098f91906141cb565b6124be565b6040516109a19190614173565b60405180910390f35b6109c460048036038101906109bf9190614804565b612616565b005b3480156109d257600080fd5b506109db6129ae565b6040516109e891906142cf565b60405180910390f35b3480156109fd57600080fd5b50610a186004803603810190610a139190614661565b6129b4565b604051610a2591906142cf565b60405180910390f35b348015610a3a57600080fd5b50610a556004803603810190610a509190614554565b6129cc565b005b348015610a6357600080fd5b50610a7e6004803603810190610a799190614988565b6129f1565b604051610a8b91906140bf565b60405180910390f35b348015610aa057600080fd5b50610abb6004803603810190610ab69190614661565b612a85565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b8857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b985750610b9782612b08565b5b9050919050565b606060028054610bae906149f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610bda906149f7565b8015610c275780601f10610bfc57610100808354040283529160200191610c27565b820191906000526020600020905b815481529060010190602001808311610c0a57829003601f168201915b5050505050905090565b6000610c3c82612b72565b610c72576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cb882611a8f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d1f576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d3e612bc0565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d705750610d6e81610d69612bc0565b6129f1565b155b15610da7576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610db2838383612bc8565b505050565b60105481565b82600081118015610dd057506012548111155b610e0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0690614a74565b60405180910390fd5b60115481610e1b610f0e565b610e259190614ac3565b1115610e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5d90614b65565b60405180910390fd5b610e6e612c7a565b60005b83839050811015610ec057610ead848483818110610e9257610e91614b85565b5b9050602002016020810190610ea79190614661565b86612cf8565b8080610eb890614bb4565b915050610e71565b5050505050565b610ecf612c7a565b80600c9080519060200190610ee5929190613f25565b5050565b610ef1612c7a565b80601360006101000a81548160ff02191690831515021790555050565b6000610f18612d16565b6001546000540303905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156110f5573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f9757610f92848484612d1f565b611101565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610fe0929190614bfc565b602060405180830381865afa158015610ffd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110219190614c3a565b80156110b357506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611071929190614bfc565b602060405180830381865afa15801561108e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b29190614c3a565b5b6110f457336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016110eb9190614239565b60405180910390fd5b5b611100848484612d1f565b5b50505050565b61110f612c7a565b80600f8190555050565b600e5481565b611127612c7a565b61112f612d2f565b6000479050600060646028836111459190614c67565b61114f9190614cf0565b9050600060646014846111629190614c67565b61116c9190614cf0565b90506000606460148561117f9190614c67565b6111899190614cf0565b905060006064600a8661119c9190614c67565b6111a69190614cf0565b905060006064600a876111b99190614c67565b6111c39190614cf0565b905060007317bd65a45cd6b48c162191a1e2276e67812bc3ce73ffffffffffffffffffffffffffffffffffffffff16866040516111ff90614d52565b60006040518083038185875af1925050503d806000811461123c576040519150601f19603f3d011682016040523d82523d6000602084013e611241565b606091505b505090508061124f57600080fd5b6000736f99d6e7e88d506f431b288608ee4a8a64477d9a73ffffffffffffffffffffffffffffffffffffffff168660405161128990614d52565b60006040518083038185875af1925050503d80600081146112c6576040519150601f19603f3d011682016040523d82523d6000602084013e6112cb565b606091505b50509050806112d957600080fd5b6000731bf1cc67aafd64385f8bae6d257cdfa35e7ca95173ffffffffffffffffffffffffffffffffffffffff168660405161131390614d52565b60006040518083038185875af1925050503d8060008114611350576040519150601f19603f3d011682016040523d82523d6000602084013e611355565b606091505b505090508061136357600080fd5b60007389d46fb865d46eee7813871c6e3764eba4438af273ffffffffffffffffffffffffffffffffffffffff168660405161139d90614d52565b60006040518083038185875af1925050503d80600081146113da576040519150601f19603f3d011682016040523d82523d6000602084013e6113df565b606091505b50509050806113ed57600080fd5b600073d8cf6013f11a93ee6e6c9c7cbf779eb5d36c9caf73ffffffffffffffffffffffffffffffffffffffff168660405161142790614d52565b60006040518083038185875af1925050503d8060008114611464576040519150601f19603f3d011682016040523d82523d6000602084013e611469565b606091505b505090508061147757600080fd5b6000611481611c06565b73ffffffffffffffffffffffffffffffffffffffff16476040516114a490614d52565b60006040518083038185875af1925050503d80600081146114e1576040519150601f19603f3d011682016040523d82523d6000602084013e6114e6565b606091505b50509050806114f457600080fd5b505050505050505050505050611508612d7e565b565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156116da573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361157c57611577848484612d88565b6116e6565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016115c5929190614bfc565b602060405180830381865afa1580156115e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116069190614c3a565b801561169857506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611656929190614bfc565b602060405180830381865afa158015611673573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116979190614c3a565b5b6116d957336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016116d09190614239565b60405180910390fd5b5b6116e5848484612d88565b5b50505050565b606060006116f983611aca565b905060008167ffffffffffffffff811115611717576117166143b4565b5b6040519080825280602002602001820160405280156117455781602001602082028036833780820191505090505b5090506000611752612d16565b90506000805b848210801561176957506011548311155b156118f9576000600460008581526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511580156118765750600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614155b1561188357806000015191505b8773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118e557838584815181106118ca576118c9614b85565b5b60200260200101818152505082806118e190614bb4565b9350505b83806118f090614bb4565b94505050611758565b8395505050505050919050565b61190e612c7a565b8060108190555050565b611920612c7a565b80600d9080519060200190611936929190613f25565b5050565b601360039054906101000a900460ff1681565b600c805461195a906149f7565b80601f0160208091040260200160405190810160405280929190818152602001828054611986906149f7565b80156119d35780601f106119a8576101008083540402835291602001916119d3565b820191906000526020600020905b8154815290600101906020018083116119b657829003601f168201915b505050505081565b601360009054906101000a900460ff1681565b601360019054906101000a900460ff1681565b600b8054611a0e906149f7565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3a906149f7565b8015611a875780601f10611a5c57610100808354040283529160200191611a87565b820191906000526020600020905b815481529060010190602001808311611a6a57829003601f168201915b505050505081565b6000611a9a82612da8565b600001519050919050565b601360029054906101000a900460ff1681565b611ac0612c7a565b8060118190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b31576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611ba1612c7a565b611bab6000613037565b565b611bb5612c7a565b80600e8190555050565b611bc7612c7a565b80600b9080519060200190611bdd929190613f25565b5050565b611be9612c7a565b80601360016101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f5481565b60125481565b606060038054611c4b906149f7565b80601f0160208091040260200160405190810160405280929190818152602001828054611c77906149f7565b8015611cc45780601f10611c9957610100808354040283529160200191611cc4565b820191906000526020600020905b815481529060010190602001808311611ca757829003601f168201915b5050505050905090565b80600081118015611ce157506012548111155b611d20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1790614a74565b60405180910390fd5b60115481611d2c610f0e565b611d369190614ac3565b1115611d77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6e90614b65565b60405180910390fd5b81601360009054906101000a900460ff1615611dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbf90614db3565b60405180910390fd5b80601054611dd69190614c67565b341015611e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0f90614e1f565b60405180910390fd5b601360029054906101000a900460ff1615611e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5f90614e8b565b60405180910390fd5b611e79611e73612bc0565b84612cf8565b505050565b611e86612bc0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611eea576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611ef7612bc0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611fa4612bc0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fe991906140bf565b60405180910390a35050565b600d8054612002906149f7565b80601f016020809104026020016040519081016040528092919081815260200182805461202e906149f7565b801561207b5780601f106120505761010080835404028352916020019161207b565b820191906000526020600020905b81548152906001019060200180831161205e57829003601f168201915b505050505081565b61208b612c7a565b8060128190555050565b826000811180156120a857506012548111155b6120e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120de90614a74565b60405180910390fd5b601154816120f3610f0e565b6120fd9190614ac3565b111561213e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213590614b65565b60405180910390fd5b601360019054906101000a900460ff1661218d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218490614ef7565b60405180910390fd5b8360105461219b9190614c67565b3410156121dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d490614e1f565b60405180910390fd5b60006121e7612bc0565b6040516020016121f79190614f5f565b60405160208183030381529060405280519060200120905061225d848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f54836130fd565b61229c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229390614fc6565b60405180910390fd5b6122ad6122a7612bc0565b86612cf8565b5050505050565b6122bc612c7a565b80601360026101000a81548160ff02191690831515021790555050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156124aa573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361234c5761234785858585613114565b6124b7565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401612395929190614bfc565b602060405180830381865afa1580156123b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123d69190614c3a565b801561246857506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612426929190614bfc565b602060405180830381865afa158015612443573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124679190614c3a565b5b6124a957336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016124a09190614239565b60405180910390fd5b5b6124b685858585613114565b5b5050505050565b60606124c982612b72565b612508576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ff90615058565b60405180910390fd5b60001515601360039054906101000a900460ff161515036125b557600d8054612530906149f7565b80601f016020809104026020016040519081016040528092919081815260200182805461255c906149f7565b80156125a95780601f1061257e576101008083540402835291602001916125a9565b820191906000526020600020905b81548152906001019060200180831161258c57829003601f168201915b50505050509050612611565b60006125bf613190565b905060008151116125df576040518060200160405280600081525061260d565b806125e984613222565b600c6040516020016125fd93929190615148565b6040516020818303038152906040525b9150505b919050565b8260008111801561262957506012548111155b612668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265f90614a74565b60405180910390fd5b60115481612674610f0e565b61267e9190614ac3565b11156126bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b690614b65565b60405180910390fd5b83601360009054906101000a900460ff1615612710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270790614db3565b60405180910390fd5b8060105461271e9190614c67565b341015612760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275790614e1f565b60405180910390fd5b601360029054906101000a900460ff166127af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a6906151c5565b60405180910390fd5b601254600a60006127be612bc0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561283a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283190615257565b60405180910390fd5b84600a6000612847612bc0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461288c9190614ac3565b600a6000612898612bc0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006128e0612bc0565b6040516020016128f09190614f5f565b604051602081830303815290604052805190602001209050612956858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e54836130fd565b612995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298c90614fc6565b60405180910390fd5b6129a66129a0612bc0565b87612cf8565b505050505050565b60115481565b600a6020528060005260406000206000915090505481565b6129d4612c7a565b80601360036101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612a8d612c7a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af3906152e9565b60405180910390fd5b612b0581613037565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612b7d612d16565b11158015612b8c575060005482105b8015612bb9575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612c82612bc0565b73ffffffffffffffffffffffffffffffffffffffff16612ca0611c06565b73ffffffffffffffffffffffffffffffffffffffff1614612cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ced90615355565b60405180910390fd5b565b612d128282604051806020016040528060008152506132f0565b5050565b60006001905090565b612d2a838383613302565b505050565b600260095403612d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6b906153c1565b60405180910390fd5b6002600981905550565b6001600981905550565b612da3838383604051806020016040528060008152506122d9565b505050565b612db0613fab565b600082905080612dbe612d16565b11158015612dcd575060005481105b15613000576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612ffe57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ee2578092505050613032565b5b600115612ffd57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ff8578092505050613032565b612ee3565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008261310a85846137f1565b1490509392505050565b61311f848484613302565b61313e8373ffffffffffffffffffffffffffffffffffffffff16613847565b801561315357506131518484848461386a565b155b1561318a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060600b805461319f906149f7565b80601f01602080910402602001604051908101604052809291908181526020018280546131cb906149f7565b80156132185780601f106131ed57610100808354040283529160200191613218565b820191906000526020600020905b8154815290600101906020018083116131fb57829003601f168201915b5050505050905090565b606060006001613231846139ba565b01905060008167ffffffffffffffff8111156132505761324f6143b4565b5b6040519080825280601f01601f1916602001820160405280156132825781602001600182028036833780820191505090505b509050600082602001820190505b6001156132e5578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816132d9576132d8614cc1565b5b04945060008503613290575b819350505050919050565b6132fd8383836001613b0d565b505050565b600061330d82612da8565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16613334612bc0565b73ffffffffffffffffffffffffffffffffffffffff16148061336757506133668260000151613361612bc0565b6129f1565b5b806133ac5750613375612bc0565b73ffffffffffffffffffffffffffffffffffffffff1661339484610c31565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806133e5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461344e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036134b4576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134c18585856001613ed7565b6134d16000848460000151612bc8565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603613781576000548110156137805782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46137ea8585856001613edd565b5050505050565b60008082905060005b845181101561383c576138278286838151811061381a57613819614b85565b5b6020026020010151613ee3565b9150808061383490614bb4565b9150506137fa565b508091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613890612bc0565b8786866040518563ffffffff1660e01b81526004016138b29493929190615436565b6020604051808303816000875af19250505080156138ee57506040513d601f19601f820116820180604052508101906138eb9190615497565b60015b613967573d806000811461391e576040519150601f19603f3d011682016040523d82523d6000602084013e613923565b606091505b50600081510361395f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613a18577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381613a0e57613a0d614cc1565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613a55576d04ee2d6d415b85acef81000000008381613a4b57613a4a614cc1565b5b0492506020810190505b662386f26fc100008310613a8457662386f26fc100008381613a7a57613a79614cc1565b5b0492506010810190505b6305f5e1008310613aad576305f5e1008381613aa357613aa2614cc1565b5b0492506008810190505b6127108310613ad2576127108381613ac857613ac7614cc1565b5b0492506004810190505b60648310613af55760648381613aeb57613aea614cc1565b5b0492506002810190505b600a8310613b04576001810190505b80915050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613b79576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403613bb3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613bc06000868387613ed7565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613d8a5750613d898773ffffffffffffffffffffffffffffffffffffffff16613847565b5b15613e4f575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613dff600088848060010195508861386a565b613e35576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808203613d90578260005414613e4a57600080fd5b613eba565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808203613e50575b816000819055505050613ed06000868387613edd565b5050505050565b50505050565b50505050565b6000818310613efb57613ef68284613f0e565b613f06565b613f058383613f0e565b5b905092915050565b600082600052816020526040600020905092915050565b828054613f31906149f7565b90600052602060002090601f016020900481019282613f535760008555613f9a565b82601f10613f6c57805160ff1916838001178555613f9a565b82800160010185558215613f9a579182015b82811115613f99578251825591602001919060010190613f7e565b5b509050613fa79190613fee565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115614007576000816000905550600101613fef565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6140548161401f565b811461405f57600080fd5b50565b6000813590506140718161404b565b92915050565b60006020828403121561408d5761408c614015565b5b600061409b84828501614062565b91505092915050565b60008115159050919050565b6140b9816140a4565b82525050565b60006020820190506140d460008301846140b0565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156141145780820151818401526020810190506140f9565b83811115614123576000848401525b50505050565b6000601f19601f8301169050919050565b6000614145826140da565b61414f81856140e5565b935061415f8185602086016140f6565b61416881614129565b840191505092915050565b6000602082019050818103600083015261418d818461413a565b905092915050565b6000819050919050565b6141a881614195565b81146141b357600080fd5b50565b6000813590506141c58161419f565b92915050565b6000602082840312156141e1576141e0614015565b5b60006141ef848285016141b6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614223826141f8565b9050919050565b61423381614218565b82525050565b600060208201905061424e600083018461422a565b92915050565b61425d81614218565b811461426857600080fd5b50565b60008135905061427a81614254565b92915050565b6000806040838503121561429757614296614015565b5b60006142a58582860161426b565b92505060206142b6858286016141b6565b9150509250929050565b6142c981614195565b82525050565b60006020820190506142e460008301846142c0565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261430f5761430e6142ea565b5b8235905067ffffffffffffffff81111561432c5761432b6142ef565b5b602083019150836020820283011115614348576143476142f4565b5b9250929050565b60008060006040848603121561436857614367614015565b5b6000614376868287016141b6565b935050602084013567ffffffffffffffff8111156143975761439661401a565b5b6143a3868287016142f9565b92509250509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6143ec82614129565b810181811067ffffffffffffffff8211171561440b5761440a6143b4565b5b80604052505050565b600061441e61400b565b905061442a82826143e3565b919050565b600067ffffffffffffffff82111561444a576144496143b4565b5b61445382614129565b9050602081019050919050565b82818337600083830152505050565b600061448261447d8461442f565b614414565b90508281526020810184848401111561449e5761449d6143af565b5b6144a9848285614460565b509392505050565b600082601f8301126144c6576144c56142ea565b5b81356144d684826020860161446f565b91505092915050565b6000602082840312156144f5576144f4614015565b5b600082013567ffffffffffffffff8111156145135761451261401a565b5b61451f848285016144b1565b91505092915050565b614531816140a4565b811461453c57600080fd5b50565b60008135905061454e81614528565b92915050565b60006020828403121561456a57614569614015565b5b60006145788482850161453f565b91505092915050565b60008060006060848603121561459a57614599614015565b5b60006145a88682870161426b565b93505060206145b98682870161426b565b92505060406145ca868287016141b6565b9150509250925092565b6000819050919050565b6145e7816145d4565b81146145f257600080fd5b50565b600081359050614604816145de565b92915050565b6000602082840312156146205761461f614015565b5b600061462e848285016145f5565b91505092915050565b614640816145d4565b82525050565b600060208201905061465b6000830184614637565b92915050565b60006020828403121561467757614676614015565b5b60006146858482850161426b565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6146c381614195565b82525050565b60006146d583836146ba565b60208301905092915050565b6000602082019050919050565b60006146f98261468e565b6147038185614699565b935061470e836146aa565b8060005b8381101561473f57815161472688826146c9565b9750614731836146e1565b925050600181019050614712565b5085935050505092915050565b6000602082019050818103600083015261476681846146ee565b905092915050565b6000806040838503121561478557614784614015565b5b60006147938582860161426b565b92505060206147a48582860161453f565b9150509250929050565b60008083601f8401126147c4576147c36142ea565b5b8235905067ffffffffffffffff8111156147e1576147e06142ef565b5b6020830191508360208202830111156147fd576147fc6142f4565b5b9250929050565b60008060006040848603121561481d5761481c614015565b5b600061482b868287016141b6565b935050602084013567ffffffffffffffff81111561484c5761484b61401a565b5b614858868287016147ae565b92509250509250925092565b600067ffffffffffffffff82111561487f5761487e6143b4565b5b61488882614129565b9050602081019050919050565b60006148a86148a384614864565b614414565b9050828152602081018484840111156148c4576148c36143af565b5b6148cf848285614460565b509392505050565b600082601f8301126148ec576148eb6142ea565b5b81356148fc848260208601614895565b91505092915050565b6000806000806080858703121561491f5761491e614015565b5b600061492d8782880161426b565b945050602061493e8782880161426b565b935050604061494f878288016141b6565b925050606085013567ffffffffffffffff8111156149705761496f61401a565b5b61497c878288016148d7565b91505092959194509250565b6000806040838503121561499f5761499e614015565b5b60006149ad8582860161426b565b92505060206149be8582860161426b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614a0f57607f821691505b602082108103614a2257614a216149c8565b5b50919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000614a5e6014836140e5565b9150614a6982614a28565b602082019050919050565b60006020820190508181036000830152614a8d81614a51565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614ace82614195565b9150614ad983614195565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b0e57614b0d614a94565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000614b4f6014836140e5565b9150614b5a82614b19565b602082019050919050565b60006020820190508181036000830152614b7e81614b42565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614bbf82614195565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614bf157614bf0614a94565b5b600182019050919050565b6000604082019050614c11600083018561422a565b614c1e602083018461422a565b9392505050565b600081519050614c3481614528565b92915050565b600060208284031215614c5057614c4f614015565b5b6000614c5e84828501614c25565b91505092915050565b6000614c7282614195565b9150614c7d83614195565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614cb657614cb5614a94565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614cfb82614195565b9150614d0683614195565b925082614d1657614d15614cc1565b5b828204905092915050565b600081905092915050565b50565b6000614d3c600083614d21565b9150614d4782614d2c565b600082019050919050565b6000614d5d82614d2f565b9150819050919050565b7f436f6e7472616374206973207061757365642100000000000000000000000000600082015250565b6000614d9d6013836140e5565b9150614da882614d67565b602082019050919050565b60006020820190508181036000830152614dcc81614d90565b9050919050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6000614e096013836140e5565b9150614e1482614dd3565b602082019050919050565b60006020820190508181036000830152614e3881614dfc565b9050919050565b7f5468652077686974656c6973742073616c6520697320656e61626c6564210000600082015250565b6000614e75601e836140e5565b9150614e8082614e3f565b602082019050919050565b60006020820190508181036000830152614ea481614e68565b9050919050565b7f5465616d2073616c652069732064697361626c65642100000000000000000000600082015250565b6000614ee16016836140e5565b9150614eec82614eab565b602082019050919050565b60006020820190508181036000830152614f1081614ed4565b9050919050565b60008160601b9050919050565b6000614f2f82614f17565b9050919050565b6000614f4182614f24565b9050919050565b614f59614f5482614218565b614f36565b82525050565b6000614f6b8284614f48565b60148201915081905092915050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b6000614fb0600e836140e5565b9150614fbb82614f7a565b602082019050919050565b60006020820190508181036000830152614fdf81614fa3565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615042602f836140e5565b915061504d82614fe6565b604082019050919050565b6000602082019050818103600083015261507181615035565b9050919050565b600081905092915050565b600061508e826140da565b6150988185615078565b93506150a88185602086016140f6565b80840191505092915050565b60008190508160005260206000209050919050565b600081546150d6816149f7565b6150e08186615078565b945060018216600081146150fb576001811461510c5761513f565b60ff1983168652818601935061513f565b615115856150b4565b60005b8381101561513757815481890152600182019150602081019050615118565b838801955050505b50505092915050565b60006151548286615083565b91506151608285615083565b915061516c82846150c9565b9150819050949350505050565b7f5468652077686974656c6973742073616c652069732064697361626c65642100600082015250565b60006151af601f836140e5565b91506151ba82615179565b602082019050919050565b600060208201905081810360008301526151de816151a2565b9050919050565b7f4164647265737320616c726561647920636c61696d6564206d617820616d6f7560008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b60006152416022836140e5565b915061524c826151e5565b604082019050919050565b6000602082019050818103600083015261527081615234565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006152d36026836140e5565b91506152de82615277565b604082019050919050565b60006020820190508181036000830152615302816152c6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061533f6020836140e5565b915061534a82615309565b602082019050919050565b6000602082019050818103600083015261536e81615332565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006153ab601f836140e5565b91506153b682615375565b602082019050919050565b600060208201905081810360008301526153da8161539e565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615408826153e1565b61541281856153ec565b93506154228185602086016140f6565b61542b81614129565b840191505092915050565b600060808201905061544b600083018761422a565b615458602083018661422a565b61546560408301856142c0565b818103606083015261547781846153fd565b905095945050505050565b6000815190506154918161404b565b92915050565b6000602082840312156154ad576154ac614015565b5b60006154bb84828501615482565b9150509291505056fea264697066735822122098332790f3c1c0df1a71cc42e315dee43bb11c57ecb3bea0eaf71b6ea8d9fdaa64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000058d15e17628000000000000000000000000000000000000000000000000000000000000000115c00000000000000000000000000000000000000000000000000000000000000056a2ffe8911bdf5a4518b84c2cb91bce015cd31402185ffda3a3f4c809e12eee2739a185229e58feaf67b0cd3ec65fd1237ae8f2be09a3a915e8073894fe85631000000000000000000000000000000000000000000000000000000000000000a48756e74696e67535a4e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a48554e54494e47535a4e00000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): HuntingSZN
Arg [1] : _tokenSymbol (string): HUNTINGSZN
Arg [2] : _cost (uint256): 25000000000000000
Arg [3] : _maxSupply (uint256): 4444
Arg [4] : _maxMintAmountPerTx (uint256): 5
Arg [5] : _merkleRoot (bytes32): 0x6a2ffe8911bdf5a4518b84c2cb91bce015cd31402185ffda3a3f4c809e12eee2
Arg [6] : _merkleRootTeam (bytes32): 0x739a185229e58feaf67b0cd3ec65fd1237ae8f2be09a3a915e8073894fe85631
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000058d15e17628000
Arg [3] : 000000000000000000000000000000000000000000000000000000000000115c
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 6a2ffe8911bdf5a4518b84c2cb91bce015cd31402185ffda3a3f4c809e12eee2
Arg [6] : 739a185229e58feaf67b0cd3ec65fd1237ae8f2be09a3a915e8073894fe85631
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [8] : 48756e74696e67535a4e00000000000000000000000000000000000000000000
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [10] : 48554e54494e47535a4e00000000000000000000000000000000000000000000
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.