More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 62 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 16575939 | 666 days ago | IN | 0 ETH | 0.00102805 | ||||
Set Approval For... | 16476843 | 680 days ago | IN | 0 ETH | 0.00036771 | ||||
Transfer From | 16070998 | 736 days ago | IN | 0 ETH | 0.00092039 | ||||
Set Approval For... | 15681384 | 791 days ago | IN | 0 ETH | 0.00042786 | ||||
Set Approval For... | 15122880 | 877 days ago | IN | 0 ETH | 0.00164643 | ||||
Set Approval For... | 15031865 | 891 days ago | IN | 0 ETH | 0.00127866 | ||||
Set Approval For... | 15021743 | 893 days ago | IN | 0 ETH | 0.00052239 | ||||
Set Approval For... | 15009651 | 895 days ago | IN | 0 ETH | 0.00185985 | ||||
Withdraw | 14962771 | 904 days ago | IN | 0 ETH | 0.0020044 | ||||
Set Approval For... | 14950342 | 906 days ago | IN | 0 ETH | 0.0009955 | ||||
Set Approval For... | 14943107 | 907 days ago | IN | 0 ETH | 0.00115015 | ||||
Set Public Sale ... | 14934000 | 909 days ago | IN | 0 ETH | 0.00156892 | ||||
Set Presale On | 14933998 | 909 days ago | IN | 0 ETH | 0.00183224 | ||||
Set Approval For... | 14932470 | 909 days ago | IN | 0 ETH | 0.00112379 | ||||
Mint | 14931970 | 909 days ago | IN | 0.07 ETH | 0.00226467 | ||||
Mint | 14931866 | 909 days ago | IN | 0.07 ETH | 0.0019822 | ||||
Mint | 14930615 | 909 days ago | IN | 0.07 ETH | 0.00377581 | ||||
Mint | 14930011 | 909 days ago | IN | 0.07 ETH | 0.00660441 | ||||
Set Approval For... | 14927931 | 910 days ago | IN | 0 ETH | 0.00390304 | ||||
Withdraw | 14927239 | 910 days ago | IN | 0 ETH | 0.00341013 | ||||
Mint | 14922188 | 911 days ago | IN | 0.07 ETH | 0.00835463 | ||||
Mint | 14921342 | 911 days ago | IN | 0.21 ETH | 0.00238565 | ||||
Mint | 14921148 | 911 days ago | IN | 0.21 ETH | 0.00329766 | ||||
Mint | 14921101 | 911 days ago | IN | 0.07 ETH | 0.00520633 | ||||
Set Public Sale ... | 14920890 | 911 days ago | IN | 0 ETH | 0.00164629 |
Loading...
Loading
Contract Name:
HeroesMetaverseTLE
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Heroes of the Metaverse: The Last Essence /* WNXKNW WNKkxkKW WX0kxxx0N WNKOxxxxx0W WWNKOxxxxxx0W WX0Okxxxxxxk0W WNKOxxxxxxxxxkKW WNKOxxxxxxxxxxkKW WX0kxxxxxxxxxxxkKW NXOkxxxxxxxxxxxxkKW WNKOxxxxxxxxxxxxxxkKW WX0kxxxxxxxxxxxxxxxxk0KKKKKKKKKKKKKKKKXN WXOkxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxkXW WNKOxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxk0NW N0kxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxOKNW WXOkkkkkkkkkkkkkkkkkxxxxxxxxxxxxxxxxxxk0XW WWWWWWWWWWWWWWNNNXOxxxxxxxxxxxxxxxk0NW WNOxxxxxxxxxxxxxxOKNW NOxxxxxxxxxxxxk0XW NOxxxxxxxxxxxk0XW NOxxxxxxxxxxOKNW XOxxxxxxxkkOXW WXOxxxxxxk0XNW WXOxxxxxOKNW WXOxxxkOKW WXkxxk0XW WKOOKNW WNNW */ pragma solidity ^0.8.7; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; contract HeroesMetaverseTLE is ERC721A, Ownable, ReentrancyGuard, VRFConsumerBase { // Contract uint256 public immutable maxSupply; uint256 public immutable pricePerToken = 0.07 ether; string public constant provenance = "eaafaca161f3508ddafa27006834e0911d1dd932f36567f4b626cc138d3e8b0a"; // Mint uint256 public constant amountPerMint = 3; uint256 public constant maxPresalePerWallet = 3; uint256 public constant maxTokensPerWallet = 9; // Token mapping(uint256 => string) gender; uint256 public offset; // Reservations uint256 public immutable reservedForDevs; uint256 public immutable reservedForProject; // MKT, gifts, givaways, etc uint256 public immutable maxBatchSize; bytes32 public whitelistRoot; mapping(address => uint256) public whitelistClaimed; // Operations string public baseURI; string private preRevealURI; bool public isPublicSaleOn = false; bool public isPresaleOn = false; bool public isGenderSwapOn = false; bool public revealed = false; address regentAddress; uint256 public chainlinkFee; bytes32 public chainlinkKeyHash; constructor( uint256 _maxSupply, uint256 _reservedForDevs, uint256 _reservedForProject, uint256 _maxBatchSize, string memory _preRevealURI, address _vrfCoordinator, address _linkAddress ) ERC721A("HeroesMetaverseTLE", "HOTM") VRFConsumerBase(_vrfCoordinator, _linkAddress) { require(_reservedForProject + _reservedForDevs <= _maxSupply, "HOTM.constructor: Max supply should be higher than reserved amounts"); maxSupply = _maxSupply; reservedForDevs = _reservedForDevs; reservedForProject = _reservedForProject; maxBatchSize = _maxBatchSize; regentAddress = msg.sender; preRevealURI = _preRevealURI; } /* Modifiers */ modifier callerIsUser() { require(tx.origin == msg.sender, "HOTM.global: The caller is another contract"); _; } modifier baseMintReq(uint256 _quantity) { uint256 minted = numberMinted(msg.sender); require(totalSupply() + _quantity <= maxSupply, "HOTM.mint: All heroes recruited"); require(minted < maxTokensPerWallet, "HOTM.mint: Reached token limit per wallet"); uint256 remainToLimit = maxTokensPerWallet - minted; require(_quantity <= remainToLimit, "HOTM.mint: Minting amount would exceed wallet limit, try fewer"); require(_quantity <= amountPerMint, "HOTM.mint: Exceeded mint limit per transaction"); _; } modifier priceReq(uint256 _quantity) { require(msg.value == pricePerToken * _quantity, "HOTM.mint: Wrong payment amount"); _; } function _priceReq(uint256 _quantity) private priceReq(_quantity) {} function _baseMintReq(uint256 _quantity) private baseMintReq(_quantity) {} /* Minting */ function mint(uint256 _quantity) external payable callerIsUser baseMintReq(_quantity) priceReq(_quantity) { require(isPublicSaleOn, "HOTM.mint: Public sale is not live"); _safeMint(msg.sender, _quantity); } function presaleMint(uint256 _quantity, bytes32[] calldata _proof) external payable callerIsUser { require(isPresaleOn, "HOTM.presaleMint: Whitelist sale is not live"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_proof, whitelistRoot, leaf), "HOTM.presaleMint: Address not whitelisted"); require(whitelistClaimed[msg.sender] + _quantity <= maxPresalePerWallet, "HOTM.presaleMint: More than allowed during presale"); _baseMintReq(_quantity); _priceReq(_quantity); whitelistClaimed[msg.sender] += _quantity; _safeMint(msg.sender, _quantity); } function numberMinted(address _owner) public view returns (uint256) { return _numberMinted(_owner); } function devMint(uint256 _quantity) external onlyOwner { require(totalSupply() + _quantity <= maxSupply, "HOTM.mint: All heroes recruited"); require(_quantity % maxBatchSize == 0, "HOTM.devMint: Can only mint a multiple of the maxBatchSize"); uint256 numChunks = _quantity / maxBatchSize; for (uint256 i = 0; i < numChunks; i++) { _safeMint(msg.sender, maxBatchSize); } } /* Operations */ function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { whitelistRoot = _merkleRoot; } function setBaseURI(string calldata baseUri_) external onlyOwner { baseURI = baseUri_; } function _baseURI() internal view override(ERC721A) returns (string memory) { return baseURI; } function setPresaleOn(bool _isOn) external onlyOwner { isPresaleOn = _isOn; } function setPublicSaleOn(bool _isOn) external onlyOwner { isPublicSaleOn = _isOn; } function setGenderSwapOn(bool _isOn) external onlyOwner { isGenderSwapOn = _isOn; } /* Reveal Operations */ function setChainlinkConfig(uint256 _fee, bytes32 _keyhash) external onlyOwner { chainlinkFee = _fee; chainlinkKeyHash = _keyhash; } function startReveal(string memory baseUri_) external onlyOwner returns (bytes32 requestId) { require(!revealed, "HOTM.Reveal: Already Revealed"); baseURI = baseUri_; return requestRandomness(chainlinkKeyHash, chainlinkFee); } function fulfillRandomness(bytes32, uint256 _randomness) internal override { require(!revealed, "HOTM.Reveal: Already Revealed"); revealed = true; offset = _randomness % maxSupply; } function withdraw() public onlyOwner nonReentrant { if (regentAddress != owner()) { payable(regentAddress).transfer((address(this).balance * 1) / 100); } payable(msg.sender).transfer(address(this).balance); } function setRegent(address _regentAddress) public onlyOwner nonReentrant { require(_regentAddress != regentAddress, "HOTM.setRegent: No regent rules forever"); regentAddress = _regentAddress; } function _startTokenId() internal view virtual override(ERC721A) returns (uint256) { return 1; } /* Hero Operations */ function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { if (!_exists(_tokenId)) revert URIQueryForNonexistentToken(); if (!revealed) return preRevealURI; string memory baseUri_ = _baseURI(); uint256 shiftedTokenId = getShiftedToken(_tokenId); return bytes(baseUri_).length != 0 ? string(abi.encodePacked(baseUri_, getGender(shiftedTokenId), "_", Strings.toString(shiftedTokenId), ".json")) : ""; } function getShiftedToken(uint256 _tokenId) public view returns (uint256) { return (_tokenId + offset) % maxSupply; } function compareStrings(string memory a, string memory b) public pure returns (bool) { return (keccak256(abi.encodePacked((a))) == keccak256(abi.encodePacked((b)))); } function toggleGender(uint256 tokenId) external { require(isGenderSwapOn, "HOTM.toggleGender: Gender swap is not live"); require(ownerOf(tokenId) == _msgSender(), "HOTM.toggleGender: You are not the owner"); gender[tokenId] = compareStrings(getGender(tokenId), "male") ? "female" : "male"; } function getGender(uint256 tokenId) public view returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); return bytes(gender[tokenId]).length != 0 ? gender[tokenId] : "male"; } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // 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.0; import "./interfaces/LinkTokenInterface.sol"; import "./VRFRequestIDBase.sol"; /** **************************************************************************** * @notice Interface for contracts using VRF randomness * ***************************************************************************** * @dev PURPOSE * * @dev Reggie the Random Oracle (not his real job) wants to provide randomness * @dev to Vera the verifier in such a way that Vera can be sure he's not * @dev making his output up to suit himself. Reggie provides Vera a public key * @dev to which he knows the secret key. Each time Vera provides a seed to * @dev Reggie, he gives back a value which is computed completely * @dev deterministically from the seed and the secret key. * * @dev Reggie provides a proof by which Vera can verify that the output was * @dev correctly computed once Reggie tells it to her, but without that proof, * @dev the output is indistinguishable to her from a uniform random sample * @dev from the output space. * * @dev The purpose of this contract is to make it easy for unrelated contracts * @dev to talk to Vera the verifier about the work Reggie is doing, to provide * @dev simple access to a verifiable source of randomness. * ***************************************************************************** * @dev USAGE * * @dev Calling contracts must inherit from VRFConsumerBase, and can * @dev initialize VRFConsumerBase's attributes in their constructor as * @dev shown: * * @dev contract VRFConsumer { * @dev constructor(<other arguments>, address _vrfCoordinator, address _link) * @dev VRFConsumerBase(_vrfCoordinator, _link) public { * @dev <initialization with other arguments goes here> * @dev } * @dev } * * @dev The oracle will have given you an ID for the VRF keypair they have * @dev committed to (let's call it keyHash), and have told you the minimum LINK * @dev price for VRF service. Make sure your contract has sufficient LINK, and * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you * @dev want to generate randomness from. * * @dev Once the VRFCoordinator has received and validated the oracle's response * @dev to your request, it will call your contract's fulfillRandomness method. * * @dev The randomness argument to fulfillRandomness is the actual random value * @dev generated from your seed. * * @dev The requestId argument is generated from the keyHash and the seed by * @dev makeRequestId(keyHash, seed). If your contract could have concurrent * @dev requests open, you can use the requestId to track which seed is * @dev associated with which randomness. See VRFRequestIDBase.sol for more * @dev details. (See "SECURITY CONSIDERATIONS" for principles to keep in mind, * @dev if your contract could have multiple requests in flight simultaneously.) * * @dev Colliding `requestId`s are cryptographically impossible as long as seeds * @dev differ. (Which is critical to making unpredictable randomness! See the * @dev next section.) * * ***************************************************************************** * @dev SECURITY CONSIDERATIONS * * @dev A method with the ability to call your fulfillRandomness method directly * @dev could spoof a VRF response with any random value, so it's critical that * @dev it cannot be directly called by anything other than this base contract * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method). * * @dev For your users to trust that your contract's random behavior is free * @dev from malicious interference, it's best if you can write it so that all * @dev behaviors implied by a VRF response are executed *during* your * @dev fulfillRandomness method. If your contract must store the response (or * @dev anything derived from it) and use it later, you must ensure that any * @dev user-significant behavior which depends on that stored value cannot be * @dev manipulated by a subsequent VRF request. * * @dev Similarly, both miners and the VRF oracle itself have some influence * @dev over the order in which VRF responses appear on the blockchain, so if * @dev your contract could have multiple VRF requests in flight simultaneously, * @dev you must ensure that the order in which the VRF responses arrive cannot * @dev be used to manipulate your contract's user-significant behavior. * * @dev Since the ultimate input to the VRF is mixed with the block hash of the * @dev block in which the request is made, user-provided seeds have no impact * @dev on its economic security properties. They are only included for API * @dev compatability with previous versions of this contract. * * @dev Since the block hash of the block which contains the requestRandomness * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful * @dev miner could, in principle, fork the blockchain to evict the block * @dev containing the request, forcing the request to be included in a * @dev different block with a different hash, and therefore a different input * @dev to the VRF. However, such an attack would incur a substantial economic * @dev cost. This cost scales with the number of blocks the VRF oracle waits * @dev until it calls responds to a request. */ abstract contract VRFConsumerBase is VRFRequestIDBase { /** * @notice fulfillRandomness handles the VRF response. Your contract must * @notice implement it. See "SECURITY CONSIDERATIONS" above for important * @notice principles to keep in mind when implementing your fulfillRandomness * @notice method. * * @dev VRFConsumerBase expects its subcontracts to have a method with this * @dev signature, and will call it once it has verified the proof * @dev associated with the randomness. (It is triggered via a call to * @dev rawFulfillRandomness, below.) * * @param requestId The Id initially returned by requestRandomness * @param randomness the VRF output */ function fulfillRandomness(bytes32 requestId, uint256 randomness) internal virtual; /** * @dev In order to keep backwards compatibility we have kept the user * seed field around. We remove the use of it because given that the blockhash * enters later, it overrides whatever randomness the used seed provides. * Given that it adds no security, and can easily lead to misunderstandings, * we have removed it from usage and can now provide a simpler API. */ uint256 private constant USER_SEED_PLACEHOLDER = 0; /** * @notice requestRandomness initiates a request for VRF output given _seed * * @dev The fulfillRandomness method receives the output, once it's provided * @dev by the Oracle, and verified by the vrfCoordinator. * * @dev The _keyHash must already be registered with the VRFCoordinator, and * @dev the _fee must exceed the fee specified during registration of the * @dev _keyHash. * * @dev The _seed parameter is vestigial, and is kept only for API * @dev compatibility with older versions. It can't *hurt* to mix in some of * @dev your own randomness, here, but it's not necessary because the VRF * @dev oracle will mix the hash of the block containing your request into the * @dev VRF seed it ultimately uses. * * @param _keyHash ID of public key against which randomness is generated * @param _fee The amount of LINK to send with the request * * @return requestId unique ID for this request * * @dev The returned requestId can be used to distinguish responses to * @dev concurrent requests. It is passed as the first argument to * @dev fulfillRandomness. */ function requestRandomness(bytes32 _keyHash, uint256 _fee) internal returns (bytes32 requestId) { LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER)); // This is the seed passed to VRFCoordinator. The oracle will mix this with // the hash of the block containing this request to obtain the seed/input // which is finally passed to the VRF cryptographic machinery. uint256 vRFSeed = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]); // nonces[_keyHash] must stay in sync with // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest). // This provides protection against the user repeating their input seed, // which would result in a predictable/duplicate output, if multiple such // requests appeared in the same block. nonces[_keyHash] = nonces[_keyHash] + 1; return makeRequestId(_keyHash, vRFSeed); } LinkTokenInterface internal immutable LINK; address private immutable vrfCoordinator; // Nonces for each VRF key from which randomness has been requested. // // Must stay in sync with VRFCoordinator[_keyHash][this] mapping(bytes32 => uint256) /* keyHash */ /* nonce */ private nonces; /** * @param _vrfCoordinator address of VRFCoordinator contract * @param _link address of LINK token contract * * @dev https://docs.chain.link/docs/link-token-contracts */ constructor(address _vrfCoordinator, address _link) { vrfCoordinator = _vrfCoordinator; LINK = LinkTokenInterface(_link); } // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF // proof. rawFulfillRandomness then calls fulfillRandomness, after validating // the origin of the call function rawFulfillRandomness(bytes32 requestId, uint256 randomness) external { require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill"); fulfillRandomness(requestId, randomness); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 `IERC721.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) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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 pragma solidity ^0.8.0; interface LinkTokenInterface { function allowance(address owner, address spender) external view returns (uint256 remaining); function approve(address spender, uint256 value) external returns (bool success); function balanceOf(address owner) external view returns (uint256 balance); function decimals() external view returns (uint8 decimalPlaces); function decreaseApproval(address spender, uint256 addedValue) external returns (bool success); function increaseApproval(address spender, uint256 subtractedValue) external; function name() external view returns (string memory tokenName); function symbol() external view returns (string memory tokenSymbol); function totalSupply() external view returns (uint256 totalTokensIssued); function transfer(address to, uint256 value) external returns (bool success); function transferAndCall( address to, uint256 value, bytes calldata data ) external returns (bool success); function transferFrom( address from, address to, uint256 value ) external returns (bool success); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract VRFRequestIDBase { /** * @notice returns the seed which is actually input to the VRF coordinator * * @dev To prevent repetition of VRF output due to repetition of the * @dev user-supplied seed, that seed is combined in a hash with the * @dev user-specific nonce, and the address of the consuming contract. The * @dev risk of repetition is mostly mitigated by inclusion of a blockhash in * @dev the final seed, but the nonce does protect against repetition in * @dev requests which are included in a single block. * * @param _userSeed VRF seed input provided by user * @param _requester Address of the requesting contract * @param _nonce User-specific nonce at the time of the request */ function makeVRFInputSeed( bytes32 _keyHash, uint256 _userSeed, address _requester, uint256 _nonce ) internal pure returns (uint256) { return uint256(keccak256(abi.encode(_keyHash, _userSeed, _requester, _nonce))); } /** * @notice Returns the id for this request * @param _keyHash The serviceAgreement ID to be used for this request * @param _vRFInputSeed The seed to be passed directly to the VRF * @return The id for this request * * @dev Note that _vRFInputSeed is not the seed passed by the consuming * @dev contract, but the one generated by makeVRFInputSeed */ function makeRequestId(bytes32 _keyHash, uint256 _vRFInputSeed) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_keyHash, _vRFInputSeed)); } }
{ "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":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_reservedForDevs","type":"uint256"},{"internalType":"uint256","name":"_reservedForProject","type":"uint256"},{"internalType":"uint256","name":"_maxBatchSize","type":"uint256"},{"internalType":"string","name":"_preRevealURI","type":"string"},{"internalType":"address","name":"_vrfCoordinator","type":"address"},{"internalType":"address","name":"_linkAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"amountPerMint","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainlinkFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainlinkKeyHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"a","type":"string"},{"internalType":"string","name":"b","type":"string"}],"name":"compareStrings","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getGender","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getShiftedToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isGenderSwapOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBatchSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPresalePerWallet","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":"maxTokensPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pricePerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"rawFulfillRandomness","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedForDevs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedForProject","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"string","name":"baseUri_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"},{"internalType":"bytes32","name":"_keyhash","type":"bytes32"}],"name":"setChainlinkConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOn","type":"bool"}],"name":"setGenderSwapOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOn","type":"bool"}],"name":"setPresaleOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOn","type":"bool"}],"name":"setPublicSaleOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_regentAddress","type":"address"}],"name":"setRegent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri_","type":"string"}],"name":"startReveal","outputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"toggleGender","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61016060405266f8b0a10e47000060e0908152506000601160006101000a81548160ff0219169083151502179055506000601160016101000a81548160ff0219169083151502179055506000601160026101000a81548160ff0219169083151502179055506000601160036101000a81548160ff0219169083151502179055503480156200008c57600080fd5b5060405162006856380380620068568339818101604052810190620000b2919062000512565b81816040518060400160405280601281526020017f4865726f65734d6574617665727365544c4500000000000000000000000000008152506040518060400160405280600481526020017f484f544d00000000000000000000000000000000000000000000000000000000815250816002908051906020019062000138929190620003b6565b50806003908051906020019062000151929190620003b6565b5062000162620002df60201b60201c565b60008190555050506200018a6200017e620002e860201b60201c565b620002f060201b60201c565b60016009819055508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050508686866200021191906200069d565b111562000255576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200024c906200060b565b60405180910390fd5b8660c0818152505085610100818152505084610120818152505083610140818152505033601160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260109080519060200190620002d1929190620003b6565b505050505050505062000935565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003c4906200076e565b90600052602060002090601f016020900481019282620003e8576000855562000434565b82601f106200040357805160ff191683800117855562000434565b8280016001018555821562000434579182015b828111156200043357825182559160200191906001019062000416565b5b50905062000443919062000447565b5090565b5b808211156200046257600081600090555060010162000448565b5090565b60006200047d620004778462000656565b6200062d565b9050828152602081018484840111156200049c576200049b6200086c565b5b620004a984828562000738565b509392505050565b600081519050620004c28162000901565b92915050565b600082601f830112620004e057620004df62000867565b5b8151620004f284826020860162000466565b91505092915050565b6000815190506200050c816200091b565b92915050565b600080600080600080600060e0888a03121562000534576200053362000876565b5b6000620005448a828b01620004fb565b9750506020620005578a828b01620004fb565b96505060406200056a8a828b01620004fb565b95505060606200057d8a828b01620004fb565b945050608088015167ffffffffffffffff811115620005a157620005a062000871565b5b620005af8a828b01620004c8565b93505060a0620005c28a828b01620004b1565b92505060c0620005d58a828b01620004b1565b91505092959891949750929550565b6000620005f36043836200068c565b915062000600826200088c565b606082019050919050565b600060208201905081810360008301526200062681620005e4565b9050919050565b6000620006396200064c565b9050620006478282620007a4565b919050565b6000604051905090565b600067ffffffffffffffff82111562000674576200067362000838565b5b6200067f826200087b565b9050602081019050919050565b600082825260208201905092915050565b6000620006aa826200072e565b9150620006b7836200072e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620006ef57620006ee620007da565b5b828201905092915050565b600062000707826200070e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620007585780820151818401526020810190506200073b565b8381111562000768576000848401525b50505050565b600060028204905060018216806200078757607f821691505b602082108114156200079e576200079d62000809565b5b50919050565b620007af826200087b565b810181811067ffffffffffffffff82111715620007d157620007d062000838565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f484f544d2e636f6e7374727563746f723a204d617820737570706c792073686f60008201527f756c6420626520686967686572207468616e20726573657276656420616d6f7560208201527f6e74730000000000000000000000000000000000000000000000000000000000604082015250565b6200090c81620006fa565b81146200091857600080fd5b50565b62000926816200072e565b81146200093257600080fd5b50565b60805160601c60a05160601c60c05160e051610100516101205161014051615e73620009e360003960008181610ffe015281816112bc0152818161132a01526113670152600061173801526000612c0f015260008181611b7f015281816121f00152613d3701526000818161124501528181611c2b0152818161209e01528181612672015281816137a40152613bdf015260008181611d410152613615015260006135d90152615e736000f3fe6080604052600436106103355760003560e01c806372d6e8a4116101ab578063a22cb465116100f7578063db4bec4411610095578063e3e1e8ef1161006f578063e3e1e8ef14610c11578063e985e9c514610c2d578063f2fde38b14610c6a578063fa54e5f514610c9357610335565b8063db4bec4414610b5a578063dc33e68114610b97578063e06d2eb514610bd457610335565b8063c87b56dd116100d1578063c87b56dd14610a9c578063cfe73e4c14610ad9578063d555654414610b04578063d5abeb0114610b2f57610335565b8063a22cb46514610a0d578063b88d4fde14610a36578063bed34bba14610a5f57610335565b806386be53d31161016457806394985ddd1161013e57806394985ddd1461097457806395d89b411461099d5780639ff3e976146109c8578063a0712d68146109f157610335565b806386be53d3146108f55780638da5cb5b146109205780639423ad261461094b57610335565b806372d6e8a4146107d357806375d7741b146107fc5780637ac98be1146108395780637b1b1de6146108645780637cb647591461088f5780638226c2e4146108b857610335565b80633f5e47411161028557806355f804b3116102235780636c0360eb116101fd5780636c0360eb1461072b5780636e5691771461075657806370a082311461077f578063715018a6146107bc57610335565b806355f804b31461069a5780635c1c7604146106c35780636352211e146106ee57610335565b80634586fb4e1161025f5780634586fb4e146105ee578063469132ce146106195780634970359214610644578063518302271461066f57610335565b80633f5e47411461057157806342842e0e1461059c57806342f0d313146105c557610335565b806323b872dd116102f2578063375a069a116102cc578063375a069a146104db5780633820e82214610504578063386bfc981461052f5780633ccfd60b1461055a57610335565b806323b872dd1461045e5780632913daa01461048757806335b845f0146104b257610335565b806301ffc9a71461033a57806306fdde0314610377578063081812fc146103a2578063095ea7b3146103df5780630f7309e81461040857806318160ddd14610433575b600080fd5b34801561034657600080fd5b50610361600480360381019061035c91906148a1565b610cbe565b60405161036e9190615023565b60405180910390f35b34801561038357600080fd5b5061038c610da0565b60405161039991906150c7565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c49190614a09565b610e32565b6040516103d69190614f7e565b60405180910390f35b3480156103eb57600080fd5b506104066004803603810190610401919061479a565b610eae565b005b34801561041457600080fd5b5061041d610fb9565b60405161042a91906150c7565b60405180910390f35b34801561043f57600080fd5b50610448610fd5565b6040516104559190615349565b60405180910390f35b34801561046a57600080fd5b5061048560048036038101906104809190614684565b610fec565b005b34801561049357600080fd5b5061049c610ffc565b6040516104a99190615349565b60405180910390f35b3480156104be57600080fd5b506104d960048036038101906104d49190614617565b611020565b005b3480156104e757600080fd5b5061050260048036038101906104fd9190614a09565b6111c7565b005b34801561051057600080fd5b506105196113a3565b6040516105269190615349565b60405180910390f35b34801561053b57600080fd5b506105446113a8565b604051610551919061503e565b60405180910390f35b34801561056657600080fd5b5061056f6113ae565b005b34801561057d57600080fd5b506105866115a7565b6040516105939190615023565b60405180910390f35b3480156105a857600080fd5b506105c360048036038101906105be9190614684565b6115ba565b005b3480156105d157600080fd5b506105ec60048036038101906105e791906147da565b6115da565b005b3480156105fa57600080fd5b50610603611673565b604051610610919061503e565b60405180910390f35b34801561062557600080fd5b5061062e611679565b60405161063b9190615349565b60405180910390f35b34801561065057600080fd5b5061065961167e565b6040516106669190615023565b60405180910390f35b34801561067b57600080fd5b50610684611691565b6040516106919190615023565b60405180910390f35b3480156106a657600080fd5b506106c160048036038101906106bc91906148fb565b6116a4565b005b3480156106cf57600080fd5b506106d8611736565b6040516106e59190615349565b60405180910390f35b3480156106fa57600080fd5b5061071560048036038101906107109190614a09565b61175a565b6040516107229190614f7e565b60405180910390f35b34801561073757600080fd5b50610740611770565b60405161074d91906150c7565b60405180910390f35b34801561076257600080fd5b5061077d60048036038101906107789190614a96565b6117fe565b005b34801561078b57600080fd5b506107a660048036038101906107a19190614617565b61188c565b6040516107b39190615349565b60405180910390f35b3480156107c857600080fd5b506107d161195c565b005b3480156107df57600080fd5b506107fa60048036038101906107f591906147da565b6119e4565b005b34801561080857600080fd5b50610823600480360381019061081e9190614948565b611a7d565b604051610830919061503e565b60405180910390f35b34801561084557600080fd5b5061084e611b77565b60405161085b9190615349565b60405180910390f35b34801561087057600080fd5b50610879611b7d565b6040516108869190615349565b60405180910390f35b34801561089b57600080fd5b506108b660048036038101906108b19190614834565b611ba1565b005b3480156108c457600080fd5b506108df60048036038101906108da9190614a09565b611c27565b6040516108ec9190615349565b60405180910390f35b34801561090157600080fd5b5061090a611c69565b6040516109179190615023565b60405180910390f35b34801561092c57600080fd5b50610935611c7c565b6040516109429190614f7e565b60405180910390f35b34801561095757600080fd5b50610972600480360381019061096d91906147da565b611ca6565b005b34801561098057600080fd5b5061099b60048036038101906109969190614861565b611d3f565b005b3480156109a957600080fd5b506109b2611ddb565b6040516109bf91906150c7565b60405180910390f35b3480156109d457600080fd5b506109ef60048036038101906109ea9190614a09565b611e6d565b005b610a0b6004803603810190610a069190614a09565b612020565b005b348015610a1957600080fd5b50610a346004803603810190610a2f919061475a565b6122ba565b005b348015610a4257600080fd5b50610a5d6004803603810190610a5891906146d7565b612432565b005b348015610a6b57600080fd5b50610a866004803603810190610a819190614991565b6124ae565b604051610a939190615023565b60405180910390f35b348015610aa857600080fd5b50610ac36004803603810190610abe9190614a09565b612507565b604051610ad091906150c7565b60405180910390f35b348015610ae557600080fd5b50610aee612665565b604051610afb9190615349565b60405180910390f35b348015610b1057600080fd5b50610b1961266a565b604051610b269190615349565b60405180910390f35b348015610b3b57600080fd5b50610b44612670565b604051610b519190615349565b60405180910390f35b348015610b6657600080fd5b50610b816004803603810190610b7c9190614617565b612694565b604051610b8e9190615349565b60405180910390f35b348015610ba357600080fd5b50610bbe6004803603810190610bb99190614617565b6126ac565b604051610bcb9190615349565b60405180910390f35b348015610be057600080fd5b50610bfb6004803603810190610bf69190614a09565b6126be565b604051610c0891906150c7565b60405180910390f35b610c2b6004803603810190610c269190614a36565b612806565b005b348015610c3957600080fd5b50610c546004803603810190610c4f9190614644565b612a81565b604051610c619190615023565b60405180910390f35b348015610c7657600080fd5b50610c916004803603810190610c8c9190614617565b612b15565b005b348015610c9f57600080fd5b50610ca8612c0d565b604051610cb59190615349565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d8957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d995750610d9882612c31565b5b9050919050565b606060028054610daf90615603565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddb90615603565b8015610e285780601f10610dfd57610100808354040283529160200191610e28565b820191906000526020600020905b815481529060010190602001808311610e0b57829003601f168201915b5050505050905090565b6000610e3d82612c9b565b610e73576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610eb98261175a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f21576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f40612ce9565b73ffffffffffffffffffffffffffffffffffffffff1614158015610f725750610f7081610f6b612ce9565b612a81565b155b15610fa9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fb4838383612cf1565b505050565b604051806060016040528060408152602001615dfe6040913981565b6000610fdf612da3565b6001546000540303905090565b610ff7838383612dac565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b611028612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611046611c7c565b73ffffffffffffffffffffffffffffffffffffffff161461109c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109390615189565b60405180910390fd5b600260095414156110e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d990615309565b60405180910390fd5b6002600981905550601160049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561117b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611172906151a9565b60405180910390fd5b80601160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160098190555050565b6111cf612ce9565b73ffffffffffffffffffffffffffffffffffffffff166111ed611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614611243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123a90615189565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008161126d610fd5565b611277919061542e565b11156112b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112af90615209565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000826112e691906156e7565b14611326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131d906151e9565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000826113549190615484565b905060005b8181101561139e5761138b337f0000000000000000000000000000000000000000000000000000000000000000613262565b808061139690615666565b915050611359565b505050565b600381565b600d5481565b6113b6612ce9565b73ffffffffffffffffffffffffffffffffffffffff166113d4611c7c565b73ffffffffffffffffffffffffffffffffffffffff161461142a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142190615189565b60405180910390fd5b60026009541415611470576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146790615309565b60405180910390fd5b6002600981905550611480611c7c565b73ffffffffffffffffffffffffffffffffffffffff16601160049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461155657601160049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc606460014761151f91906154b5565b6115299190615484565b9081150290604051600060405180830381858888f19350505050158015611554573d6000803e3d6000fd5b505b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561159c573d6000803e3d6000fd5b506001600981905550565b601160009054906101000a900460ff1681565b6115d583838360405180602001604052806000815250612432565b505050565b6115e2612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611600611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614611656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164d90615189565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b60135481565b600981565b601160029054906101000a900460ff1681565b601160039054906101000a900460ff1681565b6116ac612ce9565b73ffffffffffffffffffffffffffffffffffffffff166116ca611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614611720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171790615189565b60405180910390fd5b8181600f919061173192919061428c565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600061176582613280565b600001519050919050565b600f805461177d90615603565b80601f01602080910402602001604051908101604052809291908181526020018280546117a990615603565b80156117f65780601f106117cb576101008083540402835291602001916117f6565b820191906000526020600020905b8154815290600101906020018083116117d957829003601f168201915b505050505081565b611806612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611824611c7c565b73ffffffffffffffffffffffffffffffffffffffff161461187a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187190615189565b60405180910390fd5b81601281905550806013819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118f4576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611964612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611982611c7c565b73ffffffffffffffffffffffffffffffffffffffff16146119d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cf90615189565b60405180910390fd5b6119e2600061350f565b565b6119ec612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611a0a611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614611a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5790615189565b60405180910390fd5b80601160026101000a81548160ff02191690831515021790555050565b6000611a87612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611aa5611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af290615189565b60405180910390fd5b601160039054906101000a900460ff1615611b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4290615169565b60405180910390fd5b81600f9080519060200190611b61929190614312565b50611b706013546012546135d5565b9050919050565b60125481565b7f000000000000000000000000000000000000000000000000000000000000000081565b611ba9612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611bc7611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614611c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1490615189565b60405180910390fd5b80600d8190555050565b60007f0000000000000000000000000000000000000000000000000000000000000000600c5483611c58919061542e565b611c6291906156e7565b9050919050565b601160019054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611cae612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611ccc611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614611d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1990615189565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc4906151c9565b60405180910390fd5b611dd78282613737565b5050565b606060038054611dea90615603565b80601f0160208091040260200160405190810160405280929190818152602001828054611e1690615603565b8015611e635780601f10611e3857610100808354040283529160200191611e63565b820191906000526020600020905b815481529060010190602001808311611e4657829003601f168201915b5050505050905090565b601160029054906101000a900460ff16611ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb390615129565b60405180910390fd5b611ec4612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611ee38261175a565b73ffffffffffffffffffffffffffffffffffffffff1614611f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3090615249565b60405180910390fd5b611f80611f45826126be565b6040518060400160405280600481526020017f6d616c65000000000000000000000000000000000000000000000000000000008152506124ae565b611fbf576040518060400160405280600481526020017f6d616c6500000000000000000000000000000000000000000000000000000000815250611ff6565b6040518060400160405280600681526020017f66656d616c6500000000000000000000000000000000000000000000000000008152505b600b6000838152602001908152602001600020908051906020019061201c929190614312565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461208e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208590615329565b60405180910390fd5b80600061209a336126ac565b90507f0000000000000000000000000000000000000000000000000000000000000000826120c6610fd5565b6120d0919061542e565b1115612111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210890615209565b60405180910390fd5b60098110612154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214b90615149565b60405180910390fd5b6000816009612163919061550f565b9050808311156121a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219f906150e9565b60405180910390fd5b60038311156121ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e3906152c9565b60405180910390fd5b83807f000000000000000000000000000000000000000000000000000000000000000061221991906154b5565b341461225a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225190615269565b60405180910390fd5b601160009054906101000a900460ff166122a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a090615289565b60405180910390fd5b6122b33386613262565b5050505050565b6122c2612ce9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612327576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612334612ce9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166123e1612ce9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124269190615023565b60405180910390a35050565b61243d848484612dac565b61245c8373ffffffffffffffffffffffffffffffffffffffff166137d8565b8015612471575061246f848484846137fb565b155b156124a8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000816040516020016124c19190614f20565b60405160208183030381529060405280519060200120836040516020016124e89190614f20565b6040516020818303038152906040528051906020012014905092915050565b606061251282612c9b565b612548576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601160039054906101000a900460ff166125ee576010805461256990615603565b80601f016020809104026020016040519081016040528092919081815260200182805461259590615603565b80156125e25780601f106125b7576101008083540402835291602001916125e2565b820191906000526020600020905b8154815290600101906020018083116125c557829003601f168201915b50505050509050612660565b60006125f861395b565b9050600061260584611c27565b9050600082511415612626576040518060200160405280600081525061265b565b81612630826126be565b612639836139ed565b60405160200161264b93929190614f37565b6040516020818303038152906040525b925050505b919050565b600381565b600c5481565b7f000000000000000000000000000000000000000000000000000000000000000081565b600e6020528060005260406000206000915090505481565b60006126b782613b4e565b9050919050565b60606126c982612c9b565b6126ff576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600b6000848152602001908152602001600020805461271f90615603565b90501415612762576040518060400160405280600481526020017f6d616c65000000000000000000000000000000000000000000000000000000008152506127ff565b600b6000838152602001908152602001600020805461278090615603565b80601f01602080910402602001604051908101604052809291908181526020018280546127ac90615603565b80156127f95780601f106127ce576101008083540402835291602001916127f9565b820191906000526020600020905b8154815290600101906020018083116127dc57829003601f168201915b50505050505b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286b90615329565b60405180910390fd5b601160019054906101000a900460ff166128c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ba906152e9565b60405180910390fd5b6000336040516020016128d69190614ed9565b60405160208183030381529060405280519060200120905061293c838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d5483613bb8565b61297b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612972906152a9565b60405180910390fd5b600384600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546129c8919061542e565b1115612a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0090615229565b60405180910390fd5b612a1284613bcf565b612a1b84613d33565b83600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a6a919061542e565b92505081905550612a7b3385613262565b50505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612b1d612ce9565b73ffffffffffffffffffffffffffffffffffffffff16612b3b611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614612b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8890615189565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf890615109565b60405180910390fd5b612c0a8161350f565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612ca6612da3565b11158015612cb5575060005482105b8015612ce2575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612db782613280565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612e22576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612e43612ce9565b73ffffffffffffffffffffffffffffffffffffffff161480612e725750612e7185612e6c612ce9565b612a81565b5b80612eb75750612e80612ce9565b73ffffffffffffffffffffffffffffffffffffffff16612e9f84610e32565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612ef0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612f57576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f648585856001613da5565b612f7060008487612cf1565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156131f05760005482146131ef57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461325b8585856001613dab565b5050505050565b61327c828260405180602001604052806000815250613db1565b5050565b613288614398565b600082905080613296612da3565b111580156132a5575060005481105b156134d8576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516134d657600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146133ba57809250505061350a565b5b6001156134d557818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134d057809250505061350a565b6133bb565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000000000000000000000000000000000000000000084866000604051602001613649929190615059565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161367693929190614fe5565b602060405180830381600087803b15801561369057600080fd5b505af11580156136a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136c89190614807565b5060006136eb84600030600a600089815260200190815260200160002054613dc3565b90506001600a60008681526020019081526020016000205461370d919061542e565b600a60008681526020019081526020016000208190555061372e8482613dff565b91505092915050565b601160039054906101000a900460ff1615613787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377e90615169565b60405180910390fd5b6001601160036101000a81548160ff0219169083151502179055507f0000000000000000000000000000000000000000000000000000000000000000816137ce91906156e7565b600c819055505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613821612ce9565b8786866040518563ffffffff1660e01b81526004016138439493929190614f99565b602060405180830381600087803b15801561385d57600080fd5b505af192505050801561388e57506040513d601f19601f8201168201806040525081019061388b91906148ce565b60015b613908573d80600081146138be576040519150601f19603f3d011682016040523d82523d6000602084013e6138c3565b606091505b50600081511415613900576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f805461396a90615603565b80601f016020809104026020016040519081016040528092919081815260200182805461399690615603565b80156139e35780601f106139b8576101008083540402835291602001916139e3565b820191906000526020600020905b8154815290600101906020018083116139c657829003601f168201915b5050505050905090565b60606000821415613a35576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613b49565b600082905060005b60008214613a67578080613a5090615666565b915050600a82613a609190615484565b9150613a3d565b60008167ffffffffffffffff811115613a8357613a826157d4565b5b6040519080825280601f01601f191660200182016040528015613ab55781602001600182028036833780820191505090505b5090505b60008514613b4257600182613ace919061550f565b9150600a85613add91906156e7565b6030613ae9919061542e565b60f81b818381518110613aff57613afe6157a5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613b3b9190615484565b9450613ab9565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600082613bc58584613e32565b1490509392505050565b806000613bdb336126ac565b90507f000000000000000000000000000000000000000000000000000000000000000082613c07610fd5565b613c11919061542e565b1115613c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c4990615209565b60405180910390fd5b60098110613c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c8c90615149565b60405180910390fd5b6000816009613ca4919061550f565b905080831115613ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ce0906150e9565b60405180910390fd5b6003831115613d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d24906152c9565b60405180910390fd5b50505050565b80807f0000000000000000000000000000000000000000000000000000000000000000613d6091906154b5565b3414613da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d9890615269565b60405180910390fd5b5050565b50505050565b50505050565b613dbe8383836001613ea7565b505050565b600084848484604051602001613ddc9493929190615082565b6040516020818303038152906040528051906020012060001c9050949350505050565b60008282604051602001613e14929190614ef4565b60405160208183030381529060405280519060200120905092915050565b60008082905060005b8451811015613e9c576000858281518110613e5957613e586157a5565b5b60200260200101519050808311613e7b57613e748382614275565b9250613e88565b613e858184614275565b92505b508080613e9490615666565b915050613e3b565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613f14576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613f4f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613f5c6000868387613da5565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561412657506141258773ffffffffffffffffffffffffffffffffffffffff166137d8565b5b156141ec575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461419b60008884806001019550886137fb565b6141d1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561412c5782600054146141e757600080fd5b614258565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156141ed575b81600081905550505061426e6000868387613dab565b5050505050565b600082600052816020526040600020905092915050565b82805461429890615603565b90600052602060002090601f0160209004810192826142ba5760008555614301565b82601f106142d357803560ff1916838001178555614301565b82800160010185558215614301579182015b828111156143005782358255916020019190600101906142e5565b5b50905061430e91906143db565b5090565b82805461431e90615603565b90600052602060002090601f0160209004810192826143405760008555614387565b82601f1061435957805160ff1916838001178555614387565b82800160010185558215614387579182015b8281111561438657825182559160200191906001019061436b565b5b50905061439491906143db565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156143f45760008160009055506001016143dc565b5090565b600061440b61440684615389565b615364565b90508281526020810184848401111561442757614426615812565b5b6144328482856155c1565b509392505050565b600061444d614448846153ba565b615364565b90508281526020810184848401111561446957614468615812565b5b6144748482856155c1565b509392505050565b60008135905061448b81615d8a565b92915050565b60008083601f8401126144a7576144a6615808565b5b8235905067ffffffffffffffff8111156144c4576144c3615803565b5b6020830191508360208202830111156144e0576144df61580d565b5b9250929050565b6000813590506144f681615da1565b92915050565b60008151905061450b81615da1565b92915050565b60008135905061452081615db8565b92915050565b60008135905061453581615dcf565b92915050565b60008151905061454a81615dcf565b92915050565b600082601f83011261456557614564615808565b5b81356145758482602086016143f8565b91505092915050565b60008083601f84011261459457614593615808565b5b8235905067ffffffffffffffff8111156145b1576145b0615803565b5b6020830191508360018202830111156145cd576145cc61580d565b5b9250929050565b600082601f8301126145e9576145e8615808565b5b81356145f984826020860161443a565b91505092915050565b60008135905061461181615de6565b92915050565b60006020828403121561462d5761462c61581c565b5b600061463b8482850161447c565b91505092915050565b6000806040838503121561465b5761465a61581c565b5b60006146698582860161447c565b925050602061467a8582860161447c565b9150509250929050565b60008060006060848603121561469d5761469c61581c565b5b60006146ab8682870161447c565b93505060206146bc8682870161447c565b92505060406146cd86828701614602565b9150509250925092565b600080600080608085870312156146f1576146f061581c565b5b60006146ff8782880161447c565b94505060206147108782880161447c565b935050604061472187828801614602565b925050606085013567ffffffffffffffff81111561474257614741615817565b5b61474e87828801614550565b91505092959194509250565b600080604083850312156147715761477061581c565b5b600061477f8582860161447c565b9250506020614790858286016144e7565b9150509250929050565b600080604083850312156147b1576147b061581c565b5b60006147bf8582860161447c565b92505060206147d085828601614602565b9150509250929050565b6000602082840312156147f0576147ef61581c565b5b60006147fe848285016144e7565b91505092915050565b60006020828403121561481d5761481c61581c565b5b600061482b848285016144fc565b91505092915050565b60006020828403121561484a5761484961581c565b5b600061485884828501614511565b91505092915050565b600080604083850312156148785761487761581c565b5b600061488685828601614511565b925050602061489785828601614602565b9150509250929050565b6000602082840312156148b7576148b661581c565b5b60006148c584828501614526565b91505092915050565b6000602082840312156148e4576148e361581c565b5b60006148f28482850161453b565b91505092915050565b600080602083850312156149125761491161581c565b5b600083013567ffffffffffffffff8111156149305761492f615817565b5b61493c8582860161457e565b92509250509250929050565b60006020828403121561495e5761495d61581c565b5b600082013567ffffffffffffffff81111561497c5761497b615817565b5b614988848285016145d4565b91505092915050565b600080604083850312156149a8576149a761581c565b5b600083013567ffffffffffffffff8111156149c6576149c5615817565b5b6149d2858286016145d4565b925050602083013567ffffffffffffffff8111156149f3576149f2615817565b5b6149ff858286016145d4565b9150509250929050565b600060208284031215614a1f57614a1e61581c565b5b6000614a2d84828501614602565b91505092915050565b600080600060408486031215614a4f57614a4e61581c565b5b6000614a5d86828701614602565b935050602084013567ffffffffffffffff811115614a7e57614a7d615817565b5b614a8a86828701614491565b92509250509250925092565b60008060408385031215614aad57614aac61581c565b5b6000614abb85828601614602565b9250506020614acc85828601614511565b9150509250929050565b614adf81615543565b82525050565b614af6614af182615543565b6156af565b82525050565b614b0581615555565b82525050565b614b1481615561565b82525050565b614b2b614b2682615561565b6156c1565b82525050565b6000614b3c826153eb565b614b468185615401565b9350614b568185602086016155d0565b614b5f81615821565b840191505092915050565b6000614b75826153f6565b614b7f8185615412565b9350614b8f8185602086016155d0565b614b9881615821565b840191505092915050565b6000614bae826153f6565b614bb88185615423565b9350614bc88185602086016155d0565b80840191505092915050565b6000614be1603e83615412565b9150614bec8261583f565b604082019050919050565b6000614c04602683615412565b9150614c0f8261588e565b604082019050919050565b6000614c27602a83615412565b9150614c32826158dd565b604082019050919050565b6000614c4a602983615412565b9150614c558261592c565b604082019050919050565b6000614c6d601d83615412565b9150614c788261597b565b602082019050919050565b6000614c90600583615423565b9150614c9b826159a4565b600582019050919050565b6000614cb3602083615412565b9150614cbe826159cd565b602082019050919050565b6000614cd6602783615412565b9150614ce1826159f6565b604082019050919050565b6000614cf9601f83615412565b9150614d0482615a45565b602082019050919050565b6000614d1c603a83615412565b9150614d2782615a6e565b604082019050919050565b6000614d3f601f83615412565b9150614d4a82615abd565b602082019050919050565b6000614d62603283615412565b9150614d6d82615ae6565b604082019050919050565b6000614d85602883615412565b9150614d9082615b35565b604082019050919050565b6000614da8601f83615412565b9150614db382615b84565b602082019050919050565b6000614dcb602283615412565b9150614dd682615bad565b604082019050919050565b6000614dee600183615423565b9150614df982615bfc565b600182019050919050565b6000614e11602983615412565b9150614e1c82615c25565b604082019050919050565b6000614e34602e83615412565b9150614e3f82615c74565b604082019050919050565b6000614e57602c83615412565b9150614e6282615cc3565b604082019050919050565b6000614e7a601f83615412565b9150614e8582615d12565b602082019050919050565b6000614e9d602b83615412565b9150614ea882615d3b565b604082019050919050565b614ebc816155b7565b82525050565b614ed3614ece826155b7565b6156dd565b82525050565b6000614ee58284614ae5565b60148201915081905092915050565b6000614f008285614b1a565b602082019150614f108284614ec2565b6020820191508190509392505050565b6000614f2c8284614ba3565b915081905092915050565b6000614f438286614ba3565b9150614f4f8285614ba3565b9150614f5a82614de1565b9150614f668284614ba3565b9150614f7182614c83565b9150819050949350505050565b6000602082019050614f936000830184614ad6565b92915050565b6000608082019050614fae6000830187614ad6565b614fbb6020830186614ad6565b614fc86040830185614eb3565b8181036060830152614fda8184614b31565b905095945050505050565b6000606082019050614ffa6000830186614ad6565b6150076020830185614eb3565b81810360408301526150198184614b31565b9050949350505050565b60006020820190506150386000830184614afc565b92915050565b60006020820190506150536000830184614b0b565b92915050565b600060408201905061506e6000830185614b0b565b61507b6020830184614eb3565b9392505050565b60006080820190506150976000830187614b0b565b6150a46020830186614eb3565b6150b16040830185614ad6565b6150be6060830184614eb3565b95945050505050565b600060208201905081810360008301526150e18184614b6a565b905092915050565b6000602082019050818103600083015261510281614bd4565b9050919050565b6000602082019050818103600083015261512281614bf7565b9050919050565b6000602082019050818103600083015261514281614c1a565b9050919050565b6000602082019050818103600083015261516281614c3d565b9050919050565b6000602082019050818103600083015261518281614c60565b9050919050565b600060208201905081810360008301526151a281614ca6565b9050919050565b600060208201905081810360008301526151c281614cc9565b9050919050565b600060208201905081810360008301526151e281614cec565b9050919050565b6000602082019050818103600083015261520281614d0f565b9050919050565b6000602082019050818103600083015261522281614d32565b9050919050565b6000602082019050818103600083015261524281614d55565b9050919050565b6000602082019050818103600083015261526281614d78565b9050919050565b6000602082019050818103600083015261528281614d9b565b9050919050565b600060208201905081810360008301526152a281614dbe565b9050919050565b600060208201905081810360008301526152c281614e04565b9050919050565b600060208201905081810360008301526152e281614e27565b9050919050565b6000602082019050818103600083015261530281614e4a565b9050919050565b6000602082019050818103600083015261532281614e6d565b9050919050565b6000602082019050818103600083015261534281614e90565b9050919050565b600060208201905061535e6000830184614eb3565b92915050565b600061536e61537f565b905061537a8282615635565b919050565b6000604051905090565b600067ffffffffffffffff8211156153a4576153a36157d4565b5b6153ad82615821565b9050602081019050919050565b600067ffffffffffffffff8211156153d5576153d46157d4565b5b6153de82615821565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615439826155b7565b9150615444836155b7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561547957615478615718565b5b828201905092915050565b600061548f826155b7565b915061549a836155b7565b9250826154aa576154a9615747565b5b828204905092915050565b60006154c0826155b7565b91506154cb836155b7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561550457615503615718565b5b828202905092915050565b600061551a826155b7565b9150615525836155b7565b92508282101561553857615537615718565b5b828203905092915050565b600061554e82615597565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156155ee5780820151818401526020810190506155d3565b838111156155fd576000848401525b50505050565b6000600282049050600182168061561b57607f821691505b6020821081141561562f5761562e615776565b5b50919050565b61563e82615821565b810181811067ffffffffffffffff8211171561565d5761565c6157d4565b5b80604052505050565b6000615671826155b7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156a4576156a3615718565b5b600182019050919050565b60006156ba826156cb565b9050919050565b6000819050919050565b60006156d682615832565b9050919050565b6000819050919050565b60006156f2826155b7565b91506156fd836155b7565b92508261570d5761570c615747565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f484f544d2e6d696e743a204d696e74696e6720616d6f756e7420776f756c642060008201527f6578636565642077616c6c6574206c696d69742c207472792066657765720000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f484f544d2e746f67676c6547656e6465723a2047656e6465722073776170206960008201527f73206e6f74206c69766500000000000000000000000000000000000000000000602082015250565b7f484f544d2e6d696e743a205265616368656420746f6b656e206c696d6974207060008201527f65722077616c6c65740000000000000000000000000000000000000000000000602082015250565b7f484f544d2e52657665616c3a20416c72656164792052657665616c6564000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f484f544d2e736574526567656e743a204e6f20726567656e742072756c65732060008201527f666f726576657200000000000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b7f484f544d2e6465764d696e743a2043616e206f6e6c79206d696e742061206d7560008201527f6c7469706c65206f6620746865206d6178426174636853697a65000000000000602082015250565b7f484f544d2e6d696e743a20416c6c206865726f65732072656372756974656400600082015250565b7f484f544d2e70726573616c654d696e743a204d6f7265207468616e20616c6c6f60008201527f77656420647572696e672070726573616c650000000000000000000000000000602082015250565b7f484f544d2e746f67676c6547656e6465723a20596f7520617265206e6f74207460008201527f6865206f776e6572000000000000000000000000000000000000000000000000602082015250565b7f484f544d2e6d696e743a2057726f6e67207061796d656e7420616d6f756e7400600082015250565b7f484f544d2e6d696e743a205075626c69632073616c65206973206e6f74206c6960008201527f7665000000000000000000000000000000000000000000000000000000000000602082015250565b7f5f00000000000000000000000000000000000000000000000000000000000000600082015250565b7f484f544d2e70726573616c654d696e743a2041646472657373206e6f7420776860008201527f6974656c69737465640000000000000000000000000000000000000000000000602082015250565b7f484f544d2e6d696e743a204578636565646564206d696e74206c696d6974207060008201527f6572207472616e73616374696f6e000000000000000000000000000000000000602082015250565b7f484f544d2e70726573616c654d696e743a2057686974656c6973742073616c6560008201527f206973206e6f74206c6976650000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f484f544d2e676c6f62616c3a205468652063616c6c657220697320616e6f746860008201527f657220636f6e7472616374000000000000000000000000000000000000000000602082015250565b615d9381615543565b8114615d9e57600080fd5b50565b615daa81615555565b8114615db557600080fd5b50565b615dc181615561565b8114615dcc57600080fd5b50565b615dd88161556b565b8114615de357600080fd5b50565b615def816155b7565b8114615dfa57600080fd5b5056fe65616166616361313631663335303864646166613237303036383334653039313164316464393332663336353637663462363236636331333864336538623061a2646970667358221220ebdb898e09d59fa571093164b45f6b7617ece919b8e74cc97159864cb0c1553664736f6c6343000807003300000000000000000000000000000000000000000000000000000000000019c8000000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001900000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f6261666b7265696833667a7263676a786c646b677a666d35687173746570706a7479616c696e65376275336b376f61676b676834636972676c6f342e697066732e6e667473746f726167652e6c696e6b2f00000000000000
Deployed Bytecode
0x6080604052600436106103355760003560e01c806372d6e8a4116101ab578063a22cb465116100f7578063db4bec4411610095578063e3e1e8ef1161006f578063e3e1e8ef14610c11578063e985e9c514610c2d578063f2fde38b14610c6a578063fa54e5f514610c9357610335565b8063db4bec4414610b5a578063dc33e68114610b97578063e06d2eb514610bd457610335565b8063c87b56dd116100d1578063c87b56dd14610a9c578063cfe73e4c14610ad9578063d555654414610b04578063d5abeb0114610b2f57610335565b8063a22cb46514610a0d578063b88d4fde14610a36578063bed34bba14610a5f57610335565b806386be53d31161016457806394985ddd1161013e57806394985ddd1461097457806395d89b411461099d5780639ff3e976146109c8578063a0712d68146109f157610335565b806386be53d3146108f55780638da5cb5b146109205780639423ad261461094b57610335565b806372d6e8a4146107d357806375d7741b146107fc5780637ac98be1146108395780637b1b1de6146108645780637cb647591461088f5780638226c2e4146108b857610335565b80633f5e47411161028557806355f804b3116102235780636c0360eb116101fd5780636c0360eb1461072b5780636e5691771461075657806370a082311461077f578063715018a6146107bc57610335565b806355f804b31461069a5780635c1c7604146106c35780636352211e146106ee57610335565b80634586fb4e1161025f5780634586fb4e146105ee578063469132ce146106195780634970359214610644578063518302271461066f57610335565b80633f5e47411461057157806342842e0e1461059c57806342f0d313146105c557610335565b806323b872dd116102f2578063375a069a116102cc578063375a069a146104db5780633820e82214610504578063386bfc981461052f5780633ccfd60b1461055a57610335565b806323b872dd1461045e5780632913daa01461048757806335b845f0146104b257610335565b806301ffc9a71461033a57806306fdde0314610377578063081812fc146103a2578063095ea7b3146103df5780630f7309e81461040857806318160ddd14610433575b600080fd5b34801561034657600080fd5b50610361600480360381019061035c91906148a1565b610cbe565b60405161036e9190615023565b60405180910390f35b34801561038357600080fd5b5061038c610da0565b60405161039991906150c7565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c49190614a09565b610e32565b6040516103d69190614f7e565b60405180910390f35b3480156103eb57600080fd5b506104066004803603810190610401919061479a565b610eae565b005b34801561041457600080fd5b5061041d610fb9565b60405161042a91906150c7565b60405180910390f35b34801561043f57600080fd5b50610448610fd5565b6040516104559190615349565b60405180910390f35b34801561046a57600080fd5b5061048560048036038101906104809190614684565b610fec565b005b34801561049357600080fd5b5061049c610ffc565b6040516104a99190615349565b60405180910390f35b3480156104be57600080fd5b506104d960048036038101906104d49190614617565b611020565b005b3480156104e757600080fd5b5061050260048036038101906104fd9190614a09565b6111c7565b005b34801561051057600080fd5b506105196113a3565b6040516105269190615349565b60405180910390f35b34801561053b57600080fd5b506105446113a8565b604051610551919061503e565b60405180910390f35b34801561056657600080fd5b5061056f6113ae565b005b34801561057d57600080fd5b506105866115a7565b6040516105939190615023565b60405180910390f35b3480156105a857600080fd5b506105c360048036038101906105be9190614684565b6115ba565b005b3480156105d157600080fd5b506105ec60048036038101906105e791906147da565b6115da565b005b3480156105fa57600080fd5b50610603611673565b604051610610919061503e565b60405180910390f35b34801561062557600080fd5b5061062e611679565b60405161063b9190615349565b60405180910390f35b34801561065057600080fd5b5061065961167e565b6040516106669190615023565b60405180910390f35b34801561067b57600080fd5b50610684611691565b6040516106919190615023565b60405180910390f35b3480156106a657600080fd5b506106c160048036038101906106bc91906148fb565b6116a4565b005b3480156106cf57600080fd5b506106d8611736565b6040516106e59190615349565b60405180910390f35b3480156106fa57600080fd5b5061071560048036038101906107109190614a09565b61175a565b6040516107229190614f7e565b60405180910390f35b34801561073757600080fd5b50610740611770565b60405161074d91906150c7565b60405180910390f35b34801561076257600080fd5b5061077d60048036038101906107789190614a96565b6117fe565b005b34801561078b57600080fd5b506107a660048036038101906107a19190614617565b61188c565b6040516107b39190615349565b60405180910390f35b3480156107c857600080fd5b506107d161195c565b005b3480156107df57600080fd5b506107fa60048036038101906107f591906147da565b6119e4565b005b34801561080857600080fd5b50610823600480360381019061081e9190614948565b611a7d565b604051610830919061503e565b60405180910390f35b34801561084557600080fd5b5061084e611b77565b60405161085b9190615349565b60405180910390f35b34801561087057600080fd5b50610879611b7d565b6040516108869190615349565b60405180910390f35b34801561089b57600080fd5b506108b660048036038101906108b19190614834565b611ba1565b005b3480156108c457600080fd5b506108df60048036038101906108da9190614a09565b611c27565b6040516108ec9190615349565b60405180910390f35b34801561090157600080fd5b5061090a611c69565b6040516109179190615023565b60405180910390f35b34801561092c57600080fd5b50610935611c7c565b6040516109429190614f7e565b60405180910390f35b34801561095757600080fd5b50610972600480360381019061096d91906147da565b611ca6565b005b34801561098057600080fd5b5061099b60048036038101906109969190614861565b611d3f565b005b3480156109a957600080fd5b506109b2611ddb565b6040516109bf91906150c7565b60405180910390f35b3480156109d457600080fd5b506109ef60048036038101906109ea9190614a09565b611e6d565b005b610a0b6004803603810190610a069190614a09565b612020565b005b348015610a1957600080fd5b50610a346004803603810190610a2f919061475a565b6122ba565b005b348015610a4257600080fd5b50610a5d6004803603810190610a5891906146d7565b612432565b005b348015610a6b57600080fd5b50610a866004803603810190610a819190614991565b6124ae565b604051610a939190615023565b60405180910390f35b348015610aa857600080fd5b50610ac36004803603810190610abe9190614a09565b612507565b604051610ad091906150c7565b60405180910390f35b348015610ae557600080fd5b50610aee612665565b604051610afb9190615349565b60405180910390f35b348015610b1057600080fd5b50610b1961266a565b604051610b269190615349565b60405180910390f35b348015610b3b57600080fd5b50610b44612670565b604051610b519190615349565b60405180910390f35b348015610b6657600080fd5b50610b816004803603810190610b7c9190614617565b612694565b604051610b8e9190615349565b60405180910390f35b348015610ba357600080fd5b50610bbe6004803603810190610bb99190614617565b6126ac565b604051610bcb9190615349565b60405180910390f35b348015610be057600080fd5b50610bfb6004803603810190610bf69190614a09565b6126be565b604051610c0891906150c7565b60405180910390f35b610c2b6004803603810190610c269190614a36565b612806565b005b348015610c3957600080fd5b50610c546004803603810190610c4f9190614644565b612a81565b604051610c619190615023565b60405180910390f35b348015610c7657600080fd5b50610c916004803603810190610c8c9190614617565b612b15565b005b348015610c9f57600080fd5b50610ca8612c0d565b604051610cb59190615349565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d8957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d995750610d9882612c31565b5b9050919050565b606060028054610daf90615603565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddb90615603565b8015610e285780601f10610dfd57610100808354040283529160200191610e28565b820191906000526020600020905b815481529060010190602001808311610e0b57829003601f168201915b5050505050905090565b6000610e3d82612c9b565b610e73576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610eb98261175a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f21576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f40612ce9565b73ffffffffffffffffffffffffffffffffffffffff1614158015610f725750610f7081610f6b612ce9565b612a81565b155b15610fa9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fb4838383612cf1565b505050565b604051806060016040528060408152602001615dfe6040913981565b6000610fdf612da3565b6001546000540303905090565b610ff7838383612dac565b505050565b7f000000000000000000000000000000000000000000000000000000000000001981565b611028612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611046611c7c565b73ffffffffffffffffffffffffffffffffffffffff161461109c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109390615189565b60405180910390fd5b600260095414156110e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d990615309565b60405180910390fd5b6002600981905550601160049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561117b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611172906151a9565b60405180910390fd5b80601160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160098190555050565b6111cf612ce9565b73ffffffffffffffffffffffffffffffffffffffff166111ed611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614611243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123a90615189565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000019c88161126d610fd5565b611277919061542e565b11156112b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112af90615209565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000019826112e691906156e7565b14611326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131d906151e9565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000019826113549190615484565b905060005b8181101561139e5761138b337f0000000000000000000000000000000000000000000000000000000000000019613262565b808061139690615666565b915050611359565b505050565b600381565b600d5481565b6113b6612ce9565b73ffffffffffffffffffffffffffffffffffffffff166113d4611c7c565b73ffffffffffffffffffffffffffffffffffffffff161461142a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142190615189565b60405180910390fd5b60026009541415611470576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146790615309565b60405180910390fd5b6002600981905550611480611c7c565b73ffffffffffffffffffffffffffffffffffffffff16601160049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461155657601160049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc606460014761151f91906154b5565b6115299190615484565b9081150290604051600060405180830381858888f19350505050158015611554573d6000803e3d6000fd5b505b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561159c573d6000803e3d6000fd5b506001600981905550565b601160009054906101000a900460ff1681565b6115d583838360405180602001604052806000815250612432565b505050565b6115e2612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611600611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614611656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164d90615189565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b60135481565b600981565b601160029054906101000a900460ff1681565b601160039054906101000a900460ff1681565b6116ac612ce9565b73ffffffffffffffffffffffffffffffffffffffff166116ca611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614611720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171790615189565b60405180910390fd5b8181600f919061173192919061428c565b505050565b7f000000000000000000000000000000000000000000000000000000000000007d81565b600061176582613280565b600001519050919050565b600f805461177d90615603565b80601f01602080910402602001604051908101604052809291908181526020018280546117a990615603565b80156117f65780601f106117cb576101008083540402835291602001916117f6565b820191906000526020600020905b8154815290600101906020018083116117d957829003601f168201915b505050505081565b611806612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611824611c7c565b73ffffffffffffffffffffffffffffffffffffffff161461187a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187190615189565b60405180910390fd5b81601281905550806013819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118f4576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611964612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611982611c7c565b73ffffffffffffffffffffffffffffffffffffffff16146119d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cf90615189565b60405180910390fd5b6119e2600061350f565b565b6119ec612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611a0a611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614611a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5790615189565b60405180910390fd5b80601160026101000a81548160ff02191690831515021790555050565b6000611a87612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611aa5611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af290615189565b60405180910390fd5b601160039054906101000a900460ff1615611b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4290615169565b60405180910390fd5b81600f9080519060200190611b61929190614312565b50611b706013546012546135d5565b9050919050565b60125481565b7f00000000000000000000000000000000000000000000000000f8b0a10e47000081565b611ba9612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611bc7611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614611c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1490615189565b60405180910390fd5b80600d8190555050565b60007f00000000000000000000000000000000000000000000000000000000000019c8600c5483611c58919061542e565b611c6291906156e7565b9050919050565b601160019054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611cae612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611ccc611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614611d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1990615189565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b7f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc4906151c9565b60405180910390fd5b611dd78282613737565b5050565b606060038054611dea90615603565b80601f0160208091040260200160405190810160405280929190818152602001828054611e1690615603565b8015611e635780601f10611e3857610100808354040283529160200191611e63565b820191906000526020600020905b815481529060010190602001808311611e4657829003601f168201915b5050505050905090565b601160029054906101000a900460ff16611ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb390615129565b60405180910390fd5b611ec4612ce9565b73ffffffffffffffffffffffffffffffffffffffff16611ee38261175a565b73ffffffffffffffffffffffffffffffffffffffff1614611f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3090615249565b60405180910390fd5b611f80611f45826126be565b6040518060400160405280600481526020017f6d616c65000000000000000000000000000000000000000000000000000000008152506124ae565b611fbf576040518060400160405280600481526020017f6d616c6500000000000000000000000000000000000000000000000000000000815250611ff6565b6040518060400160405280600681526020017f66656d616c6500000000000000000000000000000000000000000000000000008152505b600b6000838152602001908152602001600020908051906020019061201c929190614312565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461208e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208590615329565b60405180910390fd5b80600061209a336126ac565b90507f00000000000000000000000000000000000000000000000000000000000019c8826120c6610fd5565b6120d0919061542e565b1115612111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210890615209565b60405180910390fd5b60098110612154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214b90615149565b60405180910390fd5b6000816009612163919061550f565b9050808311156121a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219f906150e9565b60405180910390fd5b60038311156121ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e3906152c9565b60405180910390fd5b83807f00000000000000000000000000000000000000000000000000f8b0a10e47000061221991906154b5565b341461225a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225190615269565b60405180910390fd5b601160009054906101000a900460ff166122a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a090615289565b60405180910390fd5b6122b33386613262565b5050505050565b6122c2612ce9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612327576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612334612ce9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166123e1612ce9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124269190615023565b60405180910390a35050565b61243d848484612dac565b61245c8373ffffffffffffffffffffffffffffffffffffffff166137d8565b8015612471575061246f848484846137fb565b155b156124a8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000816040516020016124c19190614f20565b60405160208183030381529060405280519060200120836040516020016124e89190614f20565b6040516020818303038152906040528051906020012014905092915050565b606061251282612c9b565b612548576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601160039054906101000a900460ff166125ee576010805461256990615603565b80601f016020809104026020016040519081016040528092919081815260200182805461259590615603565b80156125e25780601f106125b7576101008083540402835291602001916125e2565b820191906000526020600020905b8154815290600101906020018083116125c557829003601f168201915b50505050509050612660565b60006125f861395b565b9050600061260584611c27565b9050600082511415612626576040518060200160405280600081525061265b565b81612630826126be565b612639836139ed565b60405160200161264b93929190614f37565b6040516020818303038152906040525b925050505b919050565b600381565b600c5481565b7f00000000000000000000000000000000000000000000000000000000000019c881565b600e6020528060005260406000206000915090505481565b60006126b782613b4e565b9050919050565b60606126c982612c9b565b6126ff576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600b6000848152602001908152602001600020805461271f90615603565b90501415612762576040518060400160405280600481526020017f6d616c65000000000000000000000000000000000000000000000000000000008152506127ff565b600b6000838152602001908152602001600020805461278090615603565b80601f01602080910402602001604051908101604052809291908181526020018280546127ac90615603565b80156127f95780601f106127ce576101008083540402835291602001916127f9565b820191906000526020600020905b8154815290600101906020018083116127dc57829003601f168201915b50505050505b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286b90615329565b60405180910390fd5b601160019054906101000a900460ff166128c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ba906152e9565b60405180910390fd5b6000336040516020016128d69190614ed9565b60405160208183030381529060405280519060200120905061293c838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d5483613bb8565b61297b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612972906152a9565b60405180910390fd5b600384600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546129c8919061542e565b1115612a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0090615229565b60405180910390fd5b612a1284613bcf565b612a1b84613d33565b83600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a6a919061542e565b92505081905550612a7b3385613262565b50505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612b1d612ce9565b73ffffffffffffffffffffffffffffffffffffffff16612b3b611c7c565b73ffffffffffffffffffffffffffffffffffffffff1614612b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8890615189565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf890615109565b60405180910390fd5b612c0a8161350f565b50565b7f000000000000000000000000000000000000000000000000000000000000007d81565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612ca6612da3565b11158015612cb5575060005482105b8015612ce2575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612db782613280565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612e22576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612e43612ce9565b73ffffffffffffffffffffffffffffffffffffffff161480612e725750612e7185612e6c612ce9565b612a81565b5b80612eb75750612e80612ce9565b73ffffffffffffffffffffffffffffffffffffffff16612e9f84610e32565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612ef0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612f57576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f648585856001613da5565b612f7060008487612cf1565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156131f05760005482146131ef57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461325b8585856001613dab565b5050505050565b61327c828260405180602001604052806000815250613db1565b5050565b613288614398565b600082905080613296612da3565b111580156132a5575060005481105b156134d8576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516134d657600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146133ba57809250505061350a565b5b6001156134d557818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134d057809250505061350a565b6133bb565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795284866000604051602001613649929190615059565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161367693929190614fe5565b602060405180830381600087803b15801561369057600080fd5b505af11580156136a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136c89190614807565b5060006136eb84600030600a600089815260200190815260200160002054613dc3565b90506001600a60008681526020019081526020016000205461370d919061542e565b600a60008681526020019081526020016000208190555061372e8482613dff565b91505092915050565b601160039054906101000a900460ff1615613787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377e90615169565b60405180910390fd5b6001601160036101000a81548160ff0219169083151502179055507f00000000000000000000000000000000000000000000000000000000000019c8816137ce91906156e7565b600c819055505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613821612ce9565b8786866040518563ffffffff1660e01b81526004016138439493929190614f99565b602060405180830381600087803b15801561385d57600080fd5b505af192505050801561388e57506040513d601f19601f8201168201806040525081019061388b91906148ce565b60015b613908573d80600081146138be576040519150601f19603f3d011682016040523d82523d6000602084013e6138c3565b606091505b50600081511415613900576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f805461396a90615603565b80601f016020809104026020016040519081016040528092919081815260200182805461399690615603565b80156139e35780601f106139b8576101008083540402835291602001916139e3565b820191906000526020600020905b8154815290600101906020018083116139c657829003601f168201915b5050505050905090565b60606000821415613a35576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613b49565b600082905060005b60008214613a67578080613a5090615666565b915050600a82613a609190615484565b9150613a3d565b60008167ffffffffffffffff811115613a8357613a826157d4565b5b6040519080825280601f01601f191660200182016040528015613ab55781602001600182028036833780820191505090505b5090505b60008514613b4257600182613ace919061550f565b9150600a85613add91906156e7565b6030613ae9919061542e565b60f81b818381518110613aff57613afe6157a5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613b3b9190615484565b9450613ab9565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600082613bc58584613e32565b1490509392505050565b806000613bdb336126ac565b90507f00000000000000000000000000000000000000000000000000000000000019c882613c07610fd5565b613c11919061542e565b1115613c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c4990615209565b60405180910390fd5b60098110613c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c8c90615149565b60405180910390fd5b6000816009613ca4919061550f565b905080831115613ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ce0906150e9565b60405180910390fd5b6003831115613d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d24906152c9565b60405180910390fd5b50505050565b80807f00000000000000000000000000000000000000000000000000f8b0a10e470000613d6091906154b5565b3414613da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d9890615269565b60405180910390fd5b5050565b50505050565b50505050565b613dbe8383836001613ea7565b505050565b600084848484604051602001613ddc9493929190615082565b6040516020818303038152906040528051906020012060001c9050949350505050565b60008282604051602001613e14929190614ef4565b60405160208183030381529060405280519060200120905092915050565b60008082905060005b8451811015613e9c576000858281518110613e5957613e586157a5565b5b60200260200101519050808311613e7b57613e748382614275565b9250613e88565b613e858184614275565b92505b508080613e9490615666565b915050613e3b565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613f14576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613f4f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613f5c6000868387613da5565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561412657506141258773ffffffffffffffffffffffffffffffffffffffff166137d8565b5b156141ec575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461419b60008884806001019550886137fb565b6141d1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561412c5782600054146141e757600080fd5b614258565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156141ed575b81600081905550505061426e6000868387613dab565b5050505050565b600082600052816020526040600020905092915050565b82805461429890615603565b90600052602060002090601f0160209004810192826142ba5760008555614301565b82601f106142d357803560ff1916838001178555614301565b82800160010185558215614301579182015b828111156143005782358255916020019190600101906142e5565b5b50905061430e91906143db565b5090565b82805461431e90615603565b90600052602060002090601f0160209004810192826143405760008555614387565b82601f1061435957805160ff1916838001178555614387565b82800160010185558215614387579182015b8281111561438657825182559160200191906001019061436b565b5b50905061439491906143db565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156143f45760008160009055506001016143dc565b5090565b600061440b61440684615389565b615364565b90508281526020810184848401111561442757614426615812565b5b6144328482856155c1565b509392505050565b600061444d614448846153ba565b615364565b90508281526020810184848401111561446957614468615812565b5b6144748482856155c1565b509392505050565b60008135905061448b81615d8a565b92915050565b60008083601f8401126144a7576144a6615808565b5b8235905067ffffffffffffffff8111156144c4576144c3615803565b5b6020830191508360208202830111156144e0576144df61580d565b5b9250929050565b6000813590506144f681615da1565b92915050565b60008151905061450b81615da1565b92915050565b60008135905061452081615db8565b92915050565b60008135905061453581615dcf565b92915050565b60008151905061454a81615dcf565b92915050565b600082601f83011261456557614564615808565b5b81356145758482602086016143f8565b91505092915050565b60008083601f84011261459457614593615808565b5b8235905067ffffffffffffffff8111156145b1576145b0615803565b5b6020830191508360018202830111156145cd576145cc61580d565b5b9250929050565b600082601f8301126145e9576145e8615808565b5b81356145f984826020860161443a565b91505092915050565b60008135905061461181615de6565b92915050565b60006020828403121561462d5761462c61581c565b5b600061463b8482850161447c565b91505092915050565b6000806040838503121561465b5761465a61581c565b5b60006146698582860161447c565b925050602061467a8582860161447c565b9150509250929050565b60008060006060848603121561469d5761469c61581c565b5b60006146ab8682870161447c565b93505060206146bc8682870161447c565b92505060406146cd86828701614602565b9150509250925092565b600080600080608085870312156146f1576146f061581c565b5b60006146ff8782880161447c565b94505060206147108782880161447c565b935050604061472187828801614602565b925050606085013567ffffffffffffffff81111561474257614741615817565b5b61474e87828801614550565b91505092959194509250565b600080604083850312156147715761477061581c565b5b600061477f8582860161447c565b9250506020614790858286016144e7565b9150509250929050565b600080604083850312156147b1576147b061581c565b5b60006147bf8582860161447c565b92505060206147d085828601614602565b9150509250929050565b6000602082840312156147f0576147ef61581c565b5b60006147fe848285016144e7565b91505092915050565b60006020828403121561481d5761481c61581c565b5b600061482b848285016144fc565b91505092915050565b60006020828403121561484a5761484961581c565b5b600061485884828501614511565b91505092915050565b600080604083850312156148785761487761581c565b5b600061488685828601614511565b925050602061489785828601614602565b9150509250929050565b6000602082840312156148b7576148b661581c565b5b60006148c584828501614526565b91505092915050565b6000602082840312156148e4576148e361581c565b5b60006148f28482850161453b565b91505092915050565b600080602083850312156149125761491161581c565b5b600083013567ffffffffffffffff8111156149305761492f615817565b5b61493c8582860161457e565b92509250509250929050565b60006020828403121561495e5761495d61581c565b5b600082013567ffffffffffffffff81111561497c5761497b615817565b5b614988848285016145d4565b91505092915050565b600080604083850312156149a8576149a761581c565b5b600083013567ffffffffffffffff8111156149c6576149c5615817565b5b6149d2858286016145d4565b925050602083013567ffffffffffffffff8111156149f3576149f2615817565b5b6149ff858286016145d4565b9150509250929050565b600060208284031215614a1f57614a1e61581c565b5b6000614a2d84828501614602565b91505092915050565b600080600060408486031215614a4f57614a4e61581c565b5b6000614a5d86828701614602565b935050602084013567ffffffffffffffff811115614a7e57614a7d615817565b5b614a8a86828701614491565b92509250509250925092565b60008060408385031215614aad57614aac61581c565b5b6000614abb85828601614602565b9250506020614acc85828601614511565b9150509250929050565b614adf81615543565b82525050565b614af6614af182615543565b6156af565b82525050565b614b0581615555565b82525050565b614b1481615561565b82525050565b614b2b614b2682615561565b6156c1565b82525050565b6000614b3c826153eb565b614b468185615401565b9350614b568185602086016155d0565b614b5f81615821565b840191505092915050565b6000614b75826153f6565b614b7f8185615412565b9350614b8f8185602086016155d0565b614b9881615821565b840191505092915050565b6000614bae826153f6565b614bb88185615423565b9350614bc88185602086016155d0565b80840191505092915050565b6000614be1603e83615412565b9150614bec8261583f565b604082019050919050565b6000614c04602683615412565b9150614c0f8261588e565b604082019050919050565b6000614c27602a83615412565b9150614c32826158dd565b604082019050919050565b6000614c4a602983615412565b9150614c558261592c565b604082019050919050565b6000614c6d601d83615412565b9150614c788261597b565b602082019050919050565b6000614c90600583615423565b9150614c9b826159a4565b600582019050919050565b6000614cb3602083615412565b9150614cbe826159cd565b602082019050919050565b6000614cd6602783615412565b9150614ce1826159f6565b604082019050919050565b6000614cf9601f83615412565b9150614d0482615a45565b602082019050919050565b6000614d1c603a83615412565b9150614d2782615a6e565b604082019050919050565b6000614d3f601f83615412565b9150614d4a82615abd565b602082019050919050565b6000614d62603283615412565b9150614d6d82615ae6565b604082019050919050565b6000614d85602883615412565b9150614d9082615b35565b604082019050919050565b6000614da8601f83615412565b9150614db382615b84565b602082019050919050565b6000614dcb602283615412565b9150614dd682615bad565b604082019050919050565b6000614dee600183615423565b9150614df982615bfc565b600182019050919050565b6000614e11602983615412565b9150614e1c82615c25565b604082019050919050565b6000614e34602e83615412565b9150614e3f82615c74565b604082019050919050565b6000614e57602c83615412565b9150614e6282615cc3565b604082019050919050565b6000614e7a601f83615412565b9150614e8582615d12565b602082019050919050565b6000614e9d602b83615412565b9150614ea882615d3b565b604082019050919050565b614ebc816155b7565b82525050565b614ed3614ece826155b7565b6156dd565b82525050565b6000614ee58284614ae5565b60148201915081905092915050565b6000614f008285614b1a565b602082019150614f108284614ec2565b6020820191508190509392505050565b6000614f2c8284614ba3565b915081905092915050565b6000614f438286614ba3565b9150614f4f8285614ba3565b9150614f5a82614de1565b9150614f668284614ba3565b9150614f7182614c83565b9150819050949350505050565b6000602082019050614f936000830184614ad6565b92915050565b6000608082019050614fae6000830187614ad6565b614fbb6020830186614ad6565b614fc86040830185614eb3565b8181036060830152614fda8184614b31565b905095945050505050565b6000606082019050614ffa6000830186614ad6565b6150076020830185614eb3565b81810360408301526150198184614b31565b9050949350505050565b60006020820190506150386000830184614afc565b92915050565b60006020820190506150536000830184614b0b565b92915050565b600060408201905061506e6000830185614b0b565b61507b6020830184614eb3565b9392505050565b60006080820190506150976000830187614b0b565b6150a46020830186614eb3565b6150b16040830185614ad6565b6150be6060830184614eb3565b95945050505050565b600060208201905081810360008301526150e18184614b6a565b905092915050565b6000602082019050818103600083015261510281614bd4565b9050919050565b6000602082019050818103600083015261512281614bf7565b9050919050565b6000602082019050818103600083015261514281614c1a565b9050919050565b6000602082019050818103600083015261516281614c3d565b9050919050565b6000602082019050818103600083015261518281614c60565b9050919050565b600060208201905081810360008301526151a281614ca6565b9050919050565b600060208201905081810360008301526151c281614cc9565b9050919050565b600060208201905081810360008301526151e281614cec565b9050919050565b6000602082019050818103600083015261520281614d0f565b9050919050565b6000602082019050818103600083015261522281614d32565b9050919050565b6000602082019050818103600083015261524281614d55565b9050919050565b6000602082019050818103600083015261526281614d78565b9050919050565b6000602082019050818103600083015261528281614d9b565b9050919050565b600060208201905081810360008301526152a281614dbe565b9050919050565b600060208201905081810360008301526152c281614e04565b9050919050565b600060208201905081810360008301526152e281614e27565b9050919050565b6000602082019050818103600083015261530281614e4a565b9050919050565b6000602082019050818103600083015261532281614e6d565b9050919050565b6000602082019050818103600083015261534281614e90565b9050919050565b600060208201905061535e6000830184614eb3565b92915050565b600061536e61537f565b905061537a8282615635565b919050565b6000604051905090565b600067ffffffffffffffff8211156153a4576153a36157d4565b5b6153ad82615821565b9050602081019050919050565b600067ffffffffffffffff8211156153d5576153d46157d4565b5b6153de82615821565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615439826155b7565b9150615444836155b7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561547957615478615718565b5b828201905092915050565b600061548f826155b7565b915061549a836155b7565b9250826154aa576154a9615747565b5b828204905092915050565b60006154c0826155b7565b91506154cb836155b7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561550457615503615718565b5b828202905092915050565b600061551a826155b7565b9150615525836155b7565b92508282101561553857615537615718565b5b828203905092915050565b600061554e82615597565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156155ee5780820151818401526020810190506155d3565b838111156155fd576000848401525b50505050565b6000600282049050600182168061561b57607f821691505b6020821081141561562f5761562e615776565b5b50919050565b61563e82615821565b810181811067ffffffffffffffff8211171561565d5761565c6157d4565b5b80604052505050565b6000615671826155b7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156a4576156a3615718565b5b600182019050919050565b60006156ba826156cb565b9050919050565b6000819050919050565b60006156d682615832565b9050919050565b6000819050919050565b60006156f2826155b7565b91506156fd836155b7565b92508261570d5761570c615747565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f484f544d2e6d696e743a204d696e74696e6720616d6f756e7420776f756c642060008201527f6578636565642077616c6c6574206c696d69742c207472792066657765720000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f484f544d2e746f67676c6547656e6465723a2047656e6465722073776170206960008201527f73206e6f74206c69766500000000000000000000000000000000000000000000602082015250565b7f484f544d2e6d696e743a205265616368656420746f6b656e206c696d6974207060008201527f65722077616c6c65740000000000000000000000000000000000000000000000602082015250565b7f484f544d2e52657665616c3a20416c72656164792052657665616c6564000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f484f544d2e736574526567656e743a204e6f20726567656e742072756c65732060008201527f666f726576657200000000000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b7f484f544d2e6465764d696e743a2043616e206f6e6c79206d696e742061206d7560008201527f6c7469706c65206f6620746865206d6178426174636853697a65000000000000602082015250565b7f484f544d2e6d696e743a20416c6c206865726f65732072656372756974656400600082015250565b7f484f544d2e70726573616c654d696e743a204d6f7265207468616e20616c6c6f60008201527f77656420647572696e672070726573616c650000000000000000000000000000602082015250565b7f484f544d2e746f67676c6547656e6465723a20596f7520617265206e6f74207460008201527f6865206f776e6572000000000000000000000000000000000000000000000000602082015250565b7f484f544d2e6d696e743a2057726f6e67207061796d656e7420616d6f756e7400600082015250565b7f484f544d2e6d696e743a205075626c69632073616c65206973206e6f74206c6960008201527f7665000000000000000000000000000000000000000000000000000000000000602082015250565b7f5f00000000000000000000000000000000000000000000000000000000000000600082015250565b7f484f544d2e70726573616c654d696e743a2041646472657373206e6f7420776860008201527f6974656c69737465640000000000000000000000000000000000000000000000602082015250565b7f484f544d2e6d696e743a204578636565646564206d696e74206c696d6974207060008201527f6572207472616e73616374696f6e000000000000000000000000000000000000602082015250565b7f484f544d2e70726573616c654d696e743a2057686974656c6973742073616c6560008201527f206973206e6f74206c6976650000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f484f544d2e676c6f62616c3a205468652063616c6c657220697320616e6f746860008201527f657220636f6e7472616374000000000000000000000000000000000000000000602082015250565b615d9381615543565b8114615d9e57600080fd5b50565b615daa81615555565b8114615db557600080fd5b50565b615dc181615561565b8114615dcc57600080fd5b50565b615dd88161556b565b8114615de357600080fd5b50565b615def816155b7565b8114615dfa57600080fd5b5056fe65616166616361313631663335303864646166613237303036383334653039313164316464393332663336353637663462363236636331333864336538623061a2646970667358221220ebdb898e09d59fa571093164b45f6b7617ece919b8e74cc97159864cb0c1553664736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000019c8000000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001900000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f6261666b7265696833667a7263676a786c646b677a666d35687173746570706a7479616c696e65376275336b376f61676b676834636972676c6f342e697066732e6e667473746f726167652e6c696e6b2f00000000000000
-----Decoded View---------------
Arg [0] : _maxSupply (uint256): 6600
Arg [1] : _reservedForDevs (uint256): 125
Arg [2] : _reservedForProject (uint256): 125
Arg [3] : _maxBatchSize (uint256): 25
Arg [4] : _preRevealURI (string): https://bafkreih3fzrcgjxldkgzfm5hqsteppjtyaline7bu3k7oagkgh4cirglo4.ipfs.nftstorage.link/
Arg [5] : _vrfCoordinator (address): 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952
Arg [6] : _linkAddress (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000019c8
Arg [1] : 000000000000000000000000000000000000000000000000000000000000007d
Arg [2] : 000000000000000000000000000000000000000000000000000000000000007d
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [5] : 000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952
Arg [6] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000059
Arg [8] : 68747470733a2f2f6261666b7265696833667a7263676a786c646b677a666d35
Arg [9] : 687173746570706a7479616c696e65376275336b376f61676b67683463697267
Arg [10] : 6c6f342e697066732e6e667473746f726167652e6c696e6b2f00000000000000
Loading...
Loading
Loading...
Loading
OVERVIEW
Just a wasted, happy and sleepy Flynn.Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.