Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
10,000 YOPU
Holders
3,282
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 YOPULoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
YoungPunks
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-06 */ // SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name // string private _name; // Token symbol // string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor() { _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 1; } /** * @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 ''; } function symbol() public view virtual override returns (string memory) { return ''; } /** * @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('ipfs://', baseURI, '/', _toString(tokenId), '.json')) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } contract YoungPunks is ERC721A{ address private immutable _owner; modifier onlyOwner() { require(_owner==msg.sender, "not owner"); _; } uint256 public constant MAX_SUPPLY = 10000; uint256 public constant MAX_FREE = 9000; uint256 public constant MAX_FREE_PER_WALLET = 3; uint256 public constant COST = 0.001 ether; string private __baseUri = "a"; string private __contractUri = "b"; constructor() ERC721A(){ _owner = msg.sender; //_mintERC2309(msg.sender, 10); } function mint(uint256 amount) external payable{ require(totalSupply() + amount <= MAX_SUPPLY, "Sold Out"); require(amount*COST <= msg.value, "Value to Low"); _safeMint(msg.sender, amount); } function freeMint(uint256 amount) external{ require(totalSupply() + amount <= MAX_SUPPLY, "Sold Out"); require(amount + _numberMinted(msg.sender) <= MAX_FREE_PER_WALLET, "Max per Wallet"); _safeMint(msg.sender, amount); } function name() public view virtual override returns (string memory) { return "Young Punks"; } function symbol() public view virtual override returns (string memory) { return "YOPU"; } function _baseURI() internal view virtual override returns (string memory) { return __baseUri; } function setUri(string memory _newBase, string memory _newContract) external onlyOwner{ __baseUri = _newBase; __contractUri = _newContract; } function contractURI() public view returns (string memory) { return string(abi.encodePacked("ipfs://", __contractUri)); } function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } }
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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBase","type":"string"},{"internalType":"string","name":"_newContract","type":"string"}],"name":"setUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e0604052600160a0819052606160f81b60c090815262000024916006919062000070565b50604080518082019091526001808252603160f91b60209092019182526200004f9160079162000070565b503480156200005d57600080fd5b5060016000553360601b60805262000153565b8280546200007e9062000116565b90600052602060002090601f016020900481019282620000a25760008555620000ed565b82601f10620000bd57805160ff1916838001178555620000ed565b82800160010185558215620000ed579182015b82811115620000ed578251825591602001919060010190620000d0565b50620000fb929150620000ff565b5090565b5b80821115620000fb576000815560010162000100565b600181811c908216806200012b57607f821691505b602082108114156200014d57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c61158362000179600039600081816106fc01526108eb01526115836000f3fe6080604052600436106101405760003560e01c80637c928fe9116100b6578063b88d4fde1161006f578063b88d4fde14610371578063bf8fbbd214610384578063c87b56dd1461039f578063e8a3d485146103bf578063e985e9c5146103d4578063ed6661c21461041d57600080fd5b80637c928fe9146102bc57806389b73ec0146102dc57806395d89b41146102fc57806398710d1e14610329578063a0712d681461033e578063a22cb4651461035157600080fd5b806323b872dd1161010857806323b872dd1461022b57806332cb6b0c1461023e5780633ccfd60b1461025457806342842e0e146102695780636352211e1461027c57806370a082311461029c57600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc146101b7578063095ea7b3146101ef57806318160ddd14610204575b600080fd5b34801561015157600080fd5b50610165610160366004611224565b610433565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5060408051808201909152600b81526a596f756e672050756e6b7360a81b60208201525b604051610171919061145a565b3480156101c357600080fd5b506101d76101d23660046112c2565b610485565b6040516001600160a01b039091168152602001610171565b6102026101fd3660046111fa565b6104c9565b005b34801561021057600080fd5b5060015460005403600019015b604051908152602001610171565b610202610239366004611106565b610569565b34801561024a57600080fd5b5061021d61271081565b34801561026057600080fd5b506102026106fa565b610202610277366004611106565b610796565b34801561028857600080fd5b506101d76102973660046112c2565b6107b6565b3480156102a857600080fd5b5061021d6102b73660046110b8565b6107c1565b3480156102c857600080fd5b506102026102d73660046112c2565b610810565b3480156102e857600080fd5b506102026102f736600461125e565b6108e9565b34801561030857600080fd5b50604080518082019091526004815263594f505560e01b60208201526101aa565b34801561033557600080fd5b5061021d600381565b61020261034c3660046112c2565b610974565b34801561035d57600080fd5b5061020261036c3660046111be565b610a17565b61020261037f366004611142565b610a83565b34801561039057600080fd5b5061021d66038d7ea4c6800081565b3480156103ab57600080fd5b506101aa6103ba3660046112c2565b610acd565b3480156103cb57600080fd5b506101aa610b52565b3480156103e057600080fd5b506101656103ef3660046110d3565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561042957600080fd5b5061021d61232881565b60006301ffc9a760e01b6001600160e01b03198316148061046457506380ac58cd60e01b6001600160e01b03198316145b8061047f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b600061049082610b7a565b6104ad576040516333d1c03960e21b815260040160405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104d4826107b6565b9050336001600160a01b0382161461050d576104f081336103ef565b61050d576040516367d9dca160e11b815260040160405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061057482610baf565b9050836001600160a01b0316816001600160a01b0316146105a75760405162a1148160e81b815260040160405180910390fd5b60008281526004602052604090208054338082146001600160a01b038816909114176105f4576105d786336103ef565b6105f457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661061b57604051633a954ecd60e21b815260040160405180910390fd5b801561062657600082555b6001600160a01b038681166000908152600360205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260026020526040902055600160e11b83166106b157600184016000818152600260205260409020546106af5760005481146106af5760008181526002602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146107635760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b60448201526064015b60405180910390fd5b6040514790339082156108fc029083906000818181858888f19350505050158015610792573d6000803e3d6000fd5b5050565b6107b183838360405180602001604052806000815250610a83565b505050565b600061047f82610baf565b60006001600160a01b0382166107ea576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526003602052604090205467ffffffffffffffff1690565b600154600054612710918391036000190161082b919061146d565b11156108645760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b604482015260640161075a565b6003610893336001600160a01b03166000908152600360205260409081902054901c67ffffffffffffffff1690565b61089d908361146d565b11156108dc5760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c8815d85b1b195d60921b604482015260640161075a565b6108e63382610c18565b50565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316331461094d5760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b604482015260640161075a565b8151610960906006906020850190610f6d565b5080516107b1906007906020840190610f6d565b600154600054612710918391036000190161098f919061146d565b11156109c85760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b604482015260640161075a565b346109da66038d7ea4c6800083611485565b11156108dc5760405162461bcd60e51b815260206004820152600c60248201526b56616c756520746f204c6f7760a01b604482015260640161075a565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a8e848484610569565b6001600160a01b0383163b15610ac757610aaa84848484610c32565b610ac7576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610ad882610b7a565b610af557604051630a14c4b560e41b815260040160405180910390fd5b6000610aff610d29565b9050805160001415610b205760405180602001604052806000815250610b4b565b80610b2a84610dbb565b604051602001610b3b929190611307565b6040516020818303038152906040525b9392505050565b60606007604051602001610b669190611368565b604051602081830303815290604052905090565b600081600111158015610b8e575060005482105b801561047f575050600090815260026020526040902054600160e01b161590565b60008180600111610bff57600054811015610bff57600081815260026020526040902054600160e01b8116610bfd575b80610b4b575060001901600081815260026020526040902054610bdf565b505b604051636f96cda160e11b815260040160405180910390fd5b610792828260405180602001604052806000815250610e09565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610c6790339089908890889060040161141d565b602060405180830381600087803b158015610c8157600080fd5b505af1925050508015610cb1575060408051601f3d908101601f19168201909252610cae91810190611241565b60015b610d0c573d808015610cdf576040519150601f19603f3d011682016040523d82523d6000602084013e610ce4565b606091505b508051610d04576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060068054610d38906114d0565b80601f0160208091040260200160405190810160405280929190818152602001828054610d64906114d0565b8015610db15780601f10610d8657610100808354040283529160200191610db1565b820191906000526020600020905b815481529060010190602001808311610d9457829003601f168201915b5050505050905090565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610df257610df7565b610dd5565b50819003601f19909101908152919050565b610e138383610e76565b6001600160a01b0383163b156107b1576000548281035b610e3d6000868380600101945086610c32565b610e5a576040516368d2bf6b60e11b815260040160405180910390fd5b818110610e2a578160005414610e6f57600080fd5b5050505050565b60005481610e975760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526003602090815260408083208054680100000000000000018802019055848352600290915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610f4657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610f0e565b5081610f6457604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054610f79906114d0565b90600052602060002090601f016020900481019282610f9b5760008555610fe1565b82601f10610fb457805160ff1916838001178555610fe1565b82800160010185558215610fe1579182015b82811115610fe1578251825591602001919060010190610fc6565b50610fed929150610ff1565b5090565b5b80821115610fed5760008155600101610ff2565b600067ffffffffffffffff8084111561102157611021611521565b604051601f8501601f19908116603f0116810190828211818310171561104957611049611521565b8160405280935085815286868601111561106257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461109357600080fd5b919050565b600082601f8301126110a957600080fd5b610b4b83833560208501611006565b6000602082840312156110ca57600080fd5b610b4b8261107c565b600080604083850312156110e657600080fd5b6110ef8361107c565b91506110fd6020840161107c565b90509250929050565b60008060006060848603121561111b57600080fd5b6111248461107c565b92506111326020850161107c565b9150604084013590509250925092565b6000806000806080858703121561115857600080fd5b6111618561107c565b935061116f6020860161107c565b925060408501359150606085013567ffffffffffffffff81111561119257600080fd5b8501601f810187136111a357600080fd5b6111b287823560208401611006565b91505092959194509250565b600080604083850312156111d157600080fd5b6111da8361107c565b9150602083013580151581146111ef57600080fd5b809150509250929050565b6000806040838503121561120d57600080fd5b6112168361107c565b946020939093013593505050565b60006020828403121561123657600080fd5b8135610b4b81611537565b60006020828403121561125357600080fd5b8151610b4b81611537565b6000806040838503121561127157600080fd5b823567ffffffffffffffff8082111561128957600080fd5b61129586838701611098565b935060208501359150808211156112ab57600080fd5b506112b885828601611098565b9150509250929050565b6000602082840312156112d457600080fd5b5035919050565b600081518084526112f38160208601602086016114a4565b601f01601f19169290920160200192915050565b66697066733a2f2f60c81b8152600083516113298160078501602088016114a4565b602f60f81b600791840191820152835161134a8160088401602088016114a4565b64173539b7b760d91b60089290910191820152600d01949350505050565b66697066733a2f2f60c81b8152600060076000845481600182811c91508083168061139457607f831692505b60208084108214156113b457634e487b7160e01b86526022600452602486fd5b8180156113c857600181146113dd5761140e565b60ff1986168a890152848a018801965061140e565b60008b81526020902060005b868110156114045781548c82018b01529085019083016113e9565b505087858b010196505b50949998505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611450908301846112db565b9695505050505050565b602081526000610b4b60208301846112db565b600082198211156114805761148061150b565b500190565b600081600019048311821515161561149f5761149f61150b565b500290565b60005b838110156114bf5781810151838201526020016114a7565b83811115610ac75750506000910152565b600181811c908216806114e457607f821691505b6020821081141561150557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146108e657600080fdfea2646970667358221220cd19484525e8f33de4d55746fb99383810c8512d9b06f42d585fe00973771dfb64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101405760003560e01c80637c928fe9116100b6578063b88d4fde1161006f578063b88d4fde14610371578063bf8fbbd214610384578063c87b56dd1461039f578063e8a3d485146103bf578063e985e9c5146103d4578063ed6661c21461041d57600080fd5b80637c928fe9146102bc57806389b73ec0146102dc57806395d89b41146102fc57806398710d1e14610329578063a0712d681461033e578063a22cb4651461035157600080fd5b806323b872dd1161010857806323b872dd1461022b57806332cb6b0c1461023e5780633ccfd60b1461025457806342842e0e146102695780636352211e1461027c57806370a082311461029c57600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc146101b7578063095ea7b3146101ef57806318160ddd14610204575b600080fd5b34801561015157600080fd5b50610165610160366004611224565b610433565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5060408051808201909152600b81526a596f756e672050756e6b7360a81b60208201525b604051610171919061145a565b3480156101c357600080fd5b506101d76101d23660046112c2565b610485565b6040516001600160a01b039091168152602001610171565b6102026101fd3660046111fa565b6104c9565b005b34801561021057600080fd5b5060015460005403600019015b604051908152602001610171565b610202610239366004611106565b610569565b34801561024a57600080fd5b5061021d61271081565b34801561026057600080fd5b506102026106fa565b610202610277366004611106565b610796565b34801561028857600080fd5b506101d76102973660046112c2565b6107b6565b3480156102a857600080fd5b5061021d6102b73660046110b8565b6107c1565b3480156102c857600080fd5b506102026102d73660046112c2565b610810565b3480156102e857600080fd5b506102026102f736600461125e565b6108e9565b34801561030857600080fd5b50604080518082019091526004815263594f505560e01b60208201526101aa565b34801561033557600080fd5b5061021d600381565b61020261034c3660046112c2565b610974565b34801561035d57600080fd5b5061020261036c3660046111be565b610a17565b61020261037f366004611142565b610a83565b34801561039057600080fd5b5061021d66038d7ea4c6800081565b3480156103ab57600080fd5b506101aa6103ba3660046112c2565b610acd565b3480156103cb57600080fd5b506101aa610b52565b3480156103e057600080fd5b506101656103ef3660046110d3565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561042957600080fd5b5061021d61232881565b60006301ffc9a760e01b6001600160e01b03198316148061046457506380ac58cd60e01b6001600160e01b03198316145b8061047f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b600061049082610b7a565b6104ad576040516333d1c03960e21b815260040160405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104d4826107b6565b9050336001600160a01b0382161461050d576104f081336103ef565b61050d576040516367d9dca160e11b815260040160405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061057482610baf565b9050836001600160a01b0316816001600160a01b0316146105a75760405162a1148160e81b815260040160405180910390fd5b60008281526004602052604090208054338082146001600160a01b038816909114176105f4576105d786336103ef565b6105f457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661061b57604051633a954ecd60e21b815260040160405180910390fd5b801561062657600082555b6001600160a01b038681166000908152600360205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260026020526040902055600160e11b83166106b157600184016000818152600260205260409020546106af5760005481146106af5760008181526002602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b7f0000000000000000000000002e9db04e9cb2f170b8843f30cba66a8a46dd52c66001600160a01b031633146107635760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b60448201526064015b60405180910390fd5b6040514790339082156108fc029083906000818181858888f19350505050158015610792573d6000803e3d6000fd5b5050565b6107b183838360405180602001604052806000815250610a83565b505050565b600061047f82610baf565b60006001600160a01b0382166107ea576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526003602052604090205467ffffffffffffffff1690565b600154600054612710918391036000190161082b919061146d565b11156108645760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b604482015260640161075a565b6003610893336001600160a01b03166000908152600360205260409081902054901c67ffffffffffffffff1690565b61089d908361146d565b11156108dc5760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c8815d85b1b195d60921b604482015260640161075a565b6108e63382610c18565b50565b7f0000000000000000000000002e9db04e9cb2f170b8843f30cba66a8a46dd52c66001600160a01b0316331461094d5760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b604482015260640161075a565b8151610960906006906020850190610f6d565b5080516107b1906007906020840190610f6d565b600154600054612710918391036000190161098f919061146d565b11156109c85760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b604482015260640161075a565b346109da66038d7ea4c6800083611485565b11156108dc5760405162461bcd60e51b815260206004820152600c60248201526b56616c756520746f204c6f7760a01b604482015260640161075a565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a8e848484610569565b6001600160a01b0383163b15610ac757610aaa84848484610c32565b610ac7576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610ad882610b7a565b610af557604051630a14c4b560e41b815260040160405180910390fd5b6000610aff610d29565b9050805160001415610b205760405180602001604052806000815250610b4b565b80610b2a84610dbb565b604051602001610b3b929190611307565b6040516020818303038152906040525b9392505050565b60606007604051602001610b669190611368565b604051602081830303815290604052905090565b600081600111158015610b8e575060005482105b801561047f575050600090815260026020526040902054600160e01b161590565b60008180600111610bff57600054811015610bff57600081815260026020526040902054600160e01b8116610bfd575b80610b4b575060001901600081815260026020526040902054610bdf565b505b604051636f96cda160e11b815260040160405180910390fd5b610792828260405180602001604052806000815250610e09565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610c6790339089908890889060040161141d565b602060405180830381600087803b158015610c8157600080fd5b505af1925050508015610cb1575060408051601f3d908101601f19168201909252610cae91810190611241565b60015b610d0c573d808015610cdf576040519150601f19603f3d011682016040523d82523d6000602084013e610ce4565b606091505b508051610d04576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060068054610d38906114d0565b80601f0160208091040260200160405190810160405280929190818152602001828054610d64906114d0565b8015610db15780601f10610d8657610100808354040283529160200191610db1565b820191906000526020600020905b815481529060010190602001808311610d9457829003601f168201915b5050505050905090565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610df257610df7565b610dd5565b50819003601f19909101908152919050565b610e138383610e76565b6001600160a01b0383163b156107b1576000548281035b610e3d6000868380600101945086610c32565b610e5a576040516368d2bf6b60e11b815260040160405180910390fd5b818110610e2a578160005414610e6f57600080fd5b5050505050565b60005481610e975760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526003602090815260408083208054680100000000000000018802019055848352600290915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610f4657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610f0e565b5081610f6457604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054610f79906114d0565b90600052602060002090601f016020900481019282610f9b5760008555610fe1565b82601f10610fb457805160ff1916838001178555610fe1565b82800160010185558215610fe1579182015b82811115610fe1578251825591602001919060010190610fc6565b50610fed929150610ff1565b5090565b5b80821115610fed5760008155600101610ff2565b600067ffffffffffffffff8084111561102157611021611521565b604051601f8501601f19908116603f0116810190828211818310171561104957611049611521565b8160405280935085815286868601111561106257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461109357600080fd5b919050565b600082601f8301126110a957600080fd5b610b4b83833560208501611006565b6000602082840312156110ca57600080fd5b610b4b8261107c565b600080604083850312156110e657600080fd5b6110ef8361107c565b91506110fd6020840161107c565b90509250929050565b60008060006060848603121561111b57600080fd5b6111248461107c565b92506111326020850161107c565b9150604084013590509250925092565b6000806000806080858703121561115857600080fd5b6111618561107c565b935061116f6020860161107c565b925060408501359150606085013567ffffffffffffffff81111561119257600080fd5b8501601f810187136111a357600080fd5b6111b287823560208401611006565b91505092959194509250565b600080604083850312156111d157600080fd5b6111da8361107c565b9150602083013580151581146111ef57600080fd5b809150509250929050565b6000806040838503121561120d57600080fd5b6112168361107c565b946020939093013593505050565b60006020828403121561123657600080fd5b8135610b4b81611537565b60006020828403121561125357600080fd5b8151610b4b81611537565b6000806040838503121561127157600080fd5b823567ffffffffffffffff8082111561128957600080fd5b61129586838701611098565b935060208501359150808211156112ab57600080fd5b506112b885828601611098565b9150509250929050565b6000602082840312156112d457600080fd5b5035919050565b600081518084526112f38160208601602086016114a4565b601f01601f19169290920160200192915050565b66697066733a2f2f60c81b8152600083516113298160078501602088016114a4565b602f60f81b600791840191820152835161134a8160088401602088016114a4565b64173539b7b760d91b60089290910191820152600d01949350505050565b66697066733a2f2f60c81b8152600060076000845481600182811c91508083168061139457607f831692505b60208084108214156113b457634e487b7160e01b86526022600452602486fd5b8180156113c857600181146113dd5761140e565b60ff1986168a890152848a018801965061140e565b60008b81526020902060005b868110156114045781548c82018b01529085019083016113e9565b505087858b010196505b50949998505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611450908301846112db565b9695505050505050565b602081526000610b4b60208301846112db565b600082198211156114805761148061150b565b500190565b600081600019048311821515161561149f5761149f61150b565b500290565b60005b838110156114bf5781810151838201526020016114a7565b83811115610ac75750506000910152565b600181811c908216806114e457607f821691505b6020821081141561150557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146108e657600080fdfea2646970667358221220cd19484525e8f33de4d55746fb99383810c8512d9b06f42d585fe00973771dfb64736f6c63430008070033
Deployed Bytecode Sourcemap
43790:1642:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16336:570;;;;;;;;;;-1:-1:-1;16336:570:0;;;;;:::i;:::-;;:::i;:::-;;;7696:14:1;;7689:22;7671:41;;7659:2;7644:18;16336:570:0;;;;;;;;44723:97;;;;;;;;;;-1:-1:-1;44796:20:0;;;;;;;;;;;;-1:-1:-1;;;44796:20:0;;;;44723:97;;;;;;;:::i;22581:200::-;;;;;;;;;;-1:-1:-1;22581:200:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6994:32:1;;;6976:51;;6964:2;6949:18;22581:200:0;6830:203:1;22111:343:0;;;;;;:::i;:::-;;:::i;:::-;;13374:281;;;;;;;;;;-1:-1:-1;13028:1:0;13617:12;13435:7;13601:13;:28;-1:-1:-1;;13601:46:0;13374:281;;;9450:25:1;;;9438:2;9423:18;13374:281:0;9304:177:1;25748:2327:0;;;;;;:::i;:::-;;:::i;43940:42::-;;;;;;;;;;;;43977:5;43940:42;;45302:127;;;;;;;;;;;;;:::i;28155:157::-;;;;;;:::i;:::-;;:::i;18346:141::-;;;;;;;;;;-1:-1:-1;18346:141:0;;;;;:::i;:::-;;:::i;14403:215::-;;;;;;;;;;-1:-1:-1;14403:215:0;;;;;:::i;:::-;;:::i;44488:231::-;;;;;;;;;;-1:-1:-1;44488:231:0;;;;;:::i;:::-;;:::i;45023:146::-;;;;;;;;;;-1:-1:-1;45023:146:0;;;;;:::i;:::-;;:::i;44824:92::-;;;;;;;;;;-1:-1:-1;44899:13:0;;;;;;;;;;;;-1:-1:-1;;;44899:13:0;;;;44824:92;;44027:47;;;;;;;;;;;;44073:1;44027:47;;44284:200;;;;;;:::i;:::-;;:::i;23073:216::-;;;;;;;;;;-1:-1:-1;23073:216:0;;;;;:::i;:::-;;:::i;28846:324::-;;;;;;:::i;:::-;;:::i;44077:42::-;;;;;;;;;;;;44108:11;44077:42;;17418:318;;;;;;;;;;-1:-1:-1;17418:318:0;;;;;:::i;:::-;;:::i;45173:124::-;;;;;;;;;;;;;:::i;23422:153::-;;;;;;;;;;-1:-1:-1;23422:153:0;;;;;:::i;:::-;-1:-1:-1;;;;;23536:25:0;;;23519:4;23536:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23422:153;43985:39;;;;;;;;;;;;44020:4;43985:39;;16336:570;16421:4;-1:-1:-1;;;;;;;;;16700:25:0;;;;:92;;-1:-1:-1;;;;;;;;;;16767:25:0;;;16700:92;:159;;;-1:-1:-1;;;;;;;;;;16834:25:0;;;16700:159;16690:169;16336:570;-1:-1:-1;;16336:570:0:o;22581:200::-;22657:7;22675:16;22683:7;22675;:16::i;:::-;22670:64;;22700:34;;-1:-1:-1;;;22700:34:0;;;;;;;;;;;22670:64;-1:-1:-1;22747:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;22747:30:0;;22581:200::o;22111:343::-;22193:13;22209:16;22217:7;22209;:16::i;:::-;22193:32;-1:-1:-1;42290:10:0;-1:-1:-1;;;;;22235:28:0;;;22231:142;;22273:44;22290:5;42290:10;23422:153;:::i;22273:44::-;22268:105;;22332:35;;-1:-1:-1;;;22332:35:0;;;;;;;;;;;22268:105;22378:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;22378:35:0;-1:-1:-1;;;;;22378:35:0;;;;;;;;;22422:28;;22378:24;;22422:28;;;;;;;22189:265;22111:343;;:::o;25748:2327::-;25858:27;25888;25907:7;25888:18;:27::i;:::-;25858:57;;25966:4;-1:-1:-1;;;;;25925:45:0;25941:19;-1:-1:-1;;;;;25925:45:0;;25921:86;;25979:28;;-1:-1:-1;;;25979:28:0;;;;;;;;;;;25921:86;26014:27;24969:24;;;:15;:24;;;;;25163:26;;42290:10;24653:30;;;-1:-1:-1;;;;;24386:28:0;;24631:20;;;24628:56;26186:170;;26269:43;26286:4;42290:10;23422:153;:::i;26269:43::-;26264:92;;26321:35;;-1:-1:-1;;;26321:35:0;;;;;;;;;;;26264:92;-1:-1:-1;;;;;26366:16:0;;26362:52;;26391:23;;-1:-1:-1;;;26391:23:0;;;;;;;;;;;26362:52;26532:15;26529:124;;;26646:1;26625:19;26618:30;26529:124;-1:-1:-1;;;;;26978:24:0;;;;;;;:18;:24;;;;;;26976:26;;-1:-1:-1;;26976:26:0;;;27037:22;;;;;;;;;27035:24;;-1:-1:-1;27035:24:0;;;21113:11;21088:23;21084:41;21071:63;-1:-1:-1;;;21071:63:0;27270:26;;;;:17;:26;;;;;:139;-1:-1:-1;;;27509:47:0;;27505:479;;27601:1;27591:11;;27569:19;27698:30;;;:17;:30;;;;;;27694:285;;27804:13;;27789:11;:28;27785:188;;27913:30;;;;:17;:30;;;;;:52;;;27785:188;27563:421;27505:479;28017:7;28013:2;-1:-1:-1;;;;;27998:27:0;28007:4;-1:-1:-1;;;;;27998:27:0;;;;;;;;;;;25854:2221;;;25748:2327;;;:::o;45302:127::-;43894:6;-1:-1:-1;;;;;43894:18:0;43902:10;43894:18;43886:40;;;;-1:-1:-1;;;43886:40:0;;9169:2:1;43886:40:0;;;9151:21:1;9208:1;9188:18;;;9181:29;-1:-1:-1;;;9226:18:1;;;9219:39;9275:18;;43886:40:0;;;;;;;;;45388:37:::1;::::0;45363:21:::1;::::0;45396:10:::1;::::0;45388:37;::::1;;;::::0;45363:21;;45345:15:::1;45388:37:::0;45345:15;45388:37;45363:21;45396:10;45388:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;45341:88;45302:127::o:0;28155:157::-;28269:39;28286:4;28292:2;28296:7;28269:39;;;;;;;;;;;;:16;:39::i;:::-;28155:157;;;:::o;18346:141::-;18418:7;18454:27;18473:7;18454:18;:27::i;14403:215::-;14475:7;-1:-1:-1;;;;;14492:19:0;;14488:60;;14520:28;;-1:-1:-1;;;14520:28:0;;;;;;;;;;;14488:60;-1:-1:-1;;;;;;14559:25:0;;;;;:18;:25;;;;;;9181:13;14559:55;;14403:215::o;44488:231::-;13028:1;13617:12;13435:7;13601:13;43977:5;;44558:6;;13601:28;-1:-1:-1;;13601:46:0;44542:22;;;;:::i;:::-;:36;;44534:57;;;;-1:-1:-1;;;44534:57:0;;8149:2:1;44534:57:0;;;8131:21:1;8188:1;8168:18;;;8161:29;-1:-1:-1;;;8206:18:1;;;8199:38;8254:18;;44534:57:0;7947:331:1;44534:57:0;44073:1;44612:25;44626:10;-1:-1:-1;;;;;14766:25:0;14745:7;14766:25;;;:18;:25;;9311:2;14766:25;;;;;:50;;9181:13;14765:82;;14684:167;44612:25;44603:34;;:6;:34;:::i;:::-;:57;;44595:84;;;;-1:-1:-1;;;44595:84:0;;8485:2:1;44595:84:0;;;8467:21:1;8524:2;8504:18;;;8497:30;-1:-1:-1;;;8543:18:1;;;8536:44;8597:18;;44595:84:0;8283:338:1;44595:84:0;44686:29;44696:10;44708:6;44686:9;:29::i;:::-;44488:231;:::o;45023:146::-;43894:6;-1:-1:-1;;;;;43894:18:0;43902:10;43894:18;43886:40;;;;-1:-1:-1;;;43886:40:0;;9169:2:1;43886:40:0;;;9151:21:1;9208:1;9188:18;;;9181:29;-1:-1:-1;;;9226:18:1;;;9219:39;9275:18;;43886:40:0;8967:332:1;43886:40:0;45113:20;;::::1;::::0;:9:::1;::::0;:20:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;45137:28:0;;::::1;::::0;:13:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;44284:200::-:0;13028:1;13617:12;13435:7;13601:13;43977:5;;44358:6;;13601:28;-1:-1:-1;;13601:46:0;44342:22;;;;:::i;:::-;:36;;44334:57;;;;-1:-1:-1;;;44334:57:0;;8149:2:1;44334:57:0;;;8131:21:1;8188:1;8168:18;;;8161:29;-1:-1:-1;;;8206:18:1;;;8199:38;8254:18;;44334:57:0;7947:331:1;44334:57:0;44418:9;44403:11;44108;44403:6;:11;:::i;:::-;:24;;44395:49;;;;-1:-1:-1;;;44395:49:0;;8828:2:1;44395:49:0;;;8810:21:1;8867:2;8847:18;;;8840:30;-1:-1:-1;;;8886:18:1;;;8879:42;8938:18;;44395:49:0;8626:336:1;23073:216:0;42290:10;23161:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;23161:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;23161:60:0;;;;;;;;;;23230:55;;7671:41:1;;;23161:49:0;;42290:10;23230:55;;7644:18:1;23230:55:0;;;;;;;23073:216;;:::o;28846:324::-;28982:31;28995:4;29001:2;29005:7;28982:12;:31::i;:::-;-1:-1:-1;;;;;29021:14:0;;;:19;29017:150;;29050:56;29081:4;29087:2;29091:7;29100:5;29050:30;:56::i;:::-;29045:122;;29121:40;;-1:-1:-1;;;29121:40:0;;;;;;;;;;;29045:122;28846:324;;;;:::o;17418:318::-;17491:13;17515:16;17523:7;17515;:16::i;:::-;17510:59;;17540:29;;-1:-1:-1;;;17540:29:0;;;;;;;;;;;17510:59;17575:21;17599:10;:8;:10::i;:::-;17575:34;;17626:7;17620:21;17645:1;17620:26;;:112;;;;;;;;;;;;;;;;;17684:7;17698:18;17708:7;17698:9;:18::i;:::-;17656:70;;;;;;;;;:::i;:::-;;;;;;;;;;;;;17620:112;17613:119;17418:318;-1:-1:-1;;;17418:318:0:o;45173:124::-;45217:13;45278;45250:42;;;;;;;;:::i;:::-;;;;;;;;;;;;;45236:57;;45173:124;:::o;23801:241::-;23866:4;23905:7;13028:1;23886:26;;:56;;;;;23929:13;;23919:7;:23;23886:56;:133;;;;-1:-1:-1;;23970:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;23970:44:0;:49;;23801:241::o;19372:893::-;19439:7;19467;;13028:1;19499:23;19495:721;;19539:13;;19532:4;:20;19528:688;;;19561:14;19578:23;;;:17;:23;;;;;;-1:-1:-1;;;19635:24:0;;19631:579;;20110:72;20117:11;20110:72;;-1:-1:-1;;;20166:6:0;20148:25;;;;:17;:25;;;;;;20110:72;;19631:579;19554:662;19528:688;20230:31;;-1:-1:-1;;;20230:31:0;;;;;;;;;;;37213:101;37283:27;37293:2;37297:8;37283:27;;;;;;;;;;;;:9;:27::i;31010:547::-;31155:88;;-1:-1:-1;;;31155:88:0;;31141:4;;-1:-1:-1;;;;;31155:45:0;;;;;:88;;42290:10;;31222:4;;31228:7;;31237:5;;31155:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31155:88:0;;;;;;;;-1:-1:-1;;31155:88:0;;;;;;;;;;;;:::i;:::-;;;31151:403;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31394:13:0;;31390:160;;31427:40;;-1:-1:-1;;;31427:40:0;;;;;;;;;;;31390:160;31531:6;31525:13;31516:6;31512:2;31508:15;31501:38;31151:403;-1:-1:-1;;;;;;31287:64:0;-1:-1:-1;;;31287:64:0;;-1:-1:-1;31010:547:0;;;;;;:::o;44920:99::-;44980:13;45006:9;44999:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44920:99;:::o;42390:1393::-;42455:17;42832:4;42825;42819:11;42815:22;42904:1;42898:4;42891:15;42959:4;42956:1;42952:12;42945:19;;;43021:1;43016:3;43009:14;43105:3;43304:5;43286:314;43339:1;43334:3;43330:11;43323:18;;43471:2;43465:4;43461:13;43457:2;43453:22;43448:3;43440:36;43539:2;43529:13;;;43570:25;;43588:5;;43570:25;43286:314;;;-1:-1:-1;43620:13:0;;;-1:-1:-1;;43715:14:0;;;43757:19;;;43715:14;42390:1393;-1:-1:-1;42390:1393:0:o;36655:490::-;36754:19;36760:2;36764:8;36754:5;:19::i;:::-;-1:-1:-1;;;;;36798:14:0;;;:19;36794:344;;36825:11;36839:13;36874:14;;;36894:169;36909:62;36948:1;36952:2;36956:7;;;;;;36965:5;36909:30;:62::i;:::-;36904:132;;36988:40;;-1:-1:-1;;;36988:40:0;;;;;;;;;;;36904:132;37058:3;37050:5;:11;36894:169;;37119:3;37102:13;;:20;37098:34;;37124:8;;;37098:34;36819:319;;36655:490;;;:::o;31963:2327::-;32029:20;32052:13;32073;32069:44;;32095:18;;-1:-1:-1;;;32095:18:0;;;;;;;;;;;32069:44;-1:-1:-1;;;;;32506:22:0;;;;;;:18;:22;;;;9311:2;32506:22;;;:71;;32544:32;32532:45;;32506:71;;;32760:31;;;:17;:31;;;;;-1:-1:-1;21483:15:0;;21457:24;21453:46;21113:11;21088:23;21084:41;21081:52;21071:63;;32760:137;;32939:23;;;;32760:31;;32506:22;;33554:25;32506:22;;33455:226;33939:1;33925:12;33921:20;33895:243;33967:3;33958:7;33955:16;33895:243;;34124:7;34114:8;34111:1;34084:25;34081:1;34078;34073:59;34004:1;33991:15;33895:243;;;-1:-1:-1;34151:13:0;34147:45;;34173:19;;-1:-1:-1;;;34173:19:0;;;;;;;;;;;34147:45;34199:13;:19;-1:-1:-1;28155:157:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:221::-;871:5;924:3;917:4;909:6;905:17;901:27;891:55;;942:1;939;932:12;891:55;964:79;1039:3;1030:6;1017:20;1010:4;1002:6;998:17;964:79;:::i;1054:186::-;1113:6;1166:2;1154:9;1145:7;1141:23;1137:32;1134:52;;;1182:1;1179;1172:12;1134:52;1205:29;1224:9;1205:29;:::i;1245:260::-;1313:6;1321;1374:2;1362:9;1353:7;1349:23;1345:32;1342:52;;;1390:1;1387;1380:12;1342:52;1413:29;1432:9;1413:29;:::i;:::-;1403:39;;1461:38;1495:2;1484:9;1480:18;1461:38;:::i;:::-;1451:48;;1245:260;;;;;:::o;1510:328::-;1587:6;1595;1603;1656:2;1644:9;1635:7;1631:23;1627:32;1624:52;;;1672:1;1669;1662:12;1624:52;1695:29;1714:9;1695:29;:::i;:::-;1685:39;;1743:38;1777:2;1766:9;1762:18;1743:38;:::i;:::-;1733:48;;1828:2;1817:9;1813:18;1800:32;1790:42;;1510:328;;;;;:::o;1843:666::-;1938:6;1946;1954;1962;2015:3;2003:9;1994:7;1990:23;1986:33;1983:53;;;2032:1;2029;2022:12;1983:53;2055:29;2074:9;2055:29;:::i;:::-;2045:39;;2103:38;2137:2;2126:9;2122:18;2103:38;:::i;:::-;2093:48;;2188:2;2177:9;2173:18;2160:32;2150:42;;2243:2;2232:9;2228:18;2215:32;2270:18;2262:6;2259:30;2256:50;;;2302:1;2299;2292:12;2256:50;2325:22;;2378:4;2370:13;;2366:27;-1:-1:-1;2356:55:1;;2407:1;2404;2397:12;2356:55;2430:73;2495:7;2490:2;2477:16;2472:2;2468;2464:11;2430:73;:::i;:::-;2420:83;;;1843:666;;;;;;;:::o;2514:347::-;2579:6;2587;2640:2;2628:9;2619:7;2615:23;2611:32;2608:52;;;2656:1;2653;2646:12;2608:52;2679:29;2698:9;2679:29;:::i;:::-;2669:39;;2758:2;2747:9;2743:18;2730:32;2805:5;2798:13;2791:21;2784:5;2781:32;2771:60;;2827:1;2824;2817:12;2771:60;2850:5;2840:15;;;2514:347;;;;;:::o;2866:254::-;2934:6;2942;2995:2;2983:9;2974:7;2970:23;2966:32;2963:52;;;3011:1;3008;3001:12;2963:52;3034:29;3053:9;3034:29;:::i;:::-;3024:39;3110:2;3095:18;;;;3082:32;;-1:-1:-1;;;2866:254:1:o;3125:245::-;3183:6;3236:2;3224:9;3215:7;3211:23;3207:32;3204:52;;;3252:1;3249;3242:12;3204:52;3291:9;3278:23;3310:30;3334:5;3310:30;:::i;3375:249::-;3444:6;3497:2;3485:9;3476:7;3472:23;3468:32;3465:52;;;3513:1;3510;3503:12;3465:52;3545:9;3539:16;3564:30;3588:5;3564:30;:::i;3629:543::-;3717:6;3725;3778:2;3766:9;3757:7;3753:23;3749:32;3746:52;;;3794:1;3791;3784:12;3746:52;3834:9;3821:23;3863:18;3904:2;3896:6;3893:14;3890:34;;;3920:1;3917;3910:12;3890:34;3943:50;3985:7;3976:6;3965:9;3961:22;3943:50;:::i;:::-;3933:60;;4046:2;4035:9;4031:18;4018:32;4002:48;;4075:2;4065:8;4062:16;4059:36;;;4091:1;4088;4081:12;4059:36;;4114:52;4158:7;4147:8;4136:9;4132:24;4114:52;:::i;:::-;4104:62;;;3629:543;;;;;:::o;4177:180::-;4236:6;4289:2;4277:9;4268:7;4264:23;4260:32;4257:52;;;4305:1;4302;4295:12;4257:52;-1:-1:-1;4328:23:1;;4177:180;-1:-1:-1;4177:180:1:o;4362:257::-;4403:3;4441:5;4435:12;4468:6;4463:3;4456:19;4484:63;4540:6;4533:4;4528:3;4524:14;4517:4;4510:5;4506:16;4484:63;:::i;:::-;4601:2;4580:15;-1:-1:-1;;4576:29:1;4567:39;;;;4608:4;4563:50;;4362:257;-1:-1:-1;;4362:257:1:o;4624:909::-;-1:-1:-1;;;5131:3:1;5124:22;5106:3;5175:6;5169:13;5191:61;5245:6;5241:1;5236:3;5232:11;5225:4;5217:6;5213:17;5191:61;:::i;:::-;-1:-1:-1;;;5311:1:1;5271:16;;;5303:10;;;5296:23;5344:13;;5366:62;5344:13;5415:1;5407:10;;5400:4;5388:17;;5366:62;:::i;:::-;-1:-1:-1;;;5488:1:1;5447:17;;;;5480:10;;;5473:27;5524:2;5516:11;;4624:909;-1:-1:-1;;;;4624:909:1:o;5538:1287::-;-1:-1:-1;;;5792:3:1;5785:22;5767:3;5826:1;5847;5880:6;5874:13;5910:3;5932:1;5960:9;5956:2;5952:18;5942:28;;6020:2;6009:9;6005:18;6042;6032:61;;6086:4;6078:6;6074:17;6064:27;;6032:61;6112:2;6160;6152:6;6149:14;6129:18;6126:38;6123:165;;;-1:-1:-1;;;6187:33:1;;6243:4;6240:1;6233:15;6273:4;6194:3;6261:17;6123:165;6304:18;6331:122;;;;6467:1;6462:338;;;;6297:503;;6331:122;-1:-1:-1;;6373:24:1;;6359:12;;;6352:46;6422:16;;;6418:25;;;-1:-1:-1;6331:122:1;;6462:338;9559:1;9552:14;;;9596:4;9583:18;;6557:1;6571:174;6585:6;6582:1;6579:13;6571:174;;;6672:14;;6654:11;;;6650:20;;6643:44;6715:16;;;;6600:10;;6571:174;;;6575:3;;6787:2;6778:6;6773:3;6769:16;6765:25;6758:32;;6297:503;-1:-1:-1;6816:3:1;;5538:1287;-1:-1:-1;;;;;;;;;5538:1287:1:o;7038:488::-;-1:-1:-1;;;;;7307:15:1;;;7289:34;;7359:15;;7354:2;7339:18;;7332:43;7406:2;7391:18;;7384:34;;;7454:3;7449:2;7434:18;;7427:31;;;7232:4;;7475:45;;7500:19;;7492:6;7475:45;:::i;:::-;7467:53;7038:488;-1:-1:-1;;;;;;7038:488:1:o;7723:219::-;7872:2;7861:9;7854:21;7835:4;7892:44;7932:2;7921:9;7917:18;7909:6;7892:44;:::i;9612:128::-;9652:3;9683:1;9679:6;9676:1;9673:13;9670:39;;;9689:18;;:::i;:::-;-1:-1:-1;9725:9:1;;9612:128::o;9745:168::-;9785:7;9851:1;9847;9843:6;9839:14;9836:1;9833:21;9828:1;9821:9;9814:17;9810:45;9807:71;;;9858:18;;:::i;:::-;-1:-1:-1;9898:9:1;;9745:168::o;9918:258::-;9990:1;10000:113;10014:6;10011:1;10008:13;10000:113;;;10090:11;;;10084:18;10071:11;;;10064:39;10036:2;10029:10;10000:113;;;10131:6;10128:1;10125:13;10122:48;;;-1:-1:-1;;10166:1:1;10148:16;;10141:27;9918:258::o;10181:380::-;10260:1;10256:12;;;;10303;;;10324:61;;10378:4;10370:6;10366:17;10356:27;;10324:61;10431:2;10423:6;10420:14;10400:18;10397:38;10394:161;;;10477:10;10472:3;10468:20;10465:1;10458:31;10512:4;10509:1;10502:15;10540:4;10537:1;10530:15;10394:161;;10181:380;;;:::o;10566:127::-;10627:10;10622:3;10618:20;10615:1;10608:31;10658:4;10655:1;10648:15;10682:4;10679:1;10672:15;10698:127;10759:10;10754:3;10750:20;10747:1;10740:31;10790:4;10787:1;10780:15;10814:4;10811:1;10804:15;10830:131;-1:-1:-1;;;;;;10904:32:1;;10894:43;;10884:71;;10951:1;10948;10941:12
Swarm Source
ipfs://cd19484525e8f33de4d55746fb99383810c8512d9b06f42d585fe00973771dfb
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.