Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
121 Alien
Holders
90
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 AlienLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AlienByReal
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-28 */ // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.7; /** * @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(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * 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); } /** * @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 { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _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]`. 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. 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 ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } error SoldOut(); error InvalidPrice(); error InvalidQuantity(); contract AlienByReal is ERC721A { uint256 public immutable maxSupply = 300; uint256 public price = 0.003 ether; uint256 public maxPerTx = 10; function mint(uint256 qty) external payable { require(0 != price); if (totalSupply() + qty > maxSupply) revert SoldOut(); if (qty > maxPerTx) revert InvalidQuantity(); if (msg.value < price * qty) revert InvalidPrice(); _safeMint(msg.sender, qty); } function freemint() external { require(0 == price); if (totalSupply() + 1 > 100) revert InvalidPrice(); _safeMint(msg.sender, 1); } address _owner; modifier onlyOwner { require(_owner == msg.sender, "No Permission"); _; } constructor() ERC721A("Alien BY Real", "Alien") { _owner = msg.sender; } string public _baseTokenURI = "ipfs://QmRYPL3uM8yifXeJPrSVRe4uEkacDFFANwyJCTZj9xmhoa/"; function setBaseURI(string memory baseURI) external onlyOwner { _baseTokenURI = baseURI; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setPrice(uint256 newPrice) external onlyOwner { price = newPrice; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "Cannot query non-existent token"); return string(abi.encodePacked(_baseURI(), _toString(tokenId), ".json")); } function withdraw() external onlyOwner { payable(msg.sender).transfer(address(this).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":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidPrice","type":"error"},{"inputs":[],"name":"InvalidQuantity","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":"SoldOut","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":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"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":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","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":[],"name":"price","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":"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":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61012c608052660aa87bee538000600855600a600955610100604052603660a0818152906200167460c03980516200004091600b91602090910190620000d6565b503480156200004e57600080fd5b50604080518082018252600d81526c105b1a595b881096481499585b609a1b60208083019182528351808501909452600584526420b634b2b760d91b908401528151919291620000a191600291620000d6565b508051620000b7906003906020840190620000d6565b50600080555050600a80546001600160a01b03191633179055620001b9565b828054620000e4906200017c565b90600052602060002090601f01602090048101928262000108576000855562000153565b82601f106200012357805160ff191683800117855562000153565b8280016001018555821562000153579182015b828111156200015357825182559160200191906001019062000136565b506200016192915062000165565b5090565b5b8082111562000161576000815560010162000166565b600181811c908216806200019157607f821691505b60208210811415620001b357634e487b7160e01b600052602260045260246000fd5b50919050565b608051611498620001dc600039600081816103b3015261090b01526114986000f3fe6080604052600436106101405760003560e01c806391b7f5ed116100b6578063c87b56dd1161006f578063c87b56dd1461036c578063cfc86f7b1461038c578063d5abeb01146103a1578063e985e9c5146103d5578063f968adbe1461041e578063f9cb63ac1461043457600080fd5b806391b7f5ed146102ce57806395d89b41146102ee578063a035b1fe14610303578063a0712d6814610319578063a22cb4651461032c578063b88d4fde1461034c57600080fd5b806323b872dd1161010857806323b872dd146102195780633ccfd60b1461023957806342842e0e1461024e57806355f804b31461026e5780636352211e1461028e57806370a08231146102ae57600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101f6575b600080fd5b34801561015157600080fd5b50610165610160366004611204565b610449565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f61049b565b6040516101719190611348565b3480156101a857600080fd5b506101bc6101b7366004611287565b61052d565b6040516001600160a01b039091168152602001610171565b3480156101e057600080fd5b506101f46101ef3660046111da565b610571565b005b34801561020257600080fd5b50600154600054035b604051908152602001610171565b34801561022557600080fd5b506101f46102343660046110e6565b610611565b34801561024557600080fd5b506101f46107a2565b34801561025a57600080fd5b506101f46102693660046110e6565b610804565b34801561027a57600080fd5b506101f461028936600461123e565b610824565b34801561029a57600080fd5b506101bc6102a9366004611287565b610865565b3480156102ba57600080fd5b5061020b6102c9366004611098565b610870565b3480156102da57600080fd5b506101f46102e9366004611287565b6108bf565b3480156102fa57600080fd5b5061018f6108ee565b34801561030f57600080fd5b5061020b60085481565b6101f4610327366004611287565b6108fd565b34801561033857600080fd5b506101f461034736600461119e565b6109bb565b34801561035857600080fd5b506101f4610367366004611122565b610a51565b34801561037857600080fd5b5061018f610387366004611287565b610a9b565b34801561039857600080fd5b5061018f610b2a565b3480156103ad57600080fd5b5061020b7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103e157600080fd5b506101656103f03660046110b3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561042a57600080fd5b5061020b60095481565b34801561044057600080fd5b506101f4610bb8565b60006301ffc9a760e01b6001600160e01b03198316148061047a57506380ac58cd60e01b6001600160e01b03198316145b806104955750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104aa906113e5565b80601f01602080910402602001604051908101604052809291908181526020018280546104d6906113e5565b80156105235780601f106104f857610100808354040283529160200191610523565b820191906000526020600020905b81548152906001019060200180831161050657829003601f168201915b5050505050905090565b600061053882610c0a565b610555576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061057c82610865565b9050336001600160a01b038216146105b55761059881336103f0565b6105b5576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061061c82610c31565b9050836001600160a01b0316816001600160a01b03161461064f5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761069c5761067f86336103f0565b61069c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166106c357604051633a954ecd60e21b815260040160405180910390fd5b80156106ce57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661075957600184016000818152600460205260409020546107575760005481146107575760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600a546001600160a01b031633146107d55760405162461bcd60e51b81526004016107cc9061135b565b60405180910390fd5b60405133904780156108fc02916000818181858888f19350505050158015610801573d6000803e3d6000fd5b50565b61081f83838360405180602001604052806000815250610a51565b505050565b600a546001600160a01b0316331461084e5760405162461bcd60e51b81526004016107cc9061135b565b805161086190600b906020840190610f6d565b5050565b600061049582610c31565b60006001600160a01b038216610899576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b600a546001600160a01b031633146108e95760405162461bcd60e51b81526004016107cc9061135b565b600855565b6060600380546104aa906113e5565b60085461090957600080fd5b7f0000000000000000000000000000000000000000000000000000000000000000816109386001546000540390565b6109429190611382565b1115610961576040516352df9fe560e01b815260040160405180910390fd5b6009548111156109845760405163524f409b60e01b815260040160405180910390fd5b80600854610992919061139a565b3410156109b15760405162bfc92160e01b815260040160405180910390fd5b6108013382610c99565b6001600160a01b0382163314156109e55760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a5c848484610611565b6001600160a01b0383163b15610a9557610a7884848484610cb3565b610a95576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610aa682610c0a565b610af25760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e0060448201526064016107cc565b610afa610dab565b610b0383610dba565b604051602001610b149291906112cc565b6040516020818303038152906040529050919050565b600b8054610b37906113e5565b80601f0160208091040260200160405190810160405280929190818152602001828054610b63906113e5565b8015610bb05780601f10610b8557610100808354040283529160200191610bb0565b820191906000526020600020905b815481529060010190602001808311610b9357829003601f168201915b505050505081565b60085415610bc557600080fd5b6064610bd46001546000540390565b610bdf906001611382565b1115610bfd5760405162bfc92160e01b815260040160405180910390fd5b610c08336001610c99565b565b6000805482108015610495575050600090815260046020526040902054600160e01b161590565b600081600054811015610c8057600081815260046020526040902054600160e01b8116610c7e575b80610c77575060001901600081815260046020526040902054610c59565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b610861828260405180602001604052806000815250610e09565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610ce890339089908890889060040161130b565b602060405180830381600087803b158015610d0257600080fd5b505af1925050508015610d32575060408051601f3d908101601f19168201909252610d2f91810190611221565b60015b610d8d573d808015610d60576040519150601f19603f3d011682016040523d82523d6000602084013e610d65565b606091505b508051610d85576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546104aa906113e5565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610df757600183039250600a81066030018353600a9004610dd9565b50819003601f19909101908152919050565b610e138383610e76565b6001600160a01b0383163b1561081f576000548281035b610e3d6000868380600101945086610cb3565b610e5a576040516368d2bf6b60e11b815260040160405180910390fd5b818110610e2a578160005414610e6f57600080fd5b5050505050565b60005481610e975760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610f4657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610f0e565b5081610f6457604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054610f79906113e5565b90600052602060002090601f016020900481019282610f9b5760008555610fe1565b82601f10610fb457805160ff1916838001178555610fe1565b82800160010185558215610fe1579182015b82811115610fe1578251825591602001919060010190610fc6565b50610fed929150610ff1565b5090565b5b80821115610fed5760008155600101610ff2565b600067ffffffffffffffff8084111561102157611021611436565b604051601f8501601f19908116603f0116810190828211818310171561104957611049611436565b8160405280935085815286868601111561106257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461109357600080fd5b919050565b6000602082840312156110aa57600080fd5b610c778261107c565b600080604083850312156110c657600080fd5b6110cf8361107c565b91506110dd6020840161107c565b90509250929050565b6000806000606084860312156110fb57600080fd5b6111048461107c565b92506111126020850161107c565b9150604084013590509250925092565b6000806000806080858703121561113857600080fd5b6111418561107c565b935061114f6020860161107c565b925060408501359150606085013567ffffffffffffffff81111561117257600080fd5b8501601f8101871361118357600080fd5b61119287823560208401611006565b91505092959194509250565b600080604083850312156111b157600080fd5b6111ba8361107c565b9150602083013580151581146111cf57600080fd5b809150509250929050565b600080604083850312156111ed57600080fd5b6111f68361107c565b946020939093013593505050565b60006020828403121561121657600080fd5b8135610c778161144c565b60006020828403121561123357600080fd5b8151610c778161144c565b60006020828403121561125057600080fd5b813567ffffffffffffffff81111561126757600080fd5b8201601f8101841361127857600080fd5b610da384823560208401611006565b60006020828403121561129957600080fd5b5035919050565b600081518084526112b88160208601602086016113b9565b601f01601f19169290920160200192915050565b600083516112de8184602088016113b9565b8351908301906112f28183602088016113b9565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061133e908301846112a0565b9695505050505050565b602081526000610c7760208301846112a0565b6020808252600d908201526c2737902832b936b4b9b9b4b7b760991b604082015260600190565b6000821982111561139557611395611420565b500190565b60008160001904831182151516156113b4576113b4611420565b500290565b60005b838110156113d45781810151838201526020016113bc565b83811115610a955750506000910152565b600181811c908216806113f957607f821691505b6020821081141561141a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461080157600080fdfea264697066735822122000758b24eb78f9e8703d5cafe5959e6a7f7083c4bb22f2f0890e5a64bccc73fc64736f6c63430008070033697066733a2f2f516d5259504c33754d3879696658654a5072535652653475456b6163444646414e77794a43545a6a39786d686f612f
Deployed Bytecode
0x6080604052600436106101405760003560e01c806391b7f5ed116100b6578063c87b56dd1161006f578063c87b56dd1461036c578063cfc86f7b1461038c578063d5abeb01146103a1578063e985e9c5146103d5578063f968adbe1461041e578063f9cb63ac1461043457600080fd5b806391b7f5ed146102ce57806395d89b41146102ee578063a035b1fe14610303578063a0712d6814610319578063a22cb4651461032c578063b88d4fde1461034c57600080fd5b806323b872dd1161010857806323b872dd146102195780633ccfd60b1461023957806342842e0e1461024e57806355f804b31461026e5780636352211e1461028e57806370a08231146102ae57600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101f6575b600080fd5b34801561015157600080fd5b50610165610160366004611204565b610449565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f61049b565b6040516101719190611348565b3480156101a857600080fd5b506101bc6101b7366004611287565b61052d565b6040516001600160a01b039091168152602001610171565b3480156101e057600080fd5b506101f46101ef3660046111da565b610571565b005b34801561020257600080fd5b50600154600054035b604051908152602001610171565b34801561022557600080fd5b506101f46102343660046110e6565b610611565b34801561024557600080fd5b506101f46107a2565b34801561025a57600080fd5b506101f46102693660046110e6565b610804565b34801561027a57600080fd5b506101f461028936600461123e565b610824565b34801561029a57600080fd5b506101bc6102a9366004611287565b610865565b3480156102ba57600080fd5b5061020b6102c9366004611098565b610870565b3480156102da57600080fd5b506101f46102e9366004611287565b6108bf565b3480156102fa57600080fd5b5061018f6108ee565b34801561030f57600080fd5b5061020b60085481565b6101f4610327366004611287565b6108fd565b34801561033857600080fd5b506101f461034736600461119e565b6109bb565b34801561035857600080fd5b506101f4610367366004611122565b610a51565b34801561037857600080fd5b5061018f610387366004611287565b610a9b565b34801561039857600080fd5b5061018f610b2a565b3480156103ad57600080fd5b5061020b7f000000000000000000000000000000000000000000000000000000000000012c81565b3480156103e157600080fd5b506101656103f03660046110b3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561042a57600080fd5b5061020b60095481565b34801561044057600080fd5b506101f4610bb8565b60006301ffc9a760e01b6001600160e01b03198316148061047a57506380ac58cd60e01b6001600160e01b03198316145b806104955750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104aa906113e5565b80601f01602080910402602001604051908101604052809291908181526020018280546104d6906113e5565b80156105235780601f106104f857610100808354040283529160200191610523565b820191906000526020600020905b81548152906001019060200180831161050657829003601f168201915b5050505050905090565b600061053882610c0a565b610555576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061057c82610865565b9050336001600160a01b038216146105b55761059881336103f0565b6105b5576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061061c82610c31565b9050836001600160a01b0316816001600160a01b03161461064f5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761069c5761067f86336103f0565b61069c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166106c357604051633a954ecd60e21b815260040160405180910390fd5b80156106ce57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661075957600184016000818152600460205260409020546107575760005481146107575760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600a546001600160a01b031633146107d55760405162461bcd60e51b81526004016107cc9061135b565b60405180910390fd5b60405133904780156108fc02916000818181858888f19350505050158015610801573d6000803e3d6000fd5b50565b61081f83838360405180602001604052806000815250610a51565b505050565b600a546001600160a01b0316331461084e5760405162461bcd60e51b81526004016107cc9061135b565b805161086190600b906020840190610f6d565b5050565b600061049582610c31565b60006001600160a01b038216610899576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b600a546001600160a01b031633146108e95760405162461bcd60e51b81526004016107cc9061135b565b600855565b6060600380546104aa906113e5565b60085461090957600080fd5b7f000000000000000000000000000000000000000000000000000000000000012c816109386001546000540390565b6109429190611382565b1115610961576040516352df9fe560e01b815260040160405180910390fd5b6009548111156109845760405163524f409b60e01b815260040160405180910390fd5b80600854610992919061139a565b3410156109b15760405162bfc92160e01b815260040160405180910390fd5b6108013382610c99565b6001600160a01b0382163314156109e55760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a5c848484610611565b6001600160a01b0383163b15610a9557610a7884848484610cb3565b610a95576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610aa682610c0a565b610af25760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e0060448201526064016107cc565b610afa610dab565b610b0383610dba565b604051602001610b149291906112cc565b6040516020818303038152906040529050919050565b600b8054610b37906113e5565b80601f0160208091040260200160405190810160405280929190818152602001828054610b63906113e5565b8015610bb05780601f10610b8557610100808354040283529160200191610bb0565b820191906000526020600020905b815481529060010190602001808311610b9357829003601f168201915b505050505081565b60085415610bc557600080fd5b6064610bd46001546000540390565b610bdf906001611382565b1115610bfd5760405162bfc92160e01b815260040160405180910390fd5b610c08336001610c99565b565b6000805482108015610495575050600090815260046020526040902054600160e01b161590565b600081600054811015610c8057600081815260046020526040902054600160e01b8116610c7e575b80610c77575060001901600081815260046020526040902054610c59565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b610861828260405180602001604052806000815250610e09565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610ce890339089908890889060040161130b565b602060405180830381600087803b158015610d0257600080fd5b505af1925050508015610d32575060408051601f3d908101601f19168201909252610d2f91810190611221565b60015b610d8d573d808015610d60576040519150601f19603f3d011682016040523d82523d6000602084013e610d65565b606091505b508051610d85576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546104aa906113e5565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610df757600183039250600a81066030018353600a9004610dd9565b50819003601f19909101908152919050565b610e138383610e76565b6001600160a01b0383163b1561081f576000548281035b610e3d6000868380600101945086610cb3565b610e5a576040516368d2bf6b60e11b815260040160405180910390fd5b818110610e2a578160005414610e6f57600080fd5b5050505050565b60005481610e975760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610f4657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610f0e565b5081610f6457604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054610f79906113e5565b90600052602060002090601f016020900481019282610f9b5760008555610fe1565b82601f10610fb457805160ff1916838001178555610fe1565b82800160010185558215610fe1579182015b82811115610fe1578251825591602001919060010190610fc6565b50610fed929150610ff1565b5090565b5b80821115610fed5760008155600101610ff2565b600067ffffffffffffffff8084111561102157611021611436565b604051601f8501601f19908116603f0116810190828211818310171561104957611049611436565b8160405280935085815286868601111561106257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461109357600080fd5b919050565b6000602082840312156110aa57600080fd5b610c778261107c565b600080604083850312156110c657600080fd5b6110cf8361107c565b91506110dd6020840161107c565b90509250929050565b6000806000606084860312156110fb57600080fd5b6111048461107c565b92506111126020850161107c565b9150604084013590509250925092565b6000806000806080858703121561113857600080fd5b6111418561107c565b935061114f6020860161107c565b925060408501359150606085013567ffffffffffffffff81111561117257600080fd5b8501601f8101871361118357600080fd5b61119287823560208401611006565b91505092959194509250565b600080604083850312156111b157600080fd5b6111ba8361107c565b9150602083013580151581146111cf57600080fd5b809150509250929050565b600080604083850312156111ed57600080fd5b6111f68361107c565b946020939093013593505050565b60006020828403121561121657600080fd5b8135610c778161144c565b60006020828403121561123357600080fd5b8151610c778161144c565b60006020828403121561125057600080fd5b813567ffffffffffffffff81111561126757600080fd5b8201601f8101841361127857600080fd5b610da384823560208401611006565b60006020828403121561129957600080fd5b5035919050565b600081518084526112b88160208601602086016113b9565b601f01601f19169290920160200192915050565b600083516112de8184602088016113b9565b8351908301906112f28183602088016113b9565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061133e908301846112a0565b9695505050505050565b602081526000610c7760208301846112a0565b6020808252600d908201526c2737902832b936b4b9b9b4b7b760991b604082015260600190565b6000821982111561139557611395611420565b500190565b60008160001904831182151516156113b4576113b4611420565b500290565b60005b838110156113d45781810151838201526020016113bc565b83811115610a955750506000910152565b600181811c908216806113f957607f821691505b6020821081141561141a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461080157600080fdfea264697066735822122000758b24eb78f9e8703d5cafe5959e6a7f7083c4bb22f2f0890e5a64bccc73fc64736f6c63430008070033
Deployed Bytecode Sourcemap
51127:1663:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18246:639;;;;;;;;;;-1:-1:-1;18246:639:0;;;;;:::i;:::-;;:::i;:::-;;;5813:14:1;;5806:22;5788:41;;5776:2;5761:18;18246:639:0;;;;;;;;19148:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25631:218::-;;;;;;;;;;-1:-1:-1;25631:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5111:32:1;;;5093:51;;5081:2;5066:18;25631:218:0;4947:203:1;25072:400:0;;;;;;;;;;-1:-1:-1;25072:400:0;;;;;:::i;:::-;;:::i;:::-;;14899:323;;;;;;;;;;-1:-1:-1;15173:12:0;;14960:7;15157:13;:28;14899:323;;;6912:25:1;;;6900:2;6885:18;14899:323:0;6766:177:1;29338:2817:0;;;;;;;;;;-1:-1:-1;29338:2817:0;;;;;:::i;:::-;;:::i;52678:109::-;;;;;;;;;;;;;:::i;32251:185::-;;;;;;;;;;-1:-1:-1;32251:185:0;;;;;:::i;:::-;;:::i;52092:104::-;;;;;;;;;;-1:-1:-1;52092:104:0;;;;;:::i;:::-;;:::i;20541:152::-;;;;;;;;;;-1:-1:-1;20541:152:0;;;;;:::i;:::-;;:::i;16083:233::-;;;;;;;;;;-1:-1:-1;16083:233:0;;;;;:::i;:::-;;:::i;52326:90::-;;;;;;;;;;-1:-1:-1;52326:90:0;;;;;:::i;:::-;;:::i;19324:104::-;;;;;;;;;;;;;:::i;51220:34::-;;;;;;;;;;;;;;;;51298:300;;;;;;:::i;:::-;;:::i;26189:308::-;;;;;;;;;;-1:-1:-1;26189:308:0;;;;;:::i;:::-;;:::i;33034:399::-;;;;;;;;;;-1:-1:-1;33034:399:0;;;;;:::i;:::-;;:::i;52424:242::-;;;;;;;;;;-1:-1:-1;52424:242:0;;;;;:::i;:::-;;:::i;51999:86::-;;;;;;;;;;;;;:::i;51172:40::-;;;;;;;;;;;;;;;26654:164;;;;;;;;;;-1:-1:-1;26654:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26775:25:0;;;26751:4;26775:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26654:164;51261:28;;;;;;;;;;;;;;;;51606:164;;;;;;;;;;;;;:::i;18246:639::-;18331:4;-1:-1:-1;;;;;;;;;18655:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18732:25:0;;;18655:102;:179;;;-1:-1:-1;;;;;;;;;;18809:25:0;;;18655:179;18635:199;18246:639;-1:-1:-1;;18246:639:0:o;19148:100::-;19202:13;19235:5;19228:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19148:100;:::o;25631:218::-;25707:7;25732:16;25740:7;25732;:16::i;:::-;25727:64;;25757:34;;-1:-1:-1;;;25757:34:0;;;;;;;;;;;25727:64;-1:-1:-1;25811:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;25811:30:0;;25631:218::o;25072:400::-;25153:13;25169:16;25177:7;25169;:16::i;:::-;25153:32;-1:-1:-1;48929:10:0;-1:-1:-1;;;;;25202:28:0;;;25198:175;;25250:44;25267:5;48929:10;26654:164;:::i;25250:44::-;25245:128;;25322:35;;-1:-1:-1;;;25322:35:0;;;;;;;;;;;25245:128;25385:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25385:35:0;-1:-1:-1;;;;;25385:35:0;;;;;;;;;25436:28;;25385:24;;25436:28;;;;;;;25142:330;25072:400;;:::o;29338:2817::-;29472:27;29502;29521:7;29502:18;:27::i;:::-;29472:57;;29587:4;-1:-1:-1;;;;;29546:45:0;29562:19;-1:-1:-1;;;;;29546:45:0;;29542:86;;29600:28;;-1:-1:-1;;;29600:28:0;;;;;;;;;;;29542:86;29642:27;28452:24;;;:15;:24;;;;;28674:26;;48929:10;28077:30;;;-1:-1:-1;;;;;27770:28:0;;28055:20;;;28052:56;29828:180;;29921:43;29938:4;48929:10;26654:164;:::i;29921:43::-;29916:92;;29973:35;;-1:-1:-1;;;29973:35:0;;;;;;;;;;;29916:92;-1:-1:-1;;;;;30025:16:0;;30021:52;;30050:23;;-1:-1:-1;;;30050:23:0;;;;;;;;;;;30021:52;30222:15;30219:160;;;30362:1;30341:19;30334:30;30219:160;-1:-1:-1;;;;;30759:24:0;;;;;;;:18;:24;;;;;;30757:26;;-1:-1:-1;;30757:26:0;;;30828:22;;;;;;;;;30826:24;;-1:-1:-1;30826:24:0;;;23930:11;23905:23;23901:41;23888:63;-1:-1:-1;;;23888:63:0;31121:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;31416:47:0;;31412:627;;31521:1;31511:11;;31489:19;31644:30;;;:17;:30;;;;;;31640:384;;31782:13;;31767:11;:28;31763:242;;31929:30;;;;:17;:30;;;;;:52;;;31763:242;31470:569;31412:627;32086:7;32082:2;-1:-1:-1;;;;;32067:27:0;32076:4;-1:-1:-1;;;;;32067:27:0;;;;;;;;;;;29461:2694;;;29338:2817;;;:::o;52678:109::-;51841:6;;-1:-1:-1;;;;;51841:6:0;51851:10;51841:20;51833:46;;;;-1:-1:-1;;;51833:46:0;;;;;;;:::i;:::-;;;;;;;;;52728:51:::1;::::0;52736:10:::1;::::0;52757:21:::1;52728:51:::0;::::1;;;::::0;::::1;::::0;;;52757:21;52736:10;52728:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;52678:109::o:0;32251:185::-;32389:39;32406:4;32412:2;32416:7;32389:39;;;;;;;;;;;;:16;:39::i;:::-;32251:185;;;:::o;52092:104::-;51841:6;;-1:-1:-1;;;;;51841:6:0;51851:10;51841:20;51833:46;;;;-1:-1:-1;;;51833:46:0;;;;;;;:::i;:::-;52165:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;52092:104:::0;:::o;20541:152::-;20613:7;20656:27;20675:7;20656:18;:27::i;16083:233::-;16155:7;-1:-1:-1;;;;;16179:19:0;;16175:60;;16207:28;;-1:-1:-1;;;16207:28:0;;;;;;;;;;;16175:60;-1:-1:-1;;;;;;16253:25:0;;;;;:18;:25;;;;;;10242:13;16253:55;;16083:233::o;52326:90::-;51841:6;;-1:-1:-1;;;;;51841:6:0;51851:10;51841:20;51833:46;;;;-1:-1:-1;;;51833:46:0;;;;;;;:::i;:::-;52392:5:::1;:16:::0;52326:90::o;19324:104::-;19380:13;19413:7;19406:14;;;;;:::i;51298:300::-;51366:5;;51353:19;;;;;;51410:9;51403:3;51387:13;15173:12;;14960:7;15157:13;:28;;14899:323;51387:13;:19;;;;:::i;:::-;:32;51383:54;;;51428:9;;-1:-1:-1;;;51428:9:0;;;;;;;;;;;51383:54;51458:8;;51452:3;:14;51448:44;;;51475:17;;-1:-1:-1;;;51475:17:0;;;;;;;;;;;51448:44;51527:3;51519:5;;:11;;;;:::i;:::-;51507:9;:23;51503:50;;;51539:14;;-1:-1:-1;;;51539:14:0;;;;;;;;;;;51503:50;51564:26;51574:10;51586:3;51564:9;:26::i;26189:308::-;-1:-1:-1;;;;;26288:31:0;;48929:10;26288:31;26284:61;;;26328:17;;-1:-1:-1;;;26328:17:0;;;;;;;;;;;26284:61;48929:10;26358:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26358:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26358:60:0;;;;;;;;;;26434:55;;5788:41:1;;;26358:49:0;;48929:10;26434:55;;5761:18:1;26434:55:0;;;;;;;26189:308;;:::o;33034:399::-;33201:31;33214:4;33220:2;33224:7;33201:12;:31::i;:::-;-1:-1:-1;;;;;33247:14:0;;;:19;33243:183;;33286:56;33317:4;33323:2;33327:7;33336:5;33286:30;:56::i;:::-;33281:145;;33370:40;;-1:-1:-1;;;33370:40:0;;;;;;;;;;;33281:145;33034:399;;;;:::o;52424:242::-;52489:13;52523:16;52531:7;52523;:16::i;:::-;52515:60;;;;-1:-1:-1;;;52515:60:0;;6608:2:1;52515:60:0;;;6590:21:1;6647:2;6627:18;;;6620:30;6686:33;6666:18;;;6659:61;6737:18;;52515:60:0;6406:355:1;52515:60:0;52617:10;:8;:10::i;:::-;52629:18;52639:7;52629:9;:18::i;:::-;52600:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;52586:72;;52424:242;;;:::o;51999:86::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;51606:164::-;51659:5;;51654:10;51646:19;;;;;;51701:3;51680:13;15173:12;;14960:7;15157:13;:28;;14899:323;51680:13;:17;;51696:1;51680:17;:::i;:::-;:24;51676:51;;;51713:14;;-1:-1:-1;;;51713:14:0;;;;;;;;;;;51676:51;51738:24;51748:10;51760:1;51738:9;:24::i;:::-;51606:164::o;27076:282::-;27141:4;27231:13;;27221:7;:23;27178:153;;;;-1:-1:-1;;27282:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27282:44:0;:49;;27076:282::o;21696:1275::-;21763:7;21798;21900:13;;21893:4;:20;21889:1015;;;21938:14;21955:23;;;:17;:23;;;;;;-1:-1:-1;;;22044:24:0;;22040:845;;22709:113;22716:11;22709:113;;-1:-1:-1;;;22787:6:0;22769:25;;;;:17;:25;;;;;;22709:113;;;22855:6;21696:1275;-1:-1:-1;;;21696:1275:0:o;22040:845::-;21915:989;21889:1015;22932:31;;-1:-1:-1;;;22932:31:0;;;;;;;;;;;42674:112;42751:27;42761:2;42765:8;42751:27;;;;;;;;;;;;:9;:27::i;35517:716::-;35701:88;;-1:-1:-1;;;35701:88:0;;35680:4;;-1:-1:-1;;;;;35701:45:0;;;;;:88;;48929:10;;35768:4;;35774:7;;35783:5;;35701:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35701:88:0;;;;;;;;-1:-1:-1;;35701:88:0;;;;;;;;;;;;:::i;:::-;;;35697:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35984:13:0;;35980:235;;36030:40;;-1:-1:-1;;;36030:40:0;;;;;;;;;;;35980:235;36173:6;36167:13;36158:6;36154:2;36150:15;36143:38;35697:529;-1:-1:-1;;;;;;35860:64:0;-1:-1:-1;;;35860:64:0;;-1:-1:-1;35697:529:0;35517:716;;;;;;:::o;52204:114::-;52264:13;52297;52290:20;;;;;:::i;49049:2002::-;49526:4;49520:11;;49533:3;49516:21;;49611:17;;;;50307:11;;;50186:5;50473:2;50487;50477:13;;50469:22;50307:11;50456:36;50528:2;50518:13;;50078:731;50547:4;50078:731;;;50738:1;50733:3;50729:11;50722:18;;50789:2;50783:4;50779:13;50775:2;50771:22;50766:3;50758:36;50642:2;50632:13;;50078:731;;;-1:-1:-1;50839:13:0;;;-1:-1:-1;;50954:12:0;;;51014:19;;;50954:12;49049:2002;-1:-1:-1;49049:2002:0:o;41901:689::-;42032:19;42038:2;42042:8;42032:5;:19::i;:::-;-1:-1:-1;;;;;42093:14:0;;;:19;42089:483;;42133:11;42147:13;42195:14;;;42228:233;42259:62;42298:1;42302:2;42306:7;;;;;;42315:5;42259:30;:62::i;:::-;42254:167;;42357:40;;-1:-1:-1;;;42357:40:0;;;;;;;;;;;42254:167;42456:3;42448:5;:11;42228:233;;42543:3;42526:13;;:20;42522:34;;42548:8;;;42522:34;42114:458;;41901:689;;;:::o;36695:2454::-;36768:20;36791:13;36819;36815:44;;36841:18;;-1:-1:-1;;;36841:18:0;;;;;;;;;;;36815:44;-1:-1:-1;;;;;37347:22:0;;;;;;:18;:22;;;;10380:2;37347:22;;;:71;;37385:32;37373:45;;37347:71;;;37661:31;;;:17;:31;;;;;-1:-1:-1;24361:15:0;;24335:24;24331:46;23930:11;23905:23;23901:41;23898:52;23888:63;;37661:173;;37896:23;;;;37661:31;;37347:22;;38395:25;37347:22;;38248:335;38663:1;38649:12;38645:20;38603:346;38704:3;38695:7;38692:16;38603:346;;38922:7;38912:8;38909:1;38882:25;38879:1;38876;38871:59;38757:1;38744:15;38603:346;;;-1:-1:-1;38982:13:0;38978:45;;39004:19;;-1:-1:-1;;;39004:19:0;;;;;;;;;;;38978:45;39040:13;:19;-1:-1:-1;32251:185: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:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4043:257;-1:-1:-1;;4043:257:1:o;4305:637::-;4585:3;4623:6;4617:13;4639:53;4685:6;4680:3;4673:4;4665:6;4661:17;4639:53;:::i;:::-;4755:13;;4714:16;;;;4777:57;4755:13;4714:16;4811:4;4799:17;;4777:57;:::i;:::-;-1:-1:-1;;;4856:20:1;;4885:22;;;4934:1;4923:13;;4305:637;-1:-1:-1;;;;4305:637:1:o;5155:488::-;-1:-1:-1;;;;;5424:15:1;;;5406:34;;5476:15;;5471:2;5456:18;;5449:43;5523:2;5508:18;;5501:34;;;5571:3;5566:2;5551:18;;5544:31;;;5349:4;;5592:45;;5617:19;;5609:6;5592:45;:::i;:::-;5584:53;5155:488;-1:-1:-1;;;;;;5155:488:1:o;5840:219::-;5989:2;5978:9;5971:21;5952:4;6009:44;6049:2;6038:9;6034:18;6026:6;6009:44;:::i;6064:337::-;6266:2;6248:21;;;6305:2;6285:18;;;6278:30;-1:-1:-1;;;6339:2:1;6324:18;;6317:43;6392:2;6377:18;;6064:337::o;6948:128::-;6988:3;7019:1;7015:6;7012:1;7009:13;7006:39;;;7025:18;;:::i;:::-;-1:-1:-1;7061:9:1;;6948:128::o;7081:168::-;7121:7;7187:1;7183;7179:6;7175:14;7172:1;7169:21;7164:1;7157:9;7150:17;7146:45;7143:71;;;7194:18;;:::i;:::-;-1:-1:-1;7234:9:1;;7081:168::o;7254:258::-;7326:1;7336:113;7350:6;7347:1;7344:13;7336:113;;;7426:11;;;7420:18;7407:11;;;7400:39;7372:2;7365:10;7336:113;;;7467:6;7464:1;7461:13;7458:48;;;-1:-1:-1;;7502:1:1;7484:16;;7477:27;7254:258::o;7517:380::-;7596:1;7592:12;;;;7639;;;7660:61;;7714:4;7706:6;7702:17;7692:27;;7660:61;7767:2;7759:6;7756:14;7736:18;7733:38;7730:161;;;7813:10;7808:3;7804:20;7801:1;7794:31;7848:4;7845:1;7838:15;7876:4;7873:1;7866:15;7730:161;;7517:380;;;:::o;7902:127::-;7963:10;7958:3;7954:20;7951:1;7944:31;7994:4;7991:1;7984:15;8018:4;8015:1;8008:15;8034:127;8095:10;8090:3;8086:20;8083:1;8076:31;8126:4;8123:1;8116:15;8150:4;8147:1;8140:15;8166:131;-1:-1:-1;;;;;;8240:32:1;;8230:43;;8220:71;;8287:1;8284;8277:12
Swarm Source
ipfs://00758b24eb78f9e8703d5cafe5959e6a7f7083c4bb22f2f0890e5a64bccc73fc
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.