Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
999 KOSEKAI
Holders
342
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
32 KOSEKAILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Kosekai
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; /* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@ / @ @@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@ # @@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@ @ @@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@ (@/#@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */ contract Kosekai is ERC721A, Ownable { enum SaleStatus { PAUSED, SPIRITLIST, PUBLIC, CLOSED } using Strings for uint256; using ECDSA for bytes32; // Set default sale state as paused SaleStatus public saleStatus = SaleStatus.PAUSED; string private preRevealURI; string private postRevealBaseURI; // Sale Settings // Reserved Tokens used for Ethereal Airdrops and Mods. uint256 public constant RESERVED_TOKENS = 200; // 200 // Ethereals will be airdropped 1 free Kosekai for minting 2. uint256 public constant MAX_ETHEREAL_MINT = 2; uint256 public constant MAX_SPIRIT_LIST_MINT = 2; uint256 public constant MAX_PUBLIC_MINT = 3; uint256 public constant MAX_MOD_MINT = 7; uint256 public constant MAX_FREE_MINT = 1; // < 5 free mint winners uint256 public maxSupply = 5678; // Prices uint256 public spiritListCost = 0.05 ether; uint256 public publicCost = 0.09 ether; // Check Lists // Ethereals will be airdropped one free Kosekai for minting two. bytes32 public etherealListMerkleRoot; bytes32 public spiritListMerkleRoot; bytes32 public freeMintListMerkleRoot; // < 5 free mint winners bytes32 public modListMerkleRoot; // Quantity checks mapping(address => uint256) public etherealMintedAmount; mapping(address => uint256) public spiritListMintedAmount; mapping(address => uint256) public freeMintListMintedAmount; mapping(address => uint256) public publicMintedAmount; mapping(address => uint256) public modMintedAmount; // Reveal vars bool public revealed = false; event Minted(address indexed receiver, uint256 quantity); constructor(string memory _initNotRevealedUri) ERC721A("Kosekai Collective", "KOSEKAI") { preRevealURI = _initNotRevealedUri; _mint(msg.sender, RESERVED_TOKENS); } // ------ METADATA function setPreRevealURI(string memory _URI) external onlyOwner { preRevealURI = _URI; } function setPostRevealBaseURI(string memory _URI) external onlyOwner { postRevealBaseURI = _URI; } // ------ Prevention from minting off of Contract modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } // ------ TOKEN URI // Before reveal, return same pre-reveal URI // After reveal, return post-reveal URI function tokenURI(uint256 _tokenId) public view override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); if (!revealed) return string(abi.encodePacked(preRevealURI, _tokenId.toString())); return string(abi.encodePacked(postRevealBaseURI, _tokenId.toString())); } function _startTokenId() internal pure override returns (uint256) { return 1; } // ------ SET SALE STATUS function setSaleStatus(SaleStatus _status) external onlyOwner { saleStatus = _status; } // ------ MERKLE ROOTS TO VERIFY ON LISTS function setMerkleRoots( bytes32 _spiritListMerkleRoot, bytes32 _modListMerkleRoot, bytes32 _etherealListMerkleRoot, bytes32 _freeMintListMerkleRoot ) external onlyOwner { spiritListMerkleRoot = _spiritListMerkleRoot; modListMerkleRoot = _modListMerkleRoot; etherealListMerkleRoot = _etherealListMerkleRoot; freeMintListMerkleRoot = _freeMintListMerkleRoot; } function setSpiritListMerkleRoot(bytes32 _spiritListMerkleRoot) external onlyOwner { spiritListMerkleRoot = _spiritListMerkleRoot; } function setModListMerkleRoot(bytes32 _modListMerkleRoot) external onlyOwner { modListMerkleRoot = _modListMerkleRoot; } function setEtherealListMerkleRoot(bytes32 _etherealListMerkleRoot) external onlyOwner { etherealListMerkleRoot = _etherealListMerkleRoot; } function setFreeMintListMerkleRoot(bytes32 _freeMintListMerkleRoot) external onlyOwner { freeMintListMerkleRoot = _freeMintListMerkleRoot; } // ------ ETHEREAL SALE // ------ Ethereals will be airdropped one free Kosekai for minting two function etherealSale(bytes32[] memory _proof, uint8 _quantity) external payable callerIsUser { require( saleStatus == SaleStatus.SPIRITLIST || saleStatus == SaleStatus.PUBLIC, "ETHEREAL SALE NOT ACTIVE" ); require( MerkleProof.verify( _proof, etherealListMerkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "MINTER IS NOT ON ETHEREAL LIST" ); require(_quantity >= 1, "QUANTITY MUST BE GREATER OR EQUAL TO 1"); require(!revealed, "NO MINTS POSTREVEAL"); require( totalSupply() + _quantity <= maxSupply, "MAX CAP OF KOSEKAI EXCEEDED" ); require( etherealMintedAmount[msg.sender] + _quantity <= MAX_ETHEREAL_MINT, "QUANTITY EXCEEDS MAXIMUM FOR THIS WALLET" ); require(msg.value == spiritListCost * _quantity, "INCORRECT ETH SENT"); etherealMintedAmount[msg.sender] += _quantity; _mint(msg.sender, _quantity); emit Minted(msg.sender, _quantity); } function spiritListSale(bytes32[] memory _proof, uint8 _quantity) external payable callerIsUser { require( saleStatus == SaleStatus.SPIRITLIST || saleStatus == SaleStatus.PUBLIC, "SPIRITLIST SALE NOT ACTIVE" ); require( MerkleProof.verify( _proof, spiritListMerkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "MINTER IS NOT ON SPIRIT LIST" ); require(_quantity >= 1, "QUANTITY MUST BE GREATER OR EQUAL TO 1"); require(!revealed, "NO MINTS POSTREVEAL"); require( totalSupply() + _quantity <= maxSupply, "MAX CAP OF KOSEKAI EXCEEDED" ); require( spiritListMintedAmount[msg.sender] + _quantity <= MAX_SPIRIT_LIST_MINT, "QUANTITY EXCEEDS MAXIMUM FOR THIS WALLET" ); require(msg.value == spiritListCost * _quantity, "INCORRECT ETH SENT"); spiritListMintedAmount[msg.sender] += _quantity; _mint(msg.sender, _quantity); emit Minted(msg.sender, _quantity); } // ------ < 5 free mint winners function freeMintListSale(bytes32[] memory _proof, uint8 _quantity) external callerIsUser { require( saleStatus == SaleStatus.SPIRITLIST || saleStatus == SaleStatus.PUBLIC, "FREE MINT SALE NOT ACTIVE" ); require( MerkleProof.verify( _proof, freeMintListMerkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "MINTER IS NOT ON FREE MINT LIST" ); require(_quantity >= 1, "QUANTITY MUST BE GREATER OR EQUAL TO 1"); require(!revealed, "NO MINTS POSTREVEAL"); require( totalSupply() + _quantity <= maxSupply, "MAX CAP OF KOSEKAI EXCEEDED" ); require( freeMintListMintedAmount[msg.sender] + _quantity <= MAX_FREE_MINT, "QUANTITY EXCEEDS MAXIMUM FOR THIS WALLET" ); freeMintListMintedAmount[msg.sender] += _quantity; _mint(msg.sender, _quantity); emit Minted(msg.sender, _quantity); } function publicListSale(uint8 _quantity) external payable callerIsUser { require(saleStatus == SaleStatus.PUBLIC, "PUBLIC SALE NOT ACTIVE"); require(_quantity >= 1, "QUANTITY MUST BE GREATER OR EQUAL TO 1"); require(!revealed, "NO MINTS POSTREVEAL"); require( totalSupply() + _quantity <= maxSupply, "MAX CAP OF KOSEKAI EXCEEDED" ); require( publicMintedAmount[msg.sender] + _quantity <= MAX_PUBLIC_MINT, "QUANTITY EXCEEDS MAXIMUM FOR THIS WALLET" ); require(msg.value == publicCost * _quantity, "INCORRECT ETH SENT"); publicMintedAmount[msg.sender] += _quantity; _mint(msg.sender, _quantity); emit Minted(msg.sender, _quantity); } function modListSale(bytes32[] memory _proof, uint8 _quantity) external callerIsUser { require( saleStatus == SaleStatus.SPIRITLIST || saleStatus == SaleStatus.PUBLIC, "MOD SALE NOT ACTIVE" ); require( MerkleProof.verify( _proof, modListMerkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "MINTER IS NOT ON MOD LIST" ); require(_quantity >= 1, "QUANTITY MUST BE GREATER OR EQUAL TO 1"); require(!revealed, "NO MINTS POSTREVEAL"); require( totalSupply() + _quantity <= maxSupply, "MAX CAP OF KOSEKAI EXCEEDED" ); require(modMintedAmount[msg.sender] + _quantity <= MAX_MOD_MINT, "QUANTITY EXCEEDS MAXIMUM FOR THIS WALLET"); modMintedAmount[msg.sender] += _quantity; _mint(msg.sender, _quantity); emit Minted(msg.sender, _quantity); } function setRevealed(bool _revealed) external onlyOwner { revealed = _revealed; } function numberMinted(address _owner) public view returns (uint256) { return _numberMinted(_owner); } function getOwnershipData(uint256 _tokenId) external view returns (TokenOwnership memory) { return _ownershipOf(_tokenId); } // ------ DECREASE MAX SUPPLY ONLY function setMaxSupply(uint256 amount) external onlyOwner { require( amount < maxSupply, "Cannot increase supply greater than current max supply!" ); maxSupply = amount; } function changeSpiritListCost(uint256 newCost) external onlyOwner { spiritListCost = newCost; } function changePublicCost(uint256 newCost) external onlyOwner { publicCost = newCost; } // ------ WITHDRAW FUNDS function withdraw() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); if (!success) { revert("Ether transfer failed"); } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // 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 { // Reference type for token approval. 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 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 { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _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]`. 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 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 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 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. 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`. ) 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 0x80 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // 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) (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 (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) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // 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(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * 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; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @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; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // 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" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","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":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_ETHEREAL_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MOD_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SPIRIT_LIST_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"changePublicCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"changeSpiritListCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"etherealListMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"etherealMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint8","name":"_quantity","type":"uint8"}],"name":"etherealSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"freeMintListMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintListMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint8","name":"_quantity","type":"uint8"}],"name":"freeMintListSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"modListMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint8","name":"_quantity","type":"uint8"}],"name":"modListSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"modMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_quantity","type":"uint8"}],"name":"publicListSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStatus","outputs":[{"internalType":"enum Kosekai.SaleStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_etherealListMerkleRoot","type":"bytes32"}],"name":"setEtherealListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_freeMintListMerkleRoot","type":"bytes32"}],"name":"setFreeMintListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_spiritListMerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_modListMerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_etherealListMerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_freeMintListMerkleRoot","type":"bytes32"}],"name":"setMerkleRoots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_modListMerkleRoot","type":"bytes32"}],"name":"setModListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setPostRevealBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setPreRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Kosekai.SaleStatus","name":"_status","type":"uint8"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_spiritListMerkleRoot","type":"bytes32"}],"name":"setSpiritListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"spiritListCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spiritListMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"spiritListMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint8","name":"_quantity","type":"uint8"}],"name":"spiritListSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600860146101000a81548160ff021916908360038111156200002d576200002c62000596565b5b021790555061162e600b5566b1a2bc2ec50000600c5567013fbe85edc90000600d556000601760006101000a81548160ff0219169083151502179055503480156200007757600080fd5b5060405162005c5e38038062005c5e83398181016040528101906200009d919062000762565b6040518060400160405280601281526020017f4b6f73656b616920436f6c6c65637469766500000000000000000000000000008152506040518060400160405280600781526020017f4b4f53454b414900000000000000000000000000000000000000000000000000815250816002908051906020019062000121929190620004e6565b5080600390805190602001906200013a929190620004e6565b506200014b620001a660201b60201c565b60008190555050506200017362000167620001af60201b60201c565b620001b760201b60201c565b80600990805190602001906200018b929190620004e6565b506200019f3360c86200027d60201b60201c565b5062000818565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000805490506000821415620002bf576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620002d460008483856200046660201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555062000363836200034560008660006200046c60201b60201c565b62000356856200049c60201b60201c565b17620004ac60201b60201c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146200040657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050620003c9565b50600082141562000443576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050620004616000848385620004d760201b60201c565b505050565b50505050565b60008060e883901c905060e86200048b868684620004dd60201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60009392505050565b828054620004f490620007e2565b90600052602060002090601f01602090048101928262000518576000855562000564565b82601f106200053357805160ff191683800117855562000564565b8280016001018555821562000564579182015b828111156200056357825182559160200191906001019062000546565b5b50905062000573919062000577565b5090565b5b808211156200059257600081600090555060010162000578565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200062e82620005e3565b810181811067ffffffffffffffff8211171562000650576200064f620005f4565b5b80604052505050565b600062000665620005c5565b905062000673828262000623565b919050565b600067ffffffffffffffff821115620006965762000695620005f4565b5b620006a182620005e3565b9050602081019050919050565b60005b83811015620006ce578082015181840152602081019050620006b1565b83811115620006de576000848401525b50505050565b6000620006fb620006f58462000678565b62000659565b9050828152602081018484840111156200071a5762000719620005de565b5b62000727848285620006ae565b509392505050565b600082601f830112620007475762000746620005d9565b5b815162000759848260208601620006e4565b91505092915050565b6000602082840312156200077b576200077a620005cf565b5b600082015167ffffffffffffffff8111156200079c576200079b620005d4565b5b620007aa848285016200072f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007fb57607f821691505b60208210811415620008125762000811620007b3565b5b50919050565b61543680620008286000396000f3fe6080604052600436106103765760003560e01c80636f8b44b0116101d1578063c87b56dd11610102578063e551475a116100a0578063ead29d4e1161006f578063ead29d4e14610cc1578063f2fde38b14610cfe578063f9020e3314610d27578063fc2447e414610d5257610376565b8063e551475a14610c14578063e5edb47b14610c3d578063e6aa176314610c59578063e985e9c514610c8457610376565b8063db292e7f116100dc578063db292e7f14610b5a578063dc33e68114610b83578063e0a8085314610bc0578063e0f01fce14610be957610376565b8063c87b56dd14610ac9578063d5abeb0114610b06578063d60f814f14610b3157610376565b806391bb8e461161016f578063a0322d8d11610149578063a0322d8d14610a23578063a22cb46514610a4e578063b886138814610a77578063b88d4fde14610aa057610376565b806391bb8e461461099f5780639231ab2a146109bb57806395d89b41146109f857610376565b80637d771089116101ab5780637d771089146108f05780638693da201461090c5780638da5cb5b146109375780638e9aed181461096257610376565b80636f8b44b01461087357806370a082311461089c578063715018a6146108d957610376565b806337b01f67116102ab5780635918113e1161024957806363fc3fc61161022357806363fc3fc6146107c957806365f13097146107f257806368fc68c71461081d5780636daf522d1461084857610376565b80635918113e146107125780635b5e2f1f1461074f5780636352211e1461078c57610376565b806342842e0e1161028557806342842e0e1461066c5780634891ad88146106955780634f3e4891146106be57806351830227146106e757610376565b806337b01f67146106015780633ccfd60b1461062a57806341cda2031461064157610376565b806310a03b6f1161031857806318160ddd116102f257806318160ddd1461055b57806320685db21461058657806323b872dd146105af5780632a85db55146105d857610376565b806310a03b6f146104dc57806314f7c0a914610507578063156be9311461053057610376565b80630956d10b116103545780630956d10b14610420578063095ea7b31461045d5780630b247106146104865780630bcfe443146104b157610376565b806301ffc9a71461037b57806306fdde03146103b8578063081812fc146103e3575b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d9190613ae0565b610d7b565b6040516103af9190613b28565b60405180910390f35b3480156103c457600080fd5b506103cd610e0d565b6040516103da9190613bdc565b60405180910390f35b3480156103ef57600080fd5b5061040a60048036038101906104059190613c34565b610e9f565b6040516104179190613ca2565b60405180910390f35b34801561042c57600080fd5b5061044760048036038101906104429190613ce9565b610f1e565b6040516104549190613d25565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190613d40565b610f36565b005b34801561049257600080fd5b5061049b61107a565b6040516104a89190613d99565b60405180910390f35b3480156104bd57600080fd5b506104c6611080565b6040516104d39190613d25565b60405180910390f35b3480156104e857600080fd5b506104f1611086565b6040516104fe9190613d99565b60405180910390f35b34801561051357600080fd5b5061052e60048036038101906105299190613de0565b61108c565b005b34801561053c57600080fd5b5061054561109e565b6040516105529190613d25565b60405180910390f35b34801561056757600080fd5b506105706110a3565b60405161057d9190613d25565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a89190613e0d565b6110ba565b005b3480156105bb57600080fd5b506105d660048036038101906105d19190613e74565b6110e4565b005b3480156105e457600080fd5b506105ff60048036038101906105fa9190613ffc565b611409565b005b34801561060d57600080fd5b5061062860048036038101906106239190613de0565b61142b565b005b34801561063657600080fd5b5061063f61143d565b005b34801561064d57600080fd5b506106566114f4565b6040516106639190613d25565b60405180910390f35b34801561067857600080fd5b50610693600480360381019061068e9190613e74565b6114f9565b005b3480156106a157600080fd5b506106bc60048036038101906106b7919061406a565b611519565b005b3480156106ca57600080fd5b506106e560048036038101906106e09190613c34565b61154e565b005b3480156106f357600080fd5b506106fc611560565b6040516107099190613b28565b60405180910390f35b34801561071e57600080fd5b5061073960048036038101906107349190613ce9565b611573565b6040516107469190613d25565b60405180910390f35b34801561075b57600080fd5b5061077660048036038101906107719190613ce9565b61158b565b6040516107839190613d25565b60405180910390f35b34801561079857600080fd5b506107b360048036038101906107ae9190613c34565b6115a3565b6040516107c09190613ca2565b60405180910390f35b3480156107d557600080fd5b506107f060048036038101906107eb9190614198565b6115b5565b005b3480156107fe57600080fd5b50610807611983565b6040516108149190613d25565b60405180910390f35b34801561082957600080fd5b50610832611988565b60405161083f9190613d25565b60405180910390f35b34801561085457600080fd5b5061085d61198d565b60405161086a9190613d99565b60405180910390f35b34801561087f57600080fd5b5061089a60048036038101906108959190613c34565b611993565b005b3480156108a857600080fd5b506108c360048036038101906108be9190613ce9565b6119e9565b6040516108d09190613d25565b60405180910390f35b3480156108e557600080fd5b506108ee611aa2565b005b61090a60048036038101906109059190614198565b611ab6565b005b34801561091857600080fd5b50610921611ed6565b60405161092e9190613d25565b60405180910390f35b34801561094357600080fd5b5061094c611edc565b6040516109599190613ca2565b60405180910390f35b34801561096e57600080fd5b5061098960048036038101906109849190613ce9565b611f06565b6040516109969190613d25565b60405180910390f35b6109b960048036038101906109b49190614198565b611f1e565b005b3480156109c757600080fd5b506109e260048036038101906109dd9190613c34565b61233e565b6040516109ef91906142a8565b60405180910390f35b348015610a0457600080fd5b50610a0d612356565b604051610a1a9190613bdc565b60405180910390f35b348015610a2f57600080fd5b50610a386123e8565b604051610a459190613d25565b60405180910390f35b348015610a5a57600080fd5b50610a756004803603810190610a7091906142ef565b6123ed565b005b348015610a8357600080fd5b50610a9e6004803603810190610a999190613de0565b612565565b005b348015610aac57600080fd5b50610ac76004803603810190610ac291906143d0565b612577565b005b348015610ad557600080fd5b50610af06004803603810190610aeb9190613c34565b6125ea565b604051610afd9190613bdc565b60405180910390f35b348015610b1257600080fd5b50610b1b6126ad565b604051610b289190613d25565b60405180910390f35b348015610b3d57600080fd5b50610b586004803603810190610b539190613de0565b6126b3565b005b348015610b6657600080fd5b50610b816004803603810190610b7c9190613ffc565b6126c5565b005b348015610b8f57600080fd5b50610baa6004803603810190610ba59190613ce9565b6126e7565b604051610bb79190613d25565b60405180910390f35b348015610bcc57600080fd5b50610be76004803603810190610be29190614453565b6126f9565b005b348015610bf557600080fd5b50610bfe61271e565b604051610c0b9190613d25565b60405180910390f35b348015610c2057600080fd5b50610c3b6004803603810190610c369190614198565b612723565b005b610c576004803603810190610c529190614480565b612af1565b005b348015610c6557600080fd5b50610c6e612e60565b604051610c7b9190613d99565b60405180910390f35b348015610c9057600080fd5b50610cab6004803603810190610ca691906144ad565b612e66565b604051610cb89190613b28565b60405180910390f35b348015610ccd57600080fd5b50610ce86004803603810190610ce39190613ce9565b612efa565b604051610cf59190613d25565b60405180910390f35b348015610d0a57600080fd5b50610d256004803603810190610d209190613ce9565b612f12565b005b348015610d3357600080fd5b50610d3c612f96565b604051610d499190614564565b60405180910390f35b348015610d5e57600080fd5b50610d796004803603810190610d749190613c34565b612fa9565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610dd657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e065750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610e1c906145ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610e48906145ae565b8015610e955780601f10610e6a57610100808354040283529160200191610e95565b820191906000526020600020905b815481529060010190602001808311610e7857829003601f168201915b5050505050905090565b6000610eaa82612fbb565b610ee0576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60166020528060005260406000206000915090505481565b6000610f41826115a3565b90508073ffffffffffffffffffffffffffffffffffffffff16610f6261301a565b73ffffffffffffffffffffffffffffffffffffffff1614610fc557610f8e81610f8961301a565b612e66565b610fc4576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60105481565b600c5481565b600e5481565b611094613022565b80600e8190555050565b600281565b60006110ad6130a0565b6001546000540303905090565b6110c2613022565b83600f819055508260118190555081600e819055508060108190555050505050565b60006110ef826130a9565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611156576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061116284613177565b91509150611178818761117361301a565b61319e565b6111c45761118d8661118861301a565b612e66565b6111c3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561122b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61123886868660016131e2565b801561124357600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611311856112ed8888876131e8565b7c020000000000000000000000000000000000000000000000000000000017613210565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611399576000600185019050600060046000838152602001908152602001600020541415611397576000548114611396578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611401868686600161323b565b505050505050565b611411613022565b8060099080519060200190611427929190613982565b5050565b611433613022565b80600f8190555050565b611445613022565b60003373ffffffffffffffffffffffffffffffffffffffff164760405161146b90614611565b60006040518083038185875af1925050503d80600081146114a8576040519150601f19603f3d011682016040523d82523d6000602084013e6114ad565b606091505b50509050806114f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e890614672565b60405180910390fd5b50565b600181565b61151483838360405180602001604052806000815250612577565b505050565b611521613022565b80600860146101000a81548160ff02191690836003811115611546576115456144ed565b5b021790555050565b611556613022565b80600d8190555050565b601760009054906101000a900460ff1681565b60136020528060005260406000206000915090505481565b60146020528060005260406000206000915090505481565b60006115ae826130a9565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161a906146de565b60405180910390fd5b60016003811115611637576116366144ed565b5b600860149054906101000a900460ff166003811115611659576116586144ed565b5b1480611698575060026003811115611674576116736144ed565b5b600860149054906101000a900460ff166003811115611696576116956144ed565b5b145b6116d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ce9061474a565b60405180910390fd5b61170a82601054336040516020016116ef91906147b2565b60405160208183030381529060405280519060200120613241565b611749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174090614819565b60405180910390fd5b60018160ff161015611790576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611787906148ab565b60405180910390fd5b601760009054906101000a900460ff16156117e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d790614917565b60405180910390fd5b600b548160ff166117ef6110a3565b6117f99190614966565b111561183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190614a08565b60405180910390fd5b60018160ff16601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461188a9190614966565b11156118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c290614a9a565b60405180910390fd5b8060ff16601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461191d9190614966565b92505081905550611931338260ff16613258565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe826040516119779190614af5565b60405180910390a25050565b600381565b60c881565b60115481565b61199b613022565b600b5481106119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d690614b82565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a51576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611aaa613022565b611ab46000613415565b565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1b906146de565b60405180910390fd5b60016003811115611b3857611b376144ed565b5b600860149054906101000a900460ff166003811115611b5a57611b596144ed565b5b1480611b99575060026003811115611b7557611b746144ed565b5b600860149054906101000a900460ff166003811115611b9757611b966144ed565b5b145b611bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcf90614bee565b60405180910390fd5b611c0b82600f5433604051602001611bf091906147b2565b60405160208183030381529060405280519060200120613241565b611c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4190614c5a565b60405180910390fd5b60018160ff161015611c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c88906148ab565b60405180910390fd5b601760009054906101000a900460ff1615611ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd890614917565b60405180910390fd5b600b548160ff16611cf06110a3565b611cfa9190614966565b1115611d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3290614a08565b60405180910390fd5b60028160ff16601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d8b9190614966565b1115611dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc390614a9a565b60405180910390fd5b8060ff16600c54611ddd9190614c7a565b3414611e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1590614d20565b60405180910390fd5b8060ff16601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e709190614966565b92505081905550611e84338260ff16613258565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe82604051611eca9190614af5565b60405180910390a25050565b600d5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60126020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f83906146de565b60405180910390fd5b60016003811115611fa057611f9f6144ed565b5b600860149054906101000a900460ff166003811115611fc257611fc16144ed565b5b1480612001575060026003811115611fdd57611fdc6144ed565b5b600860149054906101000a900460ff166003811115611fff57611ffe6144ed565b5b145b612040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203790614d8c565b60405180910390fd5b61207382600e543360405160200161205891906147b2565b60405160208183030381529060405280519060200120613241565b6120b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a990614df8565b60405180910390fd5b60018160ff1610156120f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f0906148ab565b60405180910390fd5b601760009054906101000a900460ff1615612149576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214090614917565b60405180910390fd5b600b548160ff166121586110a3565b6121629190614966565b11156121a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219a90614a08565b60405180910390fd5b60028160ff16601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121f39190614966565b1115612234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222b90614a9a565b60405180910390fd5b8060ff16600c546122459190614c7a565b3414612286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227d90614d20565b60405180910390fd5b8060ff16601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122d89190614966565b925050819055506122ec338260ff16613258565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe826040516123329190614af5565b60405180910390a25050565b612346613a08565b61234f826134db565b9050919050565b606060038054612365906145ae565b80601f0160208091040260200160405190810160405280929190818152602001828054612391906145ae565b80156123de5780601f106123b3576101008083540402835291602001916123de565b820191906000526020600020905b8154815290600101906020018083116123c157829003601f168201915b5050505050905090565b600281565b6123f561301a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561245a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061246761301a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661251461301a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125599190613b28565b60405180910390a35050565b61256d613022565b8060108190555050565b6125828484846110e4565b60008373ffffffffffffffffffffffffffffffffffffffff163b146125e4576125ad848484846134fb565b6125e3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606125f582612fbb565b612634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262b90614e8a565b60405180910390fd5b601760009054906101000a900460ff1661267a5760096126538361365b565b604051602001612664929190614f7a565b60405160208183030381529060405290506126a8565b600a6126858361365b565b604051602001612696929190614f7a565b60405160208183030381529060405290505b919050565b600b5481565b6126bb613022565b8060118190555050565b6126cd613022565b80600a90805190602001906126e3929190613982565b5050565b60006126f2826137bc565b9050919050565b612701613022565b80601760006101000a81548160ff02191690831515021790555050565b600781565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612791576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612788906146de565b60405180910390fd5b600160038111156127a5576127a46144ed565b5b600860149054906101000a900460ff1660038111156127c7576127c66144ed565b5b14806128065750600260038111156127e2576127e16144ed565b5b600860149054906101000a900460ff166003811115612804576128036144ed565b5b145b612845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283c90614fea565b60405180910390fd5b612878826011543360405160200161285d91906147b2565b60405160208183030381529060405280519060200120613241565b6128b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ae90615056565b60405180910390fd5b60018160ff1610156128fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f5906148ab565b60405180910390fd5b601760009054906101000a900460ff161561294e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294590614917565b60405180910390fd5b600b548160ff1661295d6110a3565b6129679190614966565b11156129a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299f90614a08565b60405180910390fd5b60078160ff16601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546129f89190614966565b1115612a39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3090614a9a565b60405180910390fd5b8060ff16601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a8b9190614966565b92505081905550612a9f338260ff16613258565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe82604051612ae59190614af5565b60405180910390a25050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b56906146de565b60405180910390fd5b60026003811115612b7357612b726144ed565b5b600860149054906101000a900460ff166003811115612b9557612b946144ed565b5b14612bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcc906150c2565b60405180910390fd5b60018160ff161015612c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c13906148ab565b60405180910390fd5b601760009054906101000a900460ff1615612c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6390614917565b60405180910390fd5b600b548160ff16612c7b6110a3565b612c859190614966565b1115612cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cbd90614a08565b60405180910390fd5b60038160ff16601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d169190614966565b1115612d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4e90614a9a565b60405180910390fd5b8060ff16600d54612d689190614c7a565b3414612da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da090614d20565b60405180910390fd5b8060ff16601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dfb9190614966565b92505081905550612e0f338260ff16613258565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe82604051612e559190614af5565b60405180910390a250565b600f5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60156020528060005260406000206000915090505481565b612f1a613022565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8190615154565b60405180910390fd5b612f9381613415565b50565b600860149054906101000a900460ff1681565b612fb1613022565b80600c8190555050565b600081612fc66130a0565b11158015612fd5575060005482105b8015613013575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b61302a613813565b73ffffffffffffffffffffffffffffffffffffffff16613048611edc565b73ffffffffffffffffffffffffffffffffffffffff161461309e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613095906151c0565b60405180910390fd5b565b60006001905090565b600080829050806130b86130a0565b116131405760005481101561313f5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561313d575b6000811415613133576004600083600190039350838152602001908152602001600020549050613108565b8092505050613172565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86131ff86868461381b565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008261324e8584613824565b1490509392505050565b6000805490506000821415613299576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132a660008483856131e2565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061331d8361330e60008660006131e8565b6133178561387a565b17613210565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146133be57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613383565b5060008214156133fa576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613410600084838561323b565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6134e3613a08565b6134f46134ef836130a9565b61388a565b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261352161301a565b8786866040518563ffffffff1660e01b81526004016135439493929190615235565b602060405180830381600087803b15801561355d57600080fd5b505af192505050801561358e57506040513d601f19601f8201168201806040525081019061358b9190615296565b60015b613608573d80600081146135be576040519150601f19603f3d011682016040523d82523d6000602084013e6135c3565b606091505b50600081511415613600576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156136a3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506137b7565b600082905060005b600082146136d55780806136be906152c3565b915050600a826136ce919061533b565b91506136ab565b60008167ffffffffffffffff8111156136f1576136f0613ed1565b5b6040519080825280601f01601f1916602001820160405280156137235781602001600182028036833780820191505090505b5090505b600085146137b05760018261373c919061536c565b9150600a8561374b91906153a0565b60306137579190614966565b60f81b81838151811061376d5761376c6153d1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856137a9919061533b565b9450613727565b8093505050505b919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600033905090565b60009392505050565b60008082905060005b845181101561386f5761385a8286838151811061384d5761384c6153d1565b5b6020026020010151613940565b91508080613867906152c3565b91505061382d565b508091505092915050565b60006001821460e11b9050919050565b613892613a08565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b600081831061395857613953828461396b565b613963565b613962838361396b565b5b905092915050565b600082600052816020526040600020905092915050565b82805461398e906145ae565b90600052602060002090601f0160209004810192826139b057600085556139f7565b82601f106139c957805160ff19168380011785556139f7565b828001600101855582156139f7579182015b828111156139f65782518255916020019190600101906139db565b5b509050613a049190613a57565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b80821115613a70576000816000905550600101613a58565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613abd81613a88565b8114613ac857600080fd5b50565b600081359050613ada81613ab4565b92915050565b600060208284031215613af657613af5613a7e565b5b6000613b0484828501613acb565b91505092915050565b60008115159050919050565b613b2281613b0d565b82525050565b6000602082019050613b3d6000830184613b19565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b7d578082015181840152602081019050613b62565b83811115613b8c576000848401525b50505050565b6000601f19601f8301169050919050565b6000613bae82613b43565b613bb88185613b4e565b9350613bc8818560208601613b5f565b613bd181613b92565b840191505092915050565b60006020820190508181036000830152613bf68184613ba3565b905092915050565b6000819050919050565b613c1181613bfe565b8114613c1c57600080fd5b50565b600081359050613c2e81613c08565b92915050565b600060208284031215613c4a57613c49613a7e565b5b6000613c5884828501613c1f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c8c82613c61565b9050919050565b613c9c81613c81565b82525050565b6000602082019050613cb76000830184613c93565b92915050565b613cc681613c81565b8114613cd157600080fd5b50565b600081359050613ce381613cbd565b92915050565b600060208284031215613cff57613cfe613a7e565b5b6000613d0d84828501613cd4565b91505092915050565b613d1f81613bfe565b82525050565b6000602082019050613d3a6000830184613d16565b92915050565b60008060408385031215613d5757613d56613a7e565b5b6000613d6585828601613cd4565b9250506020613d7685828601613c1f565b9150509250929050565b6000819050919050565b613d9381613d80565b82525050565b6000602082019050613dae6000830184613d8a565b92915050565b613dbd81613d80565b8114613dc857600080fd5b50565b600081359050613dda81613db4565b92915050565b600060208284031215613df657613df5613a7e565b5b6000613e0484828501613dcb565b91505092915050565b60008060008060808587031215613e2757613e26613a7e565b5b6000613e3587828801613dcb565b9450506020613e4687828801613dcb565b9350506040613e5787828801613dcb565b9250506060613e6887828801613dcb565b91505092959194509250565b600080600060608486031215613e8d57613e8c613a7e565b5b6000613e9b86828701613cd4565b9350506020613eac86828701613cd4565b9250506040613ebd86828701613c1f565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f0982613b92565b810181811067ffffffffffffffff82111715613f2857613f27613ed1565b5b80604052505050565b6000613f3b613a74565b9050613f478282613f00565b919050565b600067ffffffffffffffff821115613f6757613f66613ed1565b5b613f7082613b92565b9050602081019050919050565b82818337600083830152505050565b6000613f9f613f9a84613f4c565b613f31565b905082815260208101848484011115613fbb57613fba613ecc565b5b613fc6848285613f7d565b509392505050565b600082601f830112613fe357613fe2613ec7565b5b8135613ff3848260208601613f8c565b91505092915050565b60006020828403121561401257614011613a7e565b5b600082013567ffffffffffffffff8111156140305761402f613a83565b5b61403c84828501613fce565b91505092915050565b6004811061405257600080fd5b50565b60008135905061406481614045565b92915050565b6000602082840312156140805761407f613a7e565b5b600061408e84828501614055565b91505092915050565b600067ffffffffffffffff8211156140b2576140b1613ed1565b5b602082029050602081019050919050565b600080fd5b60006140db6140d684614097565b613f31565b905080838252602082019050602084028301858111156140fe576140fd6140c3565b5b835b8181101561412757806141138882613dcb565b845260208401935050602081019050614100565b5050509392505050565b600082601f83011261414657614145613ec7565b5b81356141568482602086016140c8565b91505092915050565b600060ff82169050919050565b6141758161415f565b811461418057600080fd5b50565b6000813590506141928161416c565b92915050565b600080604083850312156141af576141ae613a7e565b5b600083013567ffffffffffffffff8111156141cd576141cc613a83565b5b6141d985828601614131565b92505060206141ea85828601614183565b9150509250929050565b6141fd81613c81565b82525050565b600067ffffffffffffffff82169050919050565b61422081614203565b82525050565b61422f81613b0d565b82525050565b600062ffffff82169050919050565b61424d81614235565b82525050565b60808201600082015161426960008501826141f4565b50602082015161427c6020850182614217565b50604082015161428f6040850182614226565b5060608201516142a26060850182614244565b50505050565b60006080820190506142bd6000830184614253565b92915050565b6142cc81613b0d565b81146142d757600080fd5b50565b6000813590506142e9816142c3565b92915050565b6000806040838503121561430657614305613a7e565b5b600061431485828601613cd4565b9250506020614325858286016142da565b9150509250929050565b600067ffffffffffffffff82111561434a57614349613ed1565b5b61435382613b92565b9050602081019050919050565b600061437361436e8461432f565b613f31565b90508281526020810184848401111561438f5761438e613ecc565b5b61439a848285613f7d565b509392505050565b600082601f8301126143b7576143b6613ec7565b5b81356143c7848260208601614360565b91505092915050565b600080600080608085870312156143ea576143e9613a7e565b5b60006143f887828801613cd4565b945050602061440987828801613cd4565b935050604061441a87828801613c1f565b925050606085013567ffffffffffffffff81111561443b5761443a613a83565b5b614447878288016143a2565b91505092959194509250565b60006020828403121561446957614468613a7e565b5b6000614477848285016142da565b91505092915050565b60006020828403121561449657614495613a7e565b5b60006144a484828501614183565b91505092915050565b600080604083850312156144c4576144c3613a7e565b5b60006144d285828601613cd4565b92505060206144e385828601613cd4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061452d5761452c6144ed565b5b50565b600081905061453e8261451c565b919050565b600061454e82614530565b9050919050565b61455e81614543565b82525050565b60006020820190506145796000830184614555565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145c657607f821691505b602082108114156145da576145d961457f565b5b50919050565b600081905092915050565b50565b60006145fb6000836145e0565b9150614606826145eb565b600082019050919050565b600061461c826145ee565b9150819050919050565b7f4574686572207472616e73666572206661696c65640000000000000000000000600082015250565b600061465c601583613b4e565b915061466782614626565b602082019050919050565b6000602082019050818103600083015261468b8161464f565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b60006146c8601e83613b4e565b91506146d382614692565b602082019050919050565b600060208201905081810360008301526146f7816146bb565b9050919050565b7f46524545204d494e542053414c45204e4f542041435449564500000000000000600082015250565b6000614734601983613b4e565b915061473f826146fe565b602082019050919050565b6000602082019050818103600083015261476381614727565b9050919050565b60008160601b9050919050565b60006147828261476a565b9050919050565b600061479482614777565b9050919050565b6147ac6147a782613c81565b614789565b82525050565b60006147be828461479b565b60148201915081905092915050565b7f4d494e544552204953204e4f54204f4e2046524545204d494e54204c49535400600082015250565b6000614803601f83613b4e565b915061480e826147cd565b602082019050919050565b60006020820190508181036000830152614832816147f6565b9050919050565b7f5155414e54495459204d5553542042452047524541544552204f52204551554160008201527f4c20544f20310000000000000000000000000000000000000000000000000000602082015250565b6000614895602683613b4e565b91506148a082614839565b604082019050919050565b600060208201905081810360008301526148c481614888565b9050919050565b7f4e4f204d494e545320504f535452455645414c00000000000000000000000000600082015250565b6000614901601383613b4e565b915061490c826148cb565b602082019050919050565b60006020820190508181036000830152614930816148f4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061497182613bfe565b915061497c83613bfe565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149b1576149b0614937565b5b828201905092915050565b7f4d415820434150204f46204b4f53454b41492045584345454445440000000000600082015250565b60006149f2601b83613b4e565b91506149fd826149bc565b602082019050919050565b60006020820190508181036000830152614a21816149e5565b9050919050565b7f5155414e544954592045584345454453204d4158494d554d20464f522054484960008201527f532057414c4c4554000000000000000000000000000000000000000000000000602082015250565b6000614a84602883613b4e565b9150614a8f82614a28565b604082019050919050565b60006020820190508181036000830152614ab381614a77565b9050919050565b6000819050919050565b6000614adf614ada614ad58461415f565b614aba565b613bfe565b9050919050565b614aef81614ac4565b82525050565b6000602082019050614b0a6000830184614ae6565b92915050565b7f43616e6e6f7420696e63726561736520737570706c792067726561746572207460008201527f68616e2063757272656e74206d617820737570706c7921000000000000000000602082015250565b6000614b6c603783613b4e565b9150614b7782614b10565b604082019050919050565b60006020820190508181036000830152614b9b81614b5f565b9050919050565b7f5350495249544c4953542053414c45204e4f5420414354495645000000000000600082015250565b6000614bd8601a83613b4e565b9150614be382614ba2565b602082019050919050565b60006020820190508181036000830152614c0781614bcb565b9050919050565b7f4d494e544552204953204e4f54204f4e20535049524954204c49535400000000600082015250565b6000614c44601c83613b4e565b9150614c4f82614c0e565b602082019050919050565b60006020820190508181036000830152614c7381614c37565b9050919050565b6000614c8582613bfe565b9150614c9083613bfe565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614cc957614cc8614937565b5b828202905092915050565b7f494e434f5252454354204554482053454e540000000000000000000000000000600082015250565b6000614d0a601283613b4e565b9150614d1582614cd4565b602082019050919050565b60006020820190508181036000830152614d3981614cfd565b9050919050565b7f455448455245414c2053414c45204e4f54204143544956450000000000000000600082015250565b6000614d76601883613b4e565b9150614d8182614d40565b602082019050919050565b60006020820190508181036000830152614da581614d69565b9050919050565b7f4d494e544552204953204e4f54204f4e20455448455245414c204c4953540000600082015250565b6000614de2601e83613b4e565b9150614ded82614dac565b602082019050919050565b60006020820190508181036000830152614e1181614dd5565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614e74602f83613b4e565b9150614e7f82614e18565b604082019050919050565b60006020820190508181036000830152614ea381614e67565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614ed7816145ae565b614ee18186614eaa565b94506001821660008114614efc5760018114614f0d57614f40565b60ff19831686528186019350614f40565b614f1685614eb5565b60005b83811015614f3857815481890152600182019150602081019050614f19565b838801955050505b50505092915050565b6000614f5482613b43565b614f5e8185614eaa565b9350614f6e818560208601613b5f565b80840191505092915050565b6000614f868285614eca565b9150614f928284614f49565b91508190509392505050565b7f4d4f442053414c45204e4f542041435449564500000000000000000000000000600082015250565b6000614fd4601383613b4e565b9150614fdf82614f9e565b602082019050919050565b6000602082019050818103600083015261500381614fc7565b9050919050565b7f4d494e544552204953204e4f54204f4e204d4f44204c49535400000000000000600082015250565b6000615040601983613b4e565b915061504b8261500a565b602082019050919050565b6000602082019050818103600083015261506f81615033565b9050919050565b7f5055424c49432053414c45204e4f542041435449564500000000000000000000600082015250565b60006150ac601683613b4e565b91506150b782615076565b602082019050919050565b600060208201905081810360008301526150db8161509f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061513e602683613b4e565b9150615149826150e2565b604082019050919050565b6000602082019050818103600083015261516d81615131565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006151aa602083613b4e565b91506151b582615174565b602082019050919050565b600060208201905081810360008301526151d98161519d565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615207826151e0565b61521181856151eb565b9350615221818560208601613b5f565b61522a81613b92565b840191505092915050565b600060808201905061524a6000830187613c93565b6152576020830186613c93565b6152646040830185613d16565b818103606083015261527681846151fc565b905095945050505050565b60008151905061529081613ab4565b92915050565b6000602082840312156152ac576152ab613a7e565b5b60006152ba84828501615281565b91505092915050565b60006152ce82613bfe565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561530157615300614937565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061534682613bfe565b915061535183613bfe565b9250826153615761536061530c565b5b828204905092915050565b600061537782613bfe565b915061538283613bfe565b92508282101561539557615394614937565b5b828203905092915050565b60006153ab82613bfe565b91506153b683613bfe565b9250826153c6576153c561530c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220695dd79414ebb71563fbb915e812e379dc5e80e101e3b7d53b03a9e6815de65464736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d616e5a65375872527a65634a744b594a656d394e4a44507a70515657527147415942394235575676756157352f00000000000000000000
Deployed Bytecode
0x6080604052600436106103765760003560e01c80636f8b44b0116101d1578063c87b56dd11610102578063e551475a116100a0578063ead29d4e1161006f578063ead29d4e14610cc1578063f2fde38b14610cfe578063f9020e3314610d27578063fc2447e414610d5257610376565b8063e551475a14610c14578063e5edb47b14610c3d578063e6aa176314610c59578063e985e9c514610c8457610376565b8063db292e7f116100dc578063db292e7f14610b5a578063dc33e68114610b83578063e0a8085314610bc0578063e0f01fce14610be957610376565b8063c87b56dd14610ac9578063d5abeb0114610b06578063d60f814f14610b3157610376565b806391bb8e461161016f578063a0322d8d11610149578063a0322d8d14610a23578063a22cb46514610a4e578063b886138814610a77578063b88d4fde14610aa057610376565b806391bb8e461461099f5780639231ab2a146109bb57806395d89b41146109f857610376565b80637d771089116101ab5780637d771089146108f05780638693da201461090c5780638da5cb5b146109375780638e9aed181461096257610376565b80636f8b44b01461087357806370a082311461089c578063715018a6146108d957610376565b806337b01f67116102ab5780635918113e1161024957806363fc3fc61161022357806363fc3fc6146107c957806365f13097146107f257806368fc68c71461081d5780636daf522d1461084857610376565b80635918113e146107125780635b5e2f1f1461074f5780636352211e1461078c57610376565b806342842e0e1161028557806342842e0e1461066c5780634891ad88146106955780634f3e4891146106be57806351830227146106e757610376565b806337b01f67146106015780633ccfd60b1461062a57806341cda2031461064157610376565b806310a03b6f1161031857806318160ddd116102f257806318160ddd1461055b57806320685db21461058657806323b872dd146105af5780632a85db55146105d857610376565b806310a03b6f146104dc57806314f7c0a914610507578063156be9311461053057610376565b80630956d10b116103545780630956d10b14610420578063095ea7b31461045d5780630b247106146104865780630bcfe443146104b157610376565b806301ffc9a71461037b57806306fdde03146103b8578063081812fc146103e3575b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d9190613ae0565b610d7b565b6040516103af9190613b28565b60405180910390f35b3480156103c457600080fd5b506103cd610e0d565b6040516103da9190613bdc565b60405180910390f35b3480156103ef57600080fd5b5061040a60048036038101906104059190613c34565b610e9f565b6040516104179190613ca2565b60405180910390f35b34801561042c57600080fd5b5061044760048036038101906104429190613ce9565b610f1e565b6040516104549190613d25565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190613d40565b610f36565b005b34801561049257600080fd5b5061049b61107a565b6040516104a89190613d99565b60405180910390f35b3480156104bd57600080fd5b506104c6611080565b6040516104d39190613d25565b60405180910390f35b3480156104e857600080fd5b506104f1611086565b6040516104fe9190613d99565b60405180910390f35b34801561051357600080fd5b5061052e60048036038101906105299190613de0565b61108c565b005b34801561053c57600080fd5b5061054561109e565b6040516105529190613d25565b60405180910390f35b34801561056757600080fd5b506105706110a3565b60405161057d9190613d25565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a89190613e0d565b6110ba565b005b3480156105bb57600080fd5b506105d660048036038101906105d19190613e74565b6110e4565b005b3480156105e457600080fd5b506105ff60048036038101906105fa9190613ffc565b611409565b005b34801561060d57600080fd5b5061062860048036038101906106239190613de0565b61142b565b005b34801561063657600080fd5b5061063f61143d565b005b34801561064d57600080fd5b506106566114f4565b6040516106639190613d25565b60405180910390f35b34801561067857600080fd5b50610693600480360381019061068e9190613e74565b6114f9565b005b3480156106a157600080fd5b506106bc60048036038101906106b7919061406a565b611519565b005b3480156106ca57600080fd5b506106e560048036038101906106e09190613c34565b61154e565b005b3480156106f357600080fd5b506106fc611560565b6040516107099190613b28565b60405180910390f35b34801561071e57600080fd5b5061073960048036038101906107349190613ce9565b611573565b6040516107469190613d25565b60405180910390f35b34801561075b57600080fd5b5061077660048036038101906107719190613ce9565b61158b565b6040516107839190613d25565b60405180910390f35b34801561079857600080fd5b506107b360048036038101906107ae9190613c34565b6115a3565b6040516107c09190613ca2565b60405180910390f35b3480156107d557600080fd5b506107f060048036038101906107eb9190614198565b6115b5565b005b3480156107fe57600080fd5b50610807611983565b6040516108149190613d25565b60405180910390f35b34801561082957600080fd5b50610832611988565b60405161083f9190613d25565b60405180910390f35b34801561085457600080fd5b5061085d61198d565b60405161086a9190613d99565b60405180910390f35b34801561087f57600080fd5b5061089a60048036038101906108959190613c34565b611993565b005b3480156108a857600080fd5b506108c360048036038101906108be9190613ce9565b6119e9565b6040516108d09190613d25565b60405180910390f35b3480156108e557600080fd5b506108ee611aa2565b005b61090a60048036038101906109059190614198565b611ab6565b005b34801561091857600080fd5b50610921611ed6565b60405161092e9190613d25565b60405180910390f35b34801561094357600080fd5b5061094c611edc565b6040516109599190613ca2565b60405180910390f35b34801561096e57600080fd5b5061098960048036038101906109849190613ce9565b611f06565b6040516109969190613d25565b60405180910390f35b6109b960048036038101906109b49190614198565b611f1e565b005b3480156109c757600080fd5b506109e260048036038101906109dd9190613c34565b61233e565b6040516109ef91906142a8565b60405180910390f35b348015610a0457600080fd5b50610a0d612356565b604051610a1a9190613bdc565b60405180910390f35b348015610a2f57600080fd5b50610a386123e8565b604051610a459190613d25565b60405180910390f35b348015610a5a57600080fd5b50610a756004803603810190610a7091906142ef565b6123ed565b005b348015610a8357600080fd5b50610a9e6004803603810190610a999190613de0565b612565565b005b348015610aac57600080fd5b50610ac76004803603810190610ac291906143d0565b612577565b005b348015610ad557600080fd5b50610af06004803603810190610aeb9190613c34565b6125ea565b604051610afd9190613bdc565b60405180910390f35b348015610b1257600080fd5b50610b1b6126ad565b604051610b289190613d25565b60405180910390f35b348015610b3d57600080fd5b50610b586004803603810190610b539190613de0565b6126b3565b005b348015610b6657600080fd5b50610b816004803603810190610b7c9190613ffc565b6126c5565b005b348015610b8f57600080fd5b50610baa6004803603810190610ba59190613ce9565b6126e7565b604051610bb79190613d25565b60405180910390f35b348015610bcc57600080fd5b50610be76004803603810190610be29190614453565b6126f9565b005b348015610bf557600080fd5b50610bfe61271e565b604051610c0b9190613d25565b60405180910390f35b348015610c2057600080fd5b50610c3b6004803603810190610c369190614198565b612723565b005b610c576004803603810190610c529190614480565b612af1565b005b348015610c6557600080fd5b50610c6e612e60565b604051610c7b9190613d99565b60405180910390f35b348015610c9057600080fd5b50610cab6004803603810190610ca691906144ad565b612e66565b604051610cb89190613b28565b60405180910390f35b348015610ccd57600080fd5b50610ce86004803603810190610ce39190613ce9565b612efa565b604051610cf59190613d25565b60405180910390f35b348015610d0a57600080fd5b50610d256004803603810190610d209190613ce9565b612f12565b005b348015610d3357600080fd5b50610d3c612f96565b604051610d499190614564565b60405180910390f35b348015610d5e57600080fd5b50610d796004803603810190610d749190613c34565b612fa9565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610dd657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e065750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610e1c906145ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610e48906145ae565b8015610e955780601f10610e6a57610100808354040283529160200191610e95565b820191906000526020600020905b815481529060010190602001808311610e7857829003601f168201915b5050505050905090565b6000610eaa82612fbb565b610ee0576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60166020528060005260406000206000915090505481565b6000610f41826115a3565b90508073ffffffffffffffffffffffffffffffffffffffff16610f6261301a565b73ffffffffffffffffffffffffffffffffffffffff1614610fc557610f8e81610f8961301a565b612e66565b610fc4576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60105481565b600c5481565b600e5481565b611094613022565b80600e8190555050565b600281565b60006110ad6130a0565b6001546000540303905090565b6110c2613022565b83600f819055508260118190555081600e819055508060108190555050505050565b60006110ef826130a9565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611156576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061116284613177565b91509150611178818761117361301a565b61319e565b6111c45761118d8661118861301a565b612e66565b6111c3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561122b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61123886868660016131e2565b801561124357600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611311856112ed8888876131e8565b7c020000000000000000000000000000000000000000000000000000000017613210565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611399576000600185019050600060046000838152602001908152602001600020541415611397576000548114611396578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611401868686600161323b565b505050505050565b611411613022565b8060099080519060200190611427929190613982565b5050565b611433613022565b80600f8190555050565b611445613022565b60003373ffffffffffffffffffffffffffffffffffffffff164760405161146b90614611565b60006040518083038185875af1925050503d80600081146114a8576040519150601f19603f3d011682016040523d82523d6000602084013e6114ad565b606091505b50509050806114f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e890614672565b60405180910390fd5b50565b600181565b61151483838360405180602001604052806000815250612577565b505050565b611521613022565b80600860146101000a81548160ff02191690836003811115611546576115456144ed565b5b021790555050565b611556613022565b80600d8190555050565b601760009054906101000a900460ff1681565b60136020528060005260406000206000915090505481565b60146020528060005260406000206000915090505481565b60006115ae826130a9565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161a906146de565b60405180910390fd5b60016003811115611637576116366144ed565b5b600860149054906101000a900460ff166003811115611659576116586144ed565b5b1480611698575060026003811115611674576116736144ed565b5b600860149054906101000a900460ff166003811115611696576116956144ed565b5b145b6116d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ce9061474a565b60405180910390fd5b61170a82601054336040516020016116ef91906147b2565b60405160208183030381529060405280519060200120613241565b611749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174090614819565b60405180910390fd5b60018160ff161015611790576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611787906148ab565b60405180910390fd5b601760009054906101000a900460ff16156117e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d790614917565b60405180910390fd5b600b548160ff166117ef6110a3565b6117f99190614966565b111561183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190614a08565b60405180910390fd5b60018160ff16601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461188a9190614966565b11156118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c290614a9a565b60405180910390fd5b8060ff16601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461191d9190614966565b92505081905550611931338260ff16613258565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe826040516119779190614af5565b60405180910390a25050565b600381565b60c881565b60115481565b61199b613022565b600b5481106119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d690614b82565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a51576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611aaa613022565b611ab46000613415565b565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1b906146de565b60405180910390fd5b60016003811115611b3857611b376144ed565b5b600860149054906101000a900460ff166003811115611b5a57611b596144ed565b5b1480611b99575060026003811115611b7557611b746144ed565b5b600860149054906101000a900460ff166003811115611b9757611b966144ed565b5b145b611bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcf90614bee565b60405180910390fd5b611c0b82600f5433604051602001611bf091906147b2565b60405160208183030381529060405280519060200120613241565b611c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4190614c5a565b60405180910390fd5b60018160ff161015611c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c88906148ab565b60405180910390fd5b601760009054906101000a900460ff1615611ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd890614917565b60405180910390fd5b600b548160ff16611cf06110a3565b611cfa9190614966565b1115611d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3290614a08565b60405180910390fd5b60028160ff16601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d8b9190614966565b1115611dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc390614a9a565b60405180910390fd5b8060ff16600c54611ddd9190614c7a565b3414611e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1590614d20565b60405180910390fd5b8060ff16601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e709190614966565b92505081905550611e84338260ff16613258565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe82604051611eca9190614af5565b60405180910390a25050565b600d5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60126020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f83906146de565b60405180910390fd5b60016003811115611fa057611f9f6144ed565b5b600860149054906101000a900460ff166003811115611fc257611fc16144ed565b5b1480612001575060026003811115611fdd57611fdc6144ed565b5b600860149054906101000a900460ff166003811115611fff57611ffe6144ed565b5b145b612040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203790614d8c565b60405180910390fd5b61207382600e543360405160200161205891906147b2565b60405160208183030381529060405280519060200120613241565b6120b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a990614df8565b60405180910390fd5b60018160ff1610156120f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f0906148ab565b60405180910390fd5b601760009054906101000a900460ff1615612149576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214090614917565b60405180910390fd5b600b548160ff166121586110a3565b6121629190614966565b11156121a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219a90614a08565b60405180910390fd5b60028160ff16601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121f39190614966565b1115612234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222b90614a9a565b60405180910390fd5b8060ff16600c546122459190614c7a565b3414612286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227d90614d20565b60405180910390fd5b8060ff16601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122d89190614966565b925050819055506122ec338260ff16613258565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe826040516123329190614af5565b60405180910390a25050565b612346613a08565b61234f826134db565b9050919050565b606060038054612365906145ae565b80601f0160208091040260200160405190810160405280929190818152602001828054612391906145ae565b80156123de5780601f106123b3576101008083540402835291602001916123de565b820191906000526020600020905b8154815290600101906020018083116123c157829003601f168201915b5050505050905090565b600281565b6123f561301a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561245a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061246761301a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661251461301a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125599190613b28565b60405180910390a35050565b61256d613022565b8060108190555050565b6125828484846110e4565b60008373ffffffffffffffffffffffffffffffffffffffff163b146125e4576125ad848484846134fb565b6125e3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606125f582612fbb565b612634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262b90614e8a565b60405180910390fd5b601760009054906101000a900460ff1661267a5760096126538361365b565b604051602001612664929190614f7a565b60405160208183030381529060405290506126a8565b600a6126858361365b565b604051602001612696929190614f7a565b60405160208183030381529060405290505b919050565b600b5481565b6126bb613022565b8060118190555050565b6126cd613022565b80600a90805190602001906126e3929190613982565b5050565b60006126f2826137bc565b9050919050565b612701613022565b80601760006101000a81548160ff02191690831515021790555050565b600781565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612791576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612788906146de565b60405180910390fd5b600160038111156127a5576127a46144ed565b5b600860149054906101000a900460ff1660038111156127c7576127c66144ed565b5b14806128065750600260038111156127e2576127e16144ed565b5b600860149054906101000a900460ff166003811115612804576128036144ed565b5b145b612845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283c90614fea565b60405180910390fd5b612878826011543360405160200161285d91906147b2565b60405160208183030381529060405280519060200120613241565b6128b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ae90615056565b60405180910390fd5b60018160ff1610156128fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f5906148ab565b60405180910390fd5b601760009054906101000a900460ff161561294e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294590614917565b60405180910390fd5b600b548160ff1661295d6110a3565b6129679190614966565b11156129a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299f90614a08565b60405180910390fd5b60078160ff16601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546129f89190614966565b1115612a39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3090614a9a565b60405180910390fd5b8060ff16601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a8b9190614966565b92505081905550612a9f338260ff16613258565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe82604051612ae59190614af5565b60405180910390a25050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b56906146de565b60405180910390fd5b60026003811115612b7357612b726144ed565b5b600860149054906101000a900460ff166003811115612b9557612b946144ed565b5b14612bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcc906150c2565b60405180910390fd5b60018160ff161015612c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c13906148ab565b60405180910390fd5b601760009054906101000a900460ff1615612c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6390614917565b60405180910390fd5b600b548160ff16612c7b6110a3565b612c859190614966565b1115612cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cbd90614a08565b60405180910390fd5b60038160ff16601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d169190614966565b1115612d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4e90614a9a565b60405180910390fd5b8060ff16600d54612d689190614c7a565b3414612da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da090614d20565b60405180910390fd5b8060ff16601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dfb9190614966565b92505081905550612e0f338260ff16613258565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe82604051612e559190614af5565b60405180910390a250565b600f5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60156020528060005260406000206000915090505481565b612f1a613022565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8190615154565b60405180910390fd5b612f9381613415565b50565b600860149054906101000a900460ff1681565b612fb1613022565b80600c8190555050565b600081612fc66130a0565b11158015612fd5575060005482105b8015613013575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b61302a613813565b73ffffffffffffffffffffffffffffffffffffffff16613048611edc565b73ffffffffffffffffffffffffffffffffffffffff161461309e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613095906151c0565b60405180910390fd5b565b60006001905090565b600080829050806130b86130a0565b116131405760005481101561313f5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561313d575b6000811415613133576004600083600190039350838152602001908152602001600020549050613108565b8092505050613172565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86131ff86868461381b565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008261324e8584613824565b1490509392505050565b6000805490506000821415613299576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132a660008483856131e2565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061331d8361330e60008660006131e8565b6133178561387a565b17613210565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146133be57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613383565b5060008214156133fa576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613410600084838561323b565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6134e3613a08565b6134f46134ef836130a9565b61388a565b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261352161301a565b8786866040518563ffffffff1660e01b81526004016135439493929190615235565b602060405180830381600087803b15801561355d57600080fd5b505af192505050801561358e57506040513d601f19601f8201168201806040525081019061358b9190615296565b60015b613608573d80600081146135be576040519150601f19603f3d011682016040523d82523d6000602084013e6135c3565b606091505b50600081511415613600576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156136a3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506137b7565b600082905060005b600082146136d55780806136be906152c3565b915050600a826136ce919061533b565b91506136ab565b60008167ffffffffffffffff8111156136f1576136f0613ed1565b5b6040519080825280601f01601f1916602001820160405280156137235781602001600182028036833780820191505090505b5090505b600085146137b05760018261373c919061536c565b9150600a8561374b91906153a0565b60306137579190614966565b60f81b81838151811061376d5761376c6153d1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856137a9919061533b565b9450613727565b8093505050505b919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600033905090565b60009392505050565b60008082905060005b845181101561386f5761385a8286838151811061384d5761384c6153d1565b5b6020026020010151613940565b91508080613867906152c3565b91505061382d565b508091505092915050565b60006001821460e11b9050919050565b613892613a08565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b600081831061395857613953828461396b565b613963565b613962838361396b565b5b905092915050565b600082600052816020526040600020905092915050565b82805461398e906145ae565b90600052602060002090601f0160209004810192826139b057600085556139f7565b82601f106139c957805160ff19168380011785556139f7565b828001600101855582156139f7579182015b828111156139f65782518255916020019190600101906139db565b5b509050613a049190613a57565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b80821115613a70576000816000905550600101613a58565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613abd81613a88565b8114613ac857600080fd5b50565b600081359050613ada81613ab4565b92915050565b600060208284031215613af657613af5613a7e565b5b6000613b0484828501613acb565b91505092915050565b60008115159050919050565b613b2281613b0d565b82525050565b6000602082019050613b3d6000830184613b19565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b7d578082015181840152602081019050613b62565b83811115613b8c576000848401525b50505050565b6000601f19601f8301169050919050565b6000613bae82613b43565b613bb88185613b4e565b9350613bc8818560208601613b5f565b613bd181613b92565b840191505092915050565b60006020820190508181036000830152613bf68184613ba3565b905092915050565b6000819050919050565b613c1181613bfe565b8114613c1c57600080fd5b50565b600081359050613c2e81613c08565b92915050565b600060208284031215613c4a57613c49613a7e565b5b6000613c5884828501613c1f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c8c82613c61565b9050919050565b613c9c81613c81565b82525050565b6000602082019050613cb76000830184613c93565b92915050565b613cc681613c81565b8114613cd157600080fd5b50565b600081359050613ce381613cbd565b92915050565b600060208284031215613cff57613cfe613a7e565b5b6000613d0d84828501613cd4565b91505092915050565b613d1f81613bfe565b82525050565b6000602082019050613d3a6000830184613d16565b92915050565b60008060408385031215613d5757613d56613a7e565b5b6000613d6585828601613cd4565b9250506020613d7685828601613c1f565b9150509250929050565b6000819050919050565b613d9381613d80565b82525050565b6000602082019050613dae6000830184613d8a565b92915050565b613dbd81613d80565b8114613dc857600080fd5b50565b600081359050613dda81613db4565b92915050565b600060208284031215613df657613df5613a7e565b5b6000613e0484828501613dcb565b91505092915050565b60008060008060808587031215613e2757613e26613a7e565b5b6000613e3587828801613dcb565b9450506020613e4687828801613dcb565b9350506040613e5787828801613dcb565b9250506060613e6887828801613dcb565b91505092959194509250565b600080600060608486031215613e8d57613e8c613a7e565b5b6000613e9b86828701613cd4565b9350506020613eac86828701613cd4565b9250506040613ebd86828701613c1f565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f0982613b92565b810181811067ffffffffffffffff82111715613f2857613f27613ed1565b5b80604052505050565b6000613f3b613a74565b9050613f478282613f00565b919050565b600067ffffffffffffffff821115613f6757613f66613ed1565b5b613f7082613b92565b9050602081019050919050565b82818337600083830152505050565b6000613f9f613f9a84613f4c565b613f31565b905082815260208101848484011115613fbb57613fba613ecc565b5b613fc6848285613f7d565b509392505050565b600082601f830112613fe357613fe2613ec7565b5b8135613ff3848260208601613f8c565b91505092915050565b60006020828403121561401257614011613a7e565b5b600082013567ffffffffffffffff8111156140305761402f613a83565b5b61403c84828501613fce565b91505092915050565b6004811061405257600080fd5b50565b60008135905061406481614045565b92915050565b6000602082840312156140805761407f613a7e565b5b600061408e84828501614055565b91505092915050565b600067ffffffffffffffff8211156140b2576140b1613ed1565b5b602082029050602081019050919050565b600080fd5b60006140db6140d684614097565b613f31565b905080838252602082019050602084028301858111156140fe576140fd6140c3565b5b835b8181101561412757806141138882613dcb565b845260208401935050602081019050614100565b5050509392505050565b600082601f83011261414657614145613ec7565b5b81356141568482602086016140c8565b91505092915050565b600060ff82169050919050565b6141758161415f565b811461418057600080fd5b50565b6000813590506141928161416c565b92915050565b600080604083850312156141af576141ae613a7e565b5b600083013567ffffffffffffffff8111156141cd576141cc613a83565b5b6141d985828601614131565b92505060206141ea85828601614183565b9150509250929050565b6141fd81613c81565b82525050565b600067ffffffffffffffff82169050919050565b61422081614203565b82525050565b61422f81613b0d565b82525050565b600062ffffff82169050919050565b61424d81614235565b82525050565b60808201600082015161426960008501826141f4565b50602082015161427c6020850182614217565b50604082015161428f6040850182614226565b5060608201516142a26060850182614244565b50505050565b60006080820190506142bd6000830184614253565b92915050565b6142cc81613b0d565b81146142d757600080fd5b50565b6000813590506142e9816142c3565b92915050565b6000806040838503121561430657614305613a7e565b5b600061431485828601613cd4565b9250506020614325858286016142da565b9150509250929050565b600067ffffffffffffffff82111561434a57614349613ed1565b5b61435382613b92565b9050602081019050919050565b600061437361436e8461432f565b613f31565b90508281526020810184848401111561438f5761438e613ecc565b5b61439a848285613f7d565b509392505050565b600082601f8301126143b7576143b6613ec7565b5b81356143c7848260208601614360565b91505092915050565b600080600080608085870312156143ea576143e9613a7e565b5b60006143f887828801613cd4565b945050602061440987828801613cd4565b935050604061441a87828801613c1f565b925050606085013567ffffffffffffffff81111561443b5761443a613a83565b5b614447878288016143a2565b91505092959194509250565b60006020828403121561446957614468613a7e565b5b6000614477848285016142da565b91505092915050565b60006020828403121561449657614495613a7e565b5b60006144a484828501614183565b91505092915050565b600080604083850312156144c4576144c3613a7e565b5b60006144d285828601613cd4565b92505060206144e385828601613cd4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061452d5761452c6144ed565b5b50565b600081905061453e8261451c565b919050565b600061454e82614530565b9050919050565b61455e81614543565b82525050565b60006020820190506145796000830184614555565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145c657607f821691505b602082108114156145da576145d961457f565b5b50919050565b600081905092915050565b50565b60006145fb6000836145e0565b9150614606826145eb565b600082019050919050565b600061461c826145ee565b9150819050919050565b7f4574686572207472616e73666572206661696c65640000000000000000000000600082015250565b600061465c601583613b4e565b915061466782614626565b602082019050919050565b6000602082019050818103600083015261468b8161464f565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b60006146c8601e83613b4e565b91506146d382614692565b602082019050919050565b600060208201905081810360008301526146f7816146bb565b9050919050565b7f46524545204d494e542053414c45204e4f542041435449564500000000000000600082015250565b6000614734601983613b4e565b915061473f826146fe565b602082019050919050565b6000602082019050818103600083015261476381614727565b9050919050565b60008160601b9050919050565b60006147828261476a565b9050919050565b600061479482614777565b9050919050565b6147ac6147a782613c81565b614789565b82525050565b60006147be828461479b565b60148201915081905092915050565b7f4d494e544552204953204e4f54204f4e2046524545204d494e54204c49535400600082015250565b6000614803601f83613b4e565b915061480e826147cd565b602082019050919050565b60006020820190508181036000830152614832816147f6565b9050919050565b7f5155414e54495459204d5553542042452047524541544552204f52204551554160008201527f4c20544f20310000000000000000000000000000000000000000000000000000602082015250565b6000614895602683613b4e565b91506148a082614839565b604082019050919050565b600060208201905081810360008301526148c481614888565b9050919050565b7f4e4f204d494e545320504f535452455645414c00000000000000000000000000600082015250565b6000614901601383613b4e565b915061490c826148cb565b602082019050919050565b60006020820190508181036000830152614930816148f4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061497182613bfe565b915061497c83613bfe565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149b1576149b0614937565b5b828201905092915050565b7f4d415820434150204f46204b4f53454b41492045584345454445440000000000600082015250565b60006149f2601b83613b4e565b91506149fd826149bc565b602082019050919050565b60006020820190508181036000830152614a21816149e5565b9050919050565b7f5155414e544954592045584345454453204d4158494d554d20464f522054484960008201527f532057414c4c4554000000000000000000000000000000000000000000000000602082015250565b6000614a84602883613b4e565b9150614a8f82614a28565b604082019050919050565b60006020820190508181036000830152614ab381614a77565b9050919050565b6000819050919050565b6000614adf614ada614ad58461415f565b614aba565b613bfe565b9050919050565b614aef81614ac4565b82525050565b6000602082019050614b0a6000830184614ae6565b92915050565b7f43616e6e6f7420696e63726561736520737570706c792067726561746572207460008201527f68616e2063757272656e74206d617820737570706c7921000000000000000000602082015250565b6000614b6c603783613b4e565b9150614b7782614b10565b604082019050919050565b60006020820190508181036000830152614b9b81614b5f565b9050919050565b7f5350495249544c4953542053414c45204e4f5420414354495645000000000000600082015250565b6000614bd8601a83613b4e565b9150614be382614ba2565b602082019050919050565b60006020820190508181036000830152614c0781614bcb565b9050919050565b7f4d494e544552204953204e4f54204f4e20535049524954204c49535400000000600082015250565b6000614c44601c83613b4e565b9150614c4f82614c0e565b602082019050919050565b60006020820190508181036000830152614c7381614c37565b9050919050565b6000614c8582613bfe565b9150614c9083613bfe565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614cc957614cc8614937565b5b828202905092915050565b7f494e434f5252454354204554482053454e540000000000000000000000000000600082015250565b6000614d0a601283613b4e565b9150614d1582614cd4565b602082019050919050565b60006020820190508181036000830152614d3981614cfd565b9050919050565b7f455448455245414c2053414c45204e4f54204143544956450000000000000000600082015250565b6000614d76601883613b4e565b9150614d8182614d40565b602082019050919050565b60006020820190508181036000830152614da581614d69565b9050919050565b7f4d494e544552204953204e4f54204f4e20455448455245414c204c4953540000600082015250565b6000614de2601e83613b4e565b9150614ded82614dac565b602082019050919050565b60006020820190508181036000830152614e1181614dd5565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614e74602f83613b4e565b9150614e7f82614e18565b604082019050919050565b60006020820190508181036000830152614ea381614e67565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614ed7816145ae565b614ee18186614eaa565b94506001821660008114614efc5760018114614f0d57614f40565b60ff19831686528186019350614f40565b614f1685614eb5565b60005b83811015614f3857815481890152600182019150602081019050614f19565b838801955050505b50505092915050565b6000614f5482613b43565b614f5e8185614eaa565b9350614f6e818560208601613b5f565b80840191505092915050565b6000614f868285614eca565b9150614f928284614f49565b91508190509392505050565b7f4d4f442053414c45204e4f542041435449564500000000000000000000000000600082015250565b6000614fd4601383613b4e565b9150614fdf82614f9e565b602082019050919050565b6000602082019050818103600083015261500381614fc7565b9050919050565b7f4d494e544552204953204e4f54204f4e204d4f44204c49535400000000000000600082015250565b6000615040601983613b4e565b915061504b8261500a565b602082019050919050565b6000602082019050818103600083015261506f81615033565b9050919050565b7f5055424c49432053414c45204e4f542041435449564500000000000000000000600082015250565b60006150ac601683613b4e565b91506150b782615076565b602082019050919050565b600060208201905081810360008301526150db8161509f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061513e602683613b4e565b9150615149826150e2565b604082019050919050565b6000602082019050818103600083015261516d81615131565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006151aa602083613b4e565b91506151b582615174565b602082019050919050565b600060208201905081810360008301526151d98161519d565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615207826151e0565b61521181856151eb565b9350615221818560208601613b5f565b61522a81613b92565b840191505092915050565b600060808201905061524a6000830187613c93565b6152576020830186613c93565b6152646040830185613d16565b818103606083015261527681846151fc565b905095945050505050565b60008151905061529081613ab4565b92915050565b6000602082840312156152ac576152ab613a7e565b5b60006152ba84828501615281565b91505092915050565b60006152ce82613bfe565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561530157615300614937565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061534682613bfe565b915061535183613bfe565b9250826153615761536061530c565b5b828204905092915050565b600061537782613bfe565b915061538283613bfe565b92508282101561539557615394614937565b5b828203905092915050565b60006153ab82613bfe565b91506153b683613bfe565b9250826153c6576153c561530c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220695dd79414ebb71563fbb915e812e379dc5e80e101e3b7d53b03a9e6815de65464736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d616e5a65375872527a65634a744b594a656d394e4a44507a70515657527147415942394235575676756157352f00000000000000000000
-----Decoded View---------------
Arg [0] : _initNotRevealedUri (string): ipfs://QmanZe7XrRzecJtKYJem9NJDPzpQVWRqGAYB9B5WVvuaW5/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d616e5a65375872527a65634a744b594a656d394e4a4450
Arg [3] : 7a70515657527147415942394235575676756157352f00000000000000000000
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.