ERC-721
Overview
Max Total Supply
1 MPG
Holders
1
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Balance
1 MPGLoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Muupeng
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity)
/** *Submitted for verification at apescan.io on 2024-11-06 */ // SPDX-License-Identifier: MIT //the hybrid muupeng was born from the unholy union of a mother penguin and father hippo. The muupeng has only one goal: to have fun. Join us and make this ugly ape network more fun. //x: https://x.com/muuupeng //website: https://muupeng.xyz/ // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.3.0 // 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(); /** * `_sequentialUpTo()` must be greater than `_startTokenId()`. */ error SequentialUpToTooSmall(); /** * The `tokenId` of a sequential mint exceeds `_sequentialUpTo()`. */ error SequentialMintExceedsLimit(); /** * Spot minting requires a `tokenId` greater than `_sequentialUpTo()`. */ error SpotMintTokenIdTooSmall(); /** * Cannot mint over a token that already exists. */ error TokenAlreadyExists(); /** * The feature is not compatible with spot mints. */ error NotCompatibleWithSpotMints(); // ============================================================= // 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); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @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()`. * * The `_sequentialUpTo()` function can be overriden to enable spot mints * (i.e. non-consecutive mints) for `tokenId`s greater than `_sequentialUpTo()`. * * 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; // The amount of tokens minted above `_sequentialUpTo()`. // We call these spot mints (i.e. non-sequential mints). uint256 private _spotMinted; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); if (_sequentialUpTo() < _startTokenId()) _revert(SequentialUpToTooSmall.selector); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID for sequential mints. * * Override this function to change the starting token ID for sequential mints. * * Note: The value returned must never change after any tokens have been minted. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the maximum token ID (inclusive) for sequential mints. * * Override this function to return a value less than 2**256 - 1, * but greater than `_startTokenId()`, to enable spot (non-sequential) mints. * * Note: The value returned must never change after any tokens have been minted. */ function _sequentialUpTo() internal view virtual returns (uint256) { return type(uint256).max; } /** * @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 result) { // Counter underflow is impossible as `_burnCounter` cannot be incremented // more than `_currentIndex + _spotMinted - _startTokenId()` times. unchecked { // With spot minting, the intermediate `result` can be temporarily negative, // and the computation must be unchecked. result = _currentIndex - _burnCounter - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256 result) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { result = _currentIndex - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } /** * @dev Returns the total number of tokens that are spot-minted. */ function _totalSpotMinted() internal view virtual returns (uint256) { return _spotMinted; } // ============================================================= // 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.selector); 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.selector); 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 Returns whether the ownership slot at `index` is initialized. * An uninitialized slot does not necessarily mean that the slot has no owner. */ function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) { return _packedOwnerships[index] != 0; } /** * @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); } } /** * @dev Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; if (tokenId > _sequentialUpTo()) { if (_packedOwnershipExists(packed)) return packed; _revert(OwnerQueryForNonexistentToken.selector); } // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // 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, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; if (packed & _BITMASK_BURNED == 0) return packed; // Otherwise, the token is burned, and we must revert. // This handles the case of batch burned tokens, where only the burned bit // of the starting slot is set, and remaining slots are left uninitialized. _revert(OwnerQueryForNonexistentToken.selector); } } // Otherwise, the data exists and we can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. // If the token is not burned, return `packed`. Otherwise, revert. if (packed & _BITMASK_BURNED == 0) return packed; } _revert(OwnerQueryForNonexistentToken.selector); } /** * @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. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @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.selector); 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 result) { if (_startTokenId() <= tokenId) { if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]); if (tokenId < _currentIndex) { uint256 packed; while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId; result = packed & _BITMASK_BURNED == 0; } } } /** * @dev Returns whether `packed` represents a token that exists. */ function _packedOwnershipExists(uint256 packed) private pure returns (bool result) { assembly { // The following is equivalent to `owner != address(0) && burned == false`. // Symbolically tested. result := gt(and(packed, _BITMASK_ADDRESS), and(packed, _BITMASK_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); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (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.selector); _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; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // 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. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _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.selector); } } /** * @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.selector); } 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.selector); _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: // - `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) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; if (end - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); do { assembly { // 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`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } while (++tokenId != end); _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.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _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) ); if (startTokenId + quantity - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); 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.selector); } } while (index < end); // This prevents reentrancy to `_safeMint`. // It does not prevent reentrancy to `_safeMintSpot`. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } /** * @dev Mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * Emits a {Transfer} event for each mint. */ function _mintSpot(address to, uint256 tokenId) internal virtual { if (tokenId <= _sequentialUpTo()) _revert(SpotMintTokenIdTooSmall.selector); uint256 prevOwnershipPacked = _packedOwnerships[tokenId]; if (_packedOwnershipExists(prevOwnershipPacked)) _revert(TokenAlreadyExists.selector); _beforeTokenTransfers(address(0), to, tokenId, 1); // Overflows are incredibly unrealistic. // The `numberMinted` for `to` is incremented by 1, and has a max limit of 2**64 - 1. // `_spotMinted` is incremented by 1, and has a max limit of 2**256 - 1. unchecked { // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `true` (as `quantity == 1`). _packedOwnerships[tokenId] = _packOwnershipData( to, _nextInitializedFlag(1) | _nextExtraData(address(0), to, prevOwnershipPacked) ); // Updates: // - `balance += 1`. // - `numberMinted += 1`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += (1 << _BITPOS_NUMBER_MINTED) | 1; // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); assembly { // 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`. tokenId // `tokenId`. ) } ++_spotMinted; } _afterTokenTransfers(address(0), to, tokenId, 1); } /** * @dev Safely mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * See {_mintSpot}. * * Emits a {Transfer} event. */ function _safeMintSpot( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mintSpot(to, tokenId); unchecked { if (to.code.length != 0) { uint256 currentSpotMinted = _spotMinted; if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } // This prevents reentrancy to `_safeMintSpot`. // It does not prevent reentrancy to `_safeMint`. if (_spotMinted != currentSpotMinted) revert(); } } } /** * @dev Equivalent to `_safeMintSpot(to, tokenId, '')`. */ function _safeMintSpot(address to, uint256 tokenId) internal virtual { _safeMintSpot(to, tokenId, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // 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.selector); } _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 + _spotMinted` 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.selector); 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) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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); } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; 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_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } 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); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: contracts/Muupeng.sol pragma solidity ^0.8.9; contract Muupeng is ERC721A, Ownable { uint256 public maxSupply = 3000; uint256 public maxPerTx = 50; uint256 public cost = 2 ether; //2 APE string public baseURI; string private uriSuffix = ".json"; bool public sale = false; error MaxPerTxReached(); error NotEnoughETH(); error MaxSupply(); error SaleNotStarted(); constructor() ERC721A("Muupeng", "MPG") Ownable(msg.sender) {} function mint(uint256 _amount) external payable { if (!sale) revert SaleNotStarted(); if (_totalMinted() + _amount > maxSupply) revert MaxSupply(); if (_amount > maxPerTx) revert MaxPerTxReached(); if (msg.value < cost * _amount) revert NotEnoughETH(); _mint(msg.sender, _amount); } function airdrop(address _to, uint256 _amount) external onlyOwner { require(totalSupply() + _amount < maxSupply, "Max supply"); _mint(_to, _amount); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); return string(abi.encodePacked(baseURI, _toString(tokenId), uriSuffix)); } function _startTokenId() internal pure override returns (uint256) { return 1; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string calldata _newURI) external onlyOwner { baseURI = _newURI; } function setMaxPerTx(uint256 _maxPerTx) external onlyOwner { maxPerTx = _maxPerTx; } function setMaxSupply(uint256 _maxSupply) external onlyOwner { maxSupply = _maxSupply; } function setPrice(uint256 _price) external onlyOwner { cost = _price; } function saleToggle() external onlyOwner { sale = !sale; } function withdraw() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } }
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":"MaxPerTxReached","type":"error"},{"inputs":[],"name":"MaxSupply","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotCompatibleWithSpotMints","type":"error"},{"inputs":[],"name":"NotEnoughETH","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SaleNotStarted","type":"error"},{"inputs":[],"name":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":[],"name":"sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleToggle","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":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610bb8600a556032600b55671bc16d674ec80000600c556040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600e908161005f9190610519565b505f600f5f6101000a81548160ff021916908315150217905550348015610084575f80fd5b50336040518060400160405280600781526020017f4d757570656e67000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4d5047000000000000000000000000000000000000000000000000000000000081525081600290816101019190610519565b5080600390816101119190610519565b506101206101e560201b60201c565b5f819055506101336101e560201b60201c565b6101416101ed60201b60201c565b101561015e5761015d63fed8210f60e01b61021460201b60201c565b5b50505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101d0575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101c79190610627565b60405180910390fd5b6101df8161021c60201b60201c565b50610640565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b805f5260045ffd5b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061035a57607f821691505b60208210810361036d5761036c610316565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026103cf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610394565b6103d98683610394565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61041d610418610413846103f1565b6103fa565b6103f1565b9050919050565b5f819050919050565b61043683610403565b61044a61044282610424565b8484546103a0565b825550505050565b5f90565b61045e610452565b61046981848461042d565b505050565b5b8181101561048c576104815f82610456565b60018101905061046f565b5050565b601f8211156104d1576104a281610373565b6104ab84610385565b810160208510156104ba578190505b6104ce6104c685610385565b83018261046e565b50505b505050565b5f82821c905092915050565b5f6104f15f19846008026104d6565b1980831691505092915050565b5f61050983836104e2565b9150826002028217905092915050565b610522826102df565b67ffffffffffffffff81111561053b5761053a6102e9565b5b6105458254610343565b610550828285610490565b5f60209050601f831160018114610581575f841561056f578287015190505b61057985826104fe565b8655506105e0565b601f19841661058f86610373565b5f5b828110156105b657848901518255600182019150602085019450602081019050610591565b868310156105d357848901516105cf601f8916826104e2565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610611826105e8565b9050919050565b61062181610607565b82525050565b5f60208201905061063a5f830184610618565b92915050565b61286b8061064d5f395ff3fe6080604052600436106101cc575f3560e01c806370a08231116100f6578063a22cb46511610094578063d5abeb0111610063578063d5abeb01146105e0578063e985e9c51461060a578063f2fde38b14610646578063f968adbe1461066e576101cc565b8063a22cb46514610538578063b88d4fde14610560578063c6f6f2161461057c578063c87b56dd146105a4576101cc565b80638da5cb5b116100d05780638da5cb5b146104a057806391b7f5ed146104ca57806395d89b41146104f2578063a0712d681461051c576101cc565b806370a0823114610426578063715018a6146104625780638ba4cc3c14610478576101cc565b80633ccfd60b1161016e5780636352211e1161013d5780636352211e1461036e5780636ad1fe02146103aa5780636c0360eb146103d45780636f8b44b0146103fe576101cc565b80633ccfd60b146102fe57806342842e0e146103145780634639edeb1461033057806355f804b314610346576101cc565b8063095ea7b3116101aa578063095ea7b31461027257806313faede61461028e57806318160ddd146102b857806323b872dd146102e2576101cc565b806301ffc9a7146101d057806306fdde031461020c578063081812fc14610236575b5f80fd5b3480156101db575f80fd5b506101f660048036038101906101f19190611c1d565b610698565b6040516102039190611c62565b60405180910390f35b348015610217575f80fd5b50610220610729565b60405161022d9190611ceb565b60405180910390f35b348015610241575f80fd5b5061025c60048036038101906102579190611d3e565b6107b9565b6040516102699190611da8565b60405180910390f35b61028c60048036038101906102879190611deb565b610812565b005b348015610299575f80fd5b506102a2610822565b6040516102af9190611e38565b60405180910390f35b3480156102c3575f80fd5b506102cc610828565b6040516102d99190611e38565b60405180910390f35b6102fc60048036038101906102f79190611e51565b610873565b005b348015610309575f80fd5b50610312610b1e565b005b61032e60048036038101906103299190611e51565b610bd1565b005b34801561033b575f80fd5b50610344610bf0565b005b348015610351575f80fd5b5061036c60048036038101906103679190611f02565b610c22565b005b348015610379575f80fd5b50610394600480360381019061038f9190611d3e565b610c40565b6040516103a19190611da8565b60405180910390f35b3480156103b5575f80fd5b506103be610c51565b6040516103cb9190611c62565b60405180910390f35b3480156103df575f80fd5b506103e8610c63565b6040516103f59190611ceb565b60405180910390f35b348015610409575f80fd5b50610424600480360381019061041f9190611d3e565b610cef565b005b348015610431575f80fd5b5061044c60048036038101906104479190611f4d565b610d01565b6040516104599190611e38565b60405180910390f35b34801561046d575f80fd5b50610476610d95565b005b348015610483575f80fd5b5061049e60048036038101906104999190611deb565b610da8565b005b3480156104ab575f80fd5b506104b4610e14565b6040516104c19190611da8565b60405180910390f35b3480156104d5575f80fd5b506104f060048036038101906104eb9190611d3e565b610e3c565b005b3480156104fd575f80fd5b50610506610e4e565b6040516105139190611ceb565b60405180910390f35b61053660048036038101906105319190611d3e565b610ede565b005b348015610543575f80fd5b5061055e60048036038101906105599190611fa2565b611001565b005b61057a60048036038101906105759190612108565b611107565b005b348015610587575f80fd5b506105a2600480360381019061059d9190611d3e565b611158565b005b3480156105af575f80fd5b506105ca60048036038101906105c59190611d3e565b61116a565b6040516105d79190611ceb565b60405180910390f35b3480156105eb575f80fd5b506105f46111e0565b6040516106019190611e38565b60405180910390f35b348015610615575f80fd5b50610630600480360381019061062b9190612188565b6111e6565b60405161063d9190611c62565b60405180910390f35b348015610651575f80fd5b5061066c60048036038101906106679190611f4d565b611274565b005b348015610679575f80fd5b506106826112f8565b60405161068f9190611e38565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106f257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107225750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610738906121f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610764906121f3565b80156107af5780601f10610786576101008083540402835291602001916107af565b820191905f5260205f20905b81548152906001019060200180831161079257829003601f168201915b5050505050905090565b5f6107c3826112fe565b6107d8576107d763cf4700e460e01b6113a1565b5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61081e828260016113a9565b5050565b600c5481565b5f6108316114d3565b6001545f54030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6108636114db565b1461087057600854810190505b90565b5f61087d82611502565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108f2576108f163a114810060e01b6113a1565b5b5f806108fd84611611565b91509150610913818761090e611634565b61163b565b61093e5761092886610923611634565b6111e6565b61093d5761093c6359c896be60e01b6113a1565b5b5b61094b868686600161167e565b8015610955575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610a1d856109f9888887611684565b7c0200000000000000000000000000000000000000000000000000000000176116ab565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610a99575f6001850190505f60045f8381526020019081526020015f205403610a97575f548114610a96578360045f8381526020019081526020015f20819055505b5b505b5f73ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45f8103610b0857610b0763ea553b3460e01b6113a1565b5b610b1587878760016116d5565b50505050505050565b610b266116db565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610b4b90612250565b5f6040518083038185875af1925050503d805f8114610b85576040519150601f19603f3d011682016040523d82523d5f602084013e610b8a565b606091505b5050905080610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc5906122ae565b60405180910390fd5b50565b610beb83838360405180602001604052805f815250611107565b505050565b610bf86116db565b600f5f9054906101000a900460ff1615600f5f6101000a81548160ff021916908315150217905550565b610c2a6116db565b8181600d9182610c3b929190612473565b505050565b5f610c4a82611502565b9050919050565b600f5f9054906101000a900460ff1681565b600d8054610c70906121f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9c906121f3565b8015610ce75780601f10610cbe57610100808354040283529160200191610ce7565b820191905f5260205f20905b815481529060010190602001808311610cca57829003601f168201915b505050505081565b610cf76116db565b80600a8190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d4657610d45638f4eb60460e01b6113a1565b5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610d9d6116db565b610da65f611762565b565b610db06116db565b600a5481610dbc610828565b610dc6919061256d565b10610e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfd906125ea565b60405180910390fd5b610e108282611825565b5050565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e446116db565b80600c8190555050565b606060038054610e5d906121f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610e89906121f3565b8015610ed45780601f10610eab57610100808354040283529160200191610ed4565b820191905f5260205f20905b815481529060010190602001808311610eb757829003601f168201915b5050505050905090565b600f5f9054906101000a900460ff16610f23576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5481610f2f611999565b610f39919061256d565b1115610f71576040517fb36c128400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b54811115610fad576040517f84eef40b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c54610fbb9190612608565b341015610ff4576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ffe3382611825565b50565b8060075f61100d611634565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110b6611634565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110fb9190611c62565b60405180910390a35050565b611112848484610873565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146111525761113c848484846119e0565b6111515761115063d1a57ed660e01b6113a1565b5b5b50505050565b6111606116db565b80600b8190555050565b6060611175826112fe565b6111ab576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d6111b683611b0a565b600e6040516020016111ca93929190612703565b6040516020818303038152906040529050919050565b600a5481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b61127c6116db565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112ec575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016112e39190611da8565b60405180910390fd5b6112f581611762565b50565b600b5481565b5f816113086114d3565b1161139b576113156114db565b82111561133d5761133660045f8481526020019081526020015f2054611b59565b905061139c565b5f5482101561139a575f5b5f60045f8581526020019081526020015f205491508103611374578261136d90612733565b9250611348565b5f7c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b805f5260045ffd5b5f6113b383610c40565b90508180156113f557508073ffffffffffffffffffffffffffffffffffffffff166113dc611634565b73ffffffffffffffffffffffffffffffffffffffff1614155b156114215761140b81611406611634565b6111e6565b6114205761141f63cfb3b94260e01b6113a1565b5b5b8360065f8581526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b5f8161150c6114d3565b116115fb5760045f8381526020019081526020015f2054905061152d6114db565b8211156115525761153d81611b59565b61160c5761155163df2d9b4260e01b6113a1565b5b5f81036115d3575f5482106115725761157163df2d9b4260e01b6113a1565b5b5b60045f836001900393508381526020019081526020015f205490505f8103156115ce575f7c01000000000000000000000000000000000000000000000000000000008216031561160c576115cd63df2d9b4260e01b6113a1565b5b611573565b5f7c01000000000000000000000000000000000000000000000000000000008216031561160c575b61160b63df2d9b4260e01b6113a1565b5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e861169a868684611b99565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6116e3611ba1565b73ffffffffffffffffffffffffffffffffffffffff16611701610e14565b73ffffffffffffffffffffffffffffffffffffffff161461176057611724611ba1565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016117579190611da8565b60405180910390fd5b565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f805490505f82036118425761184163b562e8dd60e01b6113a1565b5b61184e5f84838561167e565b61186c8361185d5f865f611684565b61186685611ba8565b176116ab565b60045f8381526020019081526020015f2081905550600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f73ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690505f810361191d5761191c632e07630060e01b6113a1565b5b5f83830190505f83905061192f6114db565b60018303111561194a576119496381647e3a60e01b6113a1565b5b5b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361194b57815f819055505050506119945f8483856116d5565b505050565b5f6119a26114d3565b5f540390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6119d06114db565b146119dd57600854810190505b90565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611a05611634565b8786866040518563ffffffff1660e01b8152600401611a2794939291906127ac565b6020604051808303815f875af1925050508015611a6257506040513d601f19601f82011682018060405250810190611a5f919061280a565b60015b611ab7573d805f8114611a90576040519150601f19603f3d011682016040523d82523d5f602084013e611a95565b606091505b505f815103611aaf57611aae63d1a57ed660e01b6113a1565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391505f825281835b600115611b4457600184039350600a81066030018453600a8104905080611b22575b50828103602084039350808452505050919050565b5f7c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b5f9392505050565b5f33905090565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611bfc81611bc8565b8114611c06575f80fd5b50565b5f81359050611c1781611bf3565b92915050565b5f60208284031215611c3257611c31611bc0565b5b5f611c3f84828501611c09565b91505092915050565b5f8115159050919050565b611c5c81611c48565b82525050565b5f602082019050611c755f830184611c53565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611cbd82611c7b565b611cc78185611c85565b9350611cd7818560208601611c95565b611ce081611ca3565b840191505092915050565b5f6020820190508181035f830152611d038184611cb3565b905092915050565b5f819050919050565b611d1d81611d0b565b8114611d27575f80fd5b50565b5f81359050611d3881611d14565b92915050565b5f60208284031215611d5357611d52611bc0565b5b5f611d6084828501611d2a565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611d9282611d69565b9050919050565b611da281611d88565b82525050565b5f602082019050611dbb5f830184611d99565b92915050565b611dca81611d88565b8114611dd4575f80fd5b50565b5f81359050611de581611dc1565b92915050565b5f8060408385031215611e0157611e00611bc0565b5b5f611e0e85828601611dd7565b9250506020611e1f85828601611d2a565b9150509250929050565b611e3281611d0b565b82525050565b5f602082019050611e4b5f830184611e29565b92915050565b5f805f60608486031215611e6857611e67611bc0565b5b5f611e7586828701611dd7565b9350506020611e8686828701611dd7565b9250506040611e9786828701611d2a565b9150509250925092565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112611ec257611ec1611ea1565b5b8235905067ffffffffffffffff811115611edf57611ede611ea5565b5b602083019150836001820283011115611efb57611efa611ea9565b5b9250929050565b5f8060208385031215611f1857611f17611bc0565b5b5f83013567ffffffffffffffff811115611f3557611f34611bc4565b5b611f4185828601611ead565b92509250509250929050565b5f60208284031215611f6257611f61611bc0565b5b5f611f6f84828501611dd7565b91505092915050565b611f8181611c48565b8114611f8b575f80fd5b50565b5f81359050611f9c81611f78565b92915050565b5f8060408385031215611fb857611fb7611bc0565b5b5f611fc585828601611dd7565b9250506020611fd685828601611f8e565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61201a82611ca3565b810181811067ffffffffffffffff8211171561203957612038611fe4565b5b80604052505050565b5f61204b611bb7565b90506120578282612011565b919050565b5f67ffffffffffffffff82111561207657612075611fe4565b5b61207f82611ca3565b9050602081019050919050565b828183375f83830152505050565b5f6120ac6120a78461205c565b612042565b9050828152602081018484840111156120c8576120c7611fe0565b5b6120d384828561208c565b509392505050565b5f82601f8301126120ef576120ee611ea1565b5b81356120ff84826020860161209a565b91505092915050565b5f805f80608085870312156121205761211f611bc0565b5b5f61212d87828801611dd7565b945050602061213e87828801611dd7565b935050604061214f87828801611d2a565b925050606085013567ffffffffffffffff8111156121705761216f611bc4565b5b61217c878288016120db565b91505092959194509250565b5f806040838503121561219e5761219d611bc0565b5b5f6121ab85828601611dd7565b92505060206121bc85828601611dd7565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061220a57607f821691505b60208210810361221d5761221c6121c6565b5b50919050565b5f81905092915050565b50565b5f61223b5f83612223565b91506122468261222d565b5f82019050919050565b5f61225a82612230565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f612298601083611c85565b91506122a382612264565b602082019050919050565b5f6020820190508181035f8301526122c58161228c565b9050919050565b5f82905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026123327fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826122f7565b61233c86836122f7565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61237761237261236d84611d0b565b612354565b611d0b565b9050919050565b5f819050919050565b6123908361235d565b6123a461239c8261237e565b848454612303565b825550505050565b5f90565b6123b86123ac565b6123c3818484612387565b505050565b5b818110156123e6576123db5f826123b0565b6001810190506123c9565b5050565b601f82111561242b576123fc816122d6565b612405846122e8565b81016020851015612414578190505b612428612420856122e8565b8301826123c8565b50505b505050565b5f82821c905092915050565b5f61244b5f1984600802612430565b1980831691505092915050565b5f612463838361243c565b9150826002028217905092915050565b61247d83836122cc565b67ffffffffffffffff81111561249657612495611fe4565b5b6124a082546121f3565b6124ab8282856123ea565b5f601f8311600181146124d8575f84156124c6578287013590505b6124d08582612458565b865550612537565b601f1984166124e6866122d6565b5f5b8281101561250d578489013582556001820191506020850194506020810190506124e8565b8683101561252a5784890135612526601f89168261243c565b8355505b6001600288020188555050505b50505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61257782611d0b565b915061258283611d0b565b925082820190508082111561259a57612599612540565b5b92915050565b7f4d617820737570706c79000000000000000000000000000000000000000000005f82015250565b5f6125d4600a83611c85565b91506125df826125a0565b602082019050919050565b5f6020820190508181035f830152612601816125c8565b9050919050565b5f61261282611d0b565b915061261d83611d0b565b925082820261262b81611d0b565b9150828204841483151761264257612641612540565b5b5092915050565b5f81905092915050565b5f815461265f816121f3565b6126698186612649565b9450600182165f81146126835760018114612698576126ca565b60ff19831686528115158202860193506126ca565b6126a1856122d6565b5f5b838110156126c2578154818901526001820191506020810190506126a3565b838801955050505b50505092915050565b5f6126dd82611c7b565b6126e78185612649565b93506126f7818560208601611c95565b80840191505092915050565b5f61270e8286612653565b915061271a82856126d3565b91506127268284612653565b9150819050949350505050565b5f61273d82611d0b565b91505f820361274f5761274e612540565b5b600182039050919050565b5f81519050919050565b5f82825260208201905092915050565b5f61277e8261275a565b6127888185612764565b9350612798818560208601611c95565b6127a181611ca3565b840191505092915050565b5f6080820190506127bf5f830187611d99565b6127cc6020830186611d99565b6127d96040830185611e29565b81810360608301526127eb8184612774565b905095945050505050565b5f8151905061280481611bf3565b92915050565b5f6020828403121561281f5761281e611bc0565b5b5f61282c848285016127f6565b9150509291505056fea26469706673582212202395b1b0d8742afb38a8d2e80b55d0c0a15040eb6601ab603cd1e240b92802bf64736f6c634300081a0033
Deployed Bytecode
0x6080604052600436106101cc575f3560e01c806370a08231116100f6578063a22cb46511610094578063d5abeb0111610063578063d5abeb01146105e0578063e985e9c51461060a578063f2fde38b14610646578063f968adbe1461066e576101cc565b8063a22cb46514610538578063b88d4fde14610560578063c6f6f2161461057c578063c87b56dd146105a4576101cc565b80638da5cb5b116100d05780638da5cb5b146104a057806391b7f5ed146104ca57806395d89b41146104f2578063a0712d681461051c576101cc565b806370a0823114610426578063715018a6146104625780638ba4cc3c14610478576101cc565b80633ccfd60b1161016e5780636352211e1161013d5780636352211e1461036e5780636ad1fe02146103aa5780636c0360eb146103d45780636f8b44b0146103fe576101cc565b80633ccfd60b146102fe57806342842e0e146103145780634639edeb1461033057806355f804b314610346576101cc565b8063095ea7b3116101aa578063095ea7b31461027257806313faede61461028e57806318160ddd146102b857806323b872dd146102e2576101cc565b806301ffc9a7146101d057806306fdde031461020c578063081812fc14610236575b5f80fd5b3480156101db575f80fd5b506101f660048036038101906101f19190611c1d565b610698565b6040516102039190611c62565b60405180910390f35b348015610217575f80fd5b50610220610729565b60405161022d9190611ceb565b60405180910390f35b348015610241575f80fd5b5061025c60048036038101906102579190611d3e565b6107b9565b6040516102699190611da8565b60405180910390f35b61028c60048036038101906102879190611deb565b610812565b005b348015610299575f80fd5b506102a2610822565b6040516102af9190611e38565b60405180910390f35b3480156102c3575f80fd5b506102cc610828565b6040516102d99190611e38565b60405180910390f35b6102fc60048036038101906102f79190611e51565b610873565b005b348015610309575f80fd5b50610312610b1e565b005b61032e60048036038101906103299190611e51565b610bd1565b005b34801561033b575f80fd5b50610344610bf0565b005b348015610351575f80fd5b5061036c60048036038101906103679190611f02565b610c22565b005b348015610379575f80fd5b50610394600480360381019061038f9190611d3e565b610c40565b6040516103a19190611da8565b60405180910390f35b3480156103b5575f80fd5b506103be610c51565b6040516103cb9190611c62565b60405180910390f35b3480156103df575f80fd5b506103e8610c63565b6040516103f59190611ceb565b60405180910390f35b348015610409575f80fd5b50610424600480360381019061041f9190611d3e565b610cef565b005b348015610431575f80fd5b5061044c60048036038101906104479190611f4d565b610d01565b6040516104599190611e38565b60405180910390f35b34801561046d575f80fd5b50610476610d95565b005b348015610483575f80fd5b5061049e60048036038101906104999190611deb565b610da8565b005b3480156104ab575f80fd5b506104b4610e14565b6040516104c19190611da8565b60405180910390f35b3480156104d5575f80fd5b506104f060048036038101906104eb9190611d3e565b610e3c565b005b3480156104fd575f80fd5b50610506610e4e565b6040516105139190611ceb565b60405180910390f35b61053660048036038101906105319190611d3e565b610ede565b005b348015610543575f80fd5b5061055e60048036038101906105599190611fa2565b611001565b005b61057a60048036038101906105759190612108565b611107565b005b348015610587575f80fd5b506105a2600480360381019061059d9190611d3e565b611158565b005b3480156105af575f80fd5b506105ca60048036038101906105c59190611d3e565b61116a565b6040516105d79190611ceb565b60405180910390f35b3480156105eb575f80fd5b506105f46111e0565b6040516106019190611e38565b60405180910390f35b348015610615575f80fd5b50610630600480360381019061062b9190612188565b6111e6565b60405161063d9190611c62565b60405180910390f35b348015610651575f80fd5b5061066c60048036038101906106679190611f4d565b611274565b005b348015610679575f80fd5b506106826112f8565b60405161068f9190611e38565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106f257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107225750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610738906121f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610764906121f3565b80156107af5780601f10610786576101008083540402835291602001916107af565b820191905f5260205f20905b81548152906001019060200180831161079257829003601f168201915b5050505050905090565b5f6107c3826112fe565b6107d8576107d763cf4700e460e01b6113a1565b5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61081e828260016113a9565b5050565b600c5481565b5f6108316114d3565b6001545f54030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6108636114db565b1461087057600854810190505b90565b5f61087d82611502565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108f2576108f163a114810060e01b6113a1565b5b5f806108fd84611611565b91509150610913818761090e611634565b61163b565b61093e5761092886610923611634565b6111e6565b61093d5761093c6359c896be60e01b6113a1565b5b5b61094b868686600161167e565b8015610955575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610a1d856109f9888887611684565b7c0200000000000000000000000000000000000000000000000000000000176116ab565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610a99575f6001850190505f60045f8381526020019081526020015f205403610a97575f548114610a96578360045f8381526020019081526020015f20819055505b5b505b5f73ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45f8103610b0857610b0763ea553b3460e01b6113a1565b5b610b1587878760016116d5565b50505050505050565b610b266116db565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610b4b90612250565b5f6040518083038185875af1925050503d805f8114610b85576040519150601f19603f3d011682016040523d82523d5f602084013e610b8a565b606091505b5050905080610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc5906122ae565b60405180910390fd5b50565b610beb83838360405180602001604052805f815250611107565b505050565b610bf86116db565b600f5f9054906101000a900460ff1615600f5f6101000a81548160ff021916908315150217905550565b610c2a6116db565b8181600d9182610c3b929190612473565b505050565b5f610c4a82611502565b9050919050565b600f5f9054906101000a900460ff1681565b600d8054610c70906121f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9c906121f3565b8015610ce75780601f10610cbe57610100808354040283529160200191610ce7565b820191905f5260205f20905b815481529060010190602001808311610cca57829003601f168201915b505050505081565b610cf76116db565b80600a8190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d4657610d45638f4eb60460e01b6113a1565b5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610d9d6116db565b610da65f611762565b565b610db06116db565b600a5481610dbc610828565b610dc6919061256d565b10610e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfd906125ea565b60405180910390fd5b610e108282611825565b5050565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e446116db565b80600c8190555050565b606060038054610e5d906121f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610e89906121f3565b8015610ed45780601f10610eab57610100808354040283529160200191610ed4565b820191905f5260205f20905b815481529060010190602001808311610eb757829003601f168201915b5050505050905090565b600f5f9054906101000a900460ff16610f23576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5481610f2f611999565b610f39919061256d565b1115610f71576040517fb36c128400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b54811115610fad576040517f84eef40b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c54610fbb9190612608565b341015610ff4576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ffe3382611825565b50565b8060075f61100d611634565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110b6611634565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110fb9190611c62565b60405180910390a35050565b611112848484610873565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146111525761113c848484846119e0565b6111515761115063d1a57ed660e01b6113a1565b5b5b50505050565b6111606116db565b80600b8190555050565b6060611175826112fe565b6111ab576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d6111b683611b0a565b600e6040516020016111ca93929190612703565b6040516020818303038152906040529050919050565b600a5481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b61127c6116db565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112ec575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016112e39190611da8565b60405180910390fd5b6112f581611762565b50565b600b5481565b5f816113086114d3565b1161139b576113156114db565b82111561133d5761133660045f8481526020019081526020015f2054611b59565b905061139c565b5f5482101561139a575f5b5f60045f8581526020019081526020015f205491508103611374578261136d90612733565b9250611348565b5f7c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b805f5260045ffd5b5f6113b383610c40565b90508180156113f557508073ffffffffffffffffffffffffffffffffffffffff166113dc611634565b73ffffffffffffffffffffffffffffffffffffffff1614155b156114215761140b81611406611634565b6111e6565b6114205761141f63cfb3b94260e01b6113a1565b5b5b8360065f8581526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b5f8161150c6114d3565b116115fb5760045f8381526020019081526020015f2054905061152d6114db565b8211156115525761153d81611b59565b61160c5761155163df2d9b4260e01b6113a1565b5b5f81036115d3575f5482106115725761157163df2d9b4260e01b6113a1565b5b5b60045f836001900393508381526020019081526020015f205490505f8103156115ce575f7c01000000000000000000000000000000000000000000000000000000008216031561160c576115cd63df2d9b4260e01b6113a1565b5b611573565b5f7c01000000000000000000000000000000000000000000000000000000008216031561160c575b61160b63df2d9b4260e01b6113a1565b5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e861169a868684611b99565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6116e3611ba1565b73ffffffffffffffffffffffffffffffffffffffff16611701610e14565b73ffffffffffffffffffffffffffffffffffffffff161461176057611724611ba1565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016117579190611da8565b60405180910390fd5b565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f805490505f82036118425761184163b562e8dd60e01b6113a1565b5b61184e5f84838561167e565b61186c8361185d5f865f611684565b61186685611ba8565b176116ab565b60045f8381526020019081526020015f2081905550600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f73ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690505f810361191d5761191c632e07630060e01b6113a1565b5b5f83830190505f83905061192f6114db565b60018303111561194a576119496381647e3a60e01b6113a1565b5b5b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361194b57815f819055505050506119945f8483856116d5565b505050565b5f6119a26114d3565b5f540390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6119d06114db565b146119dd57600854810190505b90565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611a05611634565b8786866040518563ffffffff1660e01b8152600401611a2794939291906127ac565b6020604051808303815f875af1925050508015611a6257506040513d601f19601f82011682018060405250810190611a5f919061280a565b60015b611ab7573d805f8114611a90576040519150601f19603f3d011682016040523d82523d5f602084013e611a95565b606091505b505f815103611aaf57611aae63d1a57ed660e01b6113a1565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391505f825281835b600115611b4457600184039350600a81066030018453600a8104905080611b22575b50828103602084039350808452505050919050565b5f7c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b5f9392505050565b5f33905090565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611bfc81611bc8565b8114611c06575f80fd5b50565b5f81359050611c1781611bf3565b92915050565b5f60208284031215611c3257611c31611bc0565b5b5f611c3f84828501611c09565b91505092915050565b5f8115159050919050565b611c5c81611c48565b82525050565b5f602082019050611c755f830184611c53565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611cbd82611c7b565b611cc78185611c85565b9350611cd7818560208601611c95565b611ce081611ca3565b840191505092915050565b5f6020820190508181035f830152611d038184611cb3565b905092915050565b5f819050919050565b611d1d81611d0b565b8114611d27575f80fd5b50565b5f81359050611d3881611d14565b92915050565b5f60208284031215611d5357611d52611bc0565b5b5f611d6084828501611d2a565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611d9282611d69565b9050919050565b611da281611d88565b82525050565b5f602082019050611dbb5f830184611d99565b92915050565b611dca81611d88565b8114611dd4575f80fd5b50565b5f81359050611de581611dc1565b92915050565b5f8060408385031215611e0157611e00611bc0565b5b5f611e0e85828601611dd7565b9250506020611e1f85828601611d2a565b9150509250929050565b611e3281611d0b565b82525050565b5f602082019050611e4b5f830184611e29565b92915050565b5f805f60608486031215611e6857611e67611bc0565b5b5f611e7586828701611dd7565b9350506020611e8686828701611dd7565b9250506040611e9786828701611d2a565b9150509250925092565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112611ec257611ec1611ea1565b5b8235905067ffffffffffffffff811115611edf57611ede611ea5565b5b602083019150836001820283011115611efb57611efa611ea9565b5b9250929050565b5f8060208385031215611f1857611f17611bc0565b5b5f83013567ffffffffffffffff811115611f3557611f34611bc4565b5b611f4185828601611ead565b92509250509250929050565b5f60208284031215611f6257611f61611bc0565b5b5f611f6f84828501611dd7565b91505092915050565b611f8181611c48565b8114611f8b575f80fd5b50565b5f81359050611f9c81611f78565b92915050565b5f8060408385031215611fb857611fb7611bc0565b5b5f611fc585828601611dd7565b9250506020611fd685828601611f8e565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61201a82611ca3565b810181811067ffffffffffffffff8211171561203957612038611fe4565b5b80604052505050565b5f61204b611bb7565b90506120578282612011565b919050565b5f67ffffffffffffffff82111561207657612075611fe4565b5b61207f82611ca3565b9050602081019050919050565b828183375f83830152505050565b5f6120ac6120a78461205c565b612042565b9050828152602081018484840111156120c8576120c7611fe0565b5b6120d384828561208c565b509392505050565b5f82601f8301126120ef576120ee611ea1565b5b81356120ff84826020860161209a565b91505092915050565b5f805f80608085870312156121205761211f611bc0565b5b5f61212d87828801611dd7565b945050602061213e87828801611dd7565b935050604061214f87828801611d2a565b925050606085013567ffffffffffffffff8111156121705761216f611bc4565b5b61217c878288016120db565b91505092959194509250565b5f806040838503121561219e5761219d611bc0565b5b5f6121ab85828601611dd7565b92505060206121bc85828601611dd7565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061220a57607f821691505b60208210810361221d5761221c6121c6565b5b50919050565b5f81905092915050565b50565b5f61223b5f83612223565b91506122468261222d565b5f82019050919050565b5f61225a82612230565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f612298601083611c85565b91506122a382612264565b602082019050919050565b5f6020820190508181035f8301526122c58161228c565b9050919050565b5f82905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026123327fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826122f7565b61233c86836122f7565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61237761237261236d84611d0b565b612354565b611d0b565b9050919050565b5f819050919050565b6123908361235d565b6123a461239c8261237e565b848454612303565b825550505050565b5f90565b6123b86123ac565b6123c3818484612387565b505050565b5b818110156123e6576123db5f826123b0565b6001810190506123c9565b5050565b601f82111561242b576123fc816122d6565b612405846122e8565b81016020851015612414578190505b612428612420856122e8565b8301826123c8565b50505b505050565b5f82821c905092915050565b5f61244b5f1984600802612430565b1980831691505092915050565b5f612463838361243c565b9150826002028217905092915050565b61247d83836122cc565b67ffffffffffffffff81111561249657612495611fe4565b5b6124a082546121f3565b6124ab8282856123ea565b5f601f8311600181146124d8575f84156124c6578287013590505b6124d08582612458565b865550612537565b601f1984166124e6866122d6565b5f5b8281101561250d578489013582556001820191506020850194506020810190506124e8565b8683101561252a5784890135612526601f89168261243c565b8355505b6001600288020188555050505b50505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61257782611d0b565b915061258283611d0b565b925082820190508082111561259a57612599612540565b5b92915050565b7f4d617820737570706c79000000000000000000000000000000000000000000005f82015250565b5f6125d4600a83611c85565b91506125df826125a0565b602082019050919050565b5f6020820190508181035f830152612601816125c8565b9050919050565b5f61261282611d0b565b915061261d83611d0b565b925082820261262b81611d0b565b9150828204841483151761264257612641612540565b5b5092915050565b5f81905092915050565b5f815461265f816121f3565b6126698186612649565b9450600182165f81146126835760018114612698576126ca565b60ff19831686528115158202860193506126ca565b6126a1856122d6565b5f5b838110156126c2578154818901526001820191506020810190506126a3565b838801955050505b50505092915050565b5f6126dd82611c7b565b6126e78185612649565b93506126f7818560208601611c95565b80840191505092915050565b5f61270e8286612653565b915061271a82856126d3565b91506127268284612653565b9150819050949350505050565b5f61273d82611d0b565b91505f820361274f5761274e612540565b5b600182039050919050565b5f81519050919050565b5f82825260208201905092915050565b5f61277e8261275a565b6127888185612764565b9350612798818560208601611c95565b6127a181611ca3565b840191505092915050565b5f6080820190506127bf5f830187611d99565b6127cc6020830186611d99565b6127d96040830185611e29565b81810360608301526127eb8184612774565b905095945050505050565b5f8151905061280481611bf3565b92915050565b5f6020828403121561281f5761281e611bc0565b5b5f61282c848285016127f6565b9150509291505056fea26469706673582212202395b1b0d8742afb38a8d2e80b55d0c0a15040eb6601ab603cd1e240b92802bf64736f6c634300081a0033
Deployed Bytecode Sourcemap
85376:2169:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20875:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21777:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29017:227;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28734:124;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;85493:29;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16979:573;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;33289:3523;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;87369:173;;;;;;;;;;;;;:::i;:::-;;36908:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;87289:72;;;;;;;;;;;;;:::i;:::-;;86872:100;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;23179:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85606:24;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85537:21;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;87086:102;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;18703:242;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;64439:103;;;;;;;;;;;;;:::i;:::-;;86168:173;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;63764:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;87196:85;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;21953:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85826:334;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;29584:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;37699:416;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;86980:98;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;86349:298;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85420:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29975:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;64697:220;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;85458:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20875:639;20960:4;21299:10;21284:25;;:11;:25;;;;:102;;;;21376:10;21361:25;;:11;:25;;;;21284:102;:179;;;;21453:10;21438:25;;:11;:25;;;;21284:179;21264:199;;20875:639;;;:::o;21777:100::-;21831:13;21864:5;21857:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21777:100;:::o;29017:227::-;29093:7;29118:16;29126:7;29118;:16::i;:::-;29113:73;;29136:50;29144:41;;;29136:7;:50::i;:::-;29113:73;29206:15;:24;29222:7;29206:24;;;;;;;;;;;:30;;;;;;;;;;;;29199:37;;29017:227;;;:::o;28734:124::-;28823:27;28832:2;28836:7;28845:4;28823:8;:27::i;:::-;28734:124;;:::o;85493:29::-;;;;:::o;16979:573::-;17040:14;17438:15;:13;:15::i;:::-;17423:12;;17407:13;;:28;:46;17398:55;;17493:17;17472;:15;:17::i;:::-;:38;17468:65;;17522:11;;17512:21;;;;17468:65;16979:573;:::o;33289:3523::-;33431:27;33461;33480:7;33461:18;:27::i;:::-;33431:57;;12921:14;33632:4;33616:22;;:41;33593:66;;33717:4;33676:45;;33692:19;33676:45;;;33672:95;;33723:44;33731:35;;;33723:7;:44::i;:::-;33672:95;33781:27;33810:23;33837:35;33864:7;33837:26;:35::i;:::-;33780:92;;;;33972:68;33997:15;34014:4;34020:19;:17;:19::i;:::-;33972:24;:68::i;:::-;33967:189;;34060:43;34077:4;34083:19;:17;:19::i;:::-;34060:16;:43::i;:::-;34055:101;;34105:51;34113:42;;;34105:7;:51::i;:::-;34055:101;33967:189;34169:43;34191:4;34197:2;34201:7;34210:1;34169:21;:43::i;:::-;34305:15;34302:160;;;34445:1;34424:19;34417:30;34302:160;34842:18;:24;34861:4;34842:24;;;;;;;;;;;;;;;;34840:26;;;;;;;;;;;;34911:18;:22;34930:2;34911:22;;;;;;;;;;;;;;;;34909:24;;;;;;;;;;;35233:146;35270:2;35319:45;35334:4;35340:2;35344:19;35319:14;:45::i;:::-;12519:8;35291:73;35233:18;:146::i;:::-;35204:17;:26;35222:7;35204:26;;;;;;;;;;;:175;;;;35550:1;12519:8;35499:19;:47;:52;35495:627;;35572:19;35604:1;35594:7;:11;35572:33;;35761:1;35727:17;:30;35745:11;35727:30;;;;;;;;;;;;:35;35723:384;;35865:13;;35850:11;:28;35846:242;;36045:19;36012:17;:30;36030:11;36012:30;;;;;;;;;;;:52;;;;35846:242;35723:384;35553:569;35495:627;36235:16;12921:14;36270:2;36254:20;;:39;36235:58;;36634:7;36598:8;36564:4;36506:25;36451:1;36394;36371:299;36707:1;36695:8;:13;36691:58;;36710:39;36718:30;;;36710:7;:39::i;:::-;36691:58;36762:42;36783:4;36789:2;36793:7;36802:1;36762:20;:42::i;:::-;33420:3392;;;;33289:3523;;;:::o;87369:173::-;63650:13;:11;:13::i;:::-;87420:12:::1;87438:10;:15;;87461:21;87438:49;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87419:68;;;87506:7;87498:36;;;;;;;;;;;;:::i;:::-;;;;;;;;;87408:134;87369:173::o:0;36908:193::-;37054:39;37071:4;37077:2;37081:7;37054:39;;;;;;;;;;;;:16;:39::i;:::-;36908:193;;;:::o;87289:72::-;63650:13;:11;:13::i;:::-;87349:4:::1;;;;;;;;;;;87348:5;87341:4;;:12;;;;;;;;;;;;;;;;;;87289:72::o:0;86872:100::-;63650:13;:11;:13::i;:::-;86957:7:::1;;86947;:17;;;;;;;:::i;:::-;;86872:100:::0;;:::o;23179:152::-;23251:7;23294:27;23313:7;23294:18;:27::i;:::-;23271:52;;23179:152;;;:::o;85606:24::-;;;;;;;;;;;;;:::o;85537:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;87086:102::-;63650:13;:11;:13::i;:::-;87170:10:::1;87158:9;:22;;;;87086:102:::0;:::o;18703:242::-;18775:7;18816:1;18799:19;;:5;:19;;;18795:69;;18820:44;18828:35;;;18820:7;:44::i;:::-;18795:69;11463:13;18882:18;:25;18901:5;18882:25;;;;;;;;;;;;;;;;:55;18875:62;;18703:242;;;:::o;64439:103::-;63650:13;:11;:13::i;:::-;64504:30:::1;64531:1;64504:18;:30::i;:::-;64439:103::o:0;86168:173::-;63650:13;:11;:13::i;:::-;86279:9:::1;;86269:7;86253:13;:11;:13::i;:::-;:23;;;;:::i;:::-;:35;86245:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;86314:19;86320:3;86325:7;86314:5;:19::i;:::-;86168:173:::0;;:::o;63764:87::-;63810:7;63837:6;;;;;;;;;;;63830:13;;63764:87;:::o;87196:85::-;63650:13;:11;:13::i;:::-;87267:6:::1;87260:4;:13;;;;87196:85:::0;:::o;21953:104::-;22009:13;22042:7;22035:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21953:104;:::o;85826:334::-;85890:4;;;;;;;;;;;85885:34;;85903:16;;;;;;;;;;;;;;85885:34;85961:9;;85951:7;85934:14;:12;:14::i;:::-;:24;;;;:::i;:::-;:36;85930:60;;;85979:11;;;;;;;;;;;;;;85930:60;86015:8;;86005:7;:18;86001:48;;;86032:17;;;;;;;;;;;;;;86001:48;86083:7;86076:4;;:14;;;;:::i;:::-;86064:9;:26;86060:53;;;86099:14;;;;;;;;;;;;;;86060:53;86126:26;86132:10;86144:7;86126:5;:26::i;:::-;85826:334;:::o;29584:234::-;29731:8;29679:18;:39;29698:19;:17;:19::i;:::-;29679:39;;;;;;;;;;;;;;;:49;29719:8;29679:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;29791:8;29755:55;;29770:19;:17;:19::i;:::-;29755:55;;;29801:8;29755:55;;;;;;:::i;:::-;;;;;;;;29584:234;;:::o;37699:416::-;37874:31;37887:4;37893:2;37897:7;37874:12;:31::i;:::-;37938:1;37920:2;:14;;;:19;37916:192;;37959:56;37990:4;37996:2;38000:7;38009:5;37959:30;:56::i;:::-;37954:154;;38036:56;38044:47;;;38036:7;:56::i;:::-;37954:154;37916:192;37699:416;;;;:::o;86980:98::-;63650:13;:11;:13::i;:::-;87061:9:::1;87050:8;:20;;;;86980:98:::0;:::o;86349:298::-;86467:13;86503:16;86511:7;86503;:16::i;:::-;86498:59;;86528:29;;;;;;;;;;;;;;86498:59;86599:7;86608:18;86618:7;86608:9;:18::i;:::-;86628:9;86582:56;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;86568:71;;86349:298;;;:::o;85420:31::-;;;;:::o;29975:164::-;30072:4;30096:18;:25;30115:5;30096:25;;;;;;;;;;;;;;;:35;30122:8;30096:35;;;;;;;;;;;;;;;;;;;;;;;;;30089:42;;29975:164;;;;:::o;64697:220::-;63650:13;:11;:13::i;:::-;64802:1:::1;64782:22;;:8;:22;;::::0;64778:93:::1;;64856:1;64828:31;;;;;;;;;;;:::i;:::-;;;;;;;;64778:93;64881:28;64900:8;64881:18;:28::i;:::-;64697:220:::0;:::o;85458:28::-;;;;:::o;30397:475::-;30462:11;30509:7;30490:15;:13;:15::i;:::-;:26;30486:379;;30547:17;:15;:17::i;:::-;30537:7;:27;30533:90;;;30573:50;30596:17;:26;30614:7;30596:26;;;;;;;;;;;;30573:22;:50::i;:::-;30566:57;;;;30533:90;30654:13;;30644:7;:23;30640:214;;;30688:14;30721:60;30769:1;30738:17;:26;30756:7;30738:26;;;;;;;;;;;;30729:35;;;30728:42;30721:60;;30772:9;;;;:::i;:::-;;;30721:60;;;30837:1;12239:8;30809:6;:24;:29;30800:38;;30669:185;30640:214;30486:379;30397:475;;;;:::o;60906:165::-;61007:13;61001:4;60994:27;61048:4;61042;61035:18;52321:474;52450:13;52466:16;52474:7;52466;:16::i;:::-;52450:32;;52499:13;:45;;;;;52539:5;52516:28;;:19;:17;:19::i;:::-;:28;;;;52499:45;52495:201;;;52564:44;52581:5;52588:19;:17;:19::i;:::-;52564:16;:44::i;:::-;52559:137;;52629:51;52637:42;;;52629:7;:51::i;:::-;52559:137;52495:201;52741:2;52708:15;:24;52724:7;52708:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;52779:7;52775:2;52759:28;;52768:5;52759:28;;;;;;;;;;;;52439:356;52321:474;;;:::o;86655:93::-;86712:7;86739:1;86732:8;;86655:93;:::o;16477:110::-;16535:7;16562:17;16555:24;;16477:110;:::o;24664:2213::-;24731:14;24781:7;24762:15;:13;:15::i;:::-;:26;24758:2054;;24814:17;:26;24832:7;24814:26;;;;;;;;;;;;24805:35;;24871:17;:15;:17::i;:::-;24861:7;:27;24857:183;;;24913:30;24936:6;24913:22;:30::i;:::-;24945:13;24909:49;24977:47;24985:38;;;24977:7;:47::i;:::-;24857:183;25151:1;25141:6;:11;25137:1292;;25188:13;;25177:7;:24;25173:77;;25203:47;25211:38;;;25203:7;:47::i;:::-;25173:77;25807:607;25885:17;:28;25903:9;;;;;;;25885:28;;;;;;;;;;;;25876:37;;25973:1;25963:6;:11;25959:25;25976:8;25959:25;26039:1;12239:8;26011:6;:24;:29;26007:48;26042:13;26007:48;26347:47;26355:38;;;26347:7;:47::i;:::-;25807:607;;;25137:1292;26784:1;12239:8;26756:6;:24;:29;26752:48;26787:13;26752:48;24758:2054;26822:47;26830:38;;;26822:7;:47::i;:::-;24664:2213;;;;:::o;32184:485::-;32286:27;32315:23;32356:38;32397:15;:24;32413:7;32397:24;;;;;;;;;;;32356:65;;32574:18;32551:41;;32631:19;32625:26;32606:45;;32536:126;32184:485;;;:::o;58887:105::-;58947:7;58974:10;58967:17;;58887:105;:::o;31412:659::-;31561:11;31726:16;31719:5;31715:28;31706:37;;31886:16;31875:9;31871:32;31858:45;;32036:15;32025:9;32022:30;32014:5;32003:9;32000:20;31997:56;31987:66;;31412:659;;;;;:::o;38777:159::-;;;;;:::o;58196:311::-;58331:7;58351:16;12643:3;58377:19;:41;;58351:68;;12643:3;58445:31;58456:4;58462:2;58466:9;58445:10;:31::i;:::-;58437:40;;:62;;58430:69;;;58196:311;;;;;:::o;27425:450::-;27505:14;27673:16;27666:5;27662:28;27653:37;;27850:5;27836:11;27811:23;27807:41;27804:52;27797:5;27794:63;27784:73;;27425:450;;;;:::o;39601:158::-;;;;;:::o;63929:166::-;64000:12;:10;:12::i;:::-;63989:23;;:7;:5;:7::i;:::-;:23;;;63985:103;;64063:12;:10;:12::i;:::-;64036:40;;;;;;;;;;;:::i;:::-;;;;;;;;63985:103;63929:166::o;65077:191::-;65151:16;65170:6;;;;;;;;;;;65151:25;;65196:8;65187:6;;:17;;;;;;;;;;;;;;;;;;65251:8;65220:40;;65241:8;65220:40;;;;;;;;;;;;65140:128;65077:191;:::o;41352:2399::-;41425:20;41448:13;;41425:36;;41488:1;41476:8;:13;41472:53;;41491:34;41499:25;;;41491:7;:34::i;:::-;41472:53;41538:61;41568:1;41572:2;41576:12;41590:8;41538:21;:61::i;:::-;42072:139;42109:2;42163:33;42186:1;42190:2;42194:1;42163:14;:33::i;:::-;42130:30;42151:8;42130:20;:30::i;:::-;:66;42072:18;:139::i;:::-;42038:17;:31;42056:12;42038:31;;;;;;;;;;;:173;;;;42498:1;11601:2;42468:1;:26;;42467:32;42455:8;:45;42429:18;:22;42448:2;42429:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;42611:16;12921:14;42646:2;42630:20;;:39;42611:58;;42702:1;42690:8;:13;42686:54;;42705:35;42713:26;;;42705:7;:35::i;:::-;42686:54;42757:11;42786:8;42771:12;:23;42757:37;;42809:15;42827:12;42809:30;;42870:17;:15;:17::i;:::-;42866:1;42860:3;:7;:27;42856:77;;;42889:44;42897:35;;;42889:7;:44::i;:::-;42856:77;42950:676;43369:7;43325:8;43280:1;43214:25;43151:1;43086;43055:358;43621:3;43608:9;;;;;;:16;42950:676;;43658:3;43642:13;:19;;;;41787:1886;;;43683:60;43712:1;43716:2;43720:12;43734:8;43683:20;:60::i;:::-;41414:2337;41352:2399;;:::o;17650:385::-;17705:14;17921:15;:13;:15::i;:::-;17905:13;;:31;17896:40;;17976:17;17955;:15;:17::i;:::-;:38;17951:65;;18005:11;;17995:21;;;;17951:65;17650:385;:::o;40199:691::-;40362:4;40408:2;40383:45;;;40429:19;:17;:19::i;:::-;40450:4;40456:7;40465:5;40383:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;40379:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40683:1;40666:6;:13;:18;40662:115;;40705:56;40713:47;;;40705:7;:56::i;:::-;40662:115;40849:6;40843:13;40834:6;40830:2;40826:15;40819:38;40379:504;40552:54;;;40542:64;;;:6;:64;;;;40535:71;;;40199:691;;;;;;:::o;59094:1745::-;59159:17;59593:4;59586;59580:11;59576:22;59685:1;59679:4;59672:15;59760:4;59757:1;59753:12;59746:19;;59842:1;59837:3;59830:14;59946:3;60185:5;60167:428;60193:1;60167:428;;;60233:1;60228:3;60224:11;60217:18;;60404:2;60398:4;60394:13;60390:2;60386:22;60381:3;60373:36;60498:2;60492:4;60488:13;60480:21;;60565:4;60167:428;60555:25;60167:428;60171:21;60634:3;60629;60625:13;60749:4;60744:3;60740:14;60733:21;;60814:6;60809:3;60802:19;59198:1634;;;59094:1745;;;:::o;30968:335::-;31038:11;31268:15;31260:6;31256:28;31237:16;31229:6;31225:29;31222:63;31212:73;;30968:335;;;:::o;57897:147::-;58034:6;57897:147;;;;;:::o;61773:98::-;61826:7;61853:10;61846:17;;61773:98;:::o;27977:324::-;28047:14;28280:1;28270:8;28267:15;28241:24;28237:46;28227:56;;27977:324;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:139::-;1887:6;1882:3;1877;1871:23;1928:1;1919:6;1914:3;1910:16;1903:27;1798:139;;;:::o;1943:102::-;1984:6;2035:2;2031:7;2026:2;2019:5;2015:14;2011:28;2001:38;;1943:102;;;:::o;2051:377::-;2139:3;2167:39;2200:5;2167:39;:::i;:::-;2222:71;2286:6;2281:3;2222:71;:::i;:::-;2215:78;;2302:65;2360:6;2355:3;2348:4;2341:5;2337:16;2302:65;:::i;:::-;2392:29;2414:6;2392:29;:::i;:::-;2387:3;2383:39;2376:46;;2143:285;2051:377;;;;:::o;2434:313::-;2547:4;2585:2;2574:9;2570:18;2562:26;;2634:9;2628:4;2624:20;2620:1;2609:9;2605:17;2598:47;2662:78;2735:4;2726:6;2662:78;:::i;:::-;2654:86;;2434:313;;;;:::o;2753:77::-;2790:7;2819:5;2808:16;;2753:77;;;:::o;2836:122::-;2909:24;2927:5;2909:24;:::i;:::-;2902:5;2899:35;2889:63;;2948:1;2945;2938:12;2889:63;2836:122;:::o;2964:139::-;3010:5;3048:6;3035:20;3026:29;;3064:33;3091:5;3064:33;:::i;:::-;2964:139;;;;:::o;3109:329::-;3168:6;3217:2;3205:9;3196:7;3192:23;3188:32;3185:119;;;3223:79;;:::i;:::-;3185:119;3343:1;3368:53;3413:7;3404:6;3393:9;3389:22;3368:53;:::i;:::-;3358:63;;3314:117;3109:329;;;;:::o;3444:126::-;3481:7;3521:42;3514:5;3510:54;3499:65;;3444:126;;;:::o;3576:96::-;3613:7;3642:24;3660:5;3642:24;:::i;:::-;3631:35;;3576:96;;;:::o;3678:118::-;3765:24;3783:5;3765:24;:::i;:::-;3760:3;3753:37;3678:118;;:::o;3802:222::-;3895:4;3933:2;3922:9;3918:18;3910:26;;3946:71;4014:1;4003:9;3999:17;3990:6;3946:71;:::i;:::-;3802:222;;;;:::o;4030:122::-;4103:24;4121:5;4103:24;:::i;:::-;4096:5;4093:35;4083:63;;4142:1;4139;4132:12;4083:63;4030:122;:::o;4158:139::-;4204:5;4242:6;4229:20;4220:29;;4258:33;4285:5;4258:33;:::i;:::-;4158:139;;;;:::o;4303:474::-;4371:6;4379;4428:2;4416:9;4407:7;4403:23;4399:32;4396:119;;;4434:79;;:::i;:::-;4396:119;4554:1;4579:53;4624:7;4615:6;4604:9;4600:22;4579:53;:::i;:::-;4569:63;;4525:117;4681:2;4707:53;4752:7;4743:6;4732:9;4728:22;4707:53;:::i;:::-;4697:63;;4652:118;4303:474;;;;;:::o;4783:118::-;4870:24;4888:5;4870:24;:::i;:::-;4865:3;4858:37;4783:118;;:::o;4907:222::-;5000:4;5038:2;5027:9;5023:18;5015:26;;5051:71;5119:1;5108:9;5104:17;5095:6;5051:71;:::i;:::-;4907:222;;;;:::o;5135:619::-;5212:6;5220;5228;5277:2;5265:9;5256:7;5252:23;5248:32;5245:119;;;5283:79;;:::i;:::-;5245:119;5403:1;5428:53;5473:7;5464:6;5453:9;5449:22;5428:53;:::i;:::-;5418:63;;5374:117;5530:2;5556:53;5601:7;5592:6;5581:9;5577:22;5556:53;:::i;:::-;5546:63;;5501:118;5658:2;5684:53;5729:7;5720:6;5709:9;5705:22;5684:53;:::i;:::-;5674:63;;5629:118;5135:619;;;;;:::o;5760:117::-;5869:1;5866;5859:12;5883:117;5992:1;5989;5982:12;6006:117;6115:1;6112;6105:12;6143:553;6201:8;6211:6;6261:3;6254:4;6246:6;6242:17;6238:27;6228:122;;6269:79;;:::i;:::-;6228:122;6382:6;6369:20;6359:30;;6412:18;6404:6;6401:30;6398:117;;;6434:79;;:::i;:::-;6398:117;6548:4;6540:6;6536:17;6524:29;;6602:3;6594:4;6586:6;6582:17;6572:8;6568:32;6565:41;6562:128;;;6609:79;;:::i;:::-;6562:128;6143:553;;;;;:::o;6702:529::-;6773:6;6781;6830:2;6818:9;6809:7;6805:23;6801:32;6798:119;;;6836:79;;:::i;:::-;6798:119;6984:1;6973:9;6969:17;6956:31;7014:18;7006:6;7003:30;7000:117;;;7036:79;;:::i;:::-;7000:117;7149:65;7206:7;7197:6;7186:9;7182:22;7149:65;:::i;:::-;7131:83;;;;6927:297;6702:529;;;;;:::o;7237:329::-;7296:6;7345:2;7333:9;7324:7;7320:23;7316:32;7313:119;;;7351:79;;:::i;:::-;7313:119;7471:1;7496:53;7541:7;7532:6;7521:9;7517:22;7496:53;:::i;:::-;7486:63;;7442:117;7237:329;;;;:::o;7572:116::-;7642:21;7657:5;7642:21;:::i;:::-;7635:5;7632:32;7622:60;;7678:1;7675;7668:12;7622:60;7572:116;:::o;7694:133::-;7737:5;7775:6;7762:20;7753:29;;7791:30;7815:5;7791:30;:::i;:::-;7694:133;;;;:::o;7833:468::-;7898:6;7906;7955:2;7943:9;7934:7;7930:23;7926:32;7923:119;;;7961:79;;:::i;:::-;7923:119;8081:1;8106:53;8151:7;8142:6;8131:9;8127:22;8106:53;:::i;:::-;8096:63;;8052:117;8208:2;8234:50;8276:7;8267:6;8256:9;8252:22;8234:50;:::i;:::-;8224:60;;8179:115;7833:468;;;;;:::o;8307:117::-;8416:1;8413;8406:12;8430:180;8478:77;8475:1;8468:88;8575:4;8572:1;8565:15;8599:4;8596:1;8589:15;8616:281;8699:27;8721:4;8699:27;:::i;:::-;8691:6;8687:40;8829:6;8817:10;8814:22;8793:18;8781:10;8778:34;8775:62;8772:88;;;8840:18;;:::i;:::-;8772:88;8880:10;8876:2;8869:22;8659:238;8616:281;;:::o;8903:129::-;8937:6;8964:20;;:::i;:::-;8954:30;;8993:33;9021:4;9013:6;8993:33;:::i;:::-;8903:129;;;:::o;9038:307::-;9099:4;9189:18;9181:6;9178:30;9175:56;;;9211:18;;:::i;:::-;9175:56;9249:29;9271:6;9249:29;:::i;:::-;9241:37;;9333:4;9327;9323:15;9315:23;;9038:307;;;:::o;9351:148::-;9449:6;9444:3;9439;9426:30;9490:1;9481:6;9476:3;9472:16;9465:27;9351:148;;;:::o;9505:423::-;9582:5;9607:65;9623:48;9664:6;9623:48;:::i;:::-;9607:65;:::i;:::-;9598:74;;9695:6;9688:5;9681:21;9733:4;9726:5;9722:16;9771:3;9762:6;9757:3;9753:16;9750:25;9747:112;;;9778:79;;:::i;:::-;9747:112;9868:54;9915:6;9910:3;9905;9868:54;:::i;:::-;9588:340;9505:423;;;;;:::o;9947:338::-;10002:5;10051:3;10044:4;10036:6;10032:17;10028:27;10018:122;;10059:79;;:::i;:::-;10018:122;10176:6;10163:20;10201:78;10275:3;10267:6;10260:4;10252:6;10248:17;10201:78;:::i;:::-;10192:87;;10008:277;9947:338;;;;:::o;10291:943::-;10386:6;10394;10402;10410;10459:3;10447:9;10438:7;10434:23;10430:33;10427:120;;;10466:79;;:::i;:::-;10427:120;10586:1;10611:53;10656:7;10647:6;10636:9;10632:22;10611:53;:::i;:::-;10601:63;;10557:117;10713:2;10739:53;10784:7;10775:6;10764:9;10760:22;10739:53;:::i;:::-;10729:63;;10684:118;10841:2;10867:53;10912:7;10903:6;10892:9;10888:22;10867:53;:::i;:::-;10857:63;;10812:118;10997:2;10986:9;10982:18;10969:32;11028:18;11020:6;11017:30;11014:117;;;11050:79;;:::i;:::-;11014:117;11155:62;11209:7;11200:6;11189:9;11185:22;11155:62;:::i;:::-;11145:72;;10940:287;10291:943;;;;;;;:::o;11240:474::-;11308:6;11316;11365:2;11353:9;11344:7;11340:23;11336:32;11333:119;;;11371:79;;:::i;:::-;11333:119;11491:1;11516:53;11561:7;11552:6;11541:9;11537:22;11516:53;:::i;:::-;11506:63;;11462:117;11618:2;11644:53;11689:7;11680:6;11669:9;11665:22;11644:53;:::i;:::-;11634:63;;11589:118;11240:474;;;;;:::o;11720:180::-;11768:77;11765:1;11758:88;11865:4;11862:1;11855:15;11889:4;11886:1;11879:15;11906:320;11950:6;11987:1;11981:4;11977:12;11967:22;;12034:1;12028:4;12024:12;12055:18;12045:81;;12111:4;12103:6;12099:17;12089:27;;12045:81;12173:2;12165:6;12162:14;12142:18;12139:38;12136:84;;12192:18;;:::i;:::-;12136:84;11957:269;11906:320;;;:::o;12232:147::-;12333:11;12370:3;12355:18;;12232:147;;;;:::o;12385:114::-;;:::o;12505:398::-;12664:3;12685:83;12766:1;12761:3;12685:83;:::i;:::-;12678:90;;12777:93;12866:3;12777:93;:::i;:::-;12895:1;12890:3;12886:11;12879:18;;12505:398;;;:::o;12909:379::-;13093:3;13115:147;13258:3;13115:147;:::i;:::-;13108:154;;13279:3;13272:10;;12909:379;;;:::o;13294:166::-;13434:18;13430:1;13422:6;13418:14;13411:42;13294:166;:::o;13466:366::-;13608:3;13629:67;13693:2;13688:3;13629:67;:::i;:::-;13622:74;;13705:93;13794:3;13705:93;:::i;:::-;13823:2;13818:3;13814:12;13807:19;;13466:366;;;:::o;13838:419::-;14004:4;14042:2;14031:9;14027:18;14019:26;;14091:9;14085:4;14081:20;14077:1;14066:9;14062:17;14055:47;14119:131;14245:4;14119:131;:::i;:::-;14111:139;;13838:419;;;:::o;14263:97::-;14322:6;14350:3;14340:13;;14263:97;;;;:::o;14366:141::-;14415:4;14438:3;14430:11;;14461:3;14458:1;14451:14;14495:4;14492:1;14482:18;14474:26;;14366:141;;;:::o;14513:93::-;14550:6;14597:2;14592;14585:5;14581:14;14577:23;14567:33;;14513:93;;;:::o;14612:107::-;14656:8;14706:5;14700:4;14696:16;14675:37;;14612:107;;;;:::o;14725:393::-;14794:6;14844:1;14832:10;14828:18;14867:97;14897:66;14886:9;14867:97;:::i;:::-;14985:39;15015:8;15004:9;14985:39;:::i;:::-;14973:51;;15057:4;15053:9;15046:5;15042:21;15033:30;;15106:4;15096:8;15092:19;15085:5;15082:30;15072:40;;14801:317;;14725:393;;;;;:::o;15124:60::-;15152:3;15173:5;15166:12;;15124:60;;;:::o;15190:142::-;15240:9;15273:53;15291:34;15300:24;15318:5;15300:24;:::i;:::-;15291:34;:::i;:::-;15273:53;:::i;:::-;15260:66;;15190:142;;;:::o;15338:75::-;15381:3;15402:5;15395:12;;15338:75;;;:::o;15419:269::-;15529:39;15560:7;15529:39;:::i;:::-;15590:91;15639:41;15663:16;15639:41;:::i;:::-;15631:6;15624:4;15618:11;15590:91;:::i;:::-;15584:4;15577:105;15495:193;15419:269;;;:::o;15694:73::-;15739:3;15694:73;:::o;15773:189::-;15850:32;;:::i;:::-;15891:65;15949:6;15941;15935:4;15891:65;:::i;:::-;15826:136;15773:189;;:::o;15968:186::-;16028:120;16045:3;16038:5;16035:14;16028:120;;;16099:39;16136:1;16129:5;16099:39;:::i;:::-;16072:1;16065:5;16061:13;16052:22;;16028:120;;;15968:186;;:::o;16160:543::-;16261:2;16256:3;16253:11;16250:446;;;16295:38;16327:5;16295:38;:::i;:::-;16379:29;16397:10;16379:29;:::i;:::-;16369:8;16365:44;16562:2;16550:10;16547:18;16544:49;;;16583:8;16568:23;;16544:49;16606:80;16662:22;16680:3;16662:22;:::i;:::-;16652:8;16648:37;16635:11;16606:80;:::i;:::-;16265:431;;16250:446;16160:543;;;:::o;16709:117::-;16763:8;16813:5;16807:4;16803:16;16782:37;;16709:117;;;;:::o;16832:169::-;16876:6;16909:51;16957:1;16953:6;16945:5;16942:1;16938:13;16909:51;:::i;:::-;16905:56;16990:4;16984;16980:15;16970:25;;16883:118;16832:169;;;;:::o;17006:295::-;17082:4;17228:29;17253:3;17247:4;17228:29;:::i;:::-;17220:37;;17290:3;17287:1;17283:11;17277:4;17274:21;17266:29;;17006:295;;;;:::o;17306:1403::-;17430:44;17470:3;17465;17430:44;:::i;:::-;17539:18;17531:6;17528:30;17525:56;;;17561:18;;:::i;:::-;17525:56;17605:38;17637:4;17631:11;17605:38;:::i;:::-;17690:67;17750:6;17742;17736:4;17690:67;:::i;:::-;17784:1;17813:2;17805:6;17802:14;17830:1;17825:632;;;;18501:1;18518:6;18515:84;;;18574:9;18569:3;18565:19;18552:33;18543:42;;18515:84;18625:67;18685:6;18678:5;18625:67;:::i;:::-;18619:4;18612:81;18474:229;17795:908;;17825:632;17877:4;17873:9;17865:6;17861:22;17911:37;17943:4;17911:37;:::i;:::-;17970:1;17984:215;17998:7;17995:1;17992:14;17984:215;;;18084:9;18079:3;18075:19;18062:33;18054:6;18047:49;18135:1;18127:6;18123:14;18113:24;;18182:2;18171:9;18167:18;18154:31;;18021:4;18018:1;18014:12;18009:17;;17984:215;;;18227:6;18218:7;18215:19;18212:186;;;18292:9;18287:3;18283:19;18270:33;18335:48;18377:4;18369:6;18365:17;18354:9;18335:48;:::i;:::-;18327:6;18320:64;18235:163;18212:186;18444:1;18440;18432:6;18428:14;18424:22;18418:4;18411:36;17832:625;;;17795:908;;17405:1304;;;17306:1403;;;:::o;18715:180::-;18763:77;18760:1;18753:88;18860:4;18857:1;18850:15;18884:4;18881:1;18874:15;18901:191;18941:3;18960:20;18978:1;18960:20;:::i;:::-;18955:25;;18994:20;19012:1;18994:20;:::i;:::-;18989:25;;19037:1;19034;19030:9;19023:16;;19058:3;19055:1;19052:10;19049:36;;;19065:18;;:::i;:::-;19049:36;18901:191;;;;:::o;19098:160::-;19238:12;19234:1;19226:6;19222:14;19215:36;19098:160;:::o;19264:366::-;19406:3;19427:67;19491:2;19486:3;19427:67;:::i;:::-;19420:74;;19503:93;19592:3;19503:93;:::i;:::-;19621:2;19616:3;19612:12;19605:19;;19264:366;;;:::o;19636:419::-;19802:4;19840:2;19829:9;19825:18;19817:26;;19889:9;19883:4;19879:20;19875:1;19864:9;19860:17;19853:47;19917:131;20043:4;19917:131;:::i;:::-;19909:139;;19636:419;;;:::o;20061:410::-;20101:7;20124:20;20142:1;20124:20;:::i;:::-;20119:25;;20158:20;20176:1;20158:20;:::i;:::-;20153:25;;20213:1;20210;20206:9;20235:30;20253:11;20235:30;:::i;:::-;20224:41;;20414:1;20405:7;20401:15;20398:1;20395:22;20375:1;20368:9;20348:83;20325:139;;20444:18;;:::i;:::-;20325:139;20109:362;20061:410;;;;:::o;20477:148::-;20579:11;20616:3;20601:18;;20477:148;;;;:::o;20655:874::-;20758:3;20795:5;20789:12;20824:36;20850:9;20824:36;:::i;:::-;20876:89;20958:6;20953:3;20876:89;:::i;:::-;20869:96;;20996:1;20985:9;20981:17;21012:1;21007:166;;;;21187:1;21182:341;;;;20974:549;;21007:166;21091:4;21087:9;21076;21072:25;21067:3;21060:38;21153:6;21146:14;21139:22;21131:6;21127:35;21122:3;21118:45;21111:52;;21007:166;;21182:341;21249:38;21281:5;21249:38;:::i;:::-;21309:1;21323:154;21337:6;21334:1;21331:13;21323:154;;;21411:7;21405:14;21401:1;21396:3;21392:11;21385:35;21461:1;21452:7;21448:15;21437:26;;21359:4;21356:1;21352:12;21347:17;;21323:154;;;21506:6;21501:3;21497:16;21490:23;;21189:334;;20974:549;;20762:767;;20655:874;;;;:::o;21535:390::-;21641:3;21669:39;21702:5;21669:39;:::i;:::-;21724:89;21806:6;21801:3;21724:89;:::i;:::-;21717:96;;21822:65;21880:6;21875:3;21868:4;21861:5;21857:16;21822:65;:::i;:::-;21912:6;21907:3;21903:16;21896:23;;21645:280;21535:390;;;;:::o;21931:583::-;22153:3;22175:92;22263:3;22254:6;22175:92;:::i;:::-;22168:99;;22284:95;22375:3;22366:6;22284:95;:::i;:::-;22277:102;;22396:92;22484:3;22475:6;22396:92;:::i;:::-;22389:99;;22505:3;22498:10;;21931:583;;;;;;:::o;22520:171::-;22559:3;22582:24;22600:5;22582:24;:::i;:::-;22573:33;;22628:4;22621:5;22618:15;22615:41;;22636:18;;:::i;:::-;22615:41;22683:1;22676:5;22672:13;22665:20;;22520:171;;;:::o;22697:98::-;22748:6;22782:5;22776:12;22766:22;;22697:98;;;:::o;22801:168::-;22884:11;22918:6;22913:3;22906:19;22958:4;22953:3;22949:14;22934:29;;22801:168;;;;:::o;22975:373::-;23061:3;23089:38;23121:5;23089:38;:::i;:::-;23143:70;23206:6;23201:3;23143:70;:::i;:::-;23136:77;;23222:65;23280:6;23275:3;23268:4;23261:5;23257:16;23222:65;:::i;:::-;23312:29;23334:6;23312:29;:::i;:::-;23307:3;23303:39;23296:46;;23065:283;22975:373;;;;:::o;23354:640::-;23549:4;23587:3;23576:9;23572:19;23564:27;;23601:71;23669:1;23658:9;23654:17;23645:6;23601:71;:::i;:::-;23682:72;23750:2;23739:9;23735:18;23726:6;23682:72;:::i;:::-;23764;23832:2;23821:9;23817:18;23808:6;23764:72;:::i;:::-;23883:9;23877:4;23873:20;23868:2;23857:9;23853:18;23846:48;23911:76;23982:4;23973:6;23911:76;:::i;:::-;23903:84;;23354:640;;;;;;;:::o;24000:141::-;24056:5;24087:6;24081:13;24072:22;;24103:32;24129:5;24103:32;:::i;:::-;24000:141;;;;:::o;24147:349::-;24216:6;24265:2;24253:9;24244:7;24240:23;24236:32;24233:119;;;24271:79;;:::i;:::-;24233:119;24391:1;24416:63;24471:7;24462:6;24451:9;24447:22;24416:63;:::i;:::-;24406:73;;24362:127;24147:349;;;;:::o
Swarm Source
ipfs://2395b1b0d8742afb38a8d2e80b55d0c0a15040eb6601ab603cd1e240b92802bf
[ 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.