ERC-721
Overview
Max Total Supply
2,203 MEEKICKS
Holders
804
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 MEEKICKSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Meekicks
Compiler Version
v0.8.4+commit.c7e474f2
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.4; import "./ERC721AModified.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/utils/Address.sol"; /** * @title Meekicks * @author maikir * @notice This contract allows the distribution, minting and exchange of ERC-721 Meekicks Tokens. * */ contract Meekicks is ERC721AModified, Ownable, ReentrancyGuard { using Address for address; // Sale active boolean bool public isSaleActive; // Base URI string private _uri; IERC721 public immutable meebits; constructor(string memory _baseURI_, IERC721 _meebits, bool _isSaleActive) ERC721AModified("Meekicks", "MEEKICKS") { _uri = _baseURI_; meebits = _meebits; isSaleActive = _isSaleActive; } /** * @dev Allows to enable minting of sale and create sale period. */ function flipSaleState() external onlyOwner { isSaleActive = !isSaleActive; } /** * @dev Allows owner to set the baseURI dynamically. * @param uri The base uri for the metadata store. */ function setBaseURI(string memory uri) external onlyOwner { _uri = uri; } /** * @dev Override for allowing setting of a base URI. */ function _baseURI() internal view override returns (string memory) { return _uri; } function kickMintEligible(address _address, uint256[] calldata tokenIds) public view returns (bool) { uint256 i; do { if (meebits.ownerOf(tokenIds[i]) != _address) { break; } i++; } while (i < tokenIds.length); if (i == tokenIds.length) { return true; } else { return false; } } //MINTING /** * @dev Minting function for kicks * @param tokenIds Meebits token ID(s) to mint equivalent MeebitsKicks for. * @param quantity quantity of MeebitsKicks to mint for number of Meebits held. */ function mintKicks(uint256[] calldata tokenIds, uint256 quantity) external nonReentrant { require(isSaleActive, "Sale must be active"); require( kickMintEligible(msg.sender, tokenIds), "Caller is not the owner of the meebits token ID provided" ); _safeMint(msg.sender, tokenIds, quantity); } }
// SPDX-License-Identifier: MIT // ERC721AModified Contracts for non-linear gas efficient token ID minting. // ERC721A by Chiru Labs pragma solidity ^0.8.4; import "./IERC721AModified.sol"; /** * @dev ERC721 token receiver interface. */ interface ERC721AModified__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721AModified is IERC721AModified { // 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 tokenId of the next token to be minted. // uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; uint256 private _mintCounter; // 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` 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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; // _currentIndex = _startTokenId(); } /** * @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 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 override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _mintCounter - _burnCounter; } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` return _mintCounter; } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ 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: 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. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view 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 auxillary 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 auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. if (packed != 0) { return packed; } } revert OwnerQueryForNonexistentToken(); } /** * 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; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ // function _initializeOwnershipAt(uint256 index) internal { // if (_packedOwnerships[index] == 0) { // _packedOwnerships[index] = _packedOwnershipOf(index); // } // } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721AModified() != owner) if (!isApprovedForAll(owner, _msgSenderERC721AModified())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721AModified()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721AModified()][operator] = approved; emit ApprovalForAll(_msgSenderERC721AModified(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _packedOwnerships[tokenId] != 0 && _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint( address to, uint256[] calldata tokenIds, uint256 quantity ) internal { _safeMint(to, tokenIds, quantity, ""); } //^maikir Important: how to check that multiple of the same address cannot be minted -- check to make sure same id hasn't been minted yet /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256[] calldata tokenIds, uint256 quantity, bytes memory _data ) internal { if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); //^maikir: revert if token ids array length and quantity do not match if (quantity != tokenIds.length) revert TokenIdsAndQuantityDoNotMatch(); _beforeTokenTransfers(address(0), to, tokenIds, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 // ^maikir remove unchecked? unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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`. // ^maikir: Set the below to store packed ownership data for each token being minted, not just one. for ( uint256 tokenCounter = 0; tokenCounter < quantity; tokenCounter++ ) { //^maikir: revert if token already exists if (_exists(tokenIds[tokenCounter])) revert MintAttemptForExistingToken(); _packedOwnerships[tokenIds[tokenCounter]] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP); // (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); if (to.code.length != 0) { emit Transfer(address(0), to, tokenIds[tokenCounter]); if ( !_checkContractOnERC721Received( address(0), to, tokenIds[tokenCounter], _data ) ) { revert TransferToNonERC721ReceiverImplementer(); } // Reentrancy protection ^maikir: check this? // if (_currentIndex != startTokenId) revert(); } else { emit Transfer(address(0), to, tokenIds[tokenCounter]); } } //^maikir: Increment mint counter after mint is succesful _mintCounter += quantity; } _afterTokenTransfers(address(0), to, tokenIds, quantity); } //^maikir Important: how to check that multiple of the same address cannot be minted -- check to make sure same id hasn't been minted yet /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256[] calldata tokenIds, uint256 quantity ) internal { if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); //^maikir: revert if token ids array length and quantity do not match if (quantity != tokenIds.length) revert TokenIdsAndQuantityDoNotMatch(); _beforeTokenTransfers(address(0), to, tokenIds, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 // ^maikir remove unchecked? unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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`. // ^maikir: Set the below to store packed ownership data for each token being minted, not just one. for ( uint256 tokenCounter = 0; tokenCounter < quantity; tokenCounter++ ) { //^maikir: revert if token already exists if (_exists(tokenIds[tokenCounter])) revert MintAttemptForExistingToken(); _packedOwnerships[tokenIds[tokenCounter]] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP); // (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); emit Transfer(address(0), to, tokenIds[tokenCounter]); } //^maikir: Increment mint counter after mint is succesful _mintCounter += quantity; } _afterTokenTransfers(address(0), to, tokenIds, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721AModified() == from || isApprovedForAll(from, _msgSenderERC721AModified()) || getApproved(tokenId) == _msgSenderERC721AModified()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); //^maikir: cast uint256 to 1 length array uint256[] memory tokenIds = new uint256[](1); tokenIds[0] = tokenId; _beforeTokenTransfers(from, to, tokenIds, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP); // BITMASK_NEXT_INITIALIZED; //^maikir: ---------- UNEEDED --------- All tokens should be initialized on mint. // 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, tokenIds, 1); } /** * @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)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721AModified() == from || isApprovedForAll(from, _msgSenderERC721AModified()) || getApproved(tokenId) == _msgSenderERC721AModified()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } //^maikir: cast uint256 to 1 length array uint256[] memory tokenIds = new uint256[](1); tokenIds[0] = tokenId; _beforeTokenTransfers(from, address(0), tokenIds, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED; // BITMASK_NEXT_INITIALIZED; //^maikir: ---------- UNEEDED --------- All tokens should be initialized on mint. // 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), tokenIds, 1); //^maikir: maybe not true anymore(?) below // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721AModified__IERC721Receiver(to).onERC721Received( _msgSenderERC721AModified(), from, tokenId, _data ) returns (bytes4 retval) { return retval == ERC721AModified__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256[] memory tokenIds, 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[] memory tokenIds, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721AModified() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 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: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // ERC721AModified Contracts for non-linear gas efficient token ID minting. // ERC721A by Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721AModified { /** * 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(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Error for attemping to mint an already minted token. */ error MintAttemptForExistingToken(); /** * 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(); /** * Error for token ids array size and quantity of tokens to be minting not matching. */ error TokenIdsAndQuantityDoNotMatch(); /** * 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // 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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseURI_","type":"string"},{"internalType":"contract IERC721","name":"_meebits","type":"address"},{"internalType":"bool","name":"_isSaleActive","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintAttemptForExistingToken","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIdsAndQuantityDoNotMatch","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","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":"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":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"kickMintEligible","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"meebits","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintKicks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b50604051620031ff380380620031ff833981810160405281019062000037919062000390565b6040518060400160405280600881526020017f4d65656b69636b730000000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f4d45454b49434b530000000000000000000000000000000000000000000000008152508160019080519060200190620000bb92919062000240565b508060029080519060200190620000d492919062000240565b505050620000f7620000eb6200017260201b60201c565b6200017a60201b60201c565b600160098190555082600b90805190602001906200011792919062000240565b508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505080600a60006101000a81548160ff021916908315150217905550505050620005f7565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024e90620004e8565b90600052602060002090601f016020900481019282620002725760008555620002be565b82601f106200028d57805160ff1916838001178555620002be565b82800160010185558215620002be579182015b82811115620002bd578251825591602001919060010190620002a0565b5b509050620002cd9190620002d1565b5090565b5b80821115620002ec576000816000905550600101620002d2565b5090565b600062000307620003018462000428565b620003ff565b9050828152602081018484840111156200032057600080fd5b6200032d848285620004b2565b509392505050565b6000815190506200034681620005c3565b92915050565b6000815190506200035d81620005dd565b92915050565b600082601f8301126200037557600080fd5b815162000387848260208601620002f0565b91505092915050565b600080600060608486031215620003a657600080fd5b600084015167ffffffffffffffff811115620003c157600080fd5b620003cf8682870162000363565b9350506020620003e2868287016200034c565b9250506040620003f58682870162000335565b9150509250925092565b60006200040b6200041e565b90506200041982826200051e565b919050565b6000604051905090565b600067ffffffffffffffff82111562000446576200044562000583565b5b6200045182620005b2565b9050602081019050919050565b60006200046b8262000492565b9050919050565b60008115159050919050565b60006200048b826200045e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620004d2578082015181840152602081019050620004b5565b83811115620004e2576000848401525b50505050565b600060028204905060018216806200050157607f821691505b6020821081141562000518576200051762000554565b5b50919050565b6200052982620005b2565b810181811067ffffffffffffffff821117156200054b576200054a62000583565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620005ce8162000472565b8114620005da57600080fd5b50565b620005e8816200047e565b8114620005f457600080fd5b50565b60805160601c612be26200061d60003960008181610da80152610ef90152612be26000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80636352211e116100c3578063a77099881161007c578063a770998814610364578063b88d4fde14610382578063c87b56dd1461039e578063d7763409146103ce578063e985e9c5146103fe578063f2fde38b1461042e5761014d565b80636352211e146102a257806370a08231146102d2578063715018a6146103025780638da5cb5b1461030c57806395d89b411461032a578063a22cb465146103485761014d565b806323b872dd1161011557806323b872dd1461020a57806334918dfd1461022657806342842e0e1461023057806355f804b31461024c578063564566a8146102685780635a069e33146102865761014d565b806301ffc9a71461015257806306fdde0314610182578063081812fc146101a0578063095ea7b3146101d057806318160ddd146101ec575b600080fd5b61016c60048036038101906101679190612361565b61044a565b6040516101799190612636565b60405180910390f35b61018a6104dc565b604051610197919061266c565b60405180910390f35b6101ba60048036038101906101b591906123f4565b61056e565b6040516101c791906125cf565b60405180910390f35b6101ea60048036038101906101e591906122cd565b6105ea565b005b6101f4610791565b604051610201919061272e565b60405180910390f35b610224600480360381019061021f919061216f565b61079e565b005b61022e6107ae565b005b61024a6004803603810190610245919061216f565b610856565b005b610266600480360381019061026191906123b3565b610876565b005b61027061090c565b60405161027d9190612636565b60405180910390f35b6102a0600480360381019061029b9190612309565b61091f565b005b6102bc60048036038101906102b791906123f4565b610a1f565b6040516102c991906125cf565b60405180910390f35b6102ec60048036038101906102e791906120e1565b610a31565b6040516102f9919061272e565b60405180910390f35b61030a610aea565b005b610314610b72565b60405161032191906125cf565b60405180910390f35b610332610b9c565b60405161033f919061266c565b60405180910390f35b610362600480360381019061035d9190612291565b610c2e565b005b61036c610da6565b6040516103799190612651565b60405180910390f35b61039c600480360381019061039791906121be565b610dca565b005b6103b860048036038101906103b391906123f4565b610e3d565b6040516103c5919061266c565b60405180910390f35b6103e860048036038101906103e39190612239565b610edc565b6040516103f59190612636565b60405180910390f35b61041860048036038101906104139190612133565b61103a565b6040516104259190612636565b60405180910390f35b610448600480360381019061044391906120e1565b6110ce565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104a557506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104d55750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600180546104eb906128ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610517906128ed565b80156105645780601f1061053957610100808354040283529160200191610564565b820191906000526020600020905b81548152906001019060200180831161054757829003601f168201915b5050505050905090565b6000610579826111c6565b6105af576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105f582611224565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561065d576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661067c6112b4565b73ffffffffffffffffffffffffffffffffffffffff16146106df576106a8816106a36112b4565b61103a565b6106de576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000805460035403905090565b6107a98383836112bc565b505050565b6107b6611692565b73ffffffffffffffffffffffffffffffffffffffff166107d4610b72565b73ffffffffffffffffffffffffffffffffffffffff161461082a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610821906126ee565b60405180910390fd5b600a60009054906101000a900460ff1615600a60006101000a81548160ff021916908315150217905550565b61087183838360405180602001604052806000815250610dca565b505050565b61087e611692565b73ffffffffffffffffffffffffffffffffffffffff1661089c610b72565b73ffffffffffffffffffffffffffffffffffffffff16146108f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e9906126ee565b60405180910390fd5b80600b9080519060200190610908929190611ea6565b5050565b600a60009054906101000a900460ff1681565b60026009541415610965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095c9061270e565b60405180910390fd5b6002600981905550600a60009054906101000a900460ff166109bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b39061268e565b60405180910390fd5b6109c7338484610edc565b610a06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fd906126ce565b60405180910390fd5b610a123384848461169a565b6001600981905550505050565b6000610a2a82611224565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a99576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610af2611692565b73ffffffffffffffffffffffffffffffffffffffff16610b10610b72565b73ffffffffffffffffffffffffffffffffffffffff1614610b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5d906126ee565b60405180910390fd5b610b7060006116bc565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054610bab906128ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd7906128ed565b8015610c245780601f10610bf957610100808354040283529160200191610c24565b820191906000526020600020905b815481529060010190602001808311610c0757829003601f168201915b5050505050905090565b610c366112b4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c9b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000610ca86112b4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610d556112b4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d9a9190612636565b60405180910390a35050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610dd58484846112bc565b60008373ffffffffffffffffffffffffffffffffffffffff163b14610e3757610e0084848484611782565b610e36576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060610e48826111c6565b610e7e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610e886118e2565b9050600081511415610ea95760405180602001604052806000815250610ed4565b80610eb384611974565b604051602001610ec49291906125ab565b6040516020818303038152906040525b915050919050565b6000805b8473ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e868685818110610f6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518263ffffffff1660e01b8152600401610f8f919061272e565b60206040518083038186803b158015610fa757600080fd5b505afa158015610fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdf919061210a565b73ffffffffffffffffffffffffffffffffffffffff1614610fff57611018565b808061100a90612950565b915050838390508110610ee0575b8383905081141561102d576001915050611033565b60009150505b9392505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110d6611692565b73ffffffffffffffffffffffffffffffffffffffff166110f4610b72565b73ffffffffffffffffffffffffffffffffffffffff161461114a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611141906126ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b1906126ae565b60405180910390fd5b6111c3816116bc565b50565b60008060046000848152602001908152602001600020541415801561121d575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905060006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561127d576000811461127c5780925050506112af565b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b60006112c782611224565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461132e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661134f6112b4565b73ffffffffffffffffffffffffffffffffffffffff16148061137e575061137d856113786112b4565b61103a565b5b806113c3575061138c6112b4565b73ffffffffffffffffffffffffffffffffffffffff166113ab8461056e565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806113fc576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611463576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600167ffffffffffffffff8111156114a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156114d45781602001602082028036833780820191505090505b5090508381600081518110611512577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505061152b86868360016119ce565b6006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555060a042901b61160a866119d4565b176004600086815260200190815260200160002081905550838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461168a86868360016119de565b505050505050565b600033905090565b6116b684848484604051806020016040528060008152506119e4565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026117a86112b4565b8786866040518563ffffffff1660e01b81526004016117ca94939291906125ea565b602060405180830381600087803b1580156117e457600080fd5b505af192505050801561181557506040513d601f19601f82011682018060405250810190611812919061238a565b60015b61188f573d8060008114611845576040519150601f19603f3d011682016040523d82523d6000602084013e61184a565b606091505b50600081511415611887576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b80546118f1906128ed565b80601f016020809104026020016040519081016040528092919081815260200182805461191d906128ed565b801561196a5780601f1061193f5761010080835404028352916020019161196a565b820191906000526020600020905b81548152906001019060200180831161194d57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156119ba57600183039250600a81066030018353600a8104905061199a565b508181036020830392508083525050919050565b50505050565b6000819050919050565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611a4b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415611a86576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b838390508214611ac2576040517f793f05be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b10600086868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050856119ce565b600160406001901b178202600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060005b82811015611e4057611bba858583818110611bae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356111c6565b15611bf1576040517feae9f86900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60a042901b611bff876119d4565b1760046000878785818110611c3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013581526020019081526020016000208190555060008673ffffffffffffffffffffffffffffffffffffffff163b14611d9757848482818110611cae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d5c600087878785818110611d4f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013585611782565b611d92576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611e33565b848482818110611dd0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b8080600101915050611b6a565b5081600360008282540192505081905550611e9f600086868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050856119de565b5050505050565b828054611eb2906128ed565b90600052602060002090601f016020900481019282611ed45760008555611f1b565b82601f10611eed57805160ff1916838001178555611f1b565b82800160010185558215611f1b579182015b82811115611f1a578251825591602001919060010190611eff565b5b509050611f289190611f2c565b5090565b5b80821115611f45576000816000905550600101611f2d565b5090565b6000611f5c611f578461276e565b612749565b905082815260208101848484011115611f7457600080fd5b611f7f8482856128ab565b509392505050565b6000611f9a611f958461279f565b612749565b905082815260208101848484011115611fb257600080fd5b611fbd8482856128ab565b509392505050565b600081359050611fd481612b50565b92915050565b600081519050611fe981612b50565b92915050565b60008083601f84011261200157600080fd5b8235905067ffffffffffffffff81111561201a57600080fd5b60208301915083602082028301111561203257600080fd5b9250929050565b60008135905061204881612b67565b92915050565b60008135905061205d81612b7e565b92915050565b60008151905061207281612b7e565b92915050565b600082601f83011261208957600080fd5b8135612099848260208601611f49565b91505092915050565b600082601f8301126120b357600080fd5b81356120c3848260208601611f87565b91505092915050565b6000813590506120db81612b95565b92915050565b6000602082840312156120f357600080fd5b600061210184828501611fc5565b91505092915050565b60006020828403121561211c57600080fd5b600061212a84828501611fda565b91505092915050565b6000806040838503121561214657600080fd5b600061215485828601611fc5565b925050602061216585828601611fc5565b9150509250929050565b60008060006060848603121561218457600080fd5b600061219286828701611fc5565b93505060206121a386828701611fc5565b92505060406121b4868287016120cc565b9150509250925092565b600080600080608085870312156121d457600080fd5b60006121e287828801611fc5565b94505060206121f387828801611fc5565b9350506040612204878288016120cc565b925050606085013567ffffffffffffffff81111561222157600080fd5b61222d87828801612078565b91505092959194509250565b60008060006040848603121561224e57600080fd5b600061225c86828701611fc5565b935050602084013567ffffffffffffffff81111561227957600080fd5b61228586828701611fef565b92509250509250925092565b600080604083850312156122a457600080fd5b60006122b285828601611fc5565b92505060206122c385828601612039565b9150509250929050565b600080604083850312156122e057600080fd5b60006122ee85828601611fc5565b92505060206122ff858286016120cc565b9150509250929050565b60008060006040848603121561231e57600080fd5b600084013567ffffffffffffffff81111561233857600080fd5b61234486828701611fef565b93509350506020612357868287016120cc565b9150509250925092565b60006020828403121561237357600080fd5b60006123818482850161204e565b91505092915050565b60006020828403121561239c57600080fd5b60006123aa84828501612063565b91505092915050565b6000602082840312156123c557600080fd5b600082013567ffffffffffffffff8111156123df57600080fd5b6123eb848285016120a2565b91505092915050565b60006020828403121561240657600080fd5b6000612414848285016120cc565b91505092915050565b61242681612813565b82525050565b61243581612825565b82525050565b6000612446826127d0565b61245081856127e6565b93506124608185602086016128ba565b61246981612a26565b840191505092915050565b61247d81612887565b82525050565b600061248e826127db565b61249881856127f7565b93506124a88185602086016128ba565b6124b181612a26565b840191505092915050565b60006124c7826127db565b6124d18185612808565b93506124e18185602086016128ba565b80840191505092915050565b60006124fa6013836127f7565b915061250582612a37565b602082019050919050565b600061251d6026836127f7565b915061252882612a60565b604082019050919050565b60006125406038836127f7565b915061254b82612aaf565b604082019050919050565b60006125636020836127f7565b915061256e82612afe565b602082019050919050565b6000612586601f836127f7565b915061259182612b27565b602082019050919050565b6125a58161287d565b82525050565b60006125b782856124bc565b91506125c382846124bc565b91508190509392505050565b60006020820190506125e4600083018461241d565b92915050565b60006080820190506125ff600083018761241d565b61260c602083018661241d565b612619604083018561259c565b818103606083015261262b818461243b565b905095945050505050565b600060208201905061264b600083018461242c565b92915050565b60006020820190506126666000830184612474565b92915050565b600060208201905081810360008301526126868184612483565b905092915050565b600060208201905081810360008301526126a7816124ed565b9050919050565b600060208201905081810360008301526126c781612510565b9050919050565b600060208201905081810360008301526126e781612533565b9050919050565b6000602082019050818103600083015261270781612556565b9050919050565b6000602082019050818103600083015261272781612579565b9050919050565b6000602082019050612743600083018461259c565b92915050565b6000612753612764565b905061275f828261291f565b919050565b6000604051905090565b600067ffffffffffffffff821115612789576127886129f7565b5b61279282612a26565b9050602081019050919050565b600067ffffffffffffffff8211156127ba576127b96129f7565b5b6127c382612a26565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061281e8261285d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061289282612899565b9050919050565b60006128a48261285d565b9050919050565b82818337600083830152505050565b60005b838110156128d85780820151818401526020810190506128bd565b838111156128e7576000848401525b50505050565b6000600282049050600182168061290557607f821691505b60208210811415612919576129186129c8565b5b50919050565b61292882612a26565b810181811067ffffffffffffffff82111715612947576129466129f7565b5b80604052505050565b600061295b8261287d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561298e5761298d612999565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f53616c65206d7573742062652061637469766500000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f7420746865206f776e6572206f6620746865206d60008201527f65656269747320746f6b656e2049442070726f76696465640000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b612b5981612813565b8114612b6457600080fd5b50565b612b7081612825565b8114612b7b57600080fd5b50565b612b8781612831565b8114612b9257600080fd5b50565b612b9e8161287d565b8114612ba957600080fd5b5056fea26469706673582212206da4a7f11ddcb69dffd98010abc644bc5d471e0c4fda3e6eb870c663b21a020864736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000600000000000000000000000007bd29408f11d2bfc23c34f18275bbf23bb716bc70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003568747470733a2f2f6d65656b69636b732e73332e75732d776573742d322e616d617a6f6e6177732e636f6d2f6d657461646174612f0000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061014d5760003560e01c80636352211e116100c3578063a77099881161007c578063a770998814610364578063b88d4fde14610382578063c87b56dd1461039e578063d7763409146103ce578063e985e9c5146103fe578063f2fde38b1461042e5761014d565b80636352211e146102a257806370a08231146102d2578063715018a6146103025780638da5cb5b1461030c57806395d89b411461032a578063a22cb465146103485761014d565b806323b872dd1161011557806323b872dd1461020a57806334918dfd1461022657806342842e0e1461023057806355f804b31461024c578063564566a8146102685780635a069e33146102865761014d565b806301ffc9a71461015257806306fdde0314610182578063081812fc146101a0578063095ea7b3146101d057806318160ddd146101ec575b600080fd5b61016c60048036038101906101679190612361565b61044a565b6040516101799190612636565b60405180910390f35b61018a6104dc565b604051610197919061266c565b60405180910390f35b6101ba60048036038101906101b591906123f4565b61056e565b6040516101c791906125cf565b60405180910390f35b6101ea60048036038101906101e591906122cd565b6105ea565b005b6101f4610791565b604051610201919061272e565b60405180910390f35b610224600480360381019061021f919061216f565b61079e565b005b61022e6107ae565b005b61024a6004803603810190610245919061216f565b610856565b005b610266600480360381019061026191906123b3565b610876565b005b61027061090c565b60405161027d9190612636565b60405180910390f35b6102a0600480360381019061029b9190612309565b61091f565b005b6102bc60048036038101906102b791906123f4565b610a1f565b6040516102c991906125cf565b60405180910390f35b6102ec60048036038101906102e791906120e1565b610a31565b6040516102f9919061272e565b60405180910390f35b61030a610aea565b005b610314610b72565b60405161032191906125cf565b60405180910390f35b610332610b9c565b60405161033f919061266c565b60405180910390f35b610362600480360381019061035d9190612291565b610c2e565b005b61036c610da6565b6040516103799190612651565b60405180910390f35b61039c600480360381019061039791906121be565b610dca565b005b6103b860048036038101906103b391906123f4565b610e3d565b6040516103c5919061266c565b60405180910390f35b6103e860048036038101906103e39190612239565b610edc565b6040516103f59190612636565b60405180910390f35b61041860048036038101906104139190612133565b61103a565b6040516104259190612636565b60405180910390f35b610448600480360381019061044391906120e1565b6110ce565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104a557506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104d55750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600180546104eb906128ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610517906128ed565b80156105645780601f1061053957610100808354040283529160200191610564565b820191906000526020600020905b81548152906001019060200180831161054757829003601f168201915b5050505050905090565b6000610579826111c6565b6105af576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105f582611224565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561065d576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661067c6112b4565b73ffffffffffffffffffffffffffffffffffffffff16146106df576106a8816106a36112b4565b61103a565b6106de576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000805460035403905090565b6107a98383836112bc565b505050565b6107b6611692565b73ffffffffffffffffffffffffffffffffffffffff166107d4610b72565b73ffffffffffffffffffffffffffffffffffffffff161461082a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610821906126ee565b60405180910390fd5b600a60009054906101000a900460ff1615600a60006101000a81548160ff021916908315150217905550565b61087183838360405180602001604052806000815250610dca565b505050565b61087e611692565b73ffffffffffffffffffffffffffffffffffffffff1661089c610b72565b73ffffffffffffffffffffffffffffffffffffffff16146108f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e9906126ee565b60405180910390fd5b80600b9080519060200190610908929190611ea6565b5050565b600a60009054906101000a900460ff1681565b60026009541415610965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095c9061270e565b60405180910390fd5b6002600981905550600a60009054906101000a900460ff166109bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b39061268e565b60405180910390fd5b6109c7338484610edc565b610a06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fd906126ce565b60405180910390fd5b610a123384848461169a565b6001600981905550505050565b6000610a2a82611224565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a99576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610af2611692565b73ffffffffffffffffffffffffffffffffffffffff16610b10610b72565b73ffffffffffffffffffffffffffffffffffffffff1614610b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5d906126ee565b60405180910390fd5b610b7060006116bc565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054610bab906128ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd7906128ed565b8015610c245780601f10610bf957610100808354040283529160200191610c24565b820191906000526020600020905b815481529060010190602001808311610c0757829003601f168201915b5050505050905090565b610c366112b4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c9b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000610ca86112b4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610d556112b4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d9a9190612636565b60405180910390a35050565b7f0000000000000000000000007bd29408f11d2bfc23c34f18275bbf23bb716bc781565b610dd58484846112bc565b60008373ffffffffffffffffffffffffffffffffffffffff163b14610e3757610e0084848484611782565b610e36576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060610e48826111c6565b610e7e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610e886118e2565b9050600081511415610ea95760405180602001604052806000815250610ed4565b80610eb384611974565b604051602001610ec49291906125ab565b6040516020818303038152906040525b915050919050565b6000805b8473ffffffffffffffffffffffffffffffffffffffff167f0000000000000000000000007bd29408f11d2bfc23c34f18275bbf23bb716bc773ffffffffffffffffffffffffffffffffffffffff16636352211e868685818110610f6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518263ffffffff1660e01b8152600401610f8f919061272e565b60206040518083038186803b158015610fa757600080fd5b505afa158015610fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdf919061210a565b73ffffffffffffffffffffffffffffffffffffffff1614610fff57611018565b808061100a90612950565b915050838390508110610ee0575b8383905081141561102d576001915050611033565b60009150505b9392505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110d6611692565b73ffffffffffffffffffffffffffffffffffffffff166110f4610b72565b73ffffffffffffffffffffffffffffffffffffffff161461114a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611141906126ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b1906126ae565b60405180910390fd5b6111c3816116bc565b50565b60008060046000848152602001908152602001600020541415801561121d575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905060006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561127d576000811461127c5780925050506112af565b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b60006112c782611224565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461132e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661134f6112b4565b73ffffffffffffffffffffffffffffffffffffffff16148061137e575061137d856113786112b4565b61103a565b5b806113c3575061138c6112b4565b73ffffffffffffffffffffffffffffffffffffffff166113ab8461056e565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806113fc576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611463576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600167ffffffffffffffff8111156114a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156114d45781602001602082028036833780820191505090505b5090508381600081518110611512577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505061152b86868360016119ce565b6006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555060a042901b61160a866119d4565b176004600086815260200190815260200160002081905550838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461168a86868360016119de565b505050505050565b600033905090565b6116b684848484604051806020016040528060008152506119e4565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026117a86112b4565b8786866040518563ffffffff1660e01b81526004016117ca94939291906125ea565b602060405180830381600087803b1580156117e457600080fd5b505af192505050801561181557506040513d601f19601f82011682018060405250810190611812919061238a565b60015b61188f573d8060008114611845576040519150601f19603f3d011682016040523d82523d6000602084013e61184a565b606091505b50600081511415611887576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b80546118f1906128ed565b80601f016020809104026020016040519081016040528092919081815260200182805461191d906128ed565b801561196a5780601f1061193f5761010080835404028352916020019161196a565b820191906000526020600020905b81548152906001019060200180831161194d57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156119ba57600183039250600a81066030018353600a8104905061199a565b508181036020830392508083525050919050565b50505050565b6000819050919050565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611a4b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415611a86576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b838390508214611ac2576040517f793f05be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b10600086868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050856119ce565b600160406001901b178202600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060005b82811015611e4057611bba858583818110611bae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356111c6565b15611bf1576040517feae9f86900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60a042901b611bff876119d4565b1760046000878785818110611c3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013581526020019081526020016000208190555060008673ffffffffffffffffffffffffffffffffffffffff163b14611d9757848482818110611cae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d5c600087878785818110611d4f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013585611782565b611d92576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611e33565b848482818110611dd0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b8080600101915050611b6a565b5081600360008282540192505081905550611e9f600086868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050856119de565b5050505050565b828054611eb2906128ed565b90600052602060002090601f016020900481019282611ed45760008555611f1b565b82601f10611eed57805160ff1916838001178555611f1b565b82800160010185558215611f1b579182015b82811115611f1a578251825591602001919060010190611eff565b5b509050611f289190611f2c565b5090565b5b80821115611f45576000816000905550600101611f2d565b5090565b6000611f5c611f578461276e565b612749565b905082815260208101848484011115611f7457600080fd5b611f7f8482856128ab565b509392505050565b6000611f9a611f958461279f565b612749565b905082815260208101848484011115611fb257600080fd5b611fbd8482856128ab565b509392505050565b600081359050611fd481612b50565b92915050565b600081519050611fe981612b50565b92915050565b60008083601f84011261200157600080fd5b8235905067ffffffffffffffff81111561201a57600080fd5b60208301915083602082028301111561203257600080fd5b9250929050565b60008135905061204881612b67565b92915050565b60008135905061205d81612b7e565b92915050565b60008151905061207281612b7e565b92915050565b600082601f83011261208957600080fd5b8135612099848260208601611f49565b91505092915050565b600082601f8301126120b357600080fd5b81356120c3848260208601611f87565b91505092915050565b6000813590506120db81612b95565b92915050565b6000602082840312156120f357600080fd5b600061210184828501611fc5565b91505092915050565b60006020828403121561211c57600080fd5b600061212a84828501611fda565b91505092915050565b6000806040838503121561214657600080fd5b600061215485828601611fc5565b925050602061216585828601611fc5565b9150509250929050565b60008060006060848603121561218457600080fd5b600061219286828701611fc5565b93505060206121a386828701611fc5565b92505060406121b4868287016120cc565b9150509250925092565b600080600080608085870312156121d457600080fd5b60006121e287828801611fc5565b94505060206121f387828801611fc5565b9350506040612204878288016120cc565b925050606085013567ffffffffffffffff81111561222157600080fd5b61222d87828801612078565b91505092959194509250565b60008060006040848603121561224e57600080fd5b600061225c86828701611fc5565b935050602084013567ffffffffffffffff81111561227957600080fd5b61228586828701611fef565b92509250509250925092565b600080604083850312156122a457600080fd5b60006122b285828601611fc5565b92505060206122c385828601612039565b9150509250929050565b600080604083850312156122e057600080fd5b60006122ee85828601611fc5565b92505060206122ff858286016120cc565b9150509250929050565b60008060006040848603121561231e57600080fd5b600084013567ffffffffffffffff81111561233857600080fd5b61234486828701611fef565b93509350506020612357868287016120cc565b9150509250925092565b60006020828403121561237357600080fd5b60006123818482850161204e565b91505092915050565b60006020828403121561239c57600080fd5b60006123aa84828501612063565b91505092915050565b6000602082840312156123c557600080fd5b600082013567ffffffffffffffff8111156123df57600080fd5b6123eb848285016120a2565b91505092915050565b60006020828403121561240657600080fd5b6000612414848285016120cc565b91505092915050565b61242681612813565b82525050565b61243581612825565b82525050565b6000612446826127d0565b61245081856127e6565b93506124608185602086016128ba565b61246981612a26565b840191505092915050565b61247d81612887565b82525050565b600061248e826127db565b61249881856127f7565b93506124a88185602086016128ba565b6124b181612a26565b840191505092915050565b60006124c7826127db565b6124d18185612808565b93506124e18185602086016128ba565b80840191505092915050565b60006124fa6013836127f7565b915061250582612a37565b602082019050919050565b600061251d6026836127f7565b915061252882612a60565b604082019050919050565b60006125406038836127f7565b915061254b82612aaf565b604082019050919050565b60006125636020836127f7565b915061256e82612afe565b602082019050919050565b6000612586601f836127f7565b915061259182612b27565b602082019050919050565b6125a58161287d565b82525050565b60006125b782856124bc565b91506125c382846124bc565b91508190509392505050565b60006020820190506125e4600083018461241d565b92915050565b60006080820190506125ff600083018761241d565b61260c602083018661241d565b612619604083018561259c565b818103606083015261262b818461243b565b905095945050505050565b600060208201905061264b600083018461242c565b92915050565b60006020820190506126666000830184612474565b92915050565b600060208201905081810360008301526126868184612483565b905092915050565b600060208201905081810360008301526126a7816124ed565b9050919050565b600060208201905081810360008301526126c781612510565b9050919050565b600060208201905081810360008301526126e781612533565b9050919050565b6000602082019050818103600083015261270781612556565b9050919050565b6000602082019050818103600083015261272781612579565b9050919050565b6000602082019050612743600083018461259c565b92915050565b6000612753612764565b905061275f828261291f565b919050565b6000604051905090565b600067ffffffffffffffff821115612789576127886129f7565b5b61279282612a26565b9050602081019050919050565b600067ffffffffffffffff8211156127ba576127b96129f7565b5b6127c382612a26565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061281e8261285d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061289282612899565b9050919050565b60006128a48261285d565b9050919050565b82818337600083830152505050565b60005b838110156128d85780820151818401526020810190506128bd565b838111156128e7576000848401525b50505050565b6000600282049050600182168061290557607f821691505b60208210811415612919576129186129c8565b5b50919050565b61292882612a26565b810181811067ffffffffffffffff82111715612947576129466129f7565b5b80604052505050565b600061295b8261287d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561298e5761298d612999565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f53616c65206d7573742062652061637469766500000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f7420746865206f776e6572206f6620746865206d60008201527f65656269747320746f6b656e2049442070726f76696465640000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b612b5981612813565b8114612b6457600080fd5b50565b612b7081612825565b8114612b7b57600080fd5b50565b612b8781612831565b8114612b9257600080fd5b50565b612b9e8161287d565b8114612ba957600080fd5b5056fea26469706673582212206da4a7f11ddcb69dffd98010abc644bc5d471e0c4fda3e6eb870c663b21a020864736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000600000000000000000000000007bd29408f11d2bfc23c34f18275bbf23bb716bc70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003568747470733a2f2f6d65656b69636b732e73332e75732d776573742d322e616d617a6f6e6177732e636f6d2f6d657461646174612f0000000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI_ (string): https://meekicks.s3.us-west-2.amazonaws.com/metadata/
Arg [1] : _meebits (address): 0x7Bd29408f11D2bFC23c34f18275bBf23bB716Bc7
Arg [2] : _isSaleActive (bool): False
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000007bd29408f11d2bfc23c34f18275bbf23bb716bc7
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [4] : 68747470733a2f2f6d65656b69636b732e73332e75732d776573742d322e616d
Arg [5] : 617a6f6e6177732e636f6d2f6d657461646174612f0000000000000000000000
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.