Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,222 TOMIE
Holders
995
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 TOMIELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TOMIEByJunjiIto
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // @author: Junji Ito // @dev: LEADEDGE // @description: This contract is a tribute to Junji Ito, the master of horror. // TOMIEByJunjiIto https://nft.ji-anime.com pragma solidity ^0.8.7; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "erc721a/contracts/ERC721A.sol"; import "./lib/rarible/royalties/contracts/LibPart.sol"; import "./lib/rarible/royalties/contracts/LibRoyaltiesV2.sol"; import "./lib/rarible/royalties/contracts/RoyaltiesV2.sol"; contract TOMIEByJunjiIto is ERC721A, Ownable, ReentrancyGuard, RoyaltiesV2 { mapping(address => uint256) public whiteLists; uint256 private _whiteListCount; uint256 public tokenAmount = 0; uint256 public privateMintPrice = 0.06 ether; uint256 public publicMintPrice = 0.07 ether; bool public startPrivateSale = false; bool public startPublicSale = false; bool public revealed = false; uint256 private maxPublicMintPerTx = 3; uint256 private _totalSupply = 2222; string private _beforeTokenURI; string private _afterTokenPath; mapping(address => uint256) public privateMinted; // Royality management bytes4 public constant _INTERFACE_ID_ERC2981 = 0x2a55205a; address payable public defaultRoyaltiesReceipientAddress; uint96 public defaultPercentageBasisPoints = 1000; // 10% constructor() ERC721A("TOMIE by Junji Ito", "TOMIE") { defaultRoyaltiesReceipientAddress = payable(msg.sender); } function ownerMint(uint256 amount, address _address) external onlyOwner { require((amount + tokenAmount) <= (_totalSupply), "mint failure"); _safeMint(_address, amount); tokenAmount += amount; } function privateMint(uint256 amount) external payable nonReentrant { require(startPrivateSale, "sale: Paused"); require( whiteLists[msg.sender] >= privateMinted[msg.sender] + amount, "You have reached your mint limit" ); require( msg.value == privateMintPrice * amount, "Incorrect amount of ETH sent" ); require((amount + tokenAmount) <= (_totalSupply), "mint failure"); privateMinted[msg.sender] += amount; _safeMint(msg.sender, amount); tokenAmount += amount; } function publicMint(uint256 amount) external payable nonReentrant { require(startPublicSale, "sale: Paused"); require(maxPublicMintPerTx >= amount, "Exceeds max mints per tx"); require( msg.value == publicMintPrice * amount, "Incorrect amount of ETH sent" ); require((amount + tokenAmount) <= (_totalSupply), "mint failure"); _safeMint(msg.sender, amount); tokenAmount += amount; } function setPrivateMintPrice(uint256 newPrice) external onlyOwner { privateMintPrice = newPrice; } function setPublicMintPrice(uint256 newPrice) external onlyOwner { publicMintPrice = newPrice; } function setReveal(bool bool_) external onlyOwner { revealed = bool_; } function setStartPrivateSale(bool bool_) external onlyOwner { startPrivateSale = bool_; } function setStartPublicSale(bool bool_) external onlyOwner { startPublicSale = bool_; } function setBeforeURI(string memory beforeTokenURI_) external onlyOwner { _beforeTokenURI = beforeTokenURI_; } function setAfterURI(string memory afterTokenPath_) external onlyOwner { _afterTokenPath = afterTokenPath_; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if (revealed == false) { return _beforeTokenURI; } else { return string( abi.encodePacked( _afterTokenPath, Strings.toString(tokenId), ".json" ) ); } } function deleteWL(address addr) external onlyOwner { _whiteListCount = _whiteListCount - whiteLists[addr]; delete (whiteLists[addr]); } function upsertWL(address addr, uint256 maxMint) external onlyOwner { _whiteListCount = _whiteListCount - whiteLists[addr]; whiteLists[addr] = maxMint; _whiteListCount += maxMint; } function pushMultiWLSpecifyNum(address[] memory list, uint256 num) external onlyOwner { for (uint256 i = 0; i < list.length; i++) { whiteLists[list[i]] += num; } _whiteListCount += list.length * num; } function getWLCount() external view returns (uint256) { return _whiteListCount; } function getWL(address _address) external view returns (uint256) { if (whiteLists[_address] < privateMinted[msg.sender]) { return (0); } return whiteLists[_address] - privateMinted[msg.sender]; } function _startTokenId() internal pure override returns (uint256) { return 1; } /** * @dev disable Ownable renounceOwnership */ function renounceOwnership() public override onlyOwner {} /** * @dev do withdraw eth. */ function withdrawETH() external virtual onlyOwner { uint256 royalty = address(this).balance; Address.sendValue(payable(owner()), royalty); } /** * @dev ERC20s should not be sent to this contract, but if someone * does, it's nice to be able to recover them * @param token IERC20 the token address * @param amount uint256 the amount to send */ function forwardERC20s(IERC20 token, uint256 amount) external onlyOwner { token.transfer(msg.sender, amount); } // Royality management /** * @dev set defaultRoyaltiesReceipientAddress * @param _defaultRoyaltiesReceipientAddress address New royality receipient address */ function setDefaultRoyaltiesReceipientAddress( address payable _defaultRoyaltiesReceipientAddress ) external onlyOwner { defaultRoyaltiesReceipientAddress = _defaultRoyaltiesReceipientAddress; } /** * @dev set defaultPercentageBasisPoints * @param _defaultPercentageBasisPoints uint96 New royality percentagy basis points */ function setDefaultPercentageBasisPoints( uint96 _defaultPercentageBasisPoints ) external onlyOwner { defaultPercentageBasisPoints = _defaultPercentageBasisPoints; } /** * @dev return royality for Rarible */ function getRaribleV2Royalties(uint256) external view override returns (LibPart.Part[] memory) { LibPart.Part[] memory _royalties = new LibPart.Part[](1); _royalties[0].value = defaultPercentageBasisPoints; _royalties[0].account = defaultRoyaltiesReceipientAddress; return _royalties; } /** * @dev return royality in EIP-2981 standard * @param _salePrice uint256 sales price of the token royality is calculated */ function royaltyInfo(uint256, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount) { return ( defaultRoyaltiesReceipientAddress, (_salePrice * defaultPercentageBasisPoints) / 10000 ); } /** * @dev Interface */ function supportsInterface(bytes4 interfaceId) public view override(ERC721A) returns (bool) { if (interfaceId == LibRoyaltiesV2._INTERFACE_ID_ROYALTIES) { return true; } if (interfaceId == _INTERFACE_ID_ERC2981) { return true; } return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library LibRoyaltiesV2 { /* * bytes4(keccak256('getRoyalties(LibAsset.AssetType)')) == 0xcad96cca */ bytes4 constant _INTERFACE_ID_ROYALTIES = 0xcad96cca; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library LibPart { bytes32 public constant TYPE_HASH = keccak256("Part(address account,uint96 value)"); struct Part { address payable account; uint96 value; } function hash(Part memory part) internal pure returns (bytes32) { return keccak256(abi.encode(TYPE_HASH, part.account, part.value)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./LibPart.sol"; interface RoyaltiesV2 { event RoyaltiesSet(uint256 tokenId, LibPart.Part[] royalties); function getRaribleV2Royalties(uint256 id) external view returns (LibPart.Part[] memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// 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 // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
{ "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":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"indexed":false,"internalType":"struct LibPart.Part[]","name":"royalties","type":"tuple[]"}],"name":"RoyaltiesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_INTERFACE_ID_ERC2981","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultPercentageBasisPoints","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultRoyaltiesReceipientAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"deleteWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"forwardERC20s","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getRaribleV2Royalties","outputs":[{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWLCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"amount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"privateMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"privateMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"privateMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"list","type":"address[]"},{"internalType":"uint256","name":"num","type":"uint256"}],"name":"pushMultiWLSpecifyNum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"afterTokenPath_","type":"string"}],"name":"setAfterURI","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":"beforeTokenURI_","type":"string"}],"name":"setBeforeURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"_defaultPercentageBasisPoints","type":"uint96"}],"name":"setDefaultPercentageBasisPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_defaultRoyaltiesReceipientAddress","type":"address"}],"name":"setDefaultRoyaltiesReceipientAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrivateMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setStartPrivateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setStartPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPrivateSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"maxMint","type":"uint256"}],"name":"upsertWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whiteLists","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600c5566d529ae9e860000600d5566f8b0a10e470000600e556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055506000600f60026101000a81548160ff02191690831515021790555060036010556108ae6011556103e8601560146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550348015620000bb57600080fd5b506040518060400160405280601281526020017f544f4d4945206279204a756e6a692049746f00000000000000000000000000008152506040518060400160405280600581526020017f544f4d4945000000000000000000000000000000000000000000000000000000815250816002908051906020019062000140929190620002b8565b50806003908051906020019062000159929190620002b8565b506200016a620001e160201b60201c565b60008190555050506200019262000186620001ea60201b60201c565b620001f260201b60201c565b600160098190555033601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003cd565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002c69062000397565b90600052602060002090601f016020900481019282620002ea576000855562000336565b82601f106200030557805160ff191683800117855562000336565b8280016001018555821562000336579182015b828111156200033557825182559160200191906001019062000318565b5b50905062000345919062000349565b5090565b5b80821115620003645760008160009055506001016200034a565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003b057607f821691505b60208210811415620003c757620003c662000368565b5b50919050565b61449480620003dd6000396000f3fe6080604052600436106102ad5760003560e01c8063715018a611610175578063b88d4fde116100dc578063dc53fd9211610095578063ed00c02d1161006f578063ed00c02d14610a6c578063eec7faa114610a95578063f2fde38b14610ac0578063ffa67b8314610ae9576102ad565b8063dc53fd92146109ed578063e086e5ec14610a18578063e985e9c514610a2f576102ad565b8063b88d4fde146108d8578063c87b56dd146108f4578063cad96cca14610931578063cd3a8e271461096e578063d0ec7fd414610999578063d52c57e0146109c4576102ad565b80639727151a1161012e5780639727151a146107d757806397a6a8ed146108005780639a6a96701461082b5780639fa2a40a14610856578063a22cb46514610893578063abfe40a8146108bc576102ad565b8063715018a6146106ef578063862d3724146107065780638cffd16a1461072f5780638da5cb5b1461075857806391dcbd101461078357806395d89b41146107ac576102ad565b80632a7144f71161021957806353dc840b116101d257806353dc840b146105bd578063547bef2c146105fa5780635d82cf6e146106235780636352211e1461064c578063687889ab1461068957806370a08231146106b2576102ad565b80632a7144f7146104c95780632db1154414610506578063338dbf591461052257806342842e0e1461054d5780634eaefb38146105695780635183022714610592576102ad565b80630c1c972a1161026b5780630c1c972a146103c757806318160ddd146103f25780631970d1fb1461041d57806323b872dd146104465780632a3f300c146104625780632a55205a1461048b576102ad565b806204348e146102b257806301ffc9a7146102dd578063021f70ae1461031a57806306fdde0314610343578063081812fc1461036e578063095ea7b3146103ab575b600080fd5b3480156102be57600080fd5b506102c7610b12565b6040516102d49190612e91565b60405180910390f35b3480156102e957600080fd5b5061030460048036038101906102ff9190612f18565b610b18565b6040516103119190612f60565b60405180910390f35b34801561032657600080fd5b50610341600480360381019061033c9190612fd9565b610bd7565b005b34801561034f57600080fd5b50610358610c78565b604051610365919061309f565b60405180910390f35b34801561037a57600080fd5b50610395600480360381019061039091906130ed565b610d0a565b6040516103a29190613129565b60405180910390f35b6103c560048036038101906103c09190613144565b610d89565b005b3480156103d357600080fd5b506103dc610ecd565b6040516103e99190612f60565b60405180910390f35b3480156103fe57600080fd5b50610407610ee0565b6040516104149190612e91565b60405180910390f35b34801561042957600080fd5b50610444600480360381019061043f91906130ed565b610ef7565b005b610460600480360381019061045b9190613184565b610f09565b005b34801561046e57600080fd5b5061048960048036038101906104849190613203565b61122e565b005b34801561049757600080fd5b506104b260048036038101906104ad9190613230565b611253565b6040516104c0929190613270565b60405180910390f35b3480156104d557600080fd5b506104f060048036038101906104eb9190612fd9565b6112c5565b6040516104fd9190612e91565b60405180910390f35b610520600480360381019061051b91906130ed565b6112dd565b005b34801561052e57600080fd5b5061053761148e565b6040516105449190612f60565b60405180910390f35b61056760048036038101906105629190613184565b6114a1565b005b34801561057557600080fd5b50610590600480360381019061058b9190613203565b6114c1565b005b34801561059e57600080fd5b506105a76114e6565b6040516105b49190612f60565b60405180910390f35b3480156105c957600080fd5b506105e460048036038101906105df9190612fd9565b6114f9565b6040516105f19190612e91565b60405180910390f35b34801561060657600080fd5b50610621600480360381019061061c9190613144565b611511565b005b34801561062f57600080fd5b5061064a600480360381019061064591906130ed565b6115cd565b005b34801561065857600080fd5b50610673600480360381019061066e91906130ed565b6115df565b6040516106809190613129565b60405180910390f35b34801561069557600080fd5b506106b060048036038101906106ab91906133e1565b6115f1565b005b3480156106be57600080fd5b506106d960048036038101906106d49190612fd9565b6116b2565b6040516106e69190612e91565b60405180910390f35b3480156106fb57600080fd5b5061070461176b565b005b34801561071257600080fd5b5061072d600480360381019061072891906134f2565b611775565b005b34801561073b57600080fd5b5061075660048036038101906107519190613579565b611797565b005b34801561076457600080fd5b5061076d6117e3565b60405161077a9190613129565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a591906134f2565b61180d565b005b3480156107b857600080fd5b506107c161182f565b6040516107ce919061309f565b60405180910390f35b3480156107e357600080fd5b506107fe60048036038101906107f991906135e4565b6118c1565b005b34801561080c57600080fd5b5061081561195b565b6040516108229190613633565b60405180910390f35b34801561083757600080fd5b50610840611966565b60405161084d9190613675565b60405180910390f35b34801561086257600080fd5b5061087d60048036038101906108789190612fd9565b611984565b60405161088a9190612e91565b60405180910390f35b34801561089f57600080fd5b506108ba60048036038101906108b59190613690565b611aa7565b005b6108d660048036038101906108d191906130ed565b611bb2565b005b6108f260048036038101906108ed9190613771565b611e40565b005b34801561090057600080fd5b5061091b600480360381019061091691906130ed565b611eb3565b604051610928919061309f565b60405180910390f35b34801561093d57600080fd5b50610958600480360381019061095391906130ed565b611fde565b60405161096591906138f0565b60405180910390f35b34801561097a57600080fd5b50610983612114565b6040516109909190613921565b60405180910390f35b3480156109a557600080fd5b506109ae61213a565b6040516109bb9190612e91565b60405180910390f35b3480156109d057600080fd5b506109eb60048036038101906109e6919061393c565b612144565b005b3480156109f957600080fd5b50610a026121c5565b604051610a0f9190612e91565b60405180910390f35b348015610a2457600080fd5b50610a2d6121cb565b005b348015610a3b57600080fd5b50610a566004803603810190610a51919061397c565b6121ec565b604051610a639190612f60565b60405180910390f35b348015610a7857600080fd5b50610a936004803603810190610a8e91906139e8565b612280565b005b348015610aa157600080fd5b50610aaa6122bc565b604051610ab79190612e91565b60405180910390f35b348015610acc57600080fd5b50610ae76004803603810190610ae29190612fd9565b6122c2565b005b348015610af557600080fd5b50610b106004803603810190610b0b9190613203565b612346565b005b600d5481565b600063cad96cca60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610b705760019050610bd2565b632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610bc65760019050610bd2565b610bcf8261236b565b90505b919050565b610bdf6123fd565b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b54610c2c9190613a44565b600b81905550600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000905550565b606060028054610c8790613aa7565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb390613aa7565b8015610d005780601f10610cd557610100808354040283529160200191610d00565b820191906000526020600020905b815481529060010190602001808311610ce357829003601f168201915b5050505050905090565b6000610d158261247b565b610d4b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d94826115df565b90508073ffffffffffffffffffffffffffffffffffffffff16610db56124da565b73ffffffffffffffffffffffffffffffffffffffff1614610e1857610de181610ddc6124da565b6121ec565b610e17576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600f60019054906101000a900460ff1681565b6000610eea6124e2565b6001546000540303905090565b610eff6123fd565b80600d8190555050565b6000610f14826124eb565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f7b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610f87846125b9565b91509150610f9d8187610f986124da565b6125e0565b610fe957610fb286610fad6124da565b6121ec565b610fe8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611050576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61105d8686866001612624565b801561106857600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506111368561111288888761262a565b7c020000000000000000000000000000000000000000000000000000000017612652565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156111be5760006001850190506000600460008381526020019081526020016000205414156111bc5760005481146111bb578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611226868686600161267d565b505050505050565b6112366123fd565b80600f60026101000a81548160ff02191690831515021790555050565b600080601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710601560149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16856112b09190613ad9565b6112ba9190613b62565b915091509250929050565b60146020528060005260406000206000915090505481565b60026009541415611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131a90613bdf565b60405180910390fd5b6002600981905550600f60019054906101000a900460ff1661137a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137190613c4b565b60405180910390fd5b8060105410156113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690613cb7565b60405180910390fd5b80600e546113cd9190613ad9565b341461140e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140590613d23565b60405180910390fd5b601154600c548261141f9190613d43565b1115611460576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145790613de5565b60405180910390fd5b61146a3382612683565b80600c600082825461147c9190613d43565b92505081905550600160098190555050565b600f60009054906101000a900460ff1681565b6114bc83838360405180602001604052806000815250611e40565b505050565b6114c96123fd565b80600f60016101000a81548160ff02191690831515021790555050565b600f60029054906101000a900460ff1681565b600a6020528060005260406000206000915090505481565b6115196123fd565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b546115669190613a44565b600b8190555080600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600b60008282546115c29190613d43565b925050819055505050565b6115d56123fd565b80600e8190555050565b60006115ea826124eb565b9050919050565b6115f96123fd565b60005b82518110156116885781600a600085848151811061161d5761161c613e05565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461166e9190613d43565b92505081905550808061168090613e34565b9150506115fc565b508082516116969190613ad9565b600b60008282546116a79190613d43565b925050819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561171a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117736123fd565b565b61177d6123fd565b8060139080519060200190611793929190612d97565b5050565b61179f6123fd565b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6118156123fd565b806012908051906020019061182b929190612d97565b5050565b60606003805461183e90613aa7565b80601f016020809104026020016040519081016040528092919081815260200182805461186a90613aa7565b80156118b75780601f1061188c576101008083540402835291602001916118b7565b820191906000526020600020905b81548152906001019060200180831161189a57829003601f168201915b5050505050905090565b6118c96123fd565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401611904929190613270565b602060405180830381600087803b15801561191e57600080fd5b505af1158015611932573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119569190613e92565b505050565b632a55205a60e01b81565b601560149054906101000a90046bffffffffffffffffffffffff1681565b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611a155760009050611aa2565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a9f9190613a44565b90505b919050565b8060076000611ab46124da565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b616124da565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ba69190612f60565b60405180910390a35050565b60026009541415611bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bef90613bdf565b60405180910390fd5b6002600981905550600f60009054906101000a900460ff16611c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4690613c4b565b60405180910390fd5b80601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c9a9190613d43565b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1290613f0b565b60405180910390fd5b80600d54611d299190613ad9565b3414611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6190613d23565b60405180910390fd5b601154600c5482611d7b9190613d43565b1115611dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db390613de5565b60405180910390fd5b80601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e0b9190613d43565b92505081905550611e1c3382612683565b80600c6000828254611e2e9190613d43565b92505081905550600160098190555050565b611e4b848484610f09565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611ead57611e76848484846126a1565b611eac576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611ebe8261247b565b611efd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef490613f9d565b60405180910390fd5b60001515600f60029054906101000a900460ff1615151415611fab5760128054611f2690613aa7565b80601f0160208091040260200160405190810160405280929190818152602001828054611f5290613aa7565b8015611f9f5780601f10611f7457610100808354040283529160200191611f9f565b820191906000526020600020905b815481529060010190602001808311611f8257829003601f168201915b50505050509050611fd9565b6013611fb683612801565b604051602001611fc79291906140d9565b60405160208183030381529060405290505b919050565b60606000600167ffffffffffffffff811115611ffd57611ffc61329e565b5b60405190808252806020026020018201604052801561203657816020015b612023612e1d565b81526020019060019003908161201b5790505b509050601560149054906101000a90046bffffffffffffffffffffffff168160008151811061206857612067613e05565b5b6020026020010151602001906bffffffffffffffffffffffff1690816bffffffffffffffffffffffff1681525050601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816000815181106120cd576120cc613e05565b5b60200260200101516000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505080915050919050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600b54905090565b61214c6123fd565b601154600c548361215d9190613d43565b111561219e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219590613de5565b60405180910390fd5b6121a88183612683565b81600c60008282546121ba9190613d43565b925050819055505050565b600e5481565b6121d36123fd565b60004790506121e96121e36117e3565b82612962565b50565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122886123fd565b80601560146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b600c5481565b6122ca6123fd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561233a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123319061417a565b60405180910390fd5b61234381612a56565b50565b61234e6123fd565b80600f60006101000a81548160ff02191690831515021790555050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123c657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806123f65750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b612405612b1c565b73ffffffffffffffffffffffffffffffffffffffff166124236117e3565b73ffffffffffffffffffffffffffffffffffffffff1614612479576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612470906141e6565b60405180910390fd5b565b6000816124866124e2565b11158015612495575060005482105b80156124d3575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600080829050806124fa6124e2565b11612582576000548110156125815760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561257f575b600081141561257557600460008360019003935083815260200190815260200160002054905061254a565b80925050506125b4565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612641868684612b24565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61269d828260405180602001604052806000815250612b2d565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126c76124da565b8786866040518563ffffffff1660e01b81526004016126e9949392919061425b565b602060405180830381600087803b15801561270357600080fd5b505af192505050801561273457506040513d601f19601f8201168201806040525081019061273191906142bc565b60015b6127ae573d8060008114612764576040519150601f19603f3d011682016040523d82523d6000602084013e612769565b606091505b506000815114156127a6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612849576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061295d565b600082905060005b6000821461287b57808061286490613e34565b915050600a826128749190613b62565b9150612851565b60008167ffffffffffffffff8111156128975761289661329e565b5b6040519080825280601f01601f1916602001820160405280156128c95781602001600182028036833780820191505090505b5090505b60008514612956576001826128e29190613a44565b9150600a856128f191906142e9565b60306128fd9190613d43565b60f81b81838151811061291357612912613e05565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561294f9190613b62565b94506128cd565b8093505050505b919050565b804710156129a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299c90614366565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516129cb906143b7565b60006040518083038185875af1925050503d8060008114612a08576040519150601f19603f3d011682016040523d82523d6000602084013e612a0d565b606091505b5050905080612a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a489061443e565b60405180910390fd5b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b60009392505050565b612b378383612bca565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612bc557600080549050600083820390505b612b7760008683806001019450866126a1565b612bad576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612b64578160005414612bc257600080fd5b50505b505050565b6000805490506000821415612c0b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c186000848385612624565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612c8f83612c80600086600061262a565b612c8985612d87565b17612652565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612d3057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612cf5565b506000821415612d6c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612d82600084838561267d565b505050565b60006001821460e11b9050919050565b828054612da390613aa7565b90600052602060002090601f016020900481019282612dc55760008555612e0c565b82601f10612dde57805160ff1916838001178555612e0c565b82800160010185558215612e0c579182015b82811115612e0b578251825591602001919060010190612df0565b5b509050612e199190612e5b565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff1681525090565b5b80821115612e74576000816000905550600101612e5c565b5090565b6000819050919050565b612e8b81612e78565b82525050565b6000602082019050612ea66000830184612e82565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ef581612ec0565b8114612f0057600080fd5b50565b600081359050612f1281612eec565b92915050565b600060208284031215612f2e57612f2d612eb6565b5b6000612f3c84828501612f03565b91505092915050565b60008115159050919050565b612f5a81612f45565b82525050565b6000602082019050612f756000830184612f51565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612fa682612f7b565b9050919050565b612fb681612f9b565b8114612fc157600080fd5b50565b600081359050612fd381612fad565b92915050565b600060208284031215612fef57612fee612eb6565b5b6000612ffd84828501612fc4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613040578082015181840152602081019050613025565b8381111561304f576000848401525b50505050565b6000601f19601f8301169050919050565b600061307182613006565b61307b8185613011565b935061308b818560208601613022565b61309481613055565b840191505092915050565b600060208201905081810360008301526130b98184613066565b905092915050565b6130ca81612e78565b81146130d557600080fd5b50565b6000813590506130e7816130c1565b92915050565b60006020828403121561310357613102612eb6565b5b6000613111848285016130d8565b91505092915050565b61312381612f9b565b82525050565b600060208201905061313e600083018461311a565b92915050565b6000806040838503121561315b5761315a612eb6565b5b600061316985828601612fc4565b925050602061317a858286016130d8565b9150509250929050565b60008060006060848603121561319d5761319c612eb6565b5b60006131ab86828701612fc4565b93505060206131bc86828701612fc4565b92505060406131cd868287016130d8565b9150509250925092565b6131e081612f45565b81146131eb57600080fd5b50565b6000813590506131fd816131d7565b92915050565b60006020828403121561321957613218612eb6565b5b6000613227848285016131ee565b91505092915050565b6000806040838503121561324757613246612eb6565b5b6000613255858286016130d8565b9250506020613266858286016130d8565b9150509250929050565b6000604082019050613285600083018561311a565b6132926020830184612e82565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6132d682613055565b810181811067ffffffffffffffff821117156132f5576132f461329e565b5b80604052505050565b6000613308612eac565b905061331482826132cd565b919050565b600067ffffffffffffffff8211156133345761333361329e565b5b602082029050602081019050919050565b600080fd5b600061335d61335884613319565b6132fe565b905080838252602082019050602084028301858111156133805761337f613345565b5b835b818110156133a957806133958882612fc4565b845260208401935050602081019050613382565b5050509392505050565b600082601f8301126133c8576133c7613299565b5b81356133d884826020860161334a565b91505092915050565b600080604083850312156133f8576133f7612eb6565b5b600083013567ffffffffffffffff81111561341657613415612ebb565b5b613422858286016133b3565b9250506020613433858286016130d8565b9150509250929050565b600080fd5b600067ffffffffffffffff82111561345d5761345c61329e565b5b61346682613055565b9050602081019050919050565b82818337600083830152505050565b600061349561349084613442565b6132fe565b9050828152602081018484840111156134b1576134b061343d565b5b6134bc848285613473565b509392505050565b600082601f8301126134d9576134d8613299565b5b81356134e9848260208601613482565b91505092915050565b60006020828403121561350857613507612eb6565b5b600082013567ffffffffffffffff81111561352657613525612ebb565b5b613532848285016134c4565b91505092915050565b600061354682612f7b565b9050919050565b6135568161353b565b811461356157600080fd5b50565b6000813590506135738161354d565b92915050565b60006020828403121561358f5761358e612eb6565b5b600061359d84828501613564565b91505092915050565b60006135b182612f9b565b9050919050565b6135c1816135a6565b81146135cc57600080fd5b50565b6000813590506135de816135b8565b92915050565b600080604083850312156135fb576135fa612eb6565b5b6000613609858286016135cf565b925050602061361a858286016130d8565b9150509250929050565b61362d81612ec0565b82525050565b60006020820190506136486000830184613624565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61366f8161364e565b82525050565b600060208201905061368a6000830184613666565b92915050565b600080604083850312156136a7576136a6612eb6565b5b60006136b585828601612fc4565b92505060206136c6858286016131ee565b9150509250929050565b600067ffffffffffffffff8211156136eb576136ea61329e565b5b6136f482613055565b9050602081019050919050565b600061371461370f846136d0565b6132fe565b9050828152602081018484840111156137305761372f61343d565b5b61373b848285613473565b509392505050565b600082601f83011261375857613757613299565b5b8135613768848260208601613701565b91505092915050565b6000806000806080858703121561378b5761378a612eb6565b5b600061379987828801612fc4565b94505060206137aa87828801612fc4565b93505060406137bb878288016130d8565b925050606085013567ffffffffffffffff8111156137dc576137db612ebb565b5b6137e887828801613743565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6138298161353b565b82525050565b6138388161364e565b82525050565b6040820160008201516138546000850182613820565b506020820151613867602085018261382f565b50505050565b6000613879838361383e565b60408301905092915050565b6000602082019050919050565b600061389d826137f4565b6138a781856137ff565b93506138b283613810565b8060005b838110156138e35781516138ca888261386d565b97506138d583613885565b9250506001810190506138b6565b5085935050505092915050565b6000602082019050818103600083015261390a8184613892565b905092915050565b61391b8161353b565b82525050565b60006020820190506139366000830184613912565b92915050565b6000806040838503121561395357613952612eb6565b5b6000613961858286016130d8565b925050602061397285828601612fc4565b9150509250929050565b6000806040838503121561399357613992612eb6565b5b60006139a185828601612fc4565b92505060206139b285828601612fc4565b9150509250929050565b6139c58161364e565b81146139d057600080fd5b50565b6000813590506139e2816139bc565b92915050565b6000602082840312156139fe576139fd612eb6565b5b6000613a0c848285016139d3565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a4f82612e78565b9150613a5a83612e78565b925082821015613a6d57613a6c613a15565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613abf57607f821691505b60208210811415613ad357613ad2613a78565b5b50919050565b6000613ae482612e78565b9150613aef83612e78565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b2857613b27613a15565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613b6d82612e78565b9150613b7883612e78565b925082613b8857613b87613b33565b5b828204905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613bc9601f83613011565b9150613bd482613b93565b602082019050919050565b60006020820190508181036000830152613bf881613bbc565b9050919050565b7f73616c653a205061757365640000000000000000000000000000000000000000600082015250565b6000613c35600c83613011565b9150613c4082613bff565b602082019050919050565b60006020820190508181036000830152613c6481613c28565b9050919050565b7f45786365656473206d6178206d696e7473207065722074780000000000000000600082015250565b6000613ca1601883613011565b9150613cac82613c6b565b602082019050919050565b60006020820190508181036000830152613cd081613c94565b9050919050565b7f496e636f727265637420616d6f756e74206f66204554482073656e7400000000600082015250565b6000613d0d601c83613011565b9150613d1882613cd7565b602082019050919050565b60006020820190508181036000830152613d3c81613d00565b9050919050565b6000613d4e82612e78565b9150613d5983612e78565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d8e57613d8d613a15565b5b828201905092915050565b7f6d696e74206661696c7572650000000000000000000000000000000000000000600082015250565b6000613dcf600c83613011565b9150613dda82613d99565b602082019050919050565b60006020820190508181036000830152613dfe81613dc2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613e3f82612e78565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e7257613e71613a15565b5b600182019050919050565b600081519050613e8c816131d7565b92915050565b600060208284031215613ea857613ea7612eb6565b5b6000613eb684828501613e7d565b91505092915050565b7f596f752068617665207265616368656420796f7572206d696e74206c696d6974600082015250565b6000613ef5602083613011565b9150613f0082613ebf565b602082019050919050565b60006020820190508181036000830152613f2481613ee8565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613f87602f83613011565b9150613f9282613f2b565b604082019050919050565b60006020820190508181036000830152613fb681613f7a565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613fea81613aa7565b613ff48186613fbd565b9450600182166000811461400f576001811461402057614053565b60ff19831686528186019350614053565b61402985613fc8565b60005b8381101561404b5781548189015260018201915060208101905061402c565b838801955050505b50505092915050565b600061406782613006565b6140718185613fbd565b9350614081818560208601613022565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006140c3600583613fbd565b91506140ce8261408d565b600582019050919050565b60006140e58285613fdd565b91506140f1828461405c565b91506140fc826140b6565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614164602683613011565b915061416f82614108565b604082019050919050565b6000602082019050818103600083015261419381614157565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006141d0602083613011565b91506141db8261419a565b602082019050919050565b600060208201905081810360008301526141ff816141c3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061422d82614206565b6142378185614211565b9350614247818560208601613022565b61425081613055565b840191505092915050565b6000608082019050614270600083018761311a565b61427d602083018661311a565b61428a6040830185612e82565b818103606083015261429c8184614222565b905095945050505050565b6000815190506142b681612eec565b92915050565b6000602082840312156142d2576142d1612eb6565b5b60006142e0848285016142a7565b91505092915050565b60006142f482612e78565b91506142ff83612e78565b92508261430f5761430e613b33565b5b828206905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614350601d83613011565b915061435b8261431a565b602082019050919050565b6000602082019050818103600083015261437f81614343565b9050919050565b600081905092915050565b50565b60006143a1600083614386565b91506143ac82614391565b600082019050919050565b60006143c282614394565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614428603a83613011565b9150614433826143cc565b604082019050919050565b600060208201905081810360008301526144578161441b565b905091905056fea26469706673582212203ada63ef8ab6b61945cb30d93c2aec7a1d371884d5b661782c4ce0553e1a627464736f6c63430008090033
Deployed Bytecode
0x6080604052600436106102ad5760003560e01c8063715018a611610175578063b88d4fde116100dc578063dc53fd9211610095578063ed00c02d1161006f578063ed00c02d14610a6c578063eec7faa114610a95578063f2fde38b14610ac0578063ffa67b8314610ae9576102ad565b8063dc53fd92146109ed578063e086e5ec14610a18578063e985e9c514610a2f576102ad565b8063b88d4fde146108d8578063c87b56dd146108f4578063cad96cca14610931578063cd3a8e271461096e578063d0ec7fd414610999578063d52c57e0146109c4576102ad565b80639727151a1161012e5780639727151a146107d757806397a6a8ed146108005780639a6a96701461082b5780639fa2a40a14610856578063a22cb46514610893578063abfe40a8146108bc576102ad565b8063715018a6146106ef578063862d3724146107065780638cffd16a1461072f5780638da5cb5b1461075857806391dcbd101461078357806395d89b41146107ac576102ad565b80632a7144f71161021957806353dc840b116101d257806353dc840b146105bd578063547bef2c146105fa5780635d82cf6e146106235780636352211e1461064c578063687889ab1461068957806370a08231146106b2576102ad565b80632a7144f7146104c95780632db1154414610506578063338dbf591461052257806342842e0e1461054d5780634eaefb38146105695780635183022714610592576102ad565b80630c1c972a1161026b5780630c1c972a146103c757806318160ddd146103f25780631970d1fb1461041d57806323b872dd146104465780632a3f300c146104625780632a55205a1461048b576102ad565b806204348e146102b257806301ffc9a7146102dd578063021f70ae1461031a57806306fdde0314610343578063081812fc1461036e578063095ea7b3146103ab575b600080fd5b3480156102be57600080fd5b506102c7610b12565b6040516102d49190612e91565b60405180910390f35b3480156102e957600080fd5b5061030460048036038101906102ff9190612f18565b610b18565b6040516103119190612f60565b60405180910390f35b34801561032657600080fd5b50610341600480360381019061033c9190612fd9565b610bd7565b005b34801561034f57600080fd5b50610358610c78565b604051610365919061309f565b60405180910390f35b34801561037a57600080fd5b50610395600480360381019061039091906130ed565b610d0a565b6040516103a29190613129565b60405180910390f35b6103c560048036038101906103c09190613144565b610d89565b005b3480156103d357600080fd5b506103dc610ecd565b6040516103e99190612f60565b60405180910390f35b3480156103fe57600080fd5b50610407610ee0565b6040516104149190612e91565b60405180910390f35b34801561042957600080fd5b50610444600480360381019061043f91906130ed565b610ef7565b005b610460600480360381019061045b9190613184565b610f09565b005b34801561046e57600080fd5b5061048960048036038101906104849190613203565b61122e565b005b34801561049757600080fd5b506104b260048036038101906104ad9190613230565b611253565b6040516104c0929190613270565b60405180910390f35b3480156104d557600080fd5b506104f060048036038101906104eb9190612fd9565b6112c5565b6040516104fd9190612e91565b60405180910390f35b610520600480360381019061051b91906130ed565b6112dd565b005b34801561052e57600080fd5b5061053761148e565b6040516105449190612f60565b60405180910390f35b61056760048036038101906105629190613184565b6114a1565b005b34801561057557600080fd5b50610590600480360381019061058b9190613203565b6114c1565b005b34801561059e57600080fd5b506105a76114e6565b6040516105b49190612f60565b60405180910390f35b3480156105c957600080fd5b506105e460048036038101906105df9190612fd9565b6114f9565b6040516105f19190612e91565b60405180910390f35b34801561060657600080fd5b50610621600480360381019061061c9190613144565b611511565b005b34801561062f57600080fd5b5061064a600480360381019061064591906130ed565b6115cd565b005b34801561065857600080fd5b50610673600480360381019061066e91906130ed565b6115df565b6040516106809190613129565b60405180910390f35b34801561069557600080fd5b506106b060048036038101906106ab91906133e1565b6115f1565b005b3480156106be57600080fd5b506106d960048036038101906106d49190612fd9565b6116b2565b6040516106e69190612e91565b60405180910390f35b3480156106fb57600080fd5b5061070461176b565b005b34801561071257600080fd5b5061072d600480360381019061072891906134f2565b611775565b005b34801561073b57600080fd5b5061075660048036038101906107519190613579565b611797565b005b34801561076457600080fd5b5061076d6117e3565b60405161077a9190613129565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a591906134f2565b61180d565b005b3480156107b857600080fd5b506107c161182f565b6040516107ce919061309f565b60405180910390f35b3480156107e357600080fd5b506107fe60048036038101906107f991906135e4565b6118c1565b005b34801561080c57600080fd5b5061081561195b565b6040516108229190613633565b60405180910390f35b34801561083757600080fd5b50610840611966565b60405161084d9190613675565b60405180910390f35b34801561086257600080fd5b5061087d60048036038101906108789190612fd9565b611984565b60405161088a9190612e91565b60405180910390f35b34801561089f57600080fd5b506108ba60048036038101906108b59190613690565b611aa7565b005b6108d660048036038101906108d191906130ed565b611bb2565b005b6108f260048036038101906108ed9190613771565b611e40565b005b34801561090057600080fd5b5061091b600480360381019061091691906130ed565b611eb3565b604051610928919061309f565b60405180910390f35b34801561093d57600080fd5b50610958600480360381019061095391906130ed565b611fde565b60405161096591906138f0565b60405180910390f35b34801561097a57600080fd5b50610983612114565b6040516109909190613921565b60405180910390f35b3480156109a557600080fd5b506109ae61213a565b6040516109bb9190612e91565b60405180910390f35b3480156109d057600080fd5b506109eb60048036038101906109e6919061393c565b612144565b005b3480156109f957600080fd5b50610a026121c5565b604051610a0f9190612e91565b60405180910390f35b348015610a2457600080fd5b50610a2d6121cb565b005b348015610a3b57600080fd5b50610a566004803603810190610a51919061397c565b6121ec565b604051610a639190612f60565b60405180910390f35b348015610a7857600080fd5b50610a936004803603810190610a8e91906139e8565b612280565b005b348015610aa157600080fd5b50610aaa6122bc565b604051610ab79190612e91565b60405180910390f35b348015610acc57600080fd5b50610ae76004803603810190610ae29190612fd9565b6122c2565b005b348015610af557600080fd5b50610b106004803603810190610b0b9190613203565b612346565b005b600d5481565b600063cad96cca60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610b705760019050610bd2565b632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610bc65760019050610bd2565b610bcf8261236b565b90505b919050565b610bdf6123fd565b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b54610c2c9190613a44565b600b81905550600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000905550565b606060028054610c8790613aa7565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb390613aa7565b8015610d005780601f10610cd557610100808354040283529160200191610d00565b820191906000526020600020905b815481529060010190602001808311610ce357829003601f168201915b5050505050905090565b6000610d158261247b565b610d4b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d94826115df565b90508073ffffffffffffffffffffffffffffffffffffffff16610db56124da565b73ffffffffffffffffffffffffffffffffffffffff1614610e1857610de181610ddc6124da565b6121ec565b610e17576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600f60019054906101000a900460ff1681565b6000610eea6124e2565b6001546000540303905090565b610eff6123fd565b80600d8190555050565b6000610f14826124eb565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f7b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610f87846125b9565b91509150610f9d8187610f986124da565b6125e0565b610fe957610fb286610fad6124da565b6121ec565b610fe8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611050576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61105d8686866001612624565b801561106857600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506111368561111288888761262a565b7c020000000000000000000000000000000000000000000000000000000017612652565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156111be5760006001850190506000600460008381526020019081526020016000205414156111bc5760005481146111bb578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611226868686600161267d565b505050505050565b6112366123fd565b80600f60026101000a81548160ff02191690831515021790555050565b600080601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710601560149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16856112b09190613ad9565b6112ba9190613b62565b915091509250929050565b60146020528060005260406000206000915090505481565b60026009541415611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131a90613bdf565b60405180910390fd5b6002600981905550600f60019054906101000a900460ff1661137a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137190613c4b565b60405180910390fd5b8060105410156113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690613cb7565b60405180910390fd5b80600e546113cd9190613ad9565b341461140e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140590613d23565b60405180910390fd5b601154600c548261141f9190613d43565b1115611460576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145790613de5565b60405180910390fd5b61146a3382612683565b80600c600082825461147c9190613d43565b92505081905550600160098190555050565b600f60009054906101000a900460ff1681565b6114bc83838360405180602001604052806000815250611e40565b505050565b6114c96123fd565b80600f60016101000a81548160ff02191690831515021790555050565b600f60029054906101000a900460ff1681565b600a6020528060005260406000206000915090505481565b6115196123fd565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b546115669190613a44565b600b8190555080600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600b60008282546115c29190613d43565b925050819055505050565b6115d56123fd565b80600e8190555050565b60006115ea826124eb565b9050919050565b6115f96123fd565b60005b82518110156116885781600a600085848151811061161d5761161c613e05565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461166e9190613d43565b92505081905550808061168090613e34565b9150506115fc565b508082516116969190613ad9565b600b60008282546116a79190613d43565b925050819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561171a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117736123fd565b565b61177d6123fd565b8060139080519060200190611793929190612d97565b5050565b61179f6123fd565b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6118156123fd565b806012908051906020019061182b929190612d97565b5050565b60606003805461183e90613aa7565b80601f016020809104026020016040519081016040528092919081815260200182805461186a90613aa7565b80156118b75780601f1061188c576101008083540402835291602001916118b7565b820191906000526020600020905b81548152906001019060200180831161189a57829003601f168201915b5050505050905090565b6118c96123fd565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401611904929190613270565b602060405180830381600087803b15801561191e57600080fd5b505af1158015611932573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119569190613e92565b505050565b632a55205a60e01b81565b601560149054906101000a90046bffffffffffffffffffffffff1681565b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611a155760009050611aa2565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a9f9190613a44565b90505b919050565b8060076000611ab46124da565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b616124da565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ba69190612f60565b60405180910390a35050565b60026009541415611bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bef90613bdf565b60405180910390fd5b6002600981905550600f60009054906101000a900460ff16611c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4690613c4b565b60405180910390fd5b80601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c9a9190613d43565b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1290613f0b565b60405180910390fd5b80600d54611d299190613ad9565b3414611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6190613d23565b60405180910390fd5b601154600c5482611d7b9190613d43565b1115611dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db390613de5565b60405180910390fd5b80601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e0b9190613d43565b92505081905550611e1c3382612683565b80600c6000828254611e2e9190613d43565b92505081905550600160098190555050565b611e4b848484610f09565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611ead57611e76848484846126a1565b611eac576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611ebe8261247b565b611efd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef490613f9d565b60405180910390fd5b60001515600f60029054906101000a900460ff1615151415611fab5760128054611f2690613aa7565b80601f0160208091040260200160405190810160405280929190818152602001828054611f5290613aa7565b8015611f9f5780601f10611f7457610100808354040283529160200191611f9f565b820191906000526020600020905b815481529060010190602001808311611f8257829003601f168201915b50505050509050611fd9565b6013611fb683612801565b604051602001611fc79291906140d9565b60405160208183030381529060405290505b919050565b60606000600167ffffffffffffffff811115611ffd57611ffc61329e565b5b60405190808252806020026020018201604052801561203657816020015b612023612e1d565b81526020019060019003908161201b5790505b509050601560149054906101000a90046bffffffffffffffffffffffff168160008151811061206857612067613e05565b5b6020026020010151602001906bffffffffffffffffffffffff1690816bffffffffffffffffffffffff1681525050601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816000815181106120cd576120cc613e05565b5b60200260200101516000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505080915050919050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600b54905090565b61214c6123fd565b601154600c548361215d9190613d43565b111561219e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219590613de5565b60405180910390fd5b6121a88183612683565b81600c60008282546121ba9190613d43565b925050819055505050565b600e5481565b6121d36123fd565b60004790506121e96121e36117e3565b82612962565b50565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122886123fd565b80601560146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b600c5481565b6122ca6123fd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561233a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123319061417a565b60405180910390fd5b61234381612a56565b50565b61234e6123fd565b80600f60006101000a81548160ff02191690831515021790555050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123c657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806123f65750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b612405612b1c565b73ffffffffffffffffffffffffffffffffffffffff166124236117e3565b73ffffffffffffffffffffffffffffffffffffffff1614612479576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612470906141e6565b60405180910390fd5b565b6000816124866124e2565b11158015612495575060005482105b80156124d3575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600080829050806124fa6124e2565b11612582576000548110156125815760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561257f575b600081141561257557600460008360019003935083815260200190815260200160002054905061254a565b80925050506125b4565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612641868684612b24565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61269d828260405180602001604052806000815250612b2d565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126c76124da565b8786866040518563ffffffff1660e01b81526004016126e9949392919061425b565b602060405180830381600087803b15801561270357600080fd5b505af192505050801561273457506040513d601f19601f8201168201806040525081019061273191906142bc565b60015b6127ae573d8060008114612764576040519150601f19603f3d011682016040523d82523d6000602084013e612769565b606091505b506000815114156127a6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612849576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061295d565b600082905060005b6000821461287b57808061286490613e34565b915050600a826128749190613b62565b9150612851565b60008167ffffffffffffffff8111156128975761289661329e565b5b6040519080825280601f01601f1916602001820160405280156128c95781602001600182028036833780820191505090505b5090505b60008514612956576001826128e29190613a44565b9150600a856128f191906142e9565b60306128fd9190613d43565b60f81b81838151811061291357612912613e05565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561294f9190613b62565b94506128cd565b8093505050505b919050565b804710156129a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299c90614366565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516129cb906143b7565b60006040518083038185875af1925050503d8060008114612a08576040519150601f19603f3d011682016040523d82523d6000602084013e612a0d565b606091505b5050905080612a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a489061443e565b60405180910390fd5b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b60009392505050565b612b378383612bca565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612bc557600080549050600083820390505b612b7760008683806001019450866126a1565b612bad576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612b64578160005414612bc257600080fd5b50505b505050565b6000805490506000821415612c0b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c186000848385612624565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612c8f83612c80600086600061262a565b612c8985612d87565b17612652565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612d3057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612cf5565b506000821415612d6c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612d82600084838561267d565b505050565b60006001821460e11b9050919050565b828054612da390613aa7565b90600052602060002090601f016020900481019282612dc55760008555612e0c565b82601f10612dde57805160ff1916838001178555612e0c565b82800160010185558215612e0c579182015b82811115612e0b578251825591602001919060010190612df0565b5b509050612e199190612e5b565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff1681525090565b5b80821115612e74576000816000905550600101612e5c565b5090565b6000819050919050565b612e8b81612e78565b82525050565b6000602082019050612ea66000830184612e82565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ef581612ec0565b8114612f0057600080fd5b50565b600081359050612f1281612eec565b92915050565b600060208284031215612f2e57612f2d612eb6565b5b6000612f3c84828501612f03565b91505092915050565b60008115159050919050565b612f5a81612f45565b82525050565b6000602082019050612f756000830184612f51565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612fa682612f7b565b9050919050565b612fb681612f9b565b8114612fc157600080fd5b50565b600081359050612fd381612fad565b92915050565b600060208284031215612fef57612fee612eb6565b5b6000612ffd84828501612fc4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613040578082015181840152602081019050613025565b8381111561304f576000848401525b50505050565b6000601f19601f8301169050919050565b600061307182613006565b61307b8185613011565b935061308b818560208601613022565b61309481613055565b840191505092915050565b600060208201905081810360008301526130b98184613066565b905092915050565b6130ca81612e78565b81146130d557600080fd5b50565b6000813590506130e7816130c1565b92915050565b60006020828403121561310357613102612eb6565b5b6000613111848285016130d8565b91505092915050565b61312381612f9b565b82525050565b600060208201905061313e600083018461311a565b92915050565b6000806040838503121561315b5761315a612eb6565b5b600061316985828601612fc4565b925050602061317a858286016130d8565b9150509250929050565b60008060006060848603121561319d5761319c612eb6565b5b60006131ab86828701612fc4565b93505060206131bc86828701612fc4565b92505060406131cd868287016130d8565b9150509250925092565b6131e081612f45565b81146131eb57600080fd5b50565b6000813590506131fd816131d7565b92915050565b60006020828403121561321957613218612eb6565b5b6000613227848285016131ee565b91505092915050565b6000806040838503121561324757613246612eb6565b5b6000613255858286016130d8565b9250506020613266858286016130d8565b9150509250929050565b6000604082019050613285600083018561311a565b6132926020830184612e82565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6132d682613055565b810181811067ffffffffffffffff821117156132f5576132f461329e565b5b80604052505050565b6000613308612eac565b905061331482826132cd565b919050565b600067ffffffffffffffff8211156133345761333361329e565b5b602082029050602081019050919050565b600080fd5b600061335d61335884613319565b6132fe565b905080838252602082019050602084028301858111156133805761337f613345565b5b835b818110156133a957806133958882612fc4565b845260208401935050602081019050613382565b5050509392505050565b600082601f8301126133c8576133c7613299565b5b81356133d884826020860161334a565b91505092915050565b600080604083850312156133f8576133f7612eb6565b5b600083013567ffffffffffffffff81111561341657613415612ebb565b5b613422858286016133b3565b9250506020613433858286016130d8565b9150509250929050565b600080fd5b600067ffffffffffffffff82111561345d5761345c61329e565b5b61346682613055565b9050602081019050919050565b82818337600083830152505050565b600061349561349084613442565b6132fe565b9050828152602081018484840111156134b1576134b061343d565b5b6134bc848285613473565b509392505050565b600082601f8301126134d9576134d8613299565b5b81356134e9848260208601613482565b91505092915050565b60006020828403121561350857613507612eb6565b5b600082013567ffffffffffffffff81111561352657613525612ebb565b5b613532848285016134c4565b91505092915050565b600061354682612f7b565b9050919050565b6135568161353b565b811461356157600080fd5b50565b6000813590506135738161354d565b92915050565b60006020828403121561358f5761358e612eb6565b5b600061359d84828501613564565b91505092915050565b60006135b182612f9b565b9050919050565b6135c1816135a6565b81146135cc57600080fd5b50565b6000813590506135de816135b8565b92915050565b600080604083850312156135fb576135fa612eb6565b5b6000613609858286016135cf565b925050602061361a858286016130d8565b9150509250929050565b61362d81612ec0565b82525050565b60006020820190506136486000830184613624565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61366f8161364e565b82525050565b600060208201905061368a6000830184613666565b92915050565b600080604083850312156136a7576136a6612eb6565b5b60006136b585828601612fc4565b92505060206136c6858286016131ee565b9150509250929050565b600067ffffffffffffffff8211156136eb576136ea61329e565b5b6136f482613055565b9050602081019050919050565b600061371461370f846136d0565b6132fe565b9050828152602081018484840111156137305761372f61343d565b5b61373b848285613473565b509392505050565b600082601f83011261375857613757613299565b5b8135613768848260208601613701565b91505092915050565b6000806000806080858703121561378b5761378a612eb6565b5b600061379987828801612fc4565b94505060206137aa87828801612fc4565b93505060406137bb878288016130d8565b925050606085013567ffffffffffffffff8111156137dc576137db612ebb565b5b6137e887828801613743565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6138298161353b565b82525050565b6138388161364e565b82525050565b6040820160008201516138546000850182613820565b506020820151613867602085018261382f565b50505050565b6000613879838361383e565b60408301905092915050565b6000602082019050919050565b600061389d826137f4565b6138a781856137ff565b93506138b283613810565b8060005b838110156138e35781516138ca888261386d565b97506138d583613885565b9250506001810190506138b6565b5085935050505092915050565b6000602082019050818103600083015261390a8184613892565b905092915050565b61391b8161353b565b82525050565b60006020820190506139366000830184613912565b92915050565b6000806040838503121561395357613952612eb6565b5b6000613961858286016130d8565b925050602061397285828601612fc4565b9150509250929050565b6000806040838503121561399357613992612eb6565b5b60006139a185828601612fc4565b92505060206139b285828601612fc4565b9150509250929050565b6139c58161364e565b81146139d057600080fd5b50565b6000813590506139e2816139bc565b92915050565b6000602082840312156139fe576139fd612eb6565b5b6000613a0c848285016139d3565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a4f82612e78565b9150613a5a83612e78565b925082821015613a6d57613a6c613a15565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613abf57607f821691505b60208210811415613ad357613ad2613a78565b5b50919050565b6000613ae482612e78565b9150613aef83612e78565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b2857613b27613a15565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613b6d82612e78565b9150613b7883612e78565b925082613b8857613b87613b33565b5b828204905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613bc9601f83613011565b9150613bd482613b93565b602082019050919050565b60006020820190508181036000830152613bf881613bbc565b9050919050565b7f73616c653a205061757365640000000000000000000000000000000000000000600082015250565b6000613c35600c83613011565b9150613c4082613bff565b602082019050919050565b60006020820190508181036000830152613c6481613c28565b9050919050565b7f45786365656473206d6178206d696e7473207065722074780000000000000000600082015250565b6000613ca1601883613011565b9150613cac82613c6b565b602082019050919050565b60006020820190508181036000830152613cd081613c94565b9050919050565b7f496e636f727265637420616d6f756e74206f66204554482073656e7400000000600082015250565b6000613d0d601c83613011565b9150613d1882613cd7565b602082019050919050565b60006020820190508181036000830152613d3c81613d00565b9050919050565b6000613d4e82612e78565b9150613d5983612e78565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d8e57613d8d613a15565b5b828201905092915050565b7f6d696e74206661696c7572650000000000000000000000000000000000000000600082015250565b6000613dcf600c83613011565b9150613dda82613d99565b602082019050919050565b60006020820190508181036000830152613dfe81613dc2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613e3f82612e78565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e7257613e71613a15565b5b600182019050919050565b600081519050613e8c816131d7565b92915050565b600060208284031215613ea857613ea7612eb6565b5b6000613eb684828501613e7d565b91505092915050565b7f596f752068617665207265616368656420796f7572206d696e74206c696d6974600082015250565b6000613ef5602083613011565b9150613f0082613ebf565b602082019050919050565b60006020820190508181036000830152613f2481613ee8565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613f87602f83613011565b9150613f9282613f2b565b604082019050919050565b60006020820190508181036000830152613fb681613f7a565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613fea81613aa7565b613ff48186613fbd565b9450600182166000811461400f576001811461402057614053565b60ff19831686528186019350614053565b61402985613fc8565b60005b8381101561404b5781548189015260018201915060208101905061402c565b838801955050505b50505092915050565b600061406782613006565b6140718185613fbd565b9350614081818560208601613022565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006140c3600583613fbd565b91506140ce8261408d565b600582019050919050565b60006140e58285613fdd565b91506140f1828461405c565b91506140fc826140b6565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614164602683613011565b915061416f82614108565b604082019050919050565b6000602082019050818103600083015261419381614157565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006141d0602083613011565b91506141db8261419a565b602082019050919050565b600060208201905081810360008301526141ff816141c3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061422d82614206565b6142378185614211565b9350614247818560208601613022565b61425081613055565b840191505092915050565b6000608082019050614270600083018761311a565b61427d602083018661311a565b61428a6040830185612e82565b818103606083015261429c8184614222565b905095945050505050565b6000815190506142b681612eec565b92915050565b6000602082840312156142d2576142d1612eb6565b5b60006142e0848285016142a7565b91505092915050565b60006142f482612e78565b91506142ff83612e78565b92508261430f5761430e613b33565b5b828206905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614350601d83613011565b915061435b8261431a565b602082019050919050565b6000602082019050818103600083015261437f81614343565b9050919050565b600081905092915050565b50565b60006143a1600083614386565b91506143ac82614391565b600082019050919050565b60006143c282614394565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614428603a83613011565b9150614433826143cc565b604082019050919050565b600060208201905081810360008301526144578161441b565b905091905056fea26469706673582212203ada63ef8ab6b61945cb30d93c2aec7a1d371884d5b661782c4ce0553e1a627464736f6c63430008090033
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.