ERC-721
Overview
Max Total Supply
955 ENDS
Holders
471
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
23 ENDSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Eyeiends
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-04 */ // 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(); /** * 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); } /** * @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). */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from == msg.sender) { _; return; } if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } _; } } /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } contract Eyeiends is ERC721A, DefaultOperatorFilterer { uint256 public maxSupply = 1111; uint256 public maxPerTx = 10; uint256 public price = 0.002 ether; mapping(uint256 => uint256) blockFree; mapping(address => bool) minted; bool free; function mint(uint256 amount) payable public { require(totalSupply() + amount <= maxSupply); require(amount <= maxPerTx); _safeMint(amount); } string uri = "ipfs://QmWcPkurgEe3PdEAPf8AsRxw4Fo5Cr7my5KFSs3Hmprvee/"; function setUri(string memory _uri) external onlyOwner { uri = _uri; } address owner; modifier onlyOwner { require(owner == msg.sender); _; } constructor() ERC721A("Eyeiends", "ENDS") { owner = msg.sender; } function _safeMint(uint256 amount) internal { require(msg.sender == tx.origin); if (msg.value == 0) { uint256 freeNum = (maxSupply - totalSupply()) / 12; require(blockFree[block.number] + 1 <= freeNum); if (free) { require(balanceOf(msg.sender) == 0); } blockFree[block.number] += 1; _safeMint(msg.sender, 1); return; } require(msg.value >= amount * price); _safeMint(msg.sender, amount); } function ownerMint(uint16 _mintAmount, address _receiver) external onlyOwner { uint16 totalSupply = uint16(totalSupply()); require(totalSupply + _mintAmount <= maxSupply, "Exceeds max supply."); _safeMint(_receiver , _mintAmount); } uint256 royalty = 69; function setRoyalty(uint256 r) external onlyOwner { royalty = r; } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual returns (address, uint256) { uint256 royaltyAmount = (_salePrice * royalty) / 1000; return (owner, royaltyAmount); } function tokenURI(uint256 tokenId) public view override returns (string memory) { return string(abi.encodePacked(uri, _toString(tokenId), ".json")); } function withdraw() external onlyOwner { payable(msg.sender).transfer(address(this).balance); } function setFree() external onlyOwner { free = !free; } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
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":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_mintAmount","type":"uint16"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":[],"name":"setFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"r","type":"uint256"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","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
610457600855600a600981905566071afd498d0000905560e0604052603660808181529062001d1b60a03980516200004091600e9160209091019062000235565b5060456010553480156200005357600080fd5b50604080518082018252600881526745796569656e647360c01b602080830191825283518085019094526004845263454e445360e01b908401528151733cc6cdda760b79bafa08df41ecfa224f810dceb693600193929091620000b99160029162000235565b508051620000cf90600390602084019062000235565b506000805550506daaeb6d7670e522a718067333cd4e3b156200021b5780156200016957604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200014a57600080fd5b505af11580156200015f573d6000803e3d6000fd5b505050506200021b565b6001600160a01b03821615620001ba5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200012f565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200020157600080fd5b505af115801562000216573d6000803e3d6000fd5b505050505b5050600f80546001600160a01b0319163317905562000318565b8280546200024390620002db565b90600052602060002090601f016020900481019282620002675760008555620002b2565b82601f106200028257805160ff1916838001178555620002b2565b82800160010185558215620002b2579182015b82811115620002b257825182559160200191906001019062000295565b50620002c0929150620002c4565b5090565b5b80821115620002c05760008155600101620002c5565b600181811c90821680620002f057607f821691505b602082108114156200031257634e487b7160e01b600052602260045260246000fd5b50919050565b6119f380620003286000396000f3fe6080604052600436106101665760003560e01c806370a08231116100d1578063b88d4fde1161008a578063d5f7ec8d11610064578063d5f7ec8d146103f5578063de6cf0ee14610415578063e985e9c51461042a578063f968adbe1461047357600080fd5b8063b88d4fde146103ac578063c87b56dd146103bf578063d5abeb01146103df57600080fd5b806370a082311461030e57806395d89b411461032e5780639b642de114610343578063a035b1fe14610363578063a0712d6814610379578063a22cb4651461038c57600080fd5b80632a55205a116101235780632a55205a146102455780633ccfd60b1461028457806341f43434146102995780634209a2e1146102bb57806342842e0e146102db5780636352211e146102ee57600080fd5b806301ffc9a71461016b57806306fdde03146101a0578063081812fc146101c2578063095ea7b3146101fa57806318160ddd1461020f57806323b872dd14610232575b600080fd5b34801561017757600080fd5b5061018b61018636600461163a565b610489565b60405190151581526020015b60405180910390f35b3480156101ac57600080fd5b506101b56104db565b604051610197919061185d565b3480156101ce57600080fd5b506101e26101dd3660046116e2565b61056d565b6040516001600160a01b039091168152602001610197565b61020d6102083660046115f3565b6105b1565b005b34801561021b57600080fd5b50600154600054035b604051908152602001610197565b61020d610240366004611504565b61068e565b34801561025157600080fd5b506102656102603660046116fb565b610777565b604080516001600160a01b039093168352602083019190915201610197565b34801561029057600080fd5b5061020d6107ae565b3480156102a557600080fd5b506101e26daaeb6d7670e522a718067333cd4e81565b3480156102c757600080fd5b5061020d6102d63660046116e2565b6107f4565b61020d6102e9366004611504565b610810565b3480156102fa57600080fd5b506101e26103093660046116e2565b6108ee565b34801561031a57600080fd5b506102246103293660046114b6565b6108f9565b34801561033a57600080fd5b506101b5610948565b34801561034f57600080fd5b5061020d61035e366004611674565b610957565b34801561036f57600080fd5b50610224600a5481565b61020d6103873660046116e2565b610985565b34801561039857600080fd5b5061020d6103a73660046115bc565b6109c3565b61020d6103ba366004611540565b610a96565b3480156103cb57600080fd5b506101b56103da3660046116e2565b610b82565b3480156103eb57600080fd5b5061022460085481565b34801561040157600080fd5b5061020d6104103660046116bd565b610bb6565b34801561042157600080fd5b5061020d610c42565b34801561043657600080fd5b5061018b6104453660046114d1565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561047f57600080fd5b5061022460095481565b60006301ffc9a760e01b6001600160e01b0319831614806104ba57506380ac58cd60e01b6001600160e01b03198316145b806104d55750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104ea90611932565b80601f016020809104026020016040519081016040528092919081815260200182805461051690611932565b80156105635780601f1061053857610100808354040283529160200191610563565b820191906000526020600020905b81548152906001019060200180831161054657829003601f168201915b5050505050905090565b600061057882610c6d565b610595576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1561067f57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561061a57600080fd5b505afa15801561062e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610652919061161d565b61067f57604051633b79c77360e21b81526001600160a01b03821660048201526024015b60405180910390fd5b6106898383610c94565b505050565b826daaeb6d7670e522a718067333cd4e3b15610766576001600160a01b0381163314156106c5576106c0848484610d34565b610771565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561070f57600080fd5b505afa158015610723573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610747919061161d565b61076657604051633b79c77360e21b8152336004820152602401610676565b610771848484610d34565b50505050565b60008060006103e86010548561078d91906118d0565b61079791906118ae565b600f546001600160a01b0316969095509350505050565b600f546001600160a01b031633146107c557600080fd5b60405133904780156108fc02916000818181858888f193505050501580156107f1573d6000803e3d6000fd5b50565b600f546001600160a01b0316331461080b57600080fd5b601055565b826daaeb6d7670e522a718067333cd4e3b156108e3576001600160a01b038116331415610842576106c0848484610ec5565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561088c57600080fd5b505afa1580156108a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c4919061161d565b6108e357604051633b79c77360e21b8152336004820152602401610676565b610771848484610ec5565b60006104d582610ee0565b60006001600160a01b038216610922576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546104ea90611932565b600f546001600160a01b0316331461096e57600080fd5b805161098190600e90602084019061138b565b5050565b600854816109966001546000540390565b6109a09190611896565b11156109ab57600080fd5b6009548111156109ba57600080fd5b6107f181610f48565b816daaeb6d7670e522a718067333cd4e3b15610a8c57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610a2c57600080fd5b505afa158015610a40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a64919061161d565b610a8c57604051633b79c77360e21b81526001600160a01b0382166004820152602401610676565b610689838361101e565b836daaeb6d7670e522a718067333cd4e3b15610b6f576001600160a01b038116331415610ace57610ac98585858561108a565b610b7b565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610b1857600080fd5b505afa158015610b2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b50919061161d565b610b6f57604051633b79c77360e21b8152336004820152602401610676565b610b7b8585858561108a565b5050505050565b6060600e610b8f836110ce565b604051602001610ba0929190611765565b6040516020818303038152906040529050919050565b600f546001600160a01b03163314610bcd57600080fd5b6000610bdc6001546000540390565b600854909150610bec8483611870565b61ffff161115610c345760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b6044820152606401610676565b610689828461ffff1661111c565b600f546001600160a01b03163314610c5957600080fd5b600d805460ff19811660ff90911615179055565b60008054821080156104d5575050600090815260046020526040902054600160e01b161590565b6000610c9f826108ee565b9050336001600160a01b03821614610cd857610cbb8133610445565b610cd8576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610d3f82610ee0565b9050836001600160a01b0316816001600160a01b031614610d725760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610dbf57610da28633610445565b610dbf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610de657604051633a954ecd60e21b815260040160405180910390fd5b8015610df157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610e7c5760018401600081815260046020526040902054610e7a576000548114610e7a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61068983838360405180602001604052806000815250610a96565b600081600054811015610f2f57600081815260046020526040902054600160e01b8116610f2d575b80610f26575060001901600081815260046020526040902054610f08565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b333214610f5457600080fd5b34610ffb576000600c610f6a6001546000540390565b600854610f7791906118ef565b610f8191906118ae565b436000908152600b60205260409020549091508190610fa1906001611896565b1115610fac57600080fd5b600d5460ff1615610fca57610fc0336108f9565b15610fca57600080fd5b436000908152600b60205260408120805460019290610fea908490611896565b90915550610981905033600161111c565b600a5461100890826118d0565b34101561101457600080fd5b6107f1338261111c565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61109584848461068e565b6001600160a01b0383163b15610771576110b184848484611136565b610771576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806111055761110a565b6110e8565b50819003601f19909101908152919050565b61098182826040518060200160405280600081525061122e565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061116b903390899088908890600401611820565b602060405180830381600087803b15801561118557600080fd5b505af19250505080156111b5575060408051601f3d908101601f191682019092526111b291810190611657565b60015b611210573d8080156111e3576040519150601f19603f3d011682016040523d82523d6000602084013e6111e8565b606091505b508051611208576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6112388383611294565b6001600160a01b0383163b15610689576000548281035b6112626000868380600101945086611136565b61127f576040516368d2bf6b60e11b815260040160405180910390fd5b81811061124f578160005414610b7b57600080fd5b600054816112b55760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461136457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161132c565b508161138257604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461139790611932565b90600052602060002090601f0160209004810192826113b957600085556113ff565b82601f106113d257805160ff19168380011785556113ff565b828001600101855582156113ff579182015b828111156113ff5782518255916020019190600101906113e4565b5061140b92915061140f565b5090565b5b8082111561140b5760008155600101611410565b600067ffffffffffffffff8084111561143f5761143f611983565b604051601f8501601f19908116603f0116810190828211818310171561146757611467611983565b8160405280935085815286868601111561148057600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146114b157600080fd5b919050565b6000602082840312156114c857600080fd5b610f268261149a565b600080604083850312156114e457600080fd5b6114ed8361149a565b91506114fb6020840161149a565b90509250929050565b60008060006060848603121561151957600080fd5b6115228461149a565b92506115306020850161149a565b9150604084013590509250925092565b6000806000806080858703121561155657600080fd5b61155f8561149a565b935061156d6020860161149a565b925060408501359150606085013567ffffffffffffffff81111561159057600080fd5b8501601f810187136115a157600080fd5b6115b087823560208401611424565b91505092959194509250565b600080604083850312156115cf57600080fd5b6115d88361149a565b915060208301356115e881611999565b809150509250929050565b6000806040838503121561160657600080fd5b61160f8361149a565b946020939093013593505050565b60006020828403121561162f57600080fd5b8151610f2681611999565b60006020828403121561164c57600080fd5b8135610f26816119a7565b60006020828403121561166957600080fd5b8151610f26816119a7565b60006020828403121561168657600080fd5b813567ffffffffffffffff81111561169d57600080fd5b8201601f810184136116ae57600080fd5b61122684823560208401611424565b600080604083850312156116d057600080fd5b823561ffff811681146114ed57600080fd5b6000602082840312156116f457600080fd5b5035919050565b6000806040838503121561170e57600080fd5b50508035926020909101359150565b60008151808452611735816020860160208601611906565b601f01601f19169290920160200192915050565b6000815161175b818560208601611906565b9290920192915050565b600080845481600182811c91508083168061178157607f831692505b60208084108214156117a157634e487b7160e01b86526022600452602486fd5b8180156117b557600181146117c6576117f3565b60ff198616895284890196506117f3565b60008b81526020902060005b868110156117eb5781548b8201529085019083016117d2565b505084890196505b5050505050506118176118068286611749565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118539083018461171d565b9695505050505050565b602081526000610f26602083018461171d565b600061ffff80831681851680830382111561188d5761188d61196d565b01949350505050565b600082198211156118a9576118a961196d565b500190565b6000826118cb57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156118ea576118ea61196d565b500290565b6000828210156119015761190161196d565b500390565b60005b83811015611921578181015183820152602001611909565b838111156107715750506000910152565b600181811c9082168061194657607f821691505b6020821081141561196757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146107f157600080fd5b6001600160e01b0319811681146107f157600080fdfea2646970667358221220c3d9c5b8ee9466e6dffefe04fb1ab0240100eb43fb834909382459673648bca364736f6c63430008070033697066733a2f2f516d5763506b75726745653350644541506638417352787734466f354372376d79354b46537333486d70727665652f
Deployed Bytecode
0x6080604052600436106101665760003560e01c806370a08231116100d1578063b88d4fde1161008a578063d5f7ec8d11610064578063d5f7ec8d146103f5578063de6cf0ee14610415578063e985e9c51461042a578063f968adbe1461047357600080fd5b8063b88d4fde146103ac578063c87b56dd146103bf578063d5abeb01146103df57600080fd5b806370a082311461030e57806395d89b411461032e5780639b642de114610343578063a035b1fe14610363578063a0712d6814610379578063a22cb4651461038c57600080fd5b80632a55205a116101235780632a55205a146102455780633ccfd60b1461028457806341f43434146102995780634209a2e1146102bb57806342842e0e146102db5780636352211e146102ee57600080fd5b806301ffc9a71461016b57806306fdde03146101a0578063081812fc146101c2578063095ea7b3146101fa57806318160ddd1461020f57806323b872dd14610232575b600080fd5b34801561017757600080fd5b5061018b61018636600461163a565b610489565b60405190151581526020015b60405180910390f35b3480156101ac57600080fd5b506101b56104db565b604051610197919061185d565b3480156101ce57600080fd5b506101e26101dd3660046116e2565b61056d565b6040516001600160a01b039091168152602001610197565b61020d6102083660046115f3565b6105b1565b005b34801561021b57600080fd5b50600154600054035b604051908152602001610197565b61020d610240366004611504565b61068e565b34801561025157600080fd5b506102656102603660046116fb565b610777565b604080516001600160a01b039093168352602083019190915201610197565b34801561029057600080fd5b5061020d6107ae565b3480156102a557600080fd5b506101e26daaeb6d7670e522a718067333cd4e81565b3480156102c757600080fd5b5061020d6102d63660046116e2565b6107f4565b61020d6102e9366004611504565b610810565b3480156102fa57600080fd5b506101e26103093660046116e2565b6108ee565b34801561031a57600080fd5b506102246103293660046114b6565b6108f9565b34801561033a57600080fd5b506101b5610948565b34801561034f57600080fd5b5061020d61035e366004611674565b610957565b34801561036f57600080fd5b50610224600a5481565b61020d6103873660046116e2565b610985565b34801561039857600080fd5b5061020d6103a73660046115bc565b6109c3565b61020d6103ba366004611540565b610a96565b3480156103cb57600080fd5b506101b56103da3660046116e2565b610b82565b3480156103eb57600080fd5b5061022460085481565b34801561040157600080fd5b5061020d6104103660046116bd565b610bb6565b34801561042157600080fd5b5061020d610c42565b34801561043657600080fd5b5061018b6104453660046114d1565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561047f57600080fd5b5061022460095481565b60006301ffc9a760e01b6001600160e01b0319831614806104ba57506380ac58cd60e01b6001600160e01b03198316145b806104d55750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104ea90611932565b80601f016020809104026020016040519081016040528092919081815260200182805461051690611932565b80156105635780601f1061053857610100808354040283529160200191610563565b820191906000526020600020905b81548152906001019060200180831161054657829003601f168201915b5050505050905090565b600061057882610c6d565b610595576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1561067f57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561061a57600080fd5b505afa15801561062e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610652919061161d565b61067f57604051633b79c77360e21b81526001600160a01b03821660048201526024015b60405180910390fd5b6106898383610c94565b505050565b826daaeb6d7670e522a718067333cd4e3b15610766576001600160a01b0381163314156106c5576106c0848484610d34565b610771565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561070f57600080fd5b505afa158015610723573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610747919061161d565b61076657604051633b79c77360e21b8152336004820152602401610676565b610771848484610d34565b50505050565b60008060006103e86010548561078d91906118d0565b61079791906118ae565b600f546001600160a01b0316969095509350505050565b600f546001600160a01b031633146107c557600080fd5b60405133904780156108fc02916000818181858888f193505050501580156107f1573d6000803e3d6000fd5b50565b600f546001600160a01b0316331461080b57600080fd5b601055565b826daaeb6d7670e522a718067333cd4e3b156108e3576001600160a01b038116331415610842576106c0848484610ec5565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561088c57600080fd5b505afa1580156108a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c4919061161d565b6108e357604051633b79c77360e21b8152336004820152602401610676565b610771848484610ec5565b60006104d582610ee0565b60006001600160a01b038216610922576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546104ea90611932565b600f546001600160a01b0316331461096e57600080fd5b805161098190600e90602084019061138b565b5050565b600854816109966001546000540390565b6109a09190611896565b11156109ab57600080fd5b6009548111156109ba57600080fd5b6107f181610f48565b816daaeb6d7670e522a718067333cd4e3b15610a8c57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610a2c57600080fd5b505afa158015610a40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a64919061161d565b610a8c57604051633b79c77360e21b81526001600160a01b0382166004820152602401610676565b610689838361101e565b836daaeb6d7670e522a718067333cd4e3b15610b6f576001600160a01b038116331415610ace57610ac98585858561108a565b610b7b565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610b1857600080fd5b505afa158015610b2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b50919061161d565b610b6f57604051633b79c77360e21b8152336004820152602401610676565b610b7b8585858561108a565b5050505050565b6060600e610b8f836110ce565b604051602001610ba0929190611765565b6040516020818303038152906040529050919050565b600f546001600160a01b03163314610bcd57600080fd5b6000610bdc6001546000540390565b600854909150610bec8483611870565b61ffff161115610c345760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b6044820152606401610676565b610689828461ffff1661111c565b600f546001600160a01b03163314610c5957600080fd5b600d805460ff19811660ff90911615179055565b60008054821080156104d5575050600090815260046020526040902054600160e01b161590565b6000610c9f826108ee565b9050336001600160a01b03821614610cd857610cbb8133610445565b610cd8576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610d3f82610ee0565b9050836001600160a01b0316816001600160a01b031614610d725760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610dbf57610da28633610445565b610dbf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610de657604051633a954ecd60e21b815260040160405180910390fd5b8015610df157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610e7c5760018401600081815260046020526040902054610e7a576000548114610e7a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61068983838360405180602001604052806000815250610a96565b600081600054811015610f2f57600081815260046020526040902054600160e01b8116610f2d575b80610f26575060001901600081815260046020526040902054610f08565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b333214610f5457600080fd5b34610ffb576000600c610f6a6001546000540390565b600854610f7791906118ef565b610f8191906118ae565b436000908152600b60205260409020549091508190610fa1906001611896565b1115610fac57600080fd5b600d5460ff1615610fca57610fc0336108f9565b15610fca57600080fd5b436000908152600b60205260408120805460019290610fea908490611896565b90915550610981905033600161111c565b600a5461100890826118d0565b34101561101457600080fd5b6107f1338261111c565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61109584848461068e565b6001600160a01b0383163b15610771576110b184848484611136565b610771576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806111055761110a565b6110e8565b50819003601f19909101908152919050565b61098182826040518060200160405280600081525061122e565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061116b903390899088908890600401611820565b602060405180830381600087803b15801561118557600080fd5b505af19250505080156111b5575060408051601f3d908101601f191682019092526111b291810190611657565b60015b611210573d8080156111e3576040519150601f19603f3d011682016040523d82523d6000602084013e6111e8565b606091505b508051611208576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6112388383611294565b6001600160a01b0383163b15610689576000548281035b6112626000868380600101945086611136565b61127f576040516368d2bf6b60e11b815260040160405180910390fd5b81811061124f578160005414610b7b57600080fd5b600054816112b55760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461136457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161132c565b508161138257604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461139790611932565b90600052602060002090601f0160209004810192826113b957600085556113ff565b82601f106113d257805160ff19168380011785556113ff565b828001600101855582156113ff579182015b828111156113ff5782518255916020019190600101906113e4565b5061140b92915061140f565b5090565b5b8082111561140b5760008155600101611410565b600067ffffffffffffffff8084111561143f5761143f611983565b604051601f8501601f19908116603f0116810190828211818310171561146757611467611983565b8160405280935085815286868601111561148057600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146114b157600080fd5b919050565b6000602082840312156114c857600080fd5b610f268261149a565b600080604083850312156114e457600080fd5b6114ed8361149a565b91506114fb6020840161149a565b90509250929050565b60008060006060848603121561151957600080fd5b6115228461149a565b92506115306020850161149a565b9150604084013590509250925092565b6000806000806080858703121561155657600080fd5b61155f8561149a565b935061156d6020860161149a565b925060408501359150606085013567ffffffffffffffff81111561159057600080fd5b8501601f810187136115a157600080fd5b6115b087823560208401611424565b91505092959194509250565b600080604083850312156115cf57600080fd5b6115d88361149a565b915060208301356115e881611999565b809150509250929050565b6000806040838503121561160657600080fd5b61160f8361149a565b946020939093013593505050565b60006020828403121561162f57600080fd5b8151610f2681611999565b60006020828403121561164c57600080fd5b8135610f26816119a7565b60006020828403121561166957600080fd5b8151610f26816119a7565b60006020828403121561168657600080fd5b813567ffffffffffffffff81111561169d57600080fd5b8201601f810184136116ae57600080fd5b61122684823560208401611424565b600080604083850312156116d057600080fd5b823561ffff811681146114ed57600080fd5b6000602082840312156116f457600080fd5b5035919050565b6000806040838503121561170e57600080fd5b50508035926020909101359150565b60008151808452611735816020860160208601611906565b601f01601f19169290920160200192915050565b6000815161175b818560208601611906565b9290920192915050565b600080845481600182811c91508083168061178157607f831692505b60208084108214156117a157634e487b7160e01b86526022600452602486fd5b8180156117b557600181146117c6576117f3565b60ff198616895284890196506117f3565b60008b81526020902060005b868110156117eb5781548b8201529085019083016117d2565b505084890196505b5050505050506118176118068286611749565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118539083018461171d565b9695505050505050565b602081526000610f26602083018461171d565b600061ffff80831681851680830382111561188d5761188d61196d565b01949350505050565b600082198211156118a9576118a961196d565b500190565b6000826118cb57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156118ea576118ea61196d565b500290565b6000828210156119015761190161196d565b500390565b60005b83811015611921578181015183820152602001611909565b838111156107715750506000910152565b600181811c9082168061194657607f821691505b6020821081141561196757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146107f157600080fd5b6001600160e01b0319811681146107f157600080fdfea2646970667358221220c3d9c5b8ee9466e6dffefe04fb1ab0240100eb43fb834909382459673648bca364736f6c63430008070033
Deployed Bytecode Sourcemap
57080:3336:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18680:639;;;;;;;;;;-1:-1:-1;18680:639:0;;;;;:::i;:::-;;:::i;:::-;;;8195:14:1;;8188:22;8170:41;;8158:2;8143:18;18680:639:0;;;;;;;;19582:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26073:218::-;;;;;;;;;;-1:-1:-1;26073:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6905:32:1;;;6887:51;;6875:2;6860:18;26073:218:0;6741:203:1;59629:165:0;;;;;;:::i;:::-;;:::i;:::-;;15333:323;;;;;;;;;;-1:-1:-1;15607:12:0;;15394:7;15591:13;:28;15333:323;;;9180:25:1;;;9168:2;9153:18;15333:323:0;9034:177:1;59802:171:0;;;;;;:::i;:::-;;:::i;58849:218::-;;;;;;;;;;-1:-1:-1;58849:218:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;7943:32:1;;;7925:51;;8007:2;7992:18;;7985:34;;;;7898:18;58849:218:0;7751:274:1;59247:109:0;;;;;;;;;;;;;:::i;54449:143::-;;;;;;;;;;;;54549:42;54449:143;;58761:80;;;;;;;;;;-1:-1:-1;58761:80:0;;;;;:::i;:::-;;:::i;59981:179::-;;;;;;:::i;:::-;;:::i;20975:152::-;;;;;;;;;;-1:-1:-1;20975:152:0;;;;;:::i;:::-;;:::i;16517:233::-;;;;;;;;;;-1:-1:-1;16517:233:0;;;;;:::i;:::-;;:::i;19758:104::-;;;;;;;;;;;;;:::i;57617:84::-;;;;;;;;;;-1:-1:-1;57617:84:0;;;;;:::i;:::-;;:::i;57218:34::-;;;;;;;;;;;;;;;;57359:174;;;;;;:::i;:::-;;:::i;59445:176::-;;;;;;;;;;-1:-1:-1;59445:176:0;;;;;:::i;:::-;;:::i;60168:245::-;;;;;;:::i;:::-;;:::i;59075:164::-;;;;;;;;;;-1:-1:-1;59075:164:0;;;;;:::i;:::-;;:::i;57141:31::-;;;;;;;;;;;;;;;;58462:264;;;;;;;;;;-1:-1:-1;58462:264:0;;;;;:::i;:::-;;:::i;59368:69::-;;;;;;;;;;;;;:::i;27022:164::-;;;;;;;;;;-1:-1:-1;27022:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27143:25:0;;;27119:4;27143:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27022:164;57179:28;;;;;;;;;;;;;;;;18680:639;18765:4;-1:-1:-1;;;;;;;;;19089:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;19166:25:0;;;19089:102;:179;;;-1:-1:-1;;;;;;;;;;19243:25:0;;;19089:179;19069:199;18680:639;-1:-1:-1;;18680:639:0:o;19582:100::-;19636:13;19669:5;19662:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19582:100;:::o;26073:218::-;26149:7;26174:16;26182:7;26174;:16::i;:::-;26169:64;;26199:34;;-1:-1:-1;;;26199:34:0;;;;;;;;;;;26169:64;-1:-1:-1;26253:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26253:30:0;;26073:218::o;59629:165::-;59733:8;54549:42;56443:45;:49;56439:225;;56514:67;;-1:-1:-1;;;56514:67:0;;56565:4;56514:67;;;7161:34:1;-1:-1:-1;;;;;7231:15:1;;7211:18;;;7204:43;54549:42:0;;56514;;7096:18:1;;56514:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56509:144;;56609:28;;-1:-1:-1;;;56609:28:0;;-1:-1:-1;;;;;6905:32:1;;56609:28:0;;;6887:51:1;6860:18;;56609:28:0;;;;;;;;56509:144;59754:32:::1;59768:8;59778:7;59754:13;:32::i;:::-;59629:165:::0;;;:::o;59802:171::-;59911:4;54549:42;55697:45;:49;55693:539;;-1:-1:-1;;;;;55978:18:0;;55986:10;55978:18;55974:85;;;59928:37:::1;59947:4;59953:2;59957:7;59928:18;:37::i;:::-;56037:7:::0;;55974:85;56078:69;;-1:-1:-1;;;56078:69:0;;56129:4;56078:69;;;7161:34:1;56136:10:0;7211:18:1;;;7204:43;54549:42:0;;56078;;7096:18:1;;56078:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56073:148;;56175:30;;-1:-1:-1;;;56175:30:0;;56194:10;56175:30;;;6887:51:1;6860:18;;56175:30:0;6741:203:1;56073:148:0;59928:37:::1;59947:4;59953:2;59957:7;59928:18;:37::i;:::-;59802:171:::0;;;;:::o;58849:218::-;58937:7;58946;58966:21;59015:4;59004:7;;58991:10;:20;;;;:::i;:::-;58990:29;;;;:::i;:::-;59038:5;;-1:-1:-1;;;;;59038:5:0;;58966:53;;-1:-1:-1;58849:218:0;-1:-1:-1;;;;58849:218:0:o;59247:109::-;57767:5;;-1:-1:-1;;;;;57767:5:0;57776:10;57767:19;57759:28;;;;;;59297:51:::1;::::0;59305:10:::1;::::0;59326:21:::1;59297:51:::0;::::1;;;::::0;::::1;::::0;;;59326:21;59305:10;59297:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;59247:109::o:0;58761:80::-;57767:5;;-1:-1:-1;;;;;57767:5:0;57776:10;57767:19;57759:28;;;;;;58822:7:::1;:11:::0;58761:80::o;59981:179::-;60094:4;54549:42;55697:45;:49;55693:539;;-1:-1:-1;;;;;55978:18:0;;55986:10;55978:18;55974:85;;;60111:41:::1;60134:4;60140:2;60144:7;60111:22;:41::i;55974:85::-:0;56078:69;;-1:-1:-1;;;56078:69:0;;56129:4;56078:69;;;7161:34:1;56136:10:0;7211:18:1;;;7204:43;54549:42:0;;56078;;7096:18:1;;56078:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56073:148;;56175:30;;-1:-1:-1;;;56175:30:0;;56194:10;56175:30;;;6887:51:1;6860:18;;56175:30:0;6741:203:1;56073:148:0;60111:41:::1;60134:4;60140:2;60144:7;60111:22;:41::i;20975:152::-:0;21047:7;21090:27;21109:7;21090:18;:27::i;16517:233::-;16589:7;-1:-1:-1;;;;;16613:19:0;;16609:60;;16641:28;;-1:-1:-1;;;16641:28:0;;;;;;;;;;;16609:60;-1:-1:-1;;;;;;16687:25:0;;;;;:18;:25;;;;;;10676:13;16687:55;;16517:233::o;19758:104::-;19814:13;19847:7;19840:14;;;;;:::i;57617:84::-;57767:5;;-1:-1:-1;;;;;57767:5:0;57776:10;57767:19;57759:28;;;;;;57683:10;;::::1;::::0;:3:::1;::::0;:10:::1;::::0;::::1;::::0;::::1;:::i;:::-;;57617:84:::0;:::o;57359:174::-;57449:9;;57439:6;57423:13;15607:12;;15394:7;15591:13;:28;;15333:323;57423:13;:22;;;;:::i;:::-;:35;;57415:44;;;;;;57488:8;;57478:6;:18;;57470:27;;;;;;57508:17;57518:6;57508:9;:17::i;59445:176::-;59549:8;54549:42;56443:45;:49;56439:225;;56514:67;;-1:-1:-1;;;56514:67:0;;56565:4;56514:67;;;7161:34:1;-1:-1:-1;;;;;7231:15:1;;7211:18;;;7204:43;54549:42:0;;56514;;7096:18:1;;56514:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56509:144;;56609:28;;-1:-1:-1;;;56609:28:0;;-1:-1:-1;;;;;6905:32:1;;56609:28:0;;;6887:51:1;6860:18;;56609:28:0;6741:203:1;56509:144:0;59570:43:::1;59594:8;59604;59570:23;:43::i;60168:245::-:0;60336:4;54549:42;55697:45;:49;55693:539;;-1:-1:-1;;;;;55978:18:0;;55986:10;55978:18;55974:85;;;60358:47:::1;60381:4;60387:2;60391:7;60400:4;60358:22;:47::i;:::-;56037:7:::0;;55974:85;56078:69;;-1:-1:-1;;;56078:69:0;;56129:4;56078:69;;;7161:34:1;56136:10:0;7211:18:1;;;7204:43;54549:42:0;;56078;;7096:18:1;;56078:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56073:148;;56175:30;;-1:-1:-1;;;56175:30:0;;56194:10;56175:30;;;6887:51:1;6860:18;;56175:30:0;6741:203:1;56073:148:0;60358:47:::1;60381:4;60387:2;60391:7;60400:4;60358:22;:47::i;:::-;60168:245:::0;;;;;:::o;59075:164::-;59140:13;59197:3;59202:18;59212:7;59202:9;:18::i;:::-;59180:50;;;;;;;;;:::i;:::-;;;;;;;;;;;;;59166:65;;59075:164;;;:::o;58462:264::-;57767:5;;-1:-1:-1;;;;;57767:5:0;57776:10;57767:19;57759:28;;;;;;58550:18:::1;58578:13;15607:12:::0;;15394:7;15591:13;:28;;15333:323;58578:13:::1;58640:9;::::0;58550:42;;-1:-1:-1;58611:25:0::1;58625:11:::0;58550:42;58611:25:::1;:::i;:::-;:38;;;;58603:70;;;::::0;-1:-1:-1;;;58603:70:0;;8888:2:1;58603:70:0::1;::::0;::::1;8870:21:1::0;8927:2;8907:18;;;8900:30;-1:-1:-1;;;8946:18:1;;;8939:49;9005:18;;58603:70:0::1;8686:343:1::0;58603:70:0::1;58684:34;58694:9;58706:11;58684:34;;:9;:34::i;59368:69::-:0;57767:5;;-1:-1:-1;;;;;57767:5:0;57776:10;57767:19;57759:28;;;;;;59425:4:::1;::::0;;-1:-1:-1;;59417:12:0;::::1;59425:4;::::0;;::::1;59424:5;59417:12;::::0;;59368:69::o;27444:282::-;27509:4;27599:13;;27589:7;:23;27546:153;;;;-1:-1:-1;;27650:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27650:44:0;:49;;27444:282::o;25506:408::-;25595:13;25611:16;25619:7;25611;:16::i;:::-;25595:32;-1:-1:-1;49839:10:0;-1:-1:-1;;;;;25644:28:0;;;25640:175;;25692:44;25709:5;49839:10;27022:164;:::i;25692:44::-;25687:128;;25764:35;;-1:-1:-1;;;25764:35:0;;;;;;;;;;;25687:128;25827:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25827:35:0;-1:-1:-1;;;;;25827:35:0;;;;;;;;;25878:28;;25827:24;;25878:28;;;;;;;25584:330;25506:408;;:::o;29712:2825::-;29854:27;29884;29903:7;29884:18;:27::i;:::-;29854:57;;29969:4;-1:-1:-1;;;;;29928:45:0;29944:19;-1:-1:-1;;;;;29928:45:0;;29924:86;;29982:28;;-1:-1:-1;;;29982:28:0;;;;;;;;;;;29924:86;30024:27;28820:24;;;:15;:24;;;;;29048:26;;49839:10;28445:30;;;-1:-1:-1;;;;;28138:28:0;;28423:20;;;28420:56;30210:180;;30303:43;30320:4;49839:10;27022:164;:::i;30303:43::-;30298:92;;30355:35;;-1:-1:-1;;;30355:35:0;;;;;;;;;;;30298:92;-1:-1:-1;;;;;30407:16:0;;30403:52;;30432:23;;-1:-1:-1;;;30432:23:0;;;;;;;;;;;30403:52;30604:15;30601:160;;;30744:1;30723:19;30716:30;30601:160;-1:-1:-1;;;;;31141:24:0;;;;;;;:18;:24;;;;;;31139:26;;-1:-1:-1;;31139:26:0;;;31210:22;;;;;;;;;31208:24;;-1:-1:-1;31208:24:0;;;24364:11;24339:23;24335:41;24322:63;-1:-1:-1;;;24322:63:0;31503:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;31798:47:0;;31794:627;;31903:1;31893:11;;31871:19;32026:30;;;:17;:30;;;;;;32022:384;;32164:13;;32149:11;:28;32145:242;;32311:30;;;;:17;:30;;;;;:52;;;32145:242;31852:569;31794:627;32468:7;32464:2;-1:-1:-1;;;;;32449:27:0;32458:4;-1:-1:-1;;;;;32449:27:0;;;;;;;;;;;29843:2694;;;29712:2825;;;:::o;32633:193::-;32779:39;32796:4;32802:2;32806:7;32779:39;;;;;;;;;;;;:16;:39::i;22130:1275::-;22197:7;22232;22334:13;;22327:4;:20;22323:1015;;;22372:14;22389:23;;;:17;:23;;;;;;-1:-1:-1;;;22478:24:0;;22474:845;;23143:113;23150:11;23143:113;;-1:-1:-1;;;23221:6:0;23203:25;;;;:17;:25;;;;;;23143:113;;;23289:6;22130:1275;-1:-1:-1;;;22130:1275:0:o;22474:845::-;22349:989;22323:1015;23366:31;;-1:-1:-1;;;23366:31:0;;;;;;;;;;;57906:548;57969:10;57983:9;57969:23;57961:32;;;;;;58008:9;58004:356;;58039:15;58087:2;58070:13;15607:12;;15394:7;15591:13;:28;;15333:323;58070:13;58058:9;;:25;;;;:::i;:::-;58057:32;;;;:::i;:::-;58122:12;58112:23;;;;:9;:23;;;;;;58039:50;;-1:-1:-1;58039:50:0;;58112:27;;58138:1;58112:27;:::i;:::-;:38;;58104:47;;;;;;58170:4;;;;58166:80;;;58203:21;58213:10;58203:9;:21::i;:::-;:26;58195:35;;;;;;58270:12;58260:23;;;;:9;:23;;;;;:28;;58287:1;;58260:23;:28;;58287:1;;58260:28;:::i;:::-;;;;-1:-1:-1;58303:24:0;;-1:-1:-1;58313:10:0;58325:1;58303:9;:24::i;58004:356::-;58400:5;;58391:14;;:6;:14;:::i;:::-;58378:9;:27;;58370:36;;;;;;58417:29;58427:10;58439:6;58417:9;:29::i;26631:234::-;49839:10;26726:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26726:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26726:60:0;;;;;;;;;;26802:55;;8170:41:1;;;26726:49:0;;49839:10;26802:55;;8143:18:1;26802:55:0;;;;;;;26631:234;;:::o;33424:407::-;33599:31;33612:4;33618:2;33622:7;33599:12;:31::i;:::-;-1:-1:-1;;;;;33645:14:0;;;:19;33641:183;;33684:56;33715:4;33721:2;33725:7;33734:5;33684:30;:56::i;:::-;33679:145;;33768:40;;-1:-1:-1;;;33768:40:0;;;;;;;;;;;49959:1745;50024:17;50458:4;50451;50445:11;50441:22;50550:1;50544:4;50537:15;50625:4;50622:1;50618:12;50611:19;;;50707:1;50702:3;50695:14;50811:3;51050:5;51032:428;51098:1;51093:3;51089:11;51082:18;;51269:2;51263:4;51259:13;51255:2;51251:22;51246:3;51238:36;51363:2;51353:13;;;51420:25;;51438:5;;51420:25;51032:428;;;-1:-1:-1;51490:13:0;;;-1:-1:-1;;51605:14:0;;;51667:19;;;51605:14;49959:1745;-1:-1:-1;49959:1745:0:o;43584:112::-;43661:27;43671:2;43675:8;43661:27;;;;;;;;;;;;:9;:27::i;35915:716::-;36099:88;;-1:-1:-1;;;36099:88:0;;36078:4;;-1:-1:-1;;;;;36099:45:0;;;;;:88;;49839:10;;36166:4;;36172:7;;36181:5;;36099:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36099:88:0;;;;;;;;-1:-1:-1;;36099:88:0;;;;;;;;;;;;:::i;:::-;;;36095:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36382:13:0;;36378:235;;36428:40;;-1:-1:-1;;;36428:40:0;;;;;;;;;;;36378:235;36571:6;36565:13;36556:6;36552:2;36548:15;36541:38;36095:529;-1:-1:-1;;;;;;36258:64:0;-1:-1:-1;;;36258:64:0;;-1:-1:-1;36095:529:0;35915:716;;;;;;:::o;42811:689::-;42942:19;42948:2;42952:8;42942:5;:19::i;:::-;-1:-1:-1;;;;;43003:14:0;;;:19;42999:483;;43043:11;43057:13;43105:14;;;43138:233;43169:62;43208:1;43212:2;43216:7;;;;;;43225:5;43169:30;:62::i;:::-;43164:167;;43267:40;;-1:-1:-1;;;43267:40:0;;;;;;;;;;;43164:167;43366:3;43358:5;:11;43138:233;;43453:3;43436:13;;:20;43432:34;;43458:8;;;37093:2966;37166:20;37189:13;37217;37213:44;;37239:18;;-1:-1:-1;;;37239:18:0;;;;;;;;;;;37213:44;-1:-1:-1;;;;;37745:22:0;;;;;;:18;:22;;;;10814:2;37745:22;;;:71;;37783:32;37771:45;;37745:71;;;38059:31;;;:17;:31;;;;;-1:-1:-1;24795:15:0;;24769:24;24765:46;24364:11;24339:23;24335:41;24332:52;24322:63;;38059:173;;38294:23;;;;38059:31;;37745:22;;39059:25;37745:22;;38912:335;39573:1;39559:12;39555:20;39513:346;39614:3;39605:7;39602:16;39513:346;;39832:7;39822:8;39819:1;39792:25;39789:1;39786;39781:59;39667:1;39654:15;39513:346;;;-1:-1:-1;39892:13:0;39888:45;;39914:19;;-1:-1:-1;;;39914:19:0;;;;;;;;;;;39888:45;39950:13;:19;-1:-1:-1;59629:165: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:315::-;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;2545:28;2567:5;2545:28;:::i;:::-;2592:5;2582:15;;;2288:315;;;;;:::o;2608:254::-;2676:6;2684;2737:2;2725:9;2716:7;2712:23;2708:32;2705:52;;;2753:1;2750;2743:12;2705:52;2776:29;2795:9;2776:29;:::i;:::-;2766:39;2852:2;2837:18;;;;2824:32;;-1:-1:-1;;;2608:254:1:o;2867:245::-;2934:6;2987:2;2975:9;2966:7;2962:23;2958:32;2955:52;;;3003:1;3000;2993:12;2955:52;3035:9;3029:16;3054:28;3076:5;3054:28;:::i;3117:245::-;3175:6;3228:2;3216:9;3207:7;3203:23;3199:32;3196:52;;;3244:1;3241;3234:12;3196:52;3283:9;3270:23;3302:30;3326:5;3302:30;:::i;3367:249::-;3436:6;3489:2;3477:9;3468:7;3464:23;3460:32;3457:52;;;3505:1;3502;3495:12;3457:52;3537:9;3531:16;3556:30;3580:5;3556:30;:::i;3621:450::-;3690:6;3743:2;3731:9;3722:7;3718:23;3714:32;3711:52;;;3759:1;3756;3749:12;3711:52;3799:9;3786:23;3832:18;3824:6;3821:30;3818:50;;;3864:1;3861;3854:12;3818:50;3887:22;;3940:4;3932:13;;3928:27;-1:-1:-1;3918:55:1;;3969:1;3966;3959:12;3918:55;3992:73;4057:7;4052:2;4039:16;4034:2;4030;4026:11;3992:73;:::i;4076:346::-;4143:6;4151;4204:2;4192:9;4183:7;4179:23;4175:32;4172:52;;;4220:1;4217;4210:12;4172:52;4259:9;4246:23;4309:6;4302:5;4298:18;4291:5;4288:29;4278:57;;4331:1;4328;4321:12;4427:180;4486:6;4539:2;4527:9;4518:7;4514:23;4510:32;4507:52;;;4555:1;4552;4545:12;4507:52;-1:-1:-1;4578:23:1;;4427:180;-1:-1:-1;4427:180:1:o;4612:248::-;4680:6;4688;4741:2;4729:9;4720:7;4716:23;4712:32;4709:52;;;4757:1;4754;4747:12;4709:52;-1:-1:-1;;4780:23:1;;;4850:2;4835:18;;;4822:32;;-1:-1:-1;4612:248:1:o;4865:257::-;4906:3;4944:5;4938:12;4971:6;4966:3;4959:19;4987:63;5043:6;5036:4;5031:3;5027:14;5020:4;5013:5;5009:16;4987:63;:::i;:::-;5104:2;5083:15;-1:-1:-1;;5079:29:1;5070:39;;;;5111:4;5066:50;;4865:257;-1:-1:-1;;4865:257:1:o;5127:185::-;5169:3;5207:5;5201:12;5222:52;5267:6;5262:3;5255:4;5248:5;5244:16;5222:52;:::i;:::-;5290:16;;;;;5127:185;-1:-1:-1;;5127:185:1:o;5435:1301::-;5712:3;5741:1;5774:6;5768:13;5804:3;5826:1;5854:9;5850:2;5846:18;5836:28;;5914:2;5903:9;5899:18;5936;5926:61;;5980:4;5972:6;5968:17;5958:27;;5926:61;6006:2;6054;6046:6;6043:14;6023:18;6020:38;6017:165;;;-1:-1:-1;;;6081:33:1;;6137:4;6134:1;6127:15;6167:4;6088:3;6155:17;6017:165;6198:18;6225:104;;;;6343:1;6338:320;;;;6191:467;;6225:104;-1:-1:-1;;6258:24:1;;6246:37;;6303:16;;;;-1:-1:-1;6225:104:1;;6338:320;9289:1;9282:14;;;9326:4;9313:18;;6433:1;6447:165;6461:6;6458:1;6455:13;6447:165;;;6539:14;;6526:11;;;6519:35;6582:16;;;;6476:10;;6447:165;;;6451:3;;6641:6;6636:3;6632:16;6625:23;;6191:467;;;;;;;6674:56;6699:30;6725:3;6717:6;6699:30;:::i;:::-;-1:-1:-1;;;5377:20:1;;5422:1;5413:11;;5317:113;6674:56;6667:63;5435:1301;-1:-1:-1;;;;;5435:1301:1:o;7258:488::-;-1:-1:-1;;;;;7527:15:1;;;7509:34;;7579:15;;7574:2;7559:18;;7552:43;7626:2;7611:18;;7604:34;;;7674:3;7669:2;7654:18;;7647:31;;;7452:4;;7695:45;;7720:19;;7712:6;7695:45;:::i;:::-;7687:53;7258:488;-1:-1:-1;;;;;;7258:488:1:o;8462:219::-;8611:2;8600:9;8593:21;8574:4;8631:44;8671:2;8660:9;8656:18;8648:6;8631:44;:::i;9342:224::-;9381:3;9409:6;9442:2;9439:1;9435:10;9472:2;9469:1;9465:10;9503:3;9499:2;9495:12;9490:3;9487:21;9484:47;;;9511:18;;:::i;:::-;9547:13;;9342:224;-1:-1:-1;;;;9342:224:1:o;9571:128::-;9611:3;9642:1;9638:6;9635:1;9632:13;9629:39;;;9648:18;;:::i;:::-;-1:-1:-1;9684:9:1;;9571:128::o;9704:217::-;9744:1;9770;9760:132;;9814:10;9809:3;9805:20;9802:1;9795:31;9849:4;9846:1;9839:15;9877:4;9874:1;9867:15;9760:132;-1:-1:-1;9906:9:1;;9704:217::o;9926:168::-;9966:7;10032:1;10028;10024:6;10020:14;10017:1;10014:21;10009:1;10002:9;9995:17;9991:45;9988:71;;;10039:18;;:::i;:::-;-1:-1:-1;10079:9:1;;9926:168::o;10099:125::-;10139:4;10167:1;10164;10161:8;10158:34;;;10172:18;;:::i;:::-;-1:-1:-1;10209:9:1;;10099:125::o;10229:258::-;10301:1;10311:113;10325:6;10322:1;10319:13;10311:113;;;10401:11;;;10395:18;10382:11;;;10375:39;10347:2;10340:10;10311:113;;;10442:6;10439:1;10436:13;10433:48;;;-1:-1:-1;;10477:1:1;10459:16;;10452:27;10229:258::o;10492:380::-;10571:1;10567:12;;;;10614;;;10635:61;;10689:4;10681:6;10677:17;10667:27;;10635:61;10742:2;10734:6;10731:14;10711:18;10708:38;10705:161;;;10788:10;10783:3;10779:20;10776:1;10769:31;10823:4;10820:1;10813:15;10851:4;10848:1;10841:15;10705:161;;10492:380;;;:::o;10877:127::-;10938:10;10933:3;10929:20;10926:1;10919:31;10969:4;10966:1;10959:15;10993:4;10990:1;10983:15;11009:127;11070:10;11065:3;11061:20;11058:1;11051:31;11101:4;11098:1;11091:15;11125:4;11122:1;11115:15;11141:118;11227:5;11220:13;11213:21;11206:5;11203:32;11193:60;;11249:1;11246;11239:12;11264:131;-1:-1:-1;;;;;;11338:32:1;;11328:43;;11318:71;;11385:1;11382;11375:12
Swarm Source
ipfs://c3d9c5b8ee9466e6dffefe04fb1ab0240100eb43fb834909382459673648bca3
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.