ERC-721
Overview
Max Total Supply
3,000 HIKIH
Holders
504
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 HIKIHLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HHearts
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed /* // .-'''-. // ' _ \ // . .--. . .--. . / /` '. \ . __.....__ // .'| |__| .'| |__| .'| . | \ ' .'| .-'' '. // < | .--. .' | .--. .' | | ' | ' < | / .-''"'-. `. .-,.--. .| // | | | |< | | |< | \ \ / / | | / /________\ \ __ | .-. | .' |_ // | | .'''-. | | | | ____| | | | ____`. ` ..' / | | .'''-. | | .:--.'. | | | | .' | _ // | |/.'''. \| | | | \ .'| | | | \ .' '-...-'` | |/.'''. \\ .-------------'/ | \ | | | | |'--. .-' .' | // | / | || | | |/ . | | | |/ . | / | | \ '-.____...---.`" __ | | | | '- | | . | / // | | | ||__| | /\ \|__| | /\ \ | | | | `. .' .'.''| | | | | | .'.'| |// // | | | | | | \ \ | | \ \ | | | | `''-...... -' / / | |_| | | '.'.'.'.-' / // | '. | '. ' \ \ \ ' \ \ \ | '. | '. \ \._,\ '/|_| | / .' \_.' // '---' '---' '------' '---''------' '---' '---' '---' `--' `" `'-' */ import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import 'erc721a/contracts/ERC721A.sol'; pragma solidity >=0.8.13 <0.9.0; contract HHearts is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; bytes32 public merkleRoot; string public uri; string public uriSuffix = ".json"; string public hiddenMetadataUri = "ipfs://CID/filename.json"; uint256 public price = 0.07 ether; uint256 public wlprice = .03 ether; uint256 public supplyLimit = 3000; uint256 public wlsupplyLimit = 3000; uint256 public maxMintAmountPerTx = 2000; uint256 public wlmaxMintAmountPerTx = 2000; uint256 public maxLimitPerWallet = 1000; uint256 public wlmaxLimitPerWallet = 1000; bool public whitelistSale = false; bool public publicSale = false; bool public revealed = true; mapping(address => uint256) public wlMintCount; mapping(address => uint256) public publicMintCount; uint256 public publicMinted; uint256 public wlMinted; constructor( string memory _uri ) ERC721A("Hikiko Hearts", "HIKIH") { seturi(_uri); } function WlMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable { require(whitelistSale, 'The WlSale is paused!'); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!'); require(_mintAmount > 0 && _mintAmount <= wlmaxMintAmountPerTx, 'Invalid mint amount!'); require(totalSupply() + _mintAmount <= wlsupplyLimit, 'Max supply exceeded!'); require(wlMintCount[msg.sender] + _mintAmount <= wlmaxLimitPerWallet, 'Max mint per wallet exceeded!'); require(msg.value >= wlprice * _mintAmount, 'Insufficient funds!'); _safeMint(_msgSender(), _mintAmount); wlMintCount[msg.sender] += _mintAmount; wlMinted += _mintAmount; } function PublicMint(uint256 _mintAmount) public payable { require(publicSale, 'The PublicSale is paused!'); require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, 'Invalid mint amount!'); require(totalSupply() + _mintAmount <= supplyLimit, 'Max supply exceeded!'); require(publicMintCount[msg.sender] + _mintAmount <= maxLimitPerWallet, 'Max mint per wallet exceeded!'); require(msg.value >= price * _mintAmount, 'Insufficient funds!'); _safeMint(_msgSender(), _mintAmount); publicMintCount[msg.sender] += _mintAmount; publicMinted += _mintAmount; } function OwnerMint(uint256 _mintAmount, address _receiver) public onlyOwner { require(totalSupply() + _mintAmount <= supplyLimit, 'Max supply exceeded!'); _safeMint(_receiver, _mintAmount); } function MassAirdrop(address[] calldata receivers) external onlyOwner { for (uint256 i; i < receivers.length; ++i) { require(totalSupply() + 1 <= supplyLimit, 'Max supply exceeded!'); _mint(receivers[i], 1); } } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function seturi(string memory _uri) public onlyOwner { uri = _uri; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setpublicSale(bool _publicSale) public onlyOwner { publicSale = _publicSale; } function setwlSale(bool _whitelistSale) public onlyOwner { whitelistSale = _whitelistSale; } function setwlMerkleRootHash(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setwlmaxMintAmountPerTx(uint256 _wlmaxMintAmountPerTx) public onlyOwner { wlmaxMintAmountPerTx = _wlmaxMintAmountPerTx; } function setmaxLimitPerWallet(uint256 _maxLimitPerWallet) public onlyOwner { maxLimitPerWallet = _maxLimitPerWallet; } function setwlmaxLimitPerWallet(uint256 _wlmaxLimitPerWallet) public onlyOwner { wlmaxLimitPerWallet = _wlmaxLimitPerWallet; } function setPrice(uint256 _price) public onlyOwner { price = _price; } function setwlPrice(uint256 _wlprice) public onlyOwner { wlprice = _wlprice; } function setsupplyLimit(uint256 _supplyLimit) public onlyOwner { supplyLimit = _supplyLimit; } function setwlsupplyLimit(uint256 _wlsupplyLimit) public onlyOwner { wlsupplyLimit = _wlsupplyLimit; } function withdraw() public onlyOwner nonReentrant { (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); } function tokensOfOwner(address owner) external view returns (uint256[] memory) { unchecked { uint256[] memory a = new uint256[](balanceOf(owner)); uint256 end = _nextTokenId(); uint256 tokenIdsIdx; address currOwnershipAddr; for (uint256 i; i < end; i++) { TokenOwnership memory ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { a[tokenIdsIdx++] = i; } } return a; } } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ''; } function _baseURI() internal view virtual override returns (string memory) { return uri; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _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 {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary 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 virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ 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, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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 { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @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 for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, 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. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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 { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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 _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree 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. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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 // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @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, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` 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 payable; /** * @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 payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// 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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"}],"name":"MassAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"OwnerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"PublicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"WlMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLimitPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","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":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxLimitPerWallet","type":"uint256"}],"name":"setmaxLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_publicSale","type":"bool"}],"name":"setpublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supplyLimit","type":"uint256"}],"name":"setsupplyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"seturi","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setwlMerkleRootHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlprice","type":"uint256"}],"name":"setwlPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_whitelistSale","type":"bool"}],"name":"setwlSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlmaxLimitPerWallet","type":"uint256"}],"name":"setwlmaxLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlmaxMintAmountPerTx","type":"uint256"}],"name":"setwlmaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlsupplyLimit","type":"uint256"}],"name":"setwlsupplyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wlMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlmaxLimitPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlmaxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlprice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlsupplyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600c90805190602001906200005192919062000412565b506040518060400160405280601881526020017f697066733a2f2f4349442f66696c656e616d652e6a736f6e0000000000000000815250600d90805190602001906200009f92919062000412565b5066f8b0a10e470000600e55666a94d74f430000600f55610bb8601055610bb86011556107d06012556107d06013556103e86014556103e86015556000601660006101000a81548160ff0219169083151502179055506000601660016101000a81548160ff0219169083151502179055506001601660026101000a81548160ff0219169083151502179055503480156200013857600080fd5b5060405162004cbf38038062004cbf83398181016040528101906200015e91906200065f565b6040518060400160405280600d81526020017f48696b696b6f20486561727473000000000000000000000000000000000000008152506040518060400160405280600581526020017f48494b49480000000000000000000000000000000000000000000000000000008152508160029080519060200190620001e292919062000412565b508060039080519060200190620001fb92919062000412565b506200020c6200025460201b60201c565b600081905550505062000234620002286200025d60201b60201c565b6200026560201b60201c565b60016009819055506200024d816200032b60201b60201c565b5062000797565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200033b6200035760201b60201c565b80600b90805190602001906200035392919062000412565b5050565b620003676200025d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200038d620003e860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003e6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003dd9062000711565b60405180910390fd5b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620004209062000762565b90600052602060002090601f01602090048101928262000444576000855562000490565b82601f106200045f57805160ff191683800117855562000490565b8280016001018555821562000490579182015b828111156200048f57825182559160200191906001019062000472565b5b5090506200049f9190620004a3565b5090565b5b80821115620004be576000816000905550600101620004a4565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200052b82620004e0565b810181811067ffffffffffffffff821117156200054d576200054c620004f1565b5b80604052505050565b600062000562620004c2565b905062000570828262000520565b919050565b600067ffffffffffffffff821115620005935762000592620004f1565b5b6200059e82620004e0565b9050602081019050919050565b60005b83811015620005cb578082015181840152602081019050620005ae565b83811115620005db576000848401525b50505050565b6000620005f8620005f28462000575565b62000556565b905082815260208101848484011115620006175762000616620004db565b5b62000624848285620005ab565b509392505050565b600082601f830112620006445762000643620004d6565b5b815162000656848260208601620005e1565b91505092915050565b600060208284031215620006785762000677620004cc565b5b600082015167ffffffffffffffff811115620006995762000698620004d1565b5b620006a7848285016200062c565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620006f9602083620006b0565b91506200070682620006c1565b602082019050919050565b600060208201905081810360008301526200072c81620006ea565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200077b57607f821691505b60208210810362000791576200079062000733565b5b50919050565b61451880620007a76000396000f3fe6080604052600436106103755760003560e01c8063715018a6116101d1578063a45ba8e711610102578063dc544ca7116100a0578063eac989f81161006f578063eac989f814610c5f578063f2cd579614610c8a578063f2fde38b14610cb5578063f648498014610cde57610375565b8063dc544ca714610ba5578063e0a8085314610bd0578063e35b0ab114610bf9578063e985e9c514610c2257610375565b8063b071401b116100dc578063b071401b14610afa578063b88d4fde14610b23578063c87b56dd14610b3f578063d9f0a67114610b7c57610375565b8063a45ba8e714610a7b578063a4f4f8af14610aa6578063abe37a9414610ad157610375565b806395d89b411161016f5780639fb17e34116101495780639fb17e34146109e2578063a035b1fe146109fe578063a22cb46514610a29578063a28b56f214610a5257610375565b806395d89b411461095157806396330b5f1461097c5780639cb257d0146109b957610375565b8063869194ac116101ab578063869194ac146108a75780638da5cb5b146108d257806391b7f5ed146108fd57806394354fd01461092657610375565b8063715018a61461082857806378d45eef1461083f5780638462151c1461086a57610375565b80633ccfd60b116102ab5780635503a0e81161024957806361efde221161022357806361efde22146107555780636352211e1461077157806370a08231146107ae57806370cad3aa146107eb57610375565b80635503a0e8146106d65780635a0b8b23146107015780635c22abd21461072c57610375565b8063463fb32311610285578063463fb3231461062e57806347d9569e146106595780634fdd43cb1461068257806351830227146106ab57610375565b80633ccfd60b146105d257806342842e0e146105e9578063454bb2a81461060557610375565b806318160ddd116103185780632eb4a7ab116102f25780632eb4a7ab146105285780632eba0dce1461055357806331ffd6f11461057c57806333bc1c5c146105a757610375565b806318160ddd146104b657806319d1997a146104e157806323b872dd1461050c57610375565b8063081812fc11610354578063081812fc1461040b578063095ea7b3146104485780630e13a7c01461046457806316ba10e01461048d57610375565b806275770a1461037a57806301ffc9a7146103a357806306fdde03146103e0575b600080fd5b34801561038657600080fd5b506103a1600480360381019061039c919061314a565b610d07565b005b3480156103af57600080fd5b506103ca60048036038101906103c591906131cf565b610d19565b6040516103d79190613217565b60405180910390f35b3480156103ec57600080fd5b506103f5610dab565b60405161040291906132cb565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d919061314a565b610e3d565b60405161043f919061332e565b60405180910390f35b610462600480360381019061045d9190613375565b610ebc565b005b34801561047057600080fd5b5061048b6004803603810190610486919061314a565b611000565b005b34801561049957600080fd5b506104b460048036038101906104af91906134ea565b611012565b005b3480156104c257600080fd5b506104cb611034565b6040516104d89190613542565b60405180910390f35b3480156104ed57600080fd5b506104f661104b565b6040516105039190613542565b60405180910390f35b6105266004803603810190610521919061355d565b611051565b005b34801561053457600080fd5b5061053d611373565b60405161054a91906135c9565b60405180910390f35b34801561055f57600080fd5b5061057a600480360381019061057591906135e4565b611379565b005b34801561058857600080fd5b506105916113e6565b60405161059e9190613217565b60405180910390f35b3480156105b357600080fd5b506105bc6113f9565b6040516105c99190613217565b60405180910390f35b3480156105de57600080fd5b506105e761140c565b005b61060360048036038101906105fe919061355d565b6114e9565b005b34801561061157600080fd5b5061062c6004803603810190610627919061314a565b611509565b005b34801561063a57600080fd5b5061064361151b565b6040516106509190613542565b60405180910390f35b34801561066557600080fd5b50610680600480360381019061067b9190613684565b611521565b005b34801561068e57600080fd5b506106a960048036038101906106a491906134ea565b6115d7565b005b3480156106b757600080fd5b506106c06115f9565b6040516106cd9190613217565b60405180910390f35b3480156106e257600080fd5b506106eb61160c565b6040516106f891906132cb565b60405180910390f35b34801561070d57600080fd5b5061071661169a565b6040516107239190613542565b60405180910390f35b34801561073857600080fd5b50610753600480360381019061074e91906136fd565b6116a0565b005b61076f600480360381019061076a9190613780565b6116c5565b005b34801561077d57600080fd5b506107986004803603810190610793919061314a565b6119e0565b6040516107a5919061332e565b60405180910390f35b3480156107ba57600080fd5b506107d560048036038101906107d091906137e0565b6119f2565b6040516107e29190613542565b60405180910390f35b3480156107f757600080fd5b50610812600480360381019061080d91906137e0565b611aaa565b60405161081f9190613542565b60405180910390f35b34801561083457600080fd5b5061083d611ac2565b005b34801561084b57600080fd5b50610854611ad6565b6040516108619190613542565b60405180910390f35b34801561087657600080fd5b50610891600480360381019061088c91906137e0565b611adc565b60405161089e91906138cb565b60405180910390f35b3480156108b357600080fd5b506108bc611c20565b6040516108c99190613542565b60405180910390f35b3480156108de57600080fd5b506108e7611c26565b6040516108f4919061332e565b60405180910390f35b34801561090957600080fd5b50610924600480360381019061091f919061314a565b611c50565b005b34801561093257600080fd5b5061093b611c62565b6040516109489190613542565b60405180910390f35b34801561095d57600080fd5b50610966611c68565b60405161097391906132cb565b60405180910390f35b34801561098857600080fd5b506109a3600480360381019061099e91906137e0565b611cfa565b6040516109b09190613542565b60405180910390f35b3480156109c557600080fd5b506109e060048036038101906109db91906136fd565b611d12565b005b6109fc60048036038101906109f7919061314a565b611d37565b005b348015610a0a57600080fd5b50610a13611f90565b604051610a209190613542565b60405180910390f35b348015610a3557600080fd5b50610a506004803603810190610a4b91906138ed565b611f96565b005b348015610a5e57600080fd5b50610a796004803603810190610a749190613959565b6120a1565b005b348015610a8757600080fd5b50610a906120b3565b604051610a9d91906132cb565b60405180910390f35b348015610ab257600080fd5b50610abb612141565b604051610ac89190613542565b60405180910390f35b348015610add57600080fd5b50610af86004803603810190610af3919061314a565b612147565b005b348015610b0657600080fd5b50610b216004803603810190610b1c919061314a565b612159565b005b610b3d6004803603810190610b389190613a27565b61216b565b005b348015610b4b57600080fd5b50610b666004803603810190610b61919061314a565b6121de565b604051610b7391906132cb565b60405180910390f35b348015610b8857600080fd5b50610ba36004803603810190610b9e919061314a565b612336565b005b348015610bb157600080fd5b50610bba612348565b604051610bc79190613542565b60405180910390f35b348015610bdc57600080fd5b50610bf76004803603810190610bf291906136fd565b61234e565b005b348015610c0557600080fd5b50610c206004803603810190610c1b919061314a565b612373565b005b348015610c2e57600080fd5b50610c496004803603810190610c449190613aaa565b612385565b604051610c569190613217565b60405180910390f35b348015610c6b57600080fd5b50610c74612419565b604051610c8191906132cb565b60405180910390f35b348015610c9657600080fd5b50610c9f6124a7565b604051610cac9190613542565b60405180910390f35b348015610cc157600080fd5b50610cdc6004803603810190610cd791906137e0565b6124ad565b005b348015610cea57600080fd5b50610d056004803603810190610d0091906134ea565b612530565b005b610d0f612552565b8060108190555050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d7457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610da45750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610dba90613b19565b80601f0160208091040260200160405190810160405280929190818152602001828054610de690613b19565b8015610e335780601f10610e0857610100808354040283529160200191610e33565b820191906000526020600020905b815481529060010190602001808311610e1657829003601f168201915b5050505050905090565b6000610e48826125d0565b610e7e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ec7826119e0565b90508073ffffffffffffffffffffffffffffffffffffffff16610ee861262f565b73ffffffffffffffffffffffffffffffffffffffff1614610f4b57610f1481610f0f61262f565b612385565b610f4a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611008612552565b80600f8190555050565b61101a612552565b80600c908051906020019061103092919061300e565b5050565b600061103e612637565b6001546000540303905090565b60105481565b600061105c82612640565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110c3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806110cf8461270c565b915091506110e581876110e061262f565b612733565b611131576110fa866110f561262f565b612385565b611130576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611197576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111a48686866001612777565b80156111af57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061127d8561125988888761277d565b7c0200000000000000000000000000000000000000000000000000000000176127a5565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036113035760006001850190506000600460008381526020019081526020016000205403611301576000548114611300578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461136b86868660016127d0565b505050505050565b600a5481565b611381612552565b6010548261138d611034565b6113979190613b79565b11156113d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cf90613c1b565b60405180910390fd5b6113e281836127d6565b5050565b601660009054906101000a900460ff1681565b601660019054906101000a900460ff1681565b611414612552565b600260095403611459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145090613c87565b60405180910390fd5b6002600981905550600061146b611c26565b73ffffffffffffffffffffffffffffffffffffffff164760405161148e90613cd8565b60006040518083038185875af1925050503d80600081146114cb576040519150601f19603f3d011682016040523d82523d6000602084013e6114d0565b606091505b50509050806114de57600080fd5b506001600981905550565b6115048383836040518060200160405280600081525061216b565b505050565b611511612552565b8060158190555050565b601a5481565b611529612552565b60005b828290508110156115d2576010546001611544611034565b61154e9190613b79565b111561158f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158690613c1b565b60405180910390fd5b6115c18383838181106115a5576115a4613ced565b5b90506020020160208101906115ba91906137e0565b60016127f4565b806115cb90613d1c565b905061152c565b505050565b6115df612552565b80600d90805190602001906115f592919061300e565b5050565b601660029054906101000a900460ff1681565b600c805461161990613b19565b80601f016020809104026020016040519081016040528092919081815260200182805461164590613b19565b80156116925780601f1061166757610100808354040283529160200191611692565b820191906000526020600020905b81548152906001019060200180831161167557829003601f168201915b505050505081565b60145481565b6116a8612552565b80601660016101000a81548160ff02191690831515021790555050565b601660009054906101000a900460ff16611714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170b90613db0565b60405180910390fd5b600061171e6129af565b60405160200161172e9190613e18565b604051602081830303815290604052805190602001209050611794838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a54836129b7565b6117d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ca90613e7f565b60405180910390fd5b6000841180156117e557506013548411155b611824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181b90613eeb565b60405180910390fd5b60115484611830611034565b61183a9190613b79565b111561187b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187290613c1b565b60405180910390fd5b60155484601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118c99190613b79565b111561190a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190190613f57565b60405180910390fd5b83600f546119189190613f77565b34101561195a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119519061401d565b60405180910390fd5b61196b6119656129af565b856127d6565b83601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119ba9190613b79565b9250508190555083601a60008282546119d39190613b79565b9250508190555050505050565b60006119eb82612640565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a59576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b60176020528060005260406000206000915090505481565b611aca612552565b611ad460006129ce565b565b60115481565b60606000611ae9836119f2565b67ffffffffffffffff811115611b0257611b016133bf565b5b604051908082528060200260200182016040528015611b305781602001602082028036833780820191505090505b5090506000611b3d612a94565b905060008060005b83811015611c13576000611b5882612a9d565b9050806040015115611b6a5750611c06565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611baa57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c045781868580600101965081518110611bf757611bf6613ced565b5b6020026020010181815250505b505b8080600101915050611b45565b5083945050505050919050565b60155481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611c58612552565b80600e8190555050565b60125481565b606060038054611c7790613b19565b80601f0160208091040260200160405190810160405280929190818152602001828054611ca390613b19565b8015611cf05780601f10611cc557610100808354040283529160200191611cf0565b820191906000526020600020905b815481529060010190602001808311611cd357829003601f168201915b5050505050905090565b60186020528060005260406000206000915090505481565b611d1a612552565b80601660006101000a81548160ff02191690831515021790555050565b601660019054906101000a900460ff16611d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7d90614089565b60405180910390fd5b600081118015611d9857506012548111155b611dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dce90613eeb565b60405180910390fd5b60105481611de3611034565b611ded9190613b79565b1115611e2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2590613c1b565b60405180910390fd5b60145481601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e7c9190613b79565b1115611ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb490613f57565b60405180910390fd5b80600e54611ecb9190613f77565b341015611f0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f049061401d565b60405180910390fd5b611f1e611f186129af565b826127d6565b80601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f6d9190613b79565b925050819055508060196000828254611f869190613b79565b9250508190555050565b600e5481565b8060076000611fa361262f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661205061262f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120959190613217565b60405180910390a35050565b6120a9612552565b80600a8190555050565b600d80546120c090613b19565b80601f01602080910402602001604051908101604052809291908181526020018280546120ec90613b19565b80156121395780601f1061210e57610100808354040283529160200191612139565b820191906000526020600020905b81548152906001019060200180831161211c57829003601f168201915b505050505081565b60195481565b61214f612552565b8060138190555050565b612161612552565b8060128190555050565b612176848484611051565b60008373ffffffffffffffffffffffffffffffffffffffff163b146121d8576121a184848484612ac8565b6121d7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606121e9826125d0565b612228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221f9061411b565b60405180910390fd5b60001515601660029054906101000a900460ff161515036122d557600d805461225090613b19565b80601f016020809104026020016040519081016040528092919081815260200182805461227c90613b19565b80156122c95780601f1061229e576101008083540402835291602001916122c9565b820191906000526020600020905b8154815290600101906020018083116122ac57829003601f168201915b50505050509050612331565b60006122df612c18565b905060008151116122ff576040518060200160405280600081525061232d565b8061230984612caa565b600c60405160200161231d9392919061420b565b6040516020818303038152906040525b9150505b919050565b61233e612552565b8060148190555050565b600f5481565b612356612552565b80601660026101000a81548160ff02191690831515021790555050565b61237b612552565b8060118190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b805461242690613b19565b80601f016020809104026020016040519081016040528092919081815260200182805461245290613b19565b801561249f5780601f106124745761010080835404028352916020019161249f565b820191906000526020600020905b81548152906001019060200180831161248257829003601f168201915b505050505081565b60135481565b6124b5612552565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251b906142ae565b60405180910390fd5b61252d816129ce565b50565b612538612552565b80600b908051906020019061254e92919061300e565b5050565b61255a6129af565b73ffffffffffffffffffffffffffffffffffffffff16612578611c26565b73ffffffffffffffffffffffffffffffffffffffff16146125ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c59061431a565b60405180910390fd5b565b6000816125db612637565b111580156125ea575060005482105b8015612628575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b6000808290508061264f612637565b116126d5576000548110156126d45760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036126d2575b600081036126c857600460008360019003935083815260200190815260200160002054905061269e565b8092505050612707565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612794868684612e0a565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6127f0828260405180602001604052806000815250612e13565b5050565b60008054905060008203612834576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128416000848385612777565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506128b8836128a9600086600061277d565b6128b285612eb0565b176127a5565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461295957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061291e565b5060008203612994576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506129aa60008483856127d0565b505050565b600033905090565b6000826129c48584612ec0565b1490509392505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905090565b612aa5613094565b612ac16004600084815260200190815260200160002054612f16565b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612aee61262f565b8786866040518563ffffffff1660e01b8152600401612b10949392919061438f565b6020604051808303816000875af1925050508015612b4c57506040513d601f19601f82011682018060405250810190612b4991906143f0565b60015b612bc5573d8060008114612b7c576040519150601f19603f3d011682016040523d82523d6000602084013e612b81565b606091505b506000815103612bbd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b8054612c2790613b19565b80601f0160208091040260200160405190810160405280929190818152602001828054612c5390613b19565b8015612ca05780601f10612c7557610100808354040283529160200191612ca0565b820191906000526020600020905b815481529060010190602001808311612c8357829003601f168201915b5050505050905090565b606060008203612cf1576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e05565b600082905060005b60008214612d23578080612d0c90613d1c565b915050600a82612d1c919061444c565b9150612cf9565b60008167ffffffffffffffff811115612d3f57612d3e6133bf565b5b6040519080825280601f01601f191660200182016040528015612d715781602001600182028036833780820191505090505b5090505b60008514612dfe57600182612d8a919061447d565b9150600a85612d9991906144b1565b6030612da59190613b79565b60f81b818381518110612dbb57612dba613ced565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612df7919061444c565b9450612d75565b8093505050505b919050565b60009392505050565b612e1d83836127f4565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612eab57600080549050600083820390505b612e5d6000868380600101945086612ac8565b612e93576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612e4a578160005414612ea857600080fd5b50505b505050565b60006001821460e11b9050919050565b60008082905060005b8451811015612f0b57612ef682868381518110612ee957612ee8613ced565b5b6020026020010151612fcc565b91508080612f0390613d1c565b915050612ec9565b508091505092915050565b612f1e613094565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b6000818310612fe457612fdf8284612ff7565b612fef565b612fee8383612ff7565b5b905092915050565b600082600052816020526040600020905092915050565b82805461301a90613b19565b90600052602060002090601f01602090048101928261303c5760008555613083565b82601f1061305557805160ff1916838001178555613083565b82800160010185558215613083579182015b82811115613082578251825591602001919060010190613067565b5b50905061309091906130e3565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b808211156130fc5760008160009055506001016130e4565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61312781613114565b811461313257600080fd5b50565b6000813590506131448161311e565b92915050565b6000602082840312156131605761315f61310a565b5b600061316e84828501613135565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131ac81613177565b81146131b757600080fd5b50565b6000813590506131c9816131a3565b92915050565b6000602082840312156131e5576131e461310a565b5b60006131f3848285016131ba565b91505092915050565b60008115159050919050565b613211816131fc565b82525050565b600060208201905061322c6000830184613208565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561326c578082015181840152602081019050613251565b8381111561327b576000848401525b50505050565b6000601f19601f8301169050919050565b600061329d82613232565b6132a7818561323d565b93506132b781856020860161324e565b6132c081613281565b840191505092915050565b600060208201905081810360008301526132e58184613292565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613318826132ed565b9050919050565b6133288161330d565b82525050565b6000602082019050613343600083018461331f565b92915050565b6133528161330d565b811461335d57600080fd5b50565b60008135905061336f81613349565b92915050565b6000806040838503121561338c5761338b61310a565b5b600061339a85828601613360565b92505060206133ab85828601613135565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6133f782613281565b810181811067ffffffffffffffff82111715613416576134156133bf565b5b80604052505050565b6000613429613100565b905061343582826133ee565b919050565b600067ffffffffffffffff821115613455576134546133bf565b5b61345e82613281565b9050602081019050919050565b82818337600083830152505050565b600061348d6134888461343a565b61341f565b9050828152602081018484840111156134a9576134a86133ba565b5b6134b484828561346b565b509392505050565b600082601f8301126134d1576134d06133b5565b5b81356134e184826020860161347a565b91505092915050565b600060208284031215613500576134ff61310a565b5b600082013567ffffffffffffffff81111561351e5761351d61310f565b5b61352a848285016134bc565b91505092915050565b61353c81613114565b82525050565b60006020820190506135576000830184613533565b92915050565b6000806000606084860312156135765761357561310a565b5b600061358486828701613360565b935050602061359586828701613360565b92505060406135a686828701613135565b9150509250925092565b6000819050919050565b6135c3816135b0565b82525050565b60006020820190506135de60008301846135ba565b92915050565b600080604083850312156135fb576135fa61310a565b5b600061360985828601613135565b925050602061361a85828601613360565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613644576136436133b5565b5b8235905067ffffffffffffffff81111561366157613660613624565b5b60208301915083602082028301111561367d5761367c613629565b5b9250929050565b6000806020838503121561369b5761369a61310a565b5b600083013567ffffffffffffffff8111156136b9576136b861310f565b5b6136c58582860161362e565b92509250509250929050565b6136da816131fc565b81146136e557600080fd5b50565b6000813590506136f7816136d1565b92915050565b6000602082840312156137135761371261310a565b5b6000613721848285016136e8565b91505092915050565b60008083601f8401126137405761373f6133b5565b5b8235905067ffffffffffffffff81111561375d5761375c613624565b5b60208301915083602082028301111561377957613778613629565b5b9250929050565b6000806000604084860312156137995761379861310a565b5b60006137a786828701613135565b935050602084013567ffffffffffffffff8111156137c8576137c761310f565b5b6137d48682870161372a565b92509250509250925092565b6000602082840312156137f6576137f561310a565b5b600061380484828501613360565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61384281613114565b82525050565b60006138548383613839565b60208301905092915050565b6000602082019050919050565b60006138788261380d565b6138828185613818565b935061388d83613829565b8060005b838110156138be5781516138a58882613848565b97506138b083613860565b925050600181019050613891565b5085935050505092915050565b600060208201905081810360008301526138e5818461386d565b905092915050565b600080604083850312156139045761390361310a565b5b600061391285828601613360565b9250506020613923858286016136e8565b9150509250929050565b613936816135b0565b811461394157600080fd5b50565b6000813590506139538161392d565b92915050565b60006020828403121561396f5761396e61310a565b5b600061397d84828501613944565b91505092915050565b600067ffffffffffffffff8211156139a1576139a06133bf565b5b6139aa82613281565b9050602081019050919050565b60006139ca6139c584613986565b61341f565b9050828152602081018484840111156139e6576139e56133ba565b5b6139f184828561346b565b509392505050565b600082601f830112613a0e57613a0d6133b5565b5b8135613a1e8482602086016139b7565b91505092915050565b60008060008060808587031215613a4157613a4061310a565b5b6000613a4f87828801613360565b9450506020613a6087828801613360565b9350506040613a7187828801613135565b925050606085013567ffffffffffffffff811115613a9257613a9161310f565b5b613a9e878288016139f9565b91505092959194509250565b60008060408385031215613ac157613ac061310a565b5b6000613acf85828601613360565b9250506020613ae085828601613360565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b3157607f821691505b602082108103613b4457613b43613aea565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b8482613114565b9150613b8f83613114565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613bc457613bc3613b4a565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000613c0560148361323d565b9150613c1082613bcf565b602082019050919050565b60006020820190508181036000830152613c3481613bf8565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613c71601f8361323d565b9150613c7c82613c3b565b602082019050919050565b60006020820190508181036000830152613ca081613c64565b9050919050565b600081905092915050565b50565b6000613cc2600083613ca7565b9150613ccd82613cb2565b600082019050919050565b6000613ce382613cb5565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613d2782613114565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613d5957613d58613b4a565b5b600182019050919050565b7f54686520576c53616c6520697320706175736564210000000000000000000000600082015250565b6000613d9a60158361323d565b9150613da582613d64565b602082019050919050565b60006020820190508181036000830152613dc981613d8d565b9050919050565b60008160601b9050919050565b6000613de882613dd0565b9050919050565b6000613dfa82613ddd565b9050919050565b613e12613e0d8261330d565b613def565b82525050565b6000613e248284613e01565b60148201915081905092915050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b6000613e69600e8361323d565b9150613e7482613e33565b602082019050919050565b60006020820190508181036000830152613e9881613e5c565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000613ed560148361323d565b9150613ee082613e9f565b602082019050919050565b60006020820190508181036000830152613f0481613ec8565b9050919050565b7f4d6178206d696e74207065722077616c6c657420657863656564656421000000600082015250565b6000613f41601d8361323d565b9150613f4c82613f0b565b602082019050919050565b60006020820190508181036000830152613f7081613f34565b9050919050565b6000613f8282613114565b9150613f8d83613114565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613fc657613fc5613b4a565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b600061400760138361323d565b915061401282613fd1565b602082019050919050565b6000602082019050818103600083015261403681613ffa565b9050919050565b7f546865205075626c696353616c65206973207061757365642100000000000000600082015250565b600061407360198361323d565b915061407e8261403d565b602082019050919050565b600060208201905081810360008301526140a281614066565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614105602f8361323d565b9150614110826140a9565b604082019050919050565b60006020820190508181036000830152614134816140f8565b9050919050565b600081905092915050565b600061415182613232565b61415b818561413b565b935061416b81856020860161324e565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461419981613b19565b6141a3818661413b565b945060018216600081146141be57600181146141cf57614202565b60ff19831686528186019350614202565b6141d885614177565b60005b838110156141fa578154818901526001820191506020810190506141db565b838801955050505b50505092915050565b60006142178286614146565b91506142238285614146565b915061422f828461418c565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061429860268361323d565b91506142a38261423c565b604082019050919050565b600060208201905081810360008301526142c78161428b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061430460208361323d565b915061430f826142ce565b602082019050919050565b60006020820190508181036000830152614333816142f7565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006143618261433a565b61436b8185614345565b935061437b81856020860161324e565b61438481613281565b840191505092915050565b60006080820190506143a4600083018761331f565b6143b1602083018661331f565b6143be6040830185613533565b81810360608301526143d08184614356565b905095945050505050565b6000815190506143ea816131a3565b92915050565b6000602082840312156144065761440561310a565b5b6000614414848285016143db565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061445782613114565b915061446283613114565b9250826144725761447161441d565b5b828204905092915050565b600061448882613114565b915061449383613114565b9250828210156144a6576144a5613b4a565b5b828203905092915050565b60006144bc82613114565b91506144c783613114565b9250826144d7576144d661441d565b5b82820690509291505056fea264697066735822122029ecb9fa174687c6774f9441d5710fb939e9cc0c6fffa87d6b339320e98c6ab164736f6c634300080d00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a636f6d696e67736f6f6e00000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103755760003560e01c8063715018a6116101d1578063a45ba8e711610102578063dc544ca7116100a0578063eac989f81161006f578063eac989f814610c5f578063f2cd579614610c8a578063f2fde38b14610cb5578063f648498014610cde57610375565b8063dc544ca714610ba5578063e0a8085314610bd0578063e35b0ab114610bf9578063e985e9c514610c2257610375565b8063b071401b116100dc578063b071401b14610afa578063b88d4fde14610b23578063c87b56dd14610b3f578063d9f0a67114610b7c57610375565b8063a45ba8e714610a7b578063a4f4f8af14610aa6578063abe37a9414610ad157610375565b806395d89b411161016f5780639fb17e34116101495780639fb17e34146109e2578063a035b1fe146109fe578063a22cb46514610a29578063a28b56f214610a5257610375565b806395d89b411461095157806396330b5f1461097c5780639cb257d0146109b957610375565b8063869194ac116101ab578063869194ac146108a75780638da5cb5b146108d257806391b7f5ed146108fd57806394354fd01461092657610375565b8063715018a61461082857806378d45eef1461083f5780638462151c1461086a57610375565b80633ccfd60b116102ab5780635503a0e81161024957806361efde221161022357806361efde22146107555780636352211e1461077157806370a08231146107ae57806370cad3aa146107eb57610375565b80635503a0e8146106d65780635a0b8b23146107015780635c22abd21461072c57610375565b8063463fb32311610285578063463fb3231461062e57806347d9569e146106595780634fdd43cb1461068257806351830227146106ab57610375565b80633ccfd60b146105d257806342842e0e146105e9578063454bb2a81461060557610375565b806318160ddd116103185780632eb4a7ab116102f25780632eb4a7ab146105285780632eba0dce1461055357806331ffd6f11461057c57806333bc1c5c146105a757610375565b806318160ddd146104b657806319d1997a146104e157806323b872dd1461050c57610375565b8063081812fc11610354578063081812fc1461040b578063095ea7b3146104485780630e13a7c01461046457806316ba10e01461048d57610375565b806275770a1461037a57806301ffc9a7146103a357806306fdde03146103e0575b600080fd5b34801561038657600080fd5b506103a1600480360381019061039c919061314a565b610d07565b005b3480156103af57600080fd5b506103ca60048036038101906103c591906131cf565b610d19565b6040516103d79190613217565b60405180910390f35b3480156103ec57600080fd5b506103f5610dab565b60405161040291906132cb565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d919061314a565b610e3d565b60405161043f919061332e565b60405180910390f35b610462600480360381019061045d9190613375565b610ebc565b005b34801561047057600080fd5b5061048b6004803603810190610486919061314a565b611000565b005b34801561049957600080fd5b506104b460048036038101906104af91906134ea565b611012565b005b3480156104c257600080fd5b506104cb611034565b6040516104d89190613542565b60405180910390f35b3480156104ed57600080fd5b506104f661104b565b6040516105039190613542565b60405180910390f35b6105266004803603810190610521919061355d565b611051565b005b34801561053457600080fd5b5061053d611373565b60405161054a91906135c9565b60405180910390f35b34801561055f57600080fd5b5061057a600480360381019061057591906135e4565b611379565b005b34801561058857600080fd5b506105916113e6565b60405161059e9190613217565b60405180910390f35b3480156105b357600080fd5b506105bc6113f9565b6040516105c99190613217565b60405180910390f35b3480156105de57600080fd5b506105e761140c565b005b61060360048036038101906105fe919061355d565b6114e9565b005b34801561061157600080fd5b5061062c6004803603810190610627919061314a565b611509565b005b34801561063a57600080fd5b5061064361151b565b6040516106509190613542565b60405180910390f35b34801561066557600080fd5b50610680600480360381019061067b9190613684565b611521565b005b34801561068e57600080fd5b506106a960048036038101906106a491906134ea565b6115d7565b005b3480156106b757600080fd5b506106c06115f9565b6040516106cd9190613217565b60405180910390f35b3480156106e257600080fd5b506106eb61160c565b6040516106f891906132cb565b60405180910390f35b34801561070d57600080fd5b5061071661169a565b6040516107239190613542565b60405180910390f35b34801561073857600080fd5b50610753600480360381019061074e91906136fd565b6116a0565b005b61076f600480360381019061076a9190613780565b6116c5565b005b34801561077d57600080fd5b506107986004803603810190610793919061314a565b6119e0565b6040516107a5919061332e565b60405180910390f35b3480156107ba57600080fd5b506107d560048036038101906107d091906137e0565b6119f2565b6040516107e29190613542565b60405180910390f35b3480156107f757600080fd5b50610812600480360381019061080d91906137e0565b611aaa565b60405161081f9190613542565b60405180910390f35b34801561083457600080fd5b5061083d611ac2565b005b34801561084b57600080fd5b50610854611ad6565b6040516108619190613542565b60405180910390f35b34801561087657600080fd5b50610891600480360381019061088c91906137e0565b611adc565b60405161089e91906138cb565b60405180910390f35b3480156108b357600080fd5b506108bc611c20565b6040516108c99190613542565b60405180910390f35b3480156108de57600080fd5b506108e7611c26565b6040516108f4919061332e565b60405180910390f35b34801561090957600080fd5b50610924600480360381019061091f919061314a565b611c50565b005b34801561093257600080fd5b5061093b611c62565b6040516109489190613542565b60405180910390f35b34801561095d57600080fd5b50610966611c68565b60405161097391906132cb565b60405180910390f35b34801561098857600080fd5b506109a3600480360381019061099e91906137e0565b611cfa565b6040516109b09190613542565b60405180910390f35b3480156109c557600080fd5b506109e060048036038101906109db91906136fd565b611d12565b005b6109fc60048036038101906109f7919061314a565b611d37565b005b348015610a0a57600080fd5b50610a13611f90565b604051610a209190613542565b60405180910390f35b348015610a3557600080fd5b50610a506004803603810190610a4b91906138ed565b611f96565b005b348015610a5e57600080fd5b50610a796004803603810190610a749190613959565b6120a1565b005b348015610a8757600080fd5b50610a906120b3565b604051610a9d91906132cb565b60405180910390f35b348015610ab257600080fd5b50610abb612141565b604051610ac89190613542565b60405180910390f35b348015610add57600080fd5b50610af86004803603810190610af3919061314a565b612147565b005b348015610b0657600080fd5b50610b216004803603810190610b1c919061314a565b612159565b005b610b3d6004803603810190610b389190613a27565b61216b565b005b348015610b4b57600080fd5b50610b666004803603810190610b61919061314a565b6121de565b604051610b7391906132cb565b60405180910390f35b348015610b8857600080fd5b50610ba36004803603810190610b9e919061314a565b612336565b005b348015610bb157600080fd5b50610bba612348565b604051610bc79190613542565b60405180910390f35b348015610bdc57600080fd5b50610bf76004803603810190610bf291906136fd565b61234e565b005b348015610c0557600080fd5b50610c206004803603810190610c1b919061314a565b612373565b005b348015610c2e57600080fd5b50610c496004803603810190610c449190613aaa565b612385565b604051610c569190613217565b60405180910390f35b348015610c6b57600080fd5b50610c74612419565b604051610c8191906132cb565b60405180910390f35b348015610c9657600080fd5b50610c9f6124a7565b604051610cac9190613542565b60405180910390f35b348015610cc157600080fd5b50610cdc6004803603810190610cd791906137e0565b6124ad565b005b348015610cea57600080fd5b50610d056004803603810190610d0091906134ea565b612530565b005b610d0f612552565b8060108190555050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d7457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610da45750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610dba90613b19565b80601f0160208091040260200160405190810160405280929190818152602001828054610de690613b19565b8015610e335780601f10610e0857610100808354040283529160200191610e33565b820191906000526020600020905b815481529060010190602001808311610e1657829003601f168201915b5050505050905090565b6000610e48826125d0565b610e7e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ec7826119e0565b90508073ffffffffffffffffffffffffffffffffffffffff16610ee861262f565b73ffffffffffffffffffffffffffffffffffffffff1614610f4b57610f1481610f0f61262f565b612385565b610f4a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611008612552565b80600f8190555050565b61101a612552565b80600c908051906020019061103092919061300e565b5050565b600061103e612637565b6001546000540303905090565b60105481565b600061105c82612640565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110c3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806110cf8461270c565b915091506110e581876110e061262f565b612733565b611131576110fa866110f561262f565b612385565b611130576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611197576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111a48686866001612777565b80156111af57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061127d8561125988888761277d565b7c0200000000000000000000000000000000000000000000000000000000176127a5565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036113035760006001850190506000600460008381526020019081526020016000205403611301576000548114611300578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461136b86868660016127d0565b505050505050565b600a5481565b611381612552565b6010548261138d611034565b6113979190613b79565b11156113d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cf90613c1b565b60405180910390fd5b6113e281836127d6565b5050565b601660009054906101000a900460ff1681565b601660019054906101000a900460ff1681565b611414612552565b600260095403611459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145090613c87565b60405180910390fd5b6002600981905550600061146b611c26565b73ffffffffffffffffffffffffffffffffffffffff164760405161148e90613cd8565b60006040518083038185875af1925050503d80600081146114cb576040519150601f19603f3d011682016040523d82523d6000602084013e6114d0565b606091505b50509050806114de57600080fd5b506001600981905550565b6115048383836040518060200160405280600081525061216b565b505050565b611511612552565b8060158190555050565b601a5481565b611529612552565b60005b828290508110156115d2576010546001611544611034565b61154e9190613b79565b111561158f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158690613c1b565b60405180910390fd5b6115c18383838181106115a5576115a4613ced565b5b90506020020160208101906115ba91906137e0565b60016127f4565b806115cb90613d1c565b905061152c565b505050565b6115df612552565b80600d90805190602001906115f592919061300e565b5050565b601660029054906101000a900460ff1681565b600c805461161990613b19565b80601f016020809104026020016040519081016040528092919081815260200182805461164590613b19565b80156116925780601f1061166757610100808354040283529160200191611692565b820191906000526020600020905b81548152906001019060200180831161167557829003601f168201915b505050505081565b60145481565b6116a8612552565b80601660016101000a81548160ff02191690831515021790555050565b601660009054906101000a900460ff16611714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170b90613db0565b60405180910390fd5b600061171e6129af565b60405160200161172e9190613e18565b604051602081830303815290604052805190602001209050611794838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a54836129b7565b6117d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ca90613e7f565b60405180910390fd5b6000841180156117e557506013548411155b611824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181b90613eeb565b60405180910390fd5b60115484611830611034565b61183a9190613b79565b111561187b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187290613c1b565b60405180910390fd5b60155484601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118c99190613b79565b111561190a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190190613f57565b60405180910390fd5b83600f546119189190613f77565b34101561195a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119519061401d565b60405180910390fd5b61196b6119656129af565b856127d6565b83601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119ba9190613b79565b9250508190555083601a60008282546119d39190613b79565b9250508190555050505050565b60006119eb82612640565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a59576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b60176020528060005260406000206000915090505481565b611aca612552565b611ad460006129ce565b565b60115481565b60606000611ae9836119f2565b67ffffffffffffffff811115611b0257611b016133bf565b5b604051908082528060200260200182016040528015611b305781602001602082028036833780820191505090505b5090506000611b3d612a94565b905060008060005b83811015611c13576000611b5882612a9d565b9050806040015115611b6a5750611c06565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611baa57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c045781868580600101965081518110611bf757611bf6613ced565b5b6020026020010181815250505b505b8080600101915050611b45565b5083945050505050919050565b60155481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611c58612552565b80600e8190555050565b60125481565b606060038054611c7790613b19565b80601f0160208091040260200160405190810160405280929190818152602001828054611ca390613b19565b8015611cf05780601f10611cc557610100808354040283529160200191611cf0565b820191906000526020600020905b815481529060010190602001808311611cd357829003601f168201915b5050505050905090565b60186020528060005260406000206000915090505481565b611d1a612552565b80601660006101000a81548160ff02191690831515021790555050565b601660019054906101000a900460ff16611d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7d90614089565b60405180910390fd5b600081118015611d9857506012548111155b611dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dce90613eeb565b60405180910390fd5b60105481611de3611034565b611ded9190613b79565b1115611e2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2590613c1b565b60405180910390fd5b60145481601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e7c9190613b79565b1115611ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb490613f57565b60405180910390fd5b80600e54611ecb9190613f77565b341015611f0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f049061401d565b60405180910390fd5b611f1e611f186129af565b826127d6565b80601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f6d9190613b79565b925050819055508060196000828254611f869190613b79565b9250508190555050565b600e5481565b8060076000611fa361262f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661205061262f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120959190613217565b60405180910390a35050565b6120a9612552565b80600a8190555050565b600d80546120c090613b19565b80601f01602080910402602001604051908101604052809291908181526020018280546120ec90613b19565b80156121395780601f1061210e57610100808354040283529160200191612139565b820191906000526020600020905b81548152906001019060200180831161211c57829003601f168201915b505050505081565b60195481565b61214f612552565b8060138190555050565b612161612552565b8060128190555050565b612176848484611051565b60008373ffffffffffffffffffffffffffffffffffffffff163b146121d8576121a184848484612ac8565b6121d7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606121e9826125d0565b612228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221f9061411b565b60405180910390fd5b60001515601660029054906101000a900460ff161515036122d557600d805461225090613b19565b80601f016020809104026020016040519081016040528092919081815260200182805461227c90613b19565b80156122c95780601f1061229e576101008083540402835291602001916122c9565b820191906000526020600020905b8154815290600101906020018083116122ac57829003601f168201915b50505050509050612331565b60006122df612c18565b905060008151116122ff576040518060200160405280600081525061232d565b8061230984612caa565b600c60405160200161231d9392919061420b565b6040516020818303038152906040525b9150505b919050565b61233e612552565b8060148190555050565b600f5481565b612356612552565b80601660026101000a81548160ff02191690831515021790555050565b61237b612552565b8060118190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b805461242690613b19565b80601f016020809104026020016040519081016040528092919081815260200182805461245290613b19565b801561249f5780601f106124745761010080835404028352916020019161249f565b820191906000526020600020905b81548152906001019060200180831161248257829003601f168201915b505050505081565b60135481565b6124b5612552565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251b906142ae565b60405180910390fd5b61252d816129ce565b50565b612538612552565b80600b908051906020019061254e92919061300e565b5050565b61255a6129af565b73ffffffffffffffffffffffffffffffffffffffff16612578611c26565b73ffffffffffffffffffffffffffffffffffffffff16146125ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c59061431a565b60405180910390fd5b565b6000816125db612637565b111580156125ea575060005482105b8015612628575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b6000808290508061264f612637565b116126d5576000548110156126d45760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036126d2575b600081036126c857600460008360019003935083815260200190815260200160002054905061269e565b8092505050612707565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612794868684612e0a565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6127f0828260405180602001604052806000815250612e13565b5050565b60008054905060008203612834576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128416000848385612777565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506128b8836128a9600086600061277d565b6128b285612eb0565b176127a5565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461295957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061291e565b5060008203612994576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506129aa60008483856127d0565b505050565b600033905090565b6000826129c48584612ec0565b1490509392505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905090565b612aa5613094565b612ac16004600084815260200190815260200160002054612f16565b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612aee61262f565b8786866040518563ffffffff1660e01b8152600401612b10949392919061438f565b6020604051808303816000875af1925050508015612b4c57506040513d601f19601f82011682018060405250810190612b4991906143f0565b60015b612bc5573d8060008114612b7c576040519150601f19603f3d011682016040523d82523d6000602084013e612b81565b606091505b506000815103612bbd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b8054612c2790613b19565b80601f0160208091040260200160405190810160405280929190818152602001828054612c5390613b19565b8015612ca05780601f10612c7557610100808354040283529160200191612ca0565b820191906000526020600020905b815481529060010190602001808311612c8357829003601f168201915b5050505050905090565b606060008203612cf1576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e05565b600082905060005b60008214612d23578080612d0c90613d1c565b915050600a82612d1c919061444c565b9150612cf9565b60008167ffffffffffffffff811115612d3f57612d3e6133bf565b5b6040519080825280601f01601f191660200182016040528015612d715781602001600182028036833780820191505090505b5090505b60008514612dfe57600182612d8a919061447d565b9150600a85612d9991906144b1565b6030612da59190613b79565b60f81b818381518110612dbb57612dba613ced565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612df7919061444c565b9450612d75565b8093505050505b919050565b60009392505050565b612e1d83836127f4565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612eab57600080549050600083820390505b612e5d6000868380600101945086612ac8565b612e93576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612e4a578160005414612ea857600080fd5b50505b505050565b60006001821460e11b9050919050565b60008082905060005b8451811015612f0b57612ef682868381518110612ee957612ee8613ced565b5b6020026020010151612fcc565b91508080612f0390613d1c565b915050612ec9565b508091505092915050565b612f1e613094565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b6000818310612fe457612fdf8284612ff7565b612fef565b612fee8383612ff7565b5b905092915050565b600082600052816020526040600020905092915050565b82805461301a90613b19565b90600052602060002090601f01602090048101928261303c5760008555613083565b82601f1061305557805160ff1916838001178555613083565b82800160010185558215613083579182015b82811115613082578251825591602001919060010190613067565b5b50905061309091906130e3565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b808211156130fc5760008160009055506001016130e4565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61312781613114565b811461313257600080fd5b50565b6000813590506131448161311e565b92915050565b6000602082840312156131605761315f61310a565b5b600061316e84828501613135565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131ac81613177565b81146131b757600080fd5b50565b6000813590506131c9816131a3565b92915050565b6000602082840312156131e5576131e461310a565b5b60006131f3848285016131ba565b91505092915050565b60008115159050919050565b613211816131fc565b82525050565b600060208201905061322c6000830184613208565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561326c578082015181840152602081019050613251565b8381111561327b576000848401525b50505050565b6000601f19601f8301169050919050565b600061329d82613232565b6132a7818561323d565b93506132b781856020860161324e565b6132c081613281565b840191505092915050565b600060208201905081810360008301526132e58184613292565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613318826132ed565b9050919050565b6133288161330d565b82525050565b6000602082019050613343600083018461331f565b92915050565b6133528161330d565b811461335d57600080fd5b50565b60008135905061336f81613349565b92915050565b6000806040838503121561338c5761338b61310a565b5b600061339a85828601613360565b92505060206133ab85828601613135565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6133f782613281565b810181811067ffffffffffffffff82111715613416576134156133bf565b5b80604052505050565b6000613429613100565b905061343582826133ee565b919050565b600067ffffffffffffffff821115613455576134546133bf565b5b61345e82613281565b9050602081019050919050565b82818337600083830152505050565b600061348d6134888461343a565b61341f565b9050828152602081018484840111156134a9576134a86133ba565b5b6134b484828561346b565b509392505050565b600082601f8301126134d1576134d06133b5565b5b81356134e184826020860161347a565b91505092915050565b600060208284031215613500576134ff61310a565b5b600082013567ffffffffffffffff81111561351e5761351d61310f565b5b61352a848285016134bc565b91505092915050565b61353c81613114565b82525050565b60006020820190506135576000830184613533565b92915050565b6000806000606084860312156135765761357561310a565b5b600061358486828701613360565b935050602061359586828701613360565b92505060406135a686828701613135565b9150509250925092565b6000819050919050565b6135c3816135b0565b82525050565b60006020820190506135de60008301846135ba565b92915050565b600080604083850312156135fb576135fa61310a565b5b600061360985828601613135565b925050602061361a85828601613360565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613644576136436133b5565b5b8235905067ffffffffffffffff81111561366157613660613624565b5b60208301915083602082028301111561367d5761367c613629565b5b9250929050565b6000806020838503121561369b5761369a61310a565b5b600083013567ffffffffffffffff8111156136b9576136b861310f565b5b6136c58582860161362e565b92509250509250929050565b6136da816131fc565b81146136e557600080fd5b50565b6000813590506136f7816136d1565b92915050565b6000602082840312156137135761371261310a565b5b6000613721848285016136e8565b91505092915050565b60008083601f8401126137405761373f6133b5565b5b8235905067ffffffffffffffff81111561375d5761375c613624565b5b60208301915083602082028301111561377957613778613629565b5b9250929050565b6000806000604084860312156137995761379861310a565b5b60006137a786828701613135565b935050602084013567ffffffffffffffff8111156137c8576137c761310f565b5b6137d48682870161372a565b92509250509250925092565b6000602082840312156137f6576137f561310a565b5b600061380484828501613360565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61384281613114565b82525050565b60006138548383613839565b60208301905092915050565b6000602082019050919050565b60006138788261380d565b6138828185613818565b935061388d83613829565b8060005b838110156138be5781516138a58882613848565b97506138b083613860565b925050600181019050613891565b5085935050505092915050565b600060208201905081810360008301526138e5818461386d565b905092915050565b600080604083850312156139045761390361310a565b5b600061391285828601613360565b9250506020613923858286016136e8565b9150509250929050565b613936816135b0565b811461394157600080fd5b50565b6000813590506139538161392d565b92915050565b60006020828403121561396f5761396e61310a565b5b600061397d84828501613944565b91505092915050565b600067ffffffffffffffff8211156139a1576139a06133bf565b5b6139aa82613281565b9050602081019050919050565b60006139ca6139c584613986565b61341f565b9050828152602081018484840111156139e6576139e56133ba565b5b6139f184828561346b565b509392505050565b600082601f830112613a0e57613a0d6133b5565b5b8135613a1e8482602086016139b7565b91505092915050565b60008060008060808587031215613a4157613a4061310a565b5b6000613a4f87828801613360565b9450506020613a6087828801613360565b9350506040613a7187828801613135565b925050606085013567ffffffffffffffff811115613a9257613a9161310f565b5b613a9e878288016139f9565b91505092959194509250565b60008060408385031215613ac157613ac061310a565b5b6000613acf85828601613360565b9250506020613ae085828601613360565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b3157607f821691505b602082108103613b4457613b43613aea565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b8482613114565b9150613b8f83613114565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613bc457613bc3613b4a565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000613c0560148361323d565b9150613c1082613bcf565b602082019050919050565b60006020820190508181036000830152613c3481613bf8565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613c71601f8361323d565b9150613c7c82613c3b565b602082019050919050565b60006020820190508181036000830152613ca081613c64565b9050919050565b600081905092915050565b50565b6000613cc2600083613ca7565b9150613ccd82613cb2565b600082019050919050565b6000613ce382613cb5565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613d2782613114565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613d5957613d58613b4a565b5b600182019050919050565b7f54686520576c53616c6520697320706175736564210000000000000000000000600082015250565b6000613d9a60158361323d565b9150613da582613d64565b602082019050919050565b60006020820190508181036000830152613dc981613d8d565b9050919050565b60008160601b9050919050565b6000613de882613dd0565b9050919050565b6000613dfa82613ddd565b9050919050565b613e12613e0d8261330d565b613def565b82525050565b6000613e248284613e01565b60148201915081905092915050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b6000613e69600e8361323d565b9150613e7482613e33565b602082019050919050565b60006020820190508181036000830152613e9881613e5c565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000613ed560148361323d565b9150613ee082613e9f565b602082019050919050565b60006020820190508181036000830152613f0481613ec8565b9050919050565b7f4d6178206d696e74207065722077616c6c657420657863656564656421000000600082015250565b6000613f41601d8361323d565b9150613f4c82613f0b565b602082019050919050565b60006020820190508181036000830152613f7081613f34565b9050919050565b6000613f8282613114565b9150613f8d83613114565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613fc657613fc5613b4a565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b600061400760138361323d565b915061401282613fd1565b602082019050919050565b6000602082019050818103600083015261403681613ffa565b9050919050565b7f546865205075626c696353616c65206973207061757365642100000000000000600082015250565b600061407360198361323d565b915061407e8261403d565b602082019050919050565b600060208201905081810360008301526140a281614066565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614105602f8361323d565b9150614110826140a9565b604082019050919050565b60006020820190508181036000830152614134816140f8565b9050919050565b600081905092915050565b600061415182613232565b61415b818561413b565b935061416b81856020860161324e565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461419981613b19565b6141a3818661413b565b945060018216600081146141be57600181146141cf57614202565b60ff19831686528186019350614202565b6141d885614177565b60005b838110156141fa578154818901526001820191506020810190506141db565b838801955050505b50505092915050565b60006142178286614146565b91506142238285614146565b915061422f828461418c565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061429860268361323d565b91506142a38261423c565b604082019050919050565b600060208201905081810360008301526142c78161428b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061430460208361323d565b915061430f826142ce565b602082019050919050565b60006020820190508181036000830152614333816142f7565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006143618261433a565b61436b8185614345565b935061437b81856020860161324e565b61438481613281565b840191505092915050565b60006080820190506143a4600083018761331f565b6143b1602083018661331f565b6143be6040830185613533565b81810360608301526143d08184614356565b905095945050505050565b6000815190506143ea816131a3565b92915050565b6000602082840312156144065761440561310a565b5b6000614414848285016143db565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061445782613114565b915061446283613114565b9250826144725761447161441d565b5b828204905092915050565b600061448882613114565b915061449383613114565b9250828210156144a6576144a5613b4a565b5b828203905092915050565b60006144bc82613114565b91506144c783613114565b9250826144d7576144d661441d565b5b82820690509291505056fea264697066735822122029ecb9fa174687c6774f9441d5710fb939e9cc0c6fffa87d6b339320e98c6ab164736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a636f6d696e67736f6f6e00000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _uri (string): comingsoon
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [2] : 636f6d696e67736f6f6e00000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.