ERC-721
Overview
Max Total Supply
4,344 PXLYTS
Holders
1,004
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
40 PXLYTSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Pixelatedy00ts
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-06 */ // SPDX-License-Identifier: MIT // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/IERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol // ERC721A Contracts v4.2.2 // 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()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/Pixelatedy00ts.sol pragma solidity ^0.8.9; contract Pixelatedy00ts is ERC721A, Ownable { uint16 public maxSupply = 4444; uint16 public maxFreeSupply = 1000; uint8 public maxPerTx = 20; uint8 public maxFreePerWallet = 1; uint256 public mintPrice = 0.0033 ether; bool public mintEnabled; string public baseURI = "ipfs://bafybeiexno4fnzspzopyn7wmchqe7paiewxnw2tvsg5h7n7lj2coyjtbke/"; mapping(address => uint256) public _mintedFreeAmount; using Strings for uint256; constructor() ERC721A("Pixelated y00ts", "PXLYTS"){} function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory baseURI_) public onlyOwner { baseURI = baseURI_; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), ".json")) : ''; } function toggleMinting() external onlyOwner { mintEnabled = !mintEnabled; } function setPrice(uint256 _newMintPrice) public onlyOwner { mintPrice = _newMintPrice; } function setMaxSupply(uint16 _newMaxSupply) public onlyOwner { maxSupply = _newMaxSupply; } function withdraw() external payable onlyOwner { payable(owner()).transfer(address(this).balance); } function mint(uint8 quantity) external payable { bool isFree = ((totalSupply() + quantity < maxFreeSupply + 1) && (_mintedFreeAmount[msg.sender] < maxFreePerWallet)); if (isFree) { require(mintEnabled, "Mint is not live yet"); require(totalSupply() + quantity <= 4344, "Not enough tokens left"); require(quantity <= maxPerTx, "Max per TX reached."); if(quantity >= (maxFreePerWallet - _mintedFreeAmount[msg.sender])) { require(msg.value >= (quantity * mintPrice) - ((maxFreePerWallet - _mintedFreeAmount[msg.sender]) * mintPrice), "Not enough ether sent"); _mintedFreeAmount[msg.sender] = maxFreePerWallet; } else if(quantity < (maxFreePerWallet - _mintedFreeAmount[msg.sender])) { require(msg.value >= 0, "Not enough ether sent"); _mintedFreeAmount[msg.sender] += quantity; } } else{ require(mintEnabled, "Mint is not live yet"); require(msg.value >= quantity * mintPrice, "Not enough ether sent"); require(totalSupply() + quantity <= 4344, "Not enough tokens left"); require(quantity <= maxPerTx, "Max per TX reached."); } _safeMint(msg.sender, quantity); } function mintForOwner(uint16 quantity) public onlyOwner { require(mintEnabled); require(totalSupply() + quantity <= maxSupply); _safeMint(msg.sender, quantity); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"","type":"address"}],"name":"_mintedFreeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxFreePerWallet","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"quantity","type":"uint16"}],"name":"mintForOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_newMaxSupply","type":"uint16"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMintPrice","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":[],"name":"toggleMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6008805465ffffffffffff60a01b191679011403e8115c0000000000000000000000000000000000000000179055660bb9551fc24000600955610100604052604360808181529062001f0a60a03980516200006391600b916020909101906200016d565b503480156200007157600080fd5b50604080518082018252600f81527f506978656c61746564207930307473000000000000000000000000000000000060208083019182528351808501909452600684527f50584c5954530000000000000000000000000000000000000000000000000000908401528151919291620000ec916002916200016d565b508051620001029060039060208401906200016d565b505060016000555062000115336200011b565b62000269565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200017b9062000213565b90600052602060002090601f0160209004810192826200019f5760008555620001ea565b82601f10620001ba57805160ff1916838001178555620001ea565b82800160010185558215620001ea579182015b82811115620001ea578251825591602001919060010190620001cd565b50620001f8929150620001fc565b5090565b5b80821115620001f85760008155600101620001fd565b600181811c908216806200022857607f821691505b6020821081141562000263577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b611c9180620002796000396000f3fe6080604052600436106101e35760003560e01c8063715018a611610102578063c87b56dd11610095578063f2fde38b11610064578063f2fde38b1461058c578063f4db2acb146105ac578063f968adbe146105d9578063fddf1479146105fa57600080fd5b8063c87b56dd146104e7578063d123973014610507578063d5abeb0114610521578063e985e9c51461054357600080fd5b806395d89b41116100d157806395d89b411461045f578063a22cb46514610474578063a702735714610494578063b88d4fde146104c757600080fd5b8063715018a6146103f75780637d55094d1461040c5780638da5cb5b1461042157806391b7f5ed1461043f57600080fd5b806342842e0e1161017a5780636817c76c116101495780636817c76c146103995780636c0360eb146103af5780636ecd2306146103c457806370a08231146103d757600080fd5b806342842e0e14610304578063475133341461032457806355f804b3146103595780636352211e1461037957600080fd5b8063095ea7b3116101b6578063095ea7b31461029957806318160ddd146102b957806323b872dd146102dc5780633ccfd60b146102fc57600080fd5b806301ffc9a7146101e857806306421c2f1461021d57806306fdde031461023f578063081812fc14610261575b600080fd5b3480156101f457600080fd5b50610208610203366004611749565b61061a565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b5061023d610238366004611766565b61066c565b005b34801561024b57600080fd5b50610254610696565b60405161021491906117e2565b34801561026d57600080fd5b5061028161027c3660046117f5565b610728565b6040516001600160a01b039091168152602001610214565b3480156102a557600080fd5b5061023d6102b436600461182a565b61076c565b3480156102c557600080fd5b506102ce61080c565b604051908152602001610214565b3480156102e857600080fd5b5061023d6102f7366004611854565b61081a565b61023d6109ab565b34801561031057600080fd5b5061023d61031f366004611854565b6109fa565b34801561033057600080fd5b5060085461034690600160b01b900461ffff1681565b60405161ffff9091168152602001610214565b34801561036557600080fd5b5061023d61037436600461191c565b610a1a565b34801561038557600080fd5b506102816103943660046117f5565b610a39565b3480156103a557600080fd5b506102ce60095481565b3480156103bb57600080fd5b50610254610a44565b61023d6103d2366004611965565b610ad2565b3480156103e357600080fd5b506102ce6103f2366004611988565b610ee6565b34801561040357600080fd5b5061023d610f35565b34801561041857600080fd5b5061023d610f49565b34801561042d57600080fd5b506008546001600160a01b0316610281565b34801561044b57600080fd5b5061023d61045a3660046117f5565b610f65565b34801561046b57600080fd5b50610254610f72565b34801561048057600080fd5b5061023d61048f3660046119a3565b610f81565b3480156104a057600080fd5b506008546104b590600160c81b900460ff1681565b60405160ff9091168152602001610214565b3480156104d357600080fd5b5061023d6104e23660046119df565b610fed565b3480156104f357600080fd5b506102546105023660046117f5565b611037565b34801561051357600080fd5b50600a546102089060ff1681565b34801561052d57600080fd5b5060085461034690600160a01b900461ffff1681565b34801561054f57600080fd5b5061020861055e366004611a5b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561059857600080fd5b5061023d6105a7366004611988565b611102565b3480156105b857600080fd5b506102ce6105c7366004611988565b600c6020526000908152604090205481565b3480156105e557600080fd5b506008546104b590600160c01b900460ff1681565b34801561060657600080fd5b5061023d610615366004611766565b611178565b60006301ffc9a760e01b6001600160e01b03198316148061064b57506380ac58cd60e01b6001600160e01b03198316145b806106665750635b5e139f60e01b6001600160e01b03198316145b92915050565b6106746111cd565b6008805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b6060600280546106a590611a8e565b80601f01602080910402602001604051908101604052809291908181526020018280546106d190611a8e565b801561071e5780601f106106f35761010080835404028352916020019161071e565b820191906000526020600020905b81548152906001019060200180831161070157829003601f168201915b5050505050905090565b600061073382611227565b610750576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061077782610a39565b9050336001600160a01b038216146107b057610793813361055e565b6107b0576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600154600054036000190190565b60006108258261125c565b9050836001600160a01b0316816001600160a01b0316146108585760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108a557610888863361055e565b6108a557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108cc57604051633a954ecd60e21b815260040160405180910390fd5b80156108d757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661096257600184016000818152600460205260409020546109605760005481146109605760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109b36111cd565b6008546001600160a01b03166040516001600160a01b039190911690303180156108fc02916000818181858888f193505050501580156109f7573d6000803e3d6000fd5b50565b610a1583838360405180602001604052806000815250610fed565b505050565b610a226111cd565b8051610a3590600b90602084019061169a565b5050565b60006106668261125c565b600b8054610a5190611a8e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7d90611a8e565b8015610aca5780601f10610a9f57610100808354040283529160200191610aca565b820191906000526020600020905b815481529060010190602001808311610aad57829003601f168201915b505050505081565b600854600090610aee90600160b01b900461ffff166001611adf565b61ffff168260ff16610afe61080c565b610b089190611b05565b108015610b305750600854336000908152600c6020526040902054600160c81b90910460ff16115b90508015610d8357600a5460ff16610b865760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b60448201526064015b60405180910390fd5b6110f88260ff16610b9561080c565b610b9f9190611b05565b1115610be65760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610b7d565b60085460ff600160c01b90910481169083161115610c3c5760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610b7d565b336000908152600c6020526040902054600854610c639190600160c81b900460ff16611b1d565b8260ff1610610d2557600954336000908152600c6020526040902054600854610c969190600160c81b900460ff16611b1d565b610ca09190611b34565b600954610cb09060ff8516611b34565b610cba9190611b1d565b341015610d015760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610b7d565b600854336000908152600c60205260409020600160c81b90910460ff169055610ed9565b336000908152600c6020526040902054600854610d4c9190600160c81b900460ff16611b1d565b8260ff161015610d7e57336000908152600c60205260408120805460ff85169290610d78908490611b05565b90915550505b610ed9565b600a5460ff16610dcc5760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b6044820152606401610b7d565b600954610ddc9060ff8416611b34565b341015610e235760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610b7d565b6110f88260ff16610e3261080c565b610e3c9190611b05565b1115610e835760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610b7d565b60085460ff600160c01b90910481169083161115610ed95760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610b7d565b610a35338360ff166112c5565b60006001600160a01b038216610f0f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610f3d6111cd565b610f4760006112df565b565b610f516111cd565b600a805460ff19811660ff90911615179055565b610f6d6111cd565b600955565b6060600380546106a590611a8e565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ff884848461081a565b6001600160a01b0383163b156110315761101484848484611331565b611031576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061104282611227565b6110a65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b7d565b60006110b0611429565b905060008151116110d057604051806020016040528060008152506110fb565b806110da84611438565b6040516020016110eb929190611b53565b6040516020818303038152906040525b9392505050565b61110a6111cd565b6001600160a01b03811661116f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b7d565b6109f7816112df565b6111806111cd565b600a5460ff1661118f57600080fd5b60085461ffff600160a01b90910481169082166111aa61080c565b6111b49190611b05565b11156111bf57600080fd5b6109f7338261ffff166112c5565b6008546001600160a01b03163314610f475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b7d565b60008160011115801561123b575060005482105b8015610666575050600090815260046020526040902054600160e01b161590565b600081806001116112ac576000548110156112ac57600081815260046020526040902054600160e01b81166112aa575b806110fb57506000190160008181526004602052604090205461128c565b505b604051636f96cda160e11b815260040160405180910390fd5b610a35828260405180602001604052806000815250611536565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611366903390899088908890600401611b92565b602060405180830381600087803b15801561138057600080fd5b505af19250505080156113b0575060408051601f3d908101601f191682019092526113ad91810190611bcf565b60015b61140b573d8080156113de576040519150601f19603f3d011682016040523d82523d6000602084013e6113e3565b606091505b508051611403576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546106a590611a8e565b60608161145c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611486578061147081611bec565b915061147f9050600a83611c1d565b9150611460565b60008167ffffffffffffffff8111156114a1576114a1611890565b6040519080825280601f01601f1916602001820160405280156114cb576020820181803683370190505b5090505b8415611421576114e0600183611b1d565b91506114ed600a86611c31565b6114f8906030611b05565b60f81b81838151811061150d5761150d611c45565b60200101906001600160f81b031916908160001a90535061152f600a86611c1d565b94506114cf565b61154083836115a3565b6001600160a01b0383163b15610a15576000548281035b61156a6000868380600101945086611331565b611587576040516368d2bf6b60e11b815260040160405180910390fd5b81811061155757816000541461159c57600080fd5b5050505050565b600054816115c45760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461167357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161163b565b508161169157604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546116a690611a8e565b90600052602060002090601f0160209004810192826116c8576000855561170e565b82601f106116e157805160ff191683800117855561170e565b8280016001018555821561170e579182015b8281111561170e5782518255916020019190600101906116f3565b5061171a92915061171e565b5090565b5b8082111561171a576000815560010161171f565b6001600160e01b0319811681146109f757600080fd5b60006020828403121561175b57600080fd5b81356110fb81611733565b60006020828403121561177857600080fd5b813561ffff811681146110fb57600080fd5b60005b838110156117a557818101518382015260200161178d565b838111156110315750506000910152565b600081518084526117ce81602086016020860161178a565b601f01601f19169290920160200192915050565b6020815260006110fb60208301846117b6565b60006020828403121561180757600080fd5b5035919050565b80356001600160a01b038116811461182557600080fd5b919050565b6000806040838503121561183d57600080fd5b6118468361180e565b946020939093013593505050565b60008060006060848603121561186957600080fd5b6118728461180e565b92506118806020850161180e565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156118c1576118c1611890565b604051601f8501601f19908116603f011681019082821181831017156118e9576118e9611890565b8160405280935085815286868601111561190257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561192e57600080fd5b813567ffffffffffffffff81111561194557600080fd5b8201601f8101841361195657600080fd5b611421848235602084016118a6565b60006020828403121561197757600080fd5b813560ff811681146110fb57600080fd5b60006020828403121561199a57600080fd5b6110fb8261180e565b600080604083850312156119b657600080fd5b6119bf8361180e565b9150602083013580151581146119d457600080fd5b809150509250929050565b600080600080608085870312156119f557600080fd5b6119fe8561180e565b9350611a0c6020860161180e565b925060408501359150606085013567ffffffffffffffff811115611a2f57600080fd5b8501601f81018713611a4057600080fd5b611a4f878235602084016118a6565b91505092959194509250565b60008060408385031215611a6e57600080fd5b611a778361180e565b9150611a856020840161180e565b90509250929050565b600181811c90821680611aa257607f821691505b60208210811415611ac357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600061ffff808316818516808303821115611afc57611afc611ac9565b01949350505050565b60008219821115611b1857611b18611ac9565b500190565b600082821015611b2f57611b2f611ac9565b500390565b6000816000190483118215151615611b4e57611b4e611ac9565b500290565b60008351611b6581846020880161178a565b835190830190611b7981836020880161178a565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bc5908301846117b6565b9695505050505050565b600060208284031215611be157600080fd5b81516110fb81611733565b6000600019821415611c0057611c00611ac9565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611c2c57611c2c611c07565b500490565b600082611c4057611c40611c07565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212201efd0b758613c824ff5f22ef851b21cac223086690ce6ceb7203f10b6e591df664736f6c63430008090033697066733a2f2f6261667962656965786e6f34666e7a73707a6f70796e37776d63687165377061696577786e7732747673673568376e376c6a32636f796a74626b652f
Deployed Bytecode
0x6080604052600436106101e35760003560e01c8063715018a611610102578063c87b56dd11610095578063f2fde38b11610064578063f2fde38b1461058c578063f4db2acb146105ac578063f968adbe146105d9578063fddf1479146105fa57600080fd5b8063c87b56dd146104e7578063d123973014610507578063d5abeb0114610521578063e985e9c51461054357600080fd5b806395d89b41116100d157806395d89b411461045f578063a22cb46514610474578063a702735714610494578063b88d4fde146104c757600080fd5b8063715018a6146103f75780637d55094d1461040c5780638da5cb5b1461042157806391b7f5ed1461043f57600080fd5b806342842e0e1161017a5780636817c76c116101495780636817c76c146103995780636c0360eb146103af5780636ecd2306146103c457806370a08231146103d757600080fd5b806342842e0e14610304578063475133341461032457806355f804b3146103595780636352211e1461037957600080fd5b8063095ea7b3116101b6578063095ea7b31461029957806318160ddd146102b957806323b872dd146102dc5780633ccfd60b146102fc57600080fd5b806301ffc9a7146101e857806306421c2f1461021d57806306fdde031461023f578063081812fc14610261575b600080fd5b3480156101f457600080fd5b50610208610203366004611749565b61061a565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b5061023d610238366004611766565b61066c565b005b34801561024b57600080fd5b50610254610696565b60405161021491906117e2565b34801561026d57600080fd5b5061028161027c3660046117f5565b610728565b6040516001600160a01b039091168152602001610214565b3480156102a557600080fd5b5061023d6102b436600461182a565b61076c565b3480156102c557600080fd5b506102ce61080c565b604051908152602001610214565b3480156102e857600080fd5b5061023d6102f7366004611854565b61081a565b61023d6109ab565b34801561031057600080fd5b5061023d61031f366004611854565b6109fa565b34801561033057600080fd5b5060085461034690600160b01b900461ffff1681565b60405161ffff9091168152602001610214565b34801561036557600080fd5b5061023d61037436600461191c565b610a1a565b34801561038557600080fd5b506102816103943660046117f5565b610a39565b3480156103a557600080fd5b506102ce60095481565b3480156103bb57600080fd5b50610254610a44565b61023d6103d2366004611965565b610ad2565b3480156103e357600080fd5b506102ce6103f2366004611988565b610ee6565b34801561040357600080fd5b5061023d610f35565b34801561041857600080fd5b5061023d610f49565b34801561042d57600080fd5b506008546001600160a01b0316610281565b34801561044b57600080fd5b5061023d61045a3660046117f5565b610f65565b34801561046b57600080fd5b50610254610f72565b34801561048057600080fd5b5061023d61048f3660046119a3565b610f81565b3480156104a057600080fd5b506008546104b590600160c81b900460ff1681565b60405160ff9091168152602001610214565b3480156104d357600080fd5b5061023d6104e23660046119df565b610fed565b3480156104f357600080fd5b506102546105023660046117f5565b611037565b34801561051357600080fd5b50600a546102089060ff1681565b34801561052d57600080fd5b5060085461034690600160a01b900461ffff1681565b34801561054f57600080fd5b5061020861055e366004611a5b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561059857600080fd5b5061023d6105a7366004611988565b611102565b3480156105b857600080fd5b506102ce6105c7366004611988565b600c6020526000908152604090205481565b3480156105e557600080fd5b506008546104b590600160c01b900460ff1681565b34801561060657600080fd5b5061023d610615366004611766565b611178565b60006301ffc9a760e01b6001600160e01b03198316148061064b57506380ac58cd60e01b6001600160e01b03198316145b806106665750635b5e139f60e01b6001600160e01b03198316145b92915050565b6106746111cd565b6008805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b6060600280546106a590611a8e565b80601f01602080910402602001604051908101604052809291908181526020018280546106d190611a8e565b801561071e5780601f106106f35761010080835404028352916020019161071e565b820191906000526020600020905b81548152906001019060200180831161070157829003601f168201915b5050505050905090565b600061073382611227565b610750576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061077782610a39565b9050336001600160a01b038216146107b057610793813361055e565b6107b0576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600154600054036000190190565b60006108258261125c565b9050836001600160a01b0316816001600160a01b0316146108585760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108a557610888863361055e565b6108a557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108cc57604051633a954ecd60e21b815260040160405180910390fd5b80156108d757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661096257600184016000818152600460205260409020546109605760005481146109605760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109b36111cd565b6008546001600160a01b03166040516001600160a01b039190911690303180156108fc02916000818181858888f193505050501580156109f7573d6000803e3d6000fd5b50565b610a1583838360405180602001604052806000815250610fed565b505050565b610a226111cd565b8051610a3590600b90602084019061169a565b5050565b60006106668261125c565b600b8054610a5190611a8e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7d90611a8e565b8015610aca5780601f10610a9f57610100808354040283529160200191610aca565b820191906000526020600020905b815481529060010190602001808311610aad57829003601f168201915b505050505081565b600854600090610aee90600160b01b900461ffff166001611adf565b61ffff168260ff16610afe61080c565b610b089190611b05565b108015610b305750600854336000908152600c6020526040902054600160c81b90910460ff16115b90508015610d8357600a5460ff16610b865760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b60448201526064015b60405180910390fd5b6110f88260ff16610b9561080c565b610b9f9190611b05565b1115610be65760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610b7d565b60085460ff600160c01b90910481169083161115610c3c5760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610b7d565b336000908152600c6020526040902054600854610c639190600160c81b900460ff16611b1d565b8260ff1610610d2557600954336000908152600c6020526040902054600854610c969190600160c81b900460ff16611b1d565b610ca09190611b34565b600954610cb09060ff8516611b34565b610cba9190611b1d565b341015610d015760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610b7d565b600854336000908152600c60205260409020600160c81b90910460ff169055610ed9565b336000908152600c6020526040902054600854610d4c9190600160c81b900460ff16611b1d565b8260ff161015610d7e57336000908152600c60205260408120805460ff85169290610d78908490611b05565b90915550505b610ed9565b600a5460ff16610dcc5760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b6044820152606401610b7d565b600954610ddc9060ff8416611b34565b341015610e235760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610b7d565b6110f88260ff16610e3261080c565b610e3c9190611b05565b1115610e835760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610b7d565b60085460ff600160c01b90910481169083161115610ed95760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610b7d565b610a35338360ff166112c5565b60006001600160a01b038216610f0f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610f3d6111cd565b610f4760006112df565b565b610f516111cd565b600a805460ff19811660ff90911615179055565b610f6d6111cd565b600955565b6060600380546106a590611a8e565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ff884848461081a565b6001600160a01b0383163b156110315761101484848484611331565b611031576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061104282611227565b6110a65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b7d565b60006110b0611429565b905060008151116110d057604051806020016040528060008152506110fb565b806110da84611438565b6040516020016110eb929190611b53565b6040516020818303038152906040525b9392505050565b61110a6111cd565b6001600160a01b03811661116f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b7d565b6109f7816112df565b6111806111cd565b600a5460ff1661118f57600080fd5b60085461ffff600160a01b90910481169082166111aa61080c565b6111b49190611b05565b11156111bf57600080fd5b6109f7338261ffff166112c5565b6008546001600160a01b03163314610f475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b7d565b60008160011115801561123b575060005482105b8015610666575050600090815260046020526040902054600160e01b161590565b600081806001116112ac576000548110156112ac57600081815260046020526040902054600160e01b81166112aa575b806110fb57506000190160008181526004602052604090205461128c565b505b604051636f96cda160e11b815260040160405180910390fd5b610a35828260405180602001604052806000815250611536565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611366903390899088908890600401611b92565b602060405180830381600087803b15801561138057600080fd5b505af19250505080156113b0575060408051601f3d908101601f191682019092526113ad91810190611bcf565b60015b61140b573d8080156113de576040519150601f19603f3d011682016040523d82523d6000602084013e6113e3565b606091505b508051611403576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546106a590611a8e565b60608161145c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611486578061147081611bec565b915061147f9050600a83611c1d565b9150611460565b60008167ffffffffffffffff8111156114a1576114a1611890565b6040519080825280601f01601f1916602001820160405280156114cb576020820181803683370190505b5090505b8415611421576114e0600183611b1d565b91506114ed600a86611c31565b6114f8906030611b05565b60f81b81838151811061150d5761150d611c45565b60200101906001600160f81b031916908160001a90535061152f600a86611c1d565b94506114cf565b61154083836115a3565b6001600160a01b0383163b15610a15576000548281035b61156a6000868380600101945086611331565b611587576040516368d2bf6b60e11b815260040160405180910390fd5b81811061155757816000541461159c57600080fd5b5050505050565b600054816115c45760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461167357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161163b565b508161169157604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546116a690611a8e565b90600052602060002090601f0160209004810192826116c8576000855561170e565b82601f106116e157805160ff191683800117855561170e565b8280016001018555821561170e579182015b8281111561170e5782518255916020019190600101906116f3565b5061171a92915061171e565b5090565b5b8082111561171a576000815560010161171f565b6001600160e01b0319811681146109f757600080fd5b60006020828403121561175b57600080fd5b81356110fb81611733565b60006020828403121561177857600080fd5b813561ffff811681146110fb57600080fd5b60005b838110156117a557818101518382015260200161178d565b838111156110315750506000910152565b600081518084526117ce81602086016020860161178a565b601f01601f19169290920160200192915050565b6020815260006110fb60208301846117b6565b60006020828403121561180757600080fd5b5035919050565b80356001600160a01b038116811461182557600080fd5b919050565b6000806040838503121561183d57600080fd5b6118468361180e565b946020939093013593505050565b60008060006060848603121561186957600080fd5b6118728461180e565b92506118806020850161180e565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156118c1576118c1611890565b604051601f8501601f19908116603f011681019082821181831017156118e9576118e9611890565b8160405280935085815286868601111561190257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561192e57600080fd5b813567ffffffffffffffff81111561194557600080fd5b8201601f8101841361195657600080fd5b611421848235602084016118a6565b60006020828403121561197757600080fd5b813560ff811681146110fb57600080fd5b60006020828403121561199a57600080fd5b6110fb8261180e565b600080604083850312156119b657600080fd5b6119bf8361180e565b9150602083013580151581146119d457600080fd5b809150509250929050565b600080600080608085870312156119f557600080fd5b6119fe8561180e565b9350611a0c6020860161180e565b925060408501359150606085013567ffffffffffffffff811115611a2f57600080fd5b8501601f81018713611a4057600080fd5b611a4f878235602084016118a6565b91505092959194509250565b60008060408385031215611a6e57600080fd5b611a778361180e565b9150611a856020840161180e565b90509250929050565b600181811c90821680611aa257607f821691505b60208210811415611ac357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600061ffff808316818516808303821115611afc57611afc611ac9565b01949350505050565b60008219821115611b1857611b18611ac9565b500190565b600082821015611b2f57611b2f611ac9565b500390565b6000816000190483118215151615611b4e57611b4e611ac9565b500290565b60008351611b6581846020880161178a565b835190830190611b7981836020880161178a565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bc5908301846117b6565b9695505050505050565b600060208284031215611be157600080fd5b81516110fb81611733565b6000600019821415611c0057611c00611ac9565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611c2c57611c2c611c07565b500490565b600082611c4057611c40611c07565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212201efd0b758613c824ff5f22ef851b21cac223086690ce6ceb7203f10b6e591df664736f6c63430008090033
Deployed Bytecode Sourcemap
57358:3286:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24692:639;;;;;;;;;;-1:-1:-1;24692:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;24692:639:0;;;;;;;;58861:105;;;;;;;;;;-1:-1:-1;58861:105:0;;;;;:::i;:::-;;:::i;:::-;;25594:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32077:218::-;;;;;;;;;;-1:-1:-1;32077:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1969:32:1;;;1951:51;;1939:2;1924:18;32077:218:0;1805:203:1;31518:400:0;;;;;;;;;;-1:-1:-1;31518:400:0;;;;;:::i;:::-;;:::i;21345:323::-;;;;;;;;;;;;;:::i;:::-;;;2596:25:1;;;2584:2;2569:18;21345:323:0;2450:177:1;35716:2817:0;;;;;;;;;;-1:-1:-1;35716:2817:0;;;;;:::i;:::-;;:::i;58974:114::-;;;:::i;38629:185::-;;;;;;;;;;-1:-1:-1;38629:185:0;;;;;:::i;:::-;;:::i;57460:44::-;;;;;;;;;;-1:-1:-1;57460:44:0;;;;-1:-1:-1;;;57460:44:0;;;;;;;;;3139:6:1;3127:19;;;3109:38;;3097:2;3082:18;57460:44:0;2965:188:1;58074:98:0;;;;;;;;;;-1:-1:-1;58074:98:0;;;;;:::i;:::-;;:::i;26987:152::-;;;;;;;;;;-1:-1:-1;26987:152:0;;;;;:::i;:::-;;:::i;57608:52::-;;;;;;;;;;;;;;;;57701:95;;;;;;;;;;;;;:::i;59096:1345::-;;;;;;:::i;:::-;;:::i;22529:233::-;;;;;;;;;;-1:-1:-1;22529:233:0;;;;;:::i;:::-;;:::i;5466:103::-;;;;;;;;;;;;;:::i;58662:87::-;;;;;;;;;;;;;:::i;4818:::-;;;;;;;;;;-1:-1:-1;4891:6:0;;-1:-1:-1;;;;;4891:6:0;4818:87;;58757:96;;;;;;;;;;-1:-1:-1;58757:96:0;;;;;:::i;:::-;;:::i;25770:104::-;;;;;;;;;;;;;:::i;32635:234::-;;;;;;;;;;-1:-1:-1;32635:234:0;;;;;:::i;:::-;;:::i;57560:41::-;;;;;;;;;;-1:-1:-1;57560:41:0;;;;-1:-1:-1;;;57560:41:0;;;;;;;;;5372:4:1;5360:17;;;5342:36;;5330:2;5315:18;57560:41:0;5200:184:1;39412:399:0;;;;;;;;;;-1:-1:-1;39412:399:0;;;;;:::i;:::-;;:::i;58283:371::-;;;;;;;;;;-1:-1:-1;58283:371:0;;;;;:::i;:::-;;:::i;57667:27::-;;;;;;;;;;-1:-1:-1;57667:27:0;;;;;;;;57409:44;;;;;;;;;;-1:-1:-1;57409:44:0;;;;-1:-1:-1;;;57409:44:0;;;;;;33026:164;;;;;;;;;;-1:-1:-1;33026:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;33147:25:0;;;33123:4;33147:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33026:164;5724:201;;;;;;;;;;-1:-1:-1;5724:201:0;;;;;:::i;:::-;;:::i;57803:52::-;;;;;;;;;;-1:-1:-1;57803:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;57511:42;;;;;;;;;;-1:-1:-1;57511:42:0;;;;-1:-1:-1;;;57511:42:0;;;;;;60447:194;;;;;;;;;;-1:-1:-1;60447:194:0;;;;;:::i;:::-;;:::i;24692:639::-;24777:4;-1:-1:-1;;;;;;;;;25101:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;25178:25:0;;;25101:102;:179;;;-1:-1:-1;;;;;;;;;;25255:25:0;;;25101:179;25081:199;24692:639;-1:-1:-1;;24692:639:0:o;58861:105::-;4704:13;:11;:13::i;:::-;58933:9:::1;:25:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;58933:25:0::1;-1:-1:-1::0;;;;58933:25:0;;::::1;::::0;;;::::1;::::0;;58861:105::o;25594:100::-;25648:13;25681:5;25674:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25594:100;:::o;32077:218::-;32153:7;32178:16;32186:7;32178;:16::i;:::-;32173:64;;32203:34;;-1:-1:-1;;;32203:34:0;;;;;;;;;;;32173:64;-1:-1:-1;32257:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;32257:30:0;;32077:218::o;31518:400::-;31599:13;31615:16;31623:7;31615;:16::i;:::-;31599:32;-1:-1:-1;55573:10:0;-1:-1:-1;;;;;31648:28:0;;;31644:175;;31696:44;31713:5;55573:10;33026:164;:::i;31696:44::-;31691:128;;31768:35;;-1:-1:-1;;;31768:35:0;;;;;;;;;;;31691:128;31831:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;31831:35:0;-1:-1:-1;;;;;31831:35:0;;;;;;;;;31882:28;;31831:24;;31882:28;;;;;;;31588:330;31518:400;;:::o;21345:323::-;58268:1;21619:12;21406:7;21603:13;:28;-1:-1:-1;;21603:46:0;;21345:323::o;35716:2817::-;35850:27;35880;35899:7;35880:18;:27::i;:::-;35850:57;;35965:4;-1:-1:-1;;;;;35924:45:0;35940:19;-1:-1:-1;;;;;35924:45:0;;35920:86;;35978:28;;-1:-1:-1;;;35978:28:0;;;;;;;;;;;35920:86;36020:27;34824:24;;;:15;:24;;;;;35052:26;;55573:10;34449:30;;;-1:-1:-1;;;;;34142:28:0;;34427:20;;;34424:56;36206:180;;36299:43;36316:4;55573:10;33026:164;:::i;36299:43::-;36294:92;;36351:35;;-1:-1:-1;;;36351:35:0;;;;;;;;;;;36294:92;-1:-1:-1;;;;;36403:16:0;;36399:52;;36428:23;;-1:-1:-1;;;36428:23:0;;;;;;;;;;;36399:52;36600:15;36597:160;;;36740:1;36719:19;36712:30;36597:160;-1:-1:-1;;;;;37137:24:0;;;;;;;:18;:24;;;;;;37135:26;;-1:-1:-1;;37135:26:0;;;37206:22;;;;;;;;;37204:24;;-1:-1:-1;37204:24:0;;;30376:11;30351:23;30347:41;30334:63;-1:-1:-1;;;30334:63:0;37499:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;37794:47:0;;37790:627;;37899:1;37889:11;;37867:19;38022:30;;;:17;:30;;;;;;38018:384;;38160:13;;38145:11;:28;38141:242;;38307:30;;;;:17;:30;;;;;:52;;;38141:242;37848:569;37790:627;38464:7;38460:2;-1:-1:-1;;;;;38445:27:0;38454:4;-1:-1:-1;;;;;38445:27:0;;;;;;;;;;;35839:2694;;;35716:2817;;;:::o;58974:114::-;4704:13;:11;:13::i;:::-;4891:6;;-1:-1:-1;;;;;4891:6:0;59032:48:::1;::::0;-1:-1:-1;;;;;59032:25:0;;;::::1;::::0;59066:4:::1;59058:21;59032:48:::0;::::1;;;::::0;::::1;::::0;;;59058:21;59032:25;:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;58974:114::o:0;38629:185::-;38767:39;38784:4;38790:2;38794:7;38767:39;;;;;;;;;;;;:16;:39::i;:::-;38629:185;;;:::o;58074:98::-;4704:13;:11;:13::i;:::-;58146:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;58074:98:::0;:::o;26987:152::-;27059:7;27102:27;27121:7;27102:18;:27::i;57701:95::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;59096:1345::-;59197:13;;59154:11;;59197:17;;-1:-1:-1;;;59197:13:0;;;;59213:1;59197:17;:::i;:::-;59170:44;;59186:8;59170:24;;:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:44;59169:113;;;;-1:-1:-1;59265:16:0;;59251:10;59233:29;;;;:17;:29;;;;;;-1:-1:-1;;;59265:16:0;;;;;-1:-1:-1;59169:113:0;59154:129;;59300:6;59296:1094;;;59332:11;;;;59324:44;;;;-1:-1:-1;;;59324:44:0;;7407:2:1;59324:44:0;;;7389:21:1;7446:2;7426:18;;;7419:30;-1:-1:-1;;;7465:18:1;;;7458:50;7525:18;;59324:44:0;;;;;;;;;59419:4;59407:8;59391:24;;:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:32;;59383:67;;;;-1:-1:-1;;;59383:67:0;;7756:2:1;59383:67:0;;;7738:21:1;7795:2;7775:18;;;7768:30;-1:-1:-1;;;7814:18:1;;;7807:52;7876:18;;59383:67:0;7554:346:1;59383:67:0;59485:8;;;-1:-1:-1;;;59485:8:0;;;;;59473:20;;;;;59465:52;;;;-1:-1:-1;;;59465:52:0;;8107:2:1;59465:52:0;;;8089:21:1;8146:2;8126:18;;;8119:30;-1:-1:-1;;;8165:18:1;;;8158:49;8224:18;;59465:52:0;7905:343:1;59465:52:0;59585:10;59567:29;;;;:17;:29;;;;;;59548:16;;:48;;59567:29;-1:-1:-1;;;59548:16:0;;;;:48;:::i;:::-;59535:8;:62;;;59532:547;;59728:9;;59713:10;59695:29;;;;:17;:29;;;;;;59676:16;;:48;;59695:29;-1:-1:-1;;;59676:16:0;;;;:48;:::i;:::-;59675:62;;;;:::i;:::-;59661:9;;59650:20;;;;;;:::i;:::-;59649:89;;;;:::i;:::-;59636:9;:102;;59628:136;;;;-1:-1:-1;;;59628:136:0;;8758:2:1;59628:136:0;;;8740:21:1;8797:2;8777:18;;;8770:30;-1:-1:-1;;;8816:18:1;;;8809:51;8877:18;;59628:136:0;8556:345:1;59628:136:0;59812:16;;59798:10;59780:29;;;;:17;:29;;;;;-1:-1:-1;;;59812:16:0;;;;;59780:48;;59296:1094;;59532:547;59915:10;59897:29;;;;:17;:29;;;;;;59878:16;;:48;;59897:29;-1:-1:-1;;;59878:16:0;;;;:48;:::i;:::-;59866:8;:61;;;59863:216;;;60040:10;60022:29;;;;:17;:29;;;;;:41;;;;;;:29;:41;;;;;:::i;:::-;;;;-1:-1:-1;;59863:216:0;59296:1094;;;60123:11;;;;60115:44;;;;-1:-1:-1;;;60115:44:0;;7407:2:1;60115:44:0;;;7389:21:1;7446:2;7426:18;;;7419:30;-1:-1:-1;;;7465:18:1;;;7458:50;7525:18;;60115:44:0;7205:344:1;60115:44:0;60202:9;;60191:20;;;;;;:::i;:::-;60178:9;:33;;60170:67;;;;-1:-1:-1;;;60170:67:0;;8758:2:1;60170:67:0;;;8740:21:1;8797:2;8777:18;;;8770:30;-1:-1:-1;;;8816:18:1;;;8809:51;8877:18;;60170:67:0;8556:345:1;60170:67:0;60284:4;60272:8;60256:24;;:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:32;;60248:67;;;;-1:-1:-1;;;60248:67:0;;7756:2:1;60248:67:0;;;7738:21:1;7795:2;7775:18;;;7768:30;-1:-1:-1;;;7814:18:1;;;7807:52;7876:18;;60248:67:0;7554:346:1;60248:67:0;60346:8;;;-1:-1:-1;;;60346:8:0;;;;;60334:20;;;;;60326:52;;;;-1:-1:-1;;;60326:52:0;;8107:2:1;60326:52:0;;;8089:21:1;8146:2;8126:18;;;8119:30;-1:-1:-1;;;8165:18:1;;;8158:49;8224:18;;60326:52:0;7905:343:1;60326:52:0;60402:31;60412:10;60424:8;60402:31;;:9;:31::i;22529:233::-;22601:7;-1:-1:-1;;;;;22625:19:0;;22621:60;;22653:28;;-1:-1:-1;;;22653:28:0;;;;;;;;;;;22621:60;-1:-1:-1;;;;;;22699:25:0;;;;;:18;:25;;;;;;16688:13;22699:55;;22529:233::o;5466:103::-;4704:13;:11;:13::i;:::-;5531:30:::1;5558:1;5531:18;:30::i;:::-;5466:103::o:0;58662:87::-;4704:13;:11;:13::i;:::-;58730:11:::1;::::0;;-1:-1:-1;;58715:26:0;::::1;58730:11;::::0;;::::1;58729:12;58715:26;::::0;;58662:87::o;58757:96::-;4704:13;:11;:13::i;:::-;58822:9:::1;:25:::0;58757:96::o;25770:104::-;25826:13;25859:7;25852:14;;;;;:::i;32635:234::-;55573:10;32730:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;32730:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;32730:60:0;;;;;;;;;;32806:55;;540:41:1;;;32730:49:0;;55573:10;32806:55;;513:18:1;32806:55:0;;;;;;;32635:234;;:::o;39412:399::-;39579:31;39592:4;39598:2;39602:7;39579:12;:31::i;:::-;-1:-1:-1;;;;;39625:14:0;;;:19;39621:183;;39664:56;39695:4;39701:2;39705:7;39714:5;39664:30;:56::i;:::-;39659:145;;39748:40;;-1:-1:-1;;;39748:40:0;;;;;;;;;;;39659:145;39412:399;;;;:::o;58283:371::-;58357:13;58387:17;58395:8;58387:7;:17::i;:::-;58379:77;;;;-1:-1:-1;;;58379:77:0;;9108:2:1;58379:77:0;;;9090:21:1;9147:2;9127:18;;;9120:30;9186:34;9166:18;;;9159:62;-1:-1:-1;;;9237:18:1;;;9230:45;9292:19;;58379:77:0;8906:411:1;58379:77:0;58465:28;58496:10;:8;:10::i;:::-;58465:41;;58551:1;58526:14;58520:28;:32;:128;;;;;;;;;;;;;;;;;58588:14;58604:19;:8;:17;:19::i;:::-;58571:62;;;;;;;;;:::i;:::-;;;;;;;;;;;;;58520:128;58513:135;58283:371;-1:-1:-1;;;58283:371:0:o;5724:201::-;4704:13;:11;:13::i;:::-;-1:-1:-1;;;;;5813:22:0;::::1;5805:73;;;::::0;-1:-1:-1;;;5805:73:0;;10166:2:1;5805:73:0::1;::::0;::::1;10148:21:1::0;10205:2;10185:18;;;10178:30;10244:34;10224:18;;;10217:62;-1:-1:-1;;;10295:18:1;;;10288:36;10341:19;;5805:73:0::1;9964:402:1::0;5805:73:0::1;5889:28;5908:8;5889:18;:28::i;60447:194::-:0;4704:13;:11;:13::i;:::-;60522:11:::1;::::0;::::1;;60514:20;;;::::0;::::1;;60581:9;::::0;::::1;-1:-1:-1::0;;;60581:9:0;;::::1;::::0;::::1;::::0;60553:24;::::1;:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:37;;60545:46;;;::::0;::::1;;60602:31;60612:10;60624:8;60602:31;;:9;:31::i;4983:132::-:0;4891:6;;-1:-1:-1;;;;;4891:6:0;55573:10;5047:23;5039:68;;;;-1:-1:-1;;;5039:68:0;;10573:2:1;5039:68:0;;;10555:21:1;;;10592:18;;;10585:30;10651:34;10631:18;;;10624:62;10703:18;;5039:68:0;10371:356:1;33448:282:0;33513:4;33569:7;58268:1;33550:26;;:66;;;;;33603:13;;33593:7;:23;33550:66;:153;;;;-1:-1:-1;;33654:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33654:44:0;:49;;33448:282::o;28142:1275::-;28209:7;28244;;58268:1;28293:23;28289:1061;;28346:13;;28339:4;:20;28335:1015;;;28384:14;28401:23;;;:17;:23;;;;;;-1:-1:-1;;;28490:24:0;;28486:845;;29155:113;29162:11;29155:113;;-1:-1:-1;;;29233:6:0;29215:25;;;;:17;:25;;;;;;29155:113;;28486:845;28361:989;28335:1015;29378:31;;-1:-1:-1;;;29378:31:0;;;;;;;;;;;49318:112;49395:27;49405:2;49409:8;49395:27;;;;;;;;;;;;:9;:27::i;6085:191::-;6178:6;;;-1:-1:-1;;;;;6195:17:0;;;-1:-1:-1;;;;;;6195:17:0;;;;;;;6228:40;;6178:6;;;6195:17;6178:6;;6228:40;;6159:16;;6228:40;6148:128;6085:191;:::o;41895:716::-;42079:88;;-1:-1:-1;;;42079:88:0;;42058:4;;-1:-1:-1;;;;;42079:45:0;;;;;:88;;55573:10;;42146:4;;42152:7;;42161:5;;42079:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42079:88:0;;;;;;;;-1:-1:-1;;42079:88:0;;;;;;;;;;;;:::i;:::-;;;42075:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42362:13:0;;42358:235;;42408:40;;-1:-1:-1;;;42408:40:0;;;;;;;;;;;42358:235;42551:6;42545:13;42536:6;42532:2;42528:15;42521:38;42075:529;-1:-1:-1;;;;;;42238:64:0;-1:-1:-1;;;42238:64:0;;-1:-1:-1;42075:529:0;41895:716;;;;;;:::o;57958:108::-;58018:13;58051:7;58044:14;;;;;:::i;517:723::-;573:13;794:10;790:53;;-1:-1:-1;;821:10:0;;;;;;;;;;;;-1:-1:-1;;;821:10:0;;;;;517:723::o;790:53::-;868:5;853:12;909:78;916:9;;909:78;;942:8;;;;:::i;:::-;;-1:-1:-1;965:10:0;;-1:-1:-1;973:2:0;965:10;;:::i;:::-;;;909:78;;;997:19;1029:6;1019:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1019:17:0;;997:39;;1047:154;1054:10;;1047:154;;1081:11;1091:1;1081:11;;:::i;:::-;;-1:-1:-1;1150:10:0;1158:2;1150:5;:10;:::i;:::-;1137:24;;:2;:24;:::i;:::-;1124:39;;1107:6;1114;1107:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1107:56:0;;;;;;;;-1:-1:-1;1178:11:0;1187:2;1178:11;;:::i;:::-;;;1047:154;;48545:689;48676:19;48682:2;48686:8;48676:5;:19::i;:::-;-1:-1:-1;;;;;48737:14:0;;;:19;48733:483;;48777:11;48791:13;48839:14;;;48872:233;48903:62;48942:1;48946:2;48950:7;;;;;;48959:5;48903:30;:62::i;:::-;48898:167;;49001:40;;-1:-1:-1;;;49001:40:0;;;;;;;;;;;48898:167;49100:3;49092:5;:11;48872:233;;49187:3;49170:13;;:20;49166:34;;49192:8;;;49166:34;48758:458;;48545:689;;;:::o;43073:2720::-;43146:20;43169:13;43197;43193:44;;43219:18;;-1:-1:-1;;;43219:18:0;;;;;;;;;;;43193:44;-1:-1:-1;;;;;43725:22:0;;;;;;:18;:22;;;;16826:2;43725:22;;;:71;;43763:32;43751:45;;43725:71;;;44039:31;;;:17;:31;;;;;-1:-1:-1;30807:15:0;;30781:24;30777:46;30376:11;30351:23;30347:41;30344:52;30334:63;;44039:173;;44274:23;;;;44039:31;;43725:22;;45039:25;43725:22;;44892:335;45307:1;45293:12;45289:20;45247:346;45348:3;45339:7;45336:16;45247:346;;45566:7;45556:8;45553:1;45526:25;45523:1;45520;45515:59;45401:1;45388:15;45247:346;;;-1:-1:-1;45626:13:0;45622:45;;45648:19;;-1:-1:-1;;;45648:19:0;;;;;;;;;;;45622:45;45684:13;:19;-1:-1:-1;38629:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:272::-;650:6;703:2;691:9;682:7;678:23;674:32;671:52;;;719:1;716;709:12;671:52;758:9;745:23;808:6;801:5;797:18;790:5;787:29;777:57;;830:1;827;820:12;869:258;941:1;951:113;965:6;962:1;959:13;951:113;;;1041:11;;;1035:18;1022:11;;;1015:39;987:2;980:10;951:113;;;1082:6;1079:1;1076:13;1073:48;;;-1:-1:-1;;1117:1:1;1099:16;;1092:27;869:258::o;1132:::-;1174:3;1212:5;1206:12;1239:6;1234:3;1227:19;1255:63;1311:6;1304:4;1299:3;1295:14;1288:4;1281:5;1277:16;1255:63;:::i;:::-;1372:2;1351:15;-1:-1:-1;;1347:29:1;1338:39;;;;1379:4;1334:50;;1132:258;-1:-1:-1;;1132:258:1:o;1395:220::-;1544:2;1533:9;1526:21;1507:4;1564:45;1605:2;1594:9;1590:18;1582:6;1564:45;:::i;1620:180::-;1679:6;1732:2;1720:9;1711:7;1707:23;1703:32;1700:52;;;1748:1;1745;1738:12;1700:52;-1:-1:-1;1771:23:1;;1620:180;-1:-1:-1;1620:180:1:o;2013:173::-;2081:20;;-1:-1:-1;;;;;2130:31:1;;2120:42;;2110:70;;2176:1;2173;2166:12;2110:70;2013:173;;;:::o;2191:254::-;2259:6;2267;2320:2;2308:9;2299:7;2295:23;2291:32;2288:52;;;2336:1;2333;2326:12;2288:52;2359:29;2378:9;2359:29;:::i;:::-;2349:39;2435:2;2420:18;;;;2407:32;;-1:-1:-1;;;2191:254:1:o;2632:328::-;2709:6;2717;2725;2778:2;2766:9;2757:7;2753:23;2749:32;2746:52;;;2794:1;2791;2784:12;2746:52;2817:29;2836:9;2817:29;:::i;:::-;2807:39;;2865:38;2899:2;2888:9;2884:18;2865:38;:::i;:::-;2855:48;;2950:2;2939:9;2935:18;2922:32;2912:42;;2632:328;;;;;:::o;3158:127::-;3219:10;3214:3;3210:20;3207:1;3200:31;3250:4;3247:1;3240:15;3274:4;3271:1;3264:15;3290:632;3355:5;3385:18;3426:2;3418:6;3415:14;3412:40;;;3432:18;;:::i;:::-;3507:2;3501:9;3475:2;3561:15;;-1:-1:-1;;3557:24:1;;;3583:2;3553:33;3549:42;3537:55;;;3607:18;;;3627:22;;;3604:46;3601:72;;;3653:18;;:::i;:::-;3693:10;3689:2;3682:22;3722:6;3713:15;;3752:6;3744;3737:22;3792:3;3783:6;3778:3;3774:16;3771:25;3768:45;;;3809:1;3806;3799:12;3768:45;3859:6;3854:3;3847:4;3839:6;3835:17;3822:44;3914:1;3907:4;3898:6;3890;3886:19;3882:30;3875:41;;;;3290:632;;;;;:::o;3927:451::-;3996:6;4049:2;4037:9;4028:7;4024:23;4020:32;4017:52;;;4065:1;4062;4055:12;4017:52;4105:9;4092:23;4138:18;4130:6;4127:30;4124:50;;;4170:1;4167;4160:12;4124:50;4193:22;;4246:4;4238:13;;4234:27;-1:-1:-1;4224:55:1;;4275:1;4272;4265:12;4224:55;4298:74;4364:7;4359:2;4346:16;4341:2;4337;4333:11;4298:74;:::i;4383:269::-;4440:6;4493:2;4481:9;4472:7;4468:23;4464:32;4461:52;;;4509:1;4506;4499:12;4461:52;4548:9;4535:23;4598:4;4591:5;4587:16;4580:5;4577:27;4567:55;;4618:1;4615;4608:12;4657:186;4716:6;4769:2;4757:9;4748:7;4744:23;4740:32;4737:52;;;4785:1;4782;4775:12;4737:52;4808:29;4827:9;4808:29;:::i;4848:347::-;4913:6;4921;4974:2;4962:9;4953:7;4949:23;4945:32;4942:52;;;4990:1;4987;4980:12;4942:52;5013:29;5032:9;5013:29;:::i;:::-;5003:39;;5092:2;5081:9;5077:18;5064:32;5139:5;5132:13;5125:21;5118:5;5115:32;5105:60;;5161:1;5158;5151:12;5105:60;5184:5;5174:15;;;4848:347;;;;;:::o;5389:667::-;5484:6;5492;5500;5508;5561:3;5549:9;5540:7;5536:23;5532:33;5529:53;;;5578:1;5575;5568:12;5529:53;5601:29;5620:9;5601:29;:::i;:::-;5591:39;;5649:38;5683:2;5672:9;5668:18;5649:38;:::i;:::-;5639:48;;5734:2;5723:9;5719:18;5706:32;5696:42;;5789:2;5778:9;5774:18;5761:32;5816:18;5808:6;5805:30;5802:50;;;5848:1;5845;5838:12;5802:50;5871:22;;5924:4;5916:13;;5912:27;-1:-1:-1;5902:55:1;;5953:1;5950;5943:12;5902:55;5976:74;6042:7;6037:2;6024:16;6019:2;6015;6011:11;5976:74;:::i;:::-;5966:84;;;5389:667;;;;;;;:::o;6061:260::-;6129:6;6137;6190:2;6178:9;6169:7;6165:23;6161:32;6158:52;;;6206:1;6203;6196:12;6158:52;6229:29;6248:9;6229:29;:::i;:::-;6219:39;;6277:38;6311:2;6300:9;6296:18;6277:38;:::i;:::-;6267:48;;6061:260;;;;;:::o;6326:380::-;6405:1;6401:12;;;;6448;;;6469:61;;6523:4;6515:6;6511:17;6501:27;;6469:61;6576:2;6568:6;6565:14;6545:18;6542:38;6539:161;;;6622:10;6617:3;6613:20;6610:1;6603:31;6657:4;6654:1;6647:15;6685:4;6682:1;6675:15;6539:161;;6326:380;;;:::o;6711:127::-;6772:10;6767:3;6763:20;6760:1;6753:31;6803:4;6800:1;6793:15;6827:4;6824:1;6817:15;6843:224;6882:3;6910:6;6943:2;6940:1;6936:10;6973:2;6970:1;6966:10;7004:3;7000:2;6996:12;6991:3;6988:21;6985:47;;;7012:18;;:::i;:::-;7048:13;;6843:224;-1:-1:-1;;;;6843:224:1:o;7072:128::-;7112:3;7143:1;7139:6;7136:1;7133:13;7130:39;;;7149:18;;:::i;:::-;-1:-1:-1;7185:9:1;;7072:128::o;8253:125::-;8293:4;8321:1;8318;8315:8;8312:34;;;8326:18;;:::i;:::-;-1:-1:-1;8363:9:1;;8253:125::o;8383:168::-;8423:7;8489:1;8485;8481:6;8477:14;8474:1;8471:21;8466:1;8459:9;8452:17;8448:45;8445:71;;;8496:18;;:::i;:::-;-1:-1:-1;8536:9:1;;8383:168::o;9322:637::-;9602:3;9640:6;9634:13;9656:53;9702:6;9697:3;9690:4;9682:6;9678:17;9656:53;:::i;:::-;9772:13;;9731:16;;;;9794:57;9772:13;9731:16;9828:4;9816:17;;9794:57;:::i;:::-;-1:-1:-1;;;9873:20:1;;9902:22;;;9951:1;9940:13;;9322:637;-1:-1:-1;;;;9322:637:1:o;10732:489::-;-1:-1:-1;;;;;11001:15:1;;;10983:34;;11053:15;;11048:2;11033:18;;11026:43;11100:2;11085:18;;11078:34;;;11148:3;11143:2;11128:18;;11121:31;;;10926:4;;11169:46;;11195:19;;11187:6;11169:46;:::i;:::-;11161:54;10732:489;-1:-1:-1;;;;;;10732:489:1:o;11226:249::-;11295:6;11348:2;11336:9;11327:7;11323:23;11319:32;11316:52;;;11364:1;11361;11354:12;11316:52;11396:9;11390:16;11415:30;11439:5;11415:30;:::i;11480:135::-;11519:3;-1:-1:-1;;11540:17:1;;11537:43;;;11560:18;;:::i;:::-;-1:-1:-1;11607:1:1;11596:13;;11480:135::o;11620:127::-;11681:10;11676:3;11672:20;11669:1;11662:31;11712:4;11709:1;11702:15;11736:4;11733:1;11726:15;11752:120;11792:1;11818;11808:35;;11823:18;;:::i;:::-;-1:-1:-1;11857:9:1;;11752:120::o;11877:112::-;11909:1;11935;11925:35;;11940:18;;:::i;:::-;-1:-1:-1;11974:9:1;;11877:112::o;11994:127::-;12055:10;12050:3;12046:20;12043:1;12036:31;12086:4;12083:1;12076:15;12110:4;12107:1;12100:15
Swarm Source
ipfs://1efd0b758613c824ff5f22ef851b21cac223086690ce6ceb7203f10b6e591df6
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.