ERC-721
Overview
Max Total Supply
63 FCK
Holders
46
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 FCKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FACELESSKNIGHTSNFT
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-06 */ // SPDX-License-Identifier: MIT // File: contracts/IERC721A.sol // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 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`. * * 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 calldata data ) external; /** * @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 ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: contracts/ERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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 tokenId of the next token 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` 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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @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 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 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 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 returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ 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: 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. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view 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 auxillary 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 auxillary 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 { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * 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 ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * 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; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ 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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @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. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // 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 `_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)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // 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++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool 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)) } } } } /** * @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 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 returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/Faceless Knights.sol pragma solidity ^0.8.17; pragma solidity ^0.8.7; contract FACELESSKNIGHTSNFT is Ownable, ERC721A { uint256 public price = 0.009 ether; uint256 public max_supply = 111; bool public Battle = false; string private baseurl =""; mapping(address => uint256) public mintedAmount; constructor() ERC721A("FACELESS KNIGHTS", "FCK") { _safeMint(0x1e44415e651dd963997C74eF778cdd25db9e360d, 1); } function mint(uint256 _quantity) external payable mintCompliance(){ require(msg.value >= price * _quantity, "NO MONEY"); require(max_supply >= totalSupply() + _quantity,"SOLD OUT"); uint256 _mintedAmount = mintedAmount[msg.sender]; require(_mintedAmount + _quantity <= 2,"ONLY 2 PER ADDRESS MAX"); mintedAmount[msg.sender] = _mintedAmount + _quantity; _safeMint(msg.sender, _quantity); } function Fight() public onlyOwner { Battle = !Battle; } function setBaseURI(string calldata baseURI) external onlyOwner { baseurl = baseURI; } 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+1),".json")) : ''; } function _baseURI() internal view virtual override returns (string memory) { return baseurl; } function withdraw() public onlyOwner { ( bool os, ) = payable( owner() ) .call {value: address( this ).balance}( "" ); require( os ); } modifier mintCompliance() { require(Battle, "Sale is not active yet."); require(tx.origin == msg.sender, "Caller cannot be a contract."); _; } }
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":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"Battle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Fight","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"max_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
661ff973cafa8000600955606f600a55600b805460ff1916905560a060405260006080908152600c906200003490826200046f565b503480156200004257600080fd5b506040518060400160405280601081526020016f464143454c455353204b4e494748545360801b8152506040518060400160405280600381526020016246434b60e81b815250620000a26200009c620000f060201b60201c565b620000f4565b6003620000b083826200046f565b506004620000bf82826200046f565b5060006001908155620000ea9250731e44415e651dd963997c74ef778cdd25db9e360d915062000144565b620005e1565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620001668282604051806020016040528060008152506200016a60201b60201c565b5050565b6001546001600160a01b0384166200019457604051622e076360e81b815260040160405180910390fd5b82600003620001b65760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526006602090815260408083208054680100000000000000018902019055848352600590915290204260a01b86176001861460e11b1790558190818501903b1562000282575b60405182906001600160a01b0388169060009060008051602062001cb4833981519152908290a460018201916200024790600090889087620002d6565b62000265576040516368d2bf6b60e11b815260040160405180910390fd5b8082106200020a5782600154146200027c57600080fd5b620002b7565b5b6040516001830192906001600160a01b0388169060009060008051602062001cb4833981519152908290a480821062000283575b50600155620002d060008583866001600160e01b038516565b50505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906200030d9033908990889088906004016200053b565b6020604051808303816000875af19250505080156200034b575060408051601f3d908101601f191682019092526200034891810190620005ae565b60015b620003ad573d8080156200037c576040519150601f19603f3d011682016040523d82523d6000602084013e62000381565b606091505b508051600003620003a5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620003f557607f821691505b6020821081036200041657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200046a57600081815260208120601f850160051c81016020861015620004455750805b601f850160051c820191505b81811015620004665782815560010162000451565b5050505b505050565b81516001600160401b038111156200048b576200048b620003ca565b620004a3816200049c8454620003e0565b846200041c565b602080601f831160018114620004db5760008415620004c25750858301515b600019600386901b1c1916600185901b17855562000466565b600085815260208120601f198616915b828110156200050c57888601518255948401946001909101908401620004eb565b50858210156200052b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b828110156200058a5785810182015185820160a0015281016200056c565b5050600060a0828501015260a0601f19601f83011684010191505095945050505050565b600060208284031215620005c157600080fd5b81516001600160e01b031981168114620005da57600080fd5b9392505050565b6116c380620005f16000396000f3fe6080604052600436106101665760003560e01c8063715018a6116100d1578063a0712d681161008a578063c87b56dd11610064578063c87b56dd146103ea578063e985e9c51461040a578063f2fde38b1461042a578063fbbf8cc31461044a57600080fd5b8063a0712d6814610397578063a22cb465146103aa578063b88d4fde146103ca57600080fd5b8063715018a61461030e5780638a333b50146103235780638da5cb5b1461033957806395d89b411461035757806395ff2e7c1461036c578063a035b1fe1461038157600080fd5b806323b872dd1161012357806323b872dd146102595780633ccfd60b1461027957806342842e0e1461028e57806355f804b3146102ae5780636352211e146102ce57806370a08231146102ee57600080fd5b806301ffc9a71461016b57806306fdde03146101a0578063081812fc146101c2578063095ea7b3146101fa57806318160ddd1461021c57806319858da31461023f575b600080fd5b34801561017757600080fd5b5061018b610186366004611163565b610477565b60405190151581526020015b60405180910390f35b3480156101ac57600080fd5b506101b56104c9565b60405161019791906111d0565b3480156101ce57600080fd5b506101e26101dd3660046111e3565b61055b565b6040516001600160a01b039091168152602001610197565b34801561020657600080fd5b5061021a610215366004611218565b61059f565b005b34801561022857600080fd5b50600254600154035b604051908152602001610197565b34801561024b57600080fd5b50600b5461018b9060ff1681565b34801561026557600080fd5b5061021a610274366004611242565b610671565b34801561028557600080fd5b5061021a610681565b34801561029a57600080fd5b5061021a6102a9366004611242565b6106ec565b3480156102ba57600080fd5b5061021a6102c936600461127e565b610707565b3480156102da57600080fd5b506101e26102e93660046111e3565b61071c565b3480156102fa57600080fd5b506102316103093660046112f0565b610727565b34801561031a57600080fd5b5061021a610776565b34801561032f57600080fd5b50610231600a5481565b34801561034557600080fd5b506000546001600160a01b03166101e2565b34801561036357600080fd5b506101b561078a565b34801561037857600080fd5b5061021a610799565b34801561038d57600080fd5b5061023160095481565b61021a6103a53660046111e3565b6107b5565b3480156103b657600080fd5b5061021a6103c536600461130b565b610985565b3480156103d657600080fd5b5061021a6103e536600461135d565b610a1a565b3480156103f657600080fd5b506101b56104053660046111e3565b610a64565b34801561041657600080fd5b5061018b610425366004611439565b610af2565b34801561043657600080fd5b5061021a6104453660046112f0565b610b20565b34801561045657600080fd5b506102316104653660046112f0565b600d6020526000908152604090205481565b60006301ffc9a760e01b6001600160e01b0319831614806104a857506380ac58cd60e01b6001600160e01b03198316145b806104c35750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546104d89061146c565b80601f01602080910402602001604051908101604052809291908181526020018280546105049061146c565b80156105515780601f1061052657610100808354040283529160200191610551565b820191906000526020600020905b81548152906001019060200180831161053457829003601f168201915b5050505050905090565b600061056682610b96565b610583576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006105aa82610bbe565b9050806001600160a01b0316836001600160a01b0316036105de5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610615576105f88133610af2565b610615576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61067c838383610c25565b505050565b610689610dcd565b600080546040516001600160a01b039091169047908381818185875af1925050503d80600081146106d6576040519150601f19603f3d011682016040523d82523d6000602084013e6106db565b606091505b50509050806106e957600080fd5b50565b61067c83838360405180602001604052806000815250610a1a565b61070f610dcd565b600c61067c8284836114f4565b60006104c382610bbe565b60006001600160a01b038216610750576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b61077e610dcd565b6107886000610e27565b565b6060600480546104d89061146c565b6107a1610dcd565b600b805460ff19811660ff90911615179055565b600b5460ff1661080c5760405162461bcd60e51b815260206004820152601760248201527f53616c65206973206e6f7420616374697665207965742e00000000000000000060448201526064015b60405180910390fd5b32331461085b5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c65722063616e6e6f74206265206120636f6e74726163742e000000006044820152606401610803565b8060095461086991906115ca565b3410156108a35760405162461bcd60e51b81526020600482015260086024820152674e4f204d4f4e455960c01b6044820152606401610803565b806108b16002546001540390565b6108bb91906115e1565b600a5410156108f75760405162461bcd60e51b815260206004820152600860248201526714d3d3110813d55560c21b6044820152606401610803565b336000908152600d6020526040902054600261091383836115e1565b111561095a5760405162461bcd60e51b815260206004820152601660248201527509e9c98b2406440a08aa440828888a48aa6a6409a82b60531b6044820152606401610803565b61096482826115e1565b336000818152600d60205260409020919091556109819083610e77565b5050565b336001600160a01b038316036109ae5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a25848484610c25565b6001600160a01b0383163b15610a5e57610a4184848484610e91565b610a5e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a6f82610b96565b610a8c57604051630a14c4b560e41b815260040160405180910390fd5b6000610a96610f7c565b90508051600003610ab65760405180602001604052806000815250610aeb565b80610aca610ac58560016115e1565b610f8b565b604051602001610adb9291906115f4565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b610b28610dcd565b6001600160a01b038116610b8d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610803565b6106e981610e27565b6000600154821080156104c3575050600090815260056020526040902054600160e01b161590565b600081600154811015610c0c5760008181526005602052604081205490600160e01b82169003610c0a575b80600003610aeb575060001901600081815260056020526040902054610be9565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610c3082610bbe565b9050836001600160a01b0316816001600160a01b031614610c635760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610c815750610c818533610af2565b80610c9c575033610c918461055b565b6001600160a01b0316145b905080610cbc57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610ce357604051633a954ecd60e21b815260040160405180910390fd5b600083815260076020908152604080832080546001600160a01b03191690556001600160a01b038881168452600683528184208054600019019055871683528083208054600101905585835260059091528120600160e11b4260a01b8717811790915583169003610d8457600183016000818152600560205260408120549003610d82576001548114610d825760008181526005602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000546001600160a01b031633146107885760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610803565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610981828260405180602001604052806000815250610fda565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610ec6903390899088908890600401611633565b6020604051808303816000875af1925050508015610f01575060408051601f3d908101601f19168201909252610efe91810190611670565b60015b610f5f573d808015610f2f576040519150601f19603f3d011682016040523d82523d6000602084013e610f34565b606091505b508051600003610f57576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600c80546104d89061146c565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610fc857600183039250600a81066030018353600a9004610faa565b50819003601f19909101908152919050565b6001546001600160a01b03841661100357604051622e076360e81b815260040160405180910390fd5b826000036110245760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526006602090815260408083208054680100000000000000018902019055848352600590915290204260a01b86176001861460e11b1790558190818501903b156110f9575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46110c26000878480600101955087610e91565b6110df576040516368d2bf6b60e11b815260040160405180910390fd5b8082106110775782600154146110f457600080fd5b61113e565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106110fa575b50600155610a5e600085838684565b6001600160e01b0319811681146106e957600080fd5b60006020828403121561117557600080fd5b8135610aeb8161114d565b60005b8381101561119b578181015183820152602001611183565b50506000910152565b600081518084526111bc816020860160208601611180565b601f01601f19169290920160200192915050565b602081526000610aeb60208301846111a4565b6000602082840312156111f557600080fd5b5035919050565b80356001600160a01b038116811461121357600080fd5b919050565b6000806040838503121561122b57600080fd5b611234836111fc565b946020939093013593505050565b60008060006060848603121561125757600080fd5b611260846111fc565b925061126e602085016111fc565b9150604084013590509250925092565b6000806020838503121561129157600080fd5b823567ffffffffffffffff808211156112a957600080fd5b818501915085601f8301126112bd57600080fd5b8135818111156112cc57600080fd5b8660208285010111156112de57600080fd5b60209290920196919550909350505050565b60006020828403121561130257600080fd5b610aeb826111fc565b6000806040838503121561131e57600080fd5b611327836111fc565b91506020830135801515811461133c57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561137357600080fd5b61137c856111fc565b935061138a602086016111fc565b925060408501359150606085013567ffffffffffffffff808211156113ae57600080fd5b818701915087601f8301126113c257600080fd5b8135818111156113d4576113d4611347565b604051601f8201601f19908116603f011681019083821181831017156113fc576113fc611347565b816040528281528a602084870101111561141557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561144c57600080fd5b611455836111fc565b9150611463602084016111fc565b90509250929050565b600181811c9082168061148057607f821691505b6020821081036114a057634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561067c57600081815260208120601f850160051c810160208610156114cd5750805b601f850160051c820191505b818110156114ec578281556001016114d9565b505050505050565b67ffffffffffffffff83111561150c5761150c611347565b6115208361151a835461146c565b836114a6565b6000601f841160018114611554576000851561153c5750838201355b600019600387901b1c1916600186901b178355610dc6565b600083815260209020601f19861690835b828110156115855786850135825560209485019460019092019101611565565b50868210156115a25760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104c3576104c36115b4565b808201808211156104c3576104c36115b4565b60008351611606818460208801611180565b83519083019061161a818360208801611180565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611666908301846111a4565b9695505050505050565b60006020828403121561168257600080fd5b8151610aeb8161114d56fea26469706673582212207e97bb4bbe385f82a3507e107299d6da3e69560ec2c0fbde76b5b0c327601db764736f6c63430008110033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
Deployed Bytecode
0x6080604052600436106101665760003560e01c8063715018a6116100d1578063a0712d681161008a578063c87b56dd11610064578063c87b56dd146103ea578063e985e9c51461040a578063f2fde38b1461042a578063fbbf8cc31461044a57600080fd5b8063a0712d6814610397578063a22cb465146103aa578063b88d4fde146103ca57600080fd5b8063715018a61461030e5780638a333b50146103235780638da5cb5b1461033957806395d89b411461035757806395ff2e7c1461036c578063a035b1fe1461038157600080fd5b806323b872dd1161012357806323b872dd146102595780633ccfd60b1461027957806342842e0e1461028e57806355f804b3146102ae5780636352211e146102ce57806370a08231146102ee57600080fd5b806301ffc9a71461016b57806306fdde03146101a0578063081812fc146101c2578063095ea7b3146101fa57806318160ddd1461021c57806319858da31461023f575b600080fd5b34801561017757600080fd5b5061018b610186366004611163565b610477565b60405190151581526020015b60405180910390f35b3480156101ac57600080fd5b506101b56104c9565b60405161019791906111d0565b3480156101ce57600080fd5b506101e26101dd3660046111e3565b61055b565b6040516001600160a01b039091168152602001610197565b34801561020657600080fd5b5061021a610215366004611218565b61059f565b005b34801561022857600080fd5b50600254600154035b604051908152602001610197565b34801561024b57600080fd5b50600b5461018b9060ff1681565b34801561026557600080fd5b5061021a610274366004611242565b610671565b34801561028557600080fd5b5061021a610681565b34801561029a57600080fd5b5061021a6102a9366004611242565b6106ec565b3480156102ba57600080fd5b5061021a6102c936600461127e565b610707565b3480156102da57600080fd5b506101e26102e93660046111e3565b61071c565b3480156102fa57600080fd5b506102316103093660046112f0565b610727565b34801561031a57600080fd5b5061021a610776565b34801561032f57600080fd5b50610231600a5481565b34801561034557600080fd5b506000546001600160a01b03166101e2565b34801561036357600080fd5b506101b561078a565b34801561037857600080fd5b5061021a610799565b34801561038d57600080fd5b5061023160095481565b61021a6103a53660046111e3565b6107b5565b3480156103b657600080fd5b5061021a6103c536600461130b565b610985565b3480156103d657600080fd5b5061021a6103e536600461135d565b610a1a565b3480156103f657600080fd5b506101b56104053660046111e3565b610a64565b34801561041657600080fd5b5061018b610425366004611439565b610af2565b34801561043657600080fd5b5061021a6104453660046112f0565b610b20565b34801561045657600080fd5b506102316104653660046112f0565b600d6020526000908152604090205481565b60006301ffc9a760e01b6001600160e01b0319831614806104a857506380ac58cd60e01b6001600160e01b03198316145b806104c35750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546104d89061146c565b80601f01602080910402602001604051908101604052809291908181526020018280546105049061146c565b80156105515780601f1061052657610100808354040283529160200191610551565b820191906000526020600020905b81548152906001019060200180831161053457829003601f168201915b5050505050905090565b600061056682610b96565b610583576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006105aa82610bbe565b9050806001600160a01b0316836001600160a01b0316036105de5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610615576105f88133610af2565b610615576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61067c838383610c25565b505050565b610689610dcd565b600080546040516001600160a01b039091169047908381818185875af1925050503d80600081146106d6576040519150601f19603f3d011682016040523d82523d6000602084013e6106db565b606091505b50509050806106e957600080fd5b50565b61067c83838360405180602001604052806000815250610a1a565b61070f610dcd565b600c61067c8284836114f4565b60006104c382610bbe565b60006001600160a01b038216610750576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b61077e610dcd565b6107886000610e27565b565b6060600480546104d89061146c565b6107a1610dcd565b600b805460ff19811660ff90911615179055565b600b5460ff1661080c5760405162461bcd60e51b815260206004820152601760248201527f53616c65206973206e6f7420616374697665207965742e00000000000000000060448201526064015b60405180910390fd5b32331461085b5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c65722063616e6e6f74206265206120636f6e74726163742e000000006044820152606401610803565b8060095461086991906115ca565b3410156108a35760405162461bcd60e51b81526020600482015260086024820152674e4f204d4f4e455960c01b6044820152606401610803565b806108b16002546001540390565b6108bb91906115e1565b600a5410156108f75760405162461bcd60e51b815260206004820152600860248201526714d3d3110813d55560c21b6044820152606401610803565b336000908152600d6020526040902054600261091383836115e1565b111561095a5760405162461bcd60e51b815260206004820152601660248201527509e9c98b2406440a08aa440828888a48aa6a6409a82b60531b6044820152606401610803565b61096482826115e1565b336000818152600d60205260409020919091556109819083610e77565b5050565b336001600160a01b038316036109ae5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a25848484610c25565b6001600160a01b0383163b15610a5e57610a4184848484610e91565b610a5e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a6f82610b96565b610a8c57604051630a14c4b560e41b815260040160405180910390fd5b6000610a96610f7c565b90508051600003610ab65760405180602001604052806000815250610aeb565b80610aca610ac58560016115e1565b610f8b565b604051602001610adb9291906115f4565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b610b28610dcd565b6001600160a01b038116610b8d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610803565b6106e981610e27565b6000600154821080156104c3575050600090815260056020526040902054600160e01b161590565b600081600154811015610c0c5760008181526005602052604081205490600160e01b82169003610c0a575b80600003610aeb575060001901600081815260056020526040902054610be9565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610c3082610bbe565b9050836001600160a01b0316816001600160a01b031614610c635760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610c815750610c818533610af2565b80610c9c575033610c918461055b565b6001600160a01b0316145b905080610cbc57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610ce357604051633a954ecd60e21b815260040160405180910390fd5b600083815260076020908152604080832080546001600160a01b03191690556001600160a01b038881168452600683528184208054600019019055871683528083208054600101905585835260059091528120600160e11b4260a01b8717811790915583169003610d8457600183016000818152600560205260408120549003610d82576001548114610d825760008181526005602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000546001600160a01b031633146107885760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610803565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610981828260405180602001604052806000815250610fda565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610ec6903390899088908890600401611633565b6020604051808303816000875af1925050508015610f01575060408051601f3d908101601f19168201909252610efe91810190611670565b60015b610f5f573d808015610f2f576040519150601f19603f3d011682016040523d82523d6000602084013e610f34565b606091505b508051600003610f57576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600c80546104d89061146c565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610fc857600183039250600a81066030018353600a9004610faa565b50819003601f19909101908152919050565b6001546001600160a01b03841661100357604051622e076360e81b815260040160405180910390fd5b826000036110245760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526006602090815260408083208054680100000000000000018902019055848352600590915290204260a01b86176001861460e11b1790558190818501903b156110f9575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46110c26000878480600101955087610e91565b6110df576040516368d2bf6b60e11b815260040160405180910390fd5b8082106110775782600154146110f457600080fd5b61113e565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106110fa575b50600155610a5e600085838684565b6001600160e01b0319811681146106e957600080fd5b60006020828403121561117557600080fd5b8135610aeb8161114d565b60005b8381101561119b578181015183820152602001611183565b50506000910152565b600081518084526111bc816020860160208601611180565b601f01601f19169290920160200192915050565b602081526000610aeb60208301846111a4565b6000602082840312156111f557600080fd5b5035919050565b80356001600160a01b038116811461121357600080fd5b919050565b6000806040838503121561122b57600080fd5b611234836111fc565b946020939093013593505050565b60008060006060848603121561125757600080fd5b611260846111fc565b925061126e602085016111fc565b9150604084013590509250925092565b6000806020838503121561129157600080fd5b823567ffffffffffffffff808211156112a957600080fd5b818501915085601f8301126112bd57600080fd5b8135818111156112cc57600080fd5b8660208285010111156112de57600080fd5b60209290920196919550909350505050565b60006020828403121561130257600080fd5b610aeb826111fc565b6000806040838503121561131e57600080fd5b611327836111fc565b91506020830135801515811461133c57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561137357600080fd5b61137c856111fc565b935061138a602086016111fc565b925060408501359150606085013567ffffffffffffffff808211156113ae57600080fd5b818701915087601f8301126113c257600080fd5b8135818111156113d4576113d4611347565b604051601f8201601f19908116603f011681019083821181831017156113fc576113fc611347565b816040528281528a602084870101111561141557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561144c57600080fd5b611455836111fc565b9150611463602084016111fc565b90509250929050565b600181811c9082168061148057607f821691505b6020821081036114a057634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561067c57600081815260208120601f850160051c810160208610156114cd5750805b601f850160051c820191505b818110156114ec578281556001016114d9565b505050505050565b67ffffffffffffffff83111561150c5761150c611347565b6115208361151a835461146c565b836114a6565b6000601f841160018114611554576000851561153c5750838201355b600019600387901b1c1916600186901b178355610dc6565b600083815260209020601f19861690835b828110156115855786850135825560209485019460019092019101611565565b50868210156115a25760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104c3576104c36115b4565b808201808211156104c3576104c36115b4565b60008351611606818460208801611180565b83519083019061161a818360208801611180565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611666908301846111a4565b9695505050505050565b60006020828403121561168257600080fd5b8151610aeb8161114d56fea26469706673582212207e97bb4bbe385f82a3507e107299d6da3e69560ec2c0fbde76b5b0c327601db764736f6c63430008110033
Deployed Bytecode Sourcemap
42118:1881:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13141:615;;;;;;;;;;-1:-1:-1;13141:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;13141:615:0;;;;;;;;18154:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;20222:204::-;;;;;;;;;;-1:-1:-1;20222:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;20222:204:0;1533:203:1;19682:474:0;;;;;;;;;;-1:-1:-1;19682:474:0;;;;;:::i;:::-;;:::i;:::-;;12195:315;;;;;;;;;;-1:-1:-1;12461:12:0;;12445:13;;:28;12195:315;;;2324:25:1;;;2312:2;2297:18;12195:315:0;2178:177:1;42264:26:0;;;;;;;;;;-1:-1:-1;42264:26:0;;;;;;;;21108:170;;;;;;;;;;-1:-1:-1;21108:170:0;;;;;:::i;:::-;;:::i;43663:147::-;;;;;;;;;;;;;:::i;21349:185::-;;;;;;;;;;-1:-1:-1;21349:185:0;;;;;:::i;:::-;;:::i;43099:100::-;;;;;;;;;;-1:-1:-1;43099:100:0;;;;;:::i;:::-;;:::i;17943:144::-;;;;;;;;;;-1:-1:-1;17943:144:0;;;;;:::i;:::-;;:::i;13820:224::-;;;;;;;;;;-1:-1:-1;13820:224:0;;;;;:::i;:::-;;:::i;41191:103::-;;;;;;;;;;;;;:::i;42226:31::-;;;;;;;;;;;;;;;;40543:87;;;;;;;;;;-1:-1:-1;40589:7:0;40616:6;-1:-1:-1;;;;;40616:6:0;40543:87;;18323:104;;;;;;;;;;;;;:::i;43020:69::-;;;;;;;;;;;;;:::i;42185:34::-;;;;;;;;;;;;;;;;42525:487;;;;;;:::i;:::-;;:::i;20498:308::-;;;;;;;;;;-1:-1:-1;20498:308:0;;;;;:::i;:::-;;:::i;21605:396::-;;;;;;;;;;-1:-1:-1;21605:396:0;;;;;:::i;:::-;;:::i;43207:326::-;;;;;;;;;;-1:-1:-1;43207:326:0;;;;;:::i;:::-;;:::i;20877:164::-;;;;;;;;;;-1:-1:-1;20877:164:0;;;;;:::i;:::-;;:::i;41449:201::-;;;;;;;;;;-1:-1:-1;41449:201:0;;;;;:::i;:::-;;:::i;42334:47::-;;;;;;;;;;-1:-1:-1;42334:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;13141:615;13226:4;-1:-1:-1;;;;;;;;;13526:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;13603:25:0;;;13526:102;:179;;;-1:-1:-1;;;;;;;;;;13680:25:0;;;13526:179;13506:199;13141:615;-1:-1:-1;;13141:615:0:o;18154:100::-;18208:13;18241:5;18234:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18154:100;:::o;20222:204::-;20290:7;20315:16;20323:7;20315;:16::i;:::-;20310:64;;20340:34;;-1:-1:-1;;;20340:34:0;;;;;;;;;;;20310:64;-1:-1:-1;20394:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;20394:24:0;;20222:204::o;19682:474::-;19755:13;19787:27;19806:7;19787:18;:27::i;:::-;19755:61;;19837:5;-1:-1:-1;;;;;19831:11:0;:2;-1:-1:-1;;;;;19831:11:0;;19827:48;;19851:24;;-1:-1:-1;;;19851:24:0;;;;;;;;;;;19827:48;36325:10;-1:-1:-1;;;;;19892:28:0;;;19888:175;;19940:44;19957:5;36325:10;20877:164;:::i;19940:44::-;19935:128;;20012:35;;-1:-1:-1;;;20012:35:0;;;;;;;;;;;19935:128;20075:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;20075:29:0;-1:-1:-1;;;;;20075:29:0;;;;;;;;;20120:28;;20075:24;;20120:28;;;;;;;19744:412;19682:474;;:::o;21108:170::-;21242:28;21252:4;21258:2;21262:7;21242:9;:28::i;:::-;21108:170;;;:::o;43663:147::-;40429:13;:11;:13::i;:::-;43707:7:::1;40616:6:::0;;43720:67:::1;::::0;-1:-1:-1;;;;;40616:6:0;;;;43757:23:::1;::::0;43707:7;43720:67;43707:7;43720:67;43757:23;40616:6;43720:67:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43705:82;;;43801:2;43792:13;;;::::0;::::1;;43700:110;43663:147::o:0;21349:185::-;21487:39;21504:4;21510:2;21514:7;21487:39;;;;;;;;;;;;:16;:39::i;43099:100::-;40429:13;:11;:13::i;:::-;43174:7:::1;:17;43184:7:::0;;43174;:17:::1;:::i;17943:144::-:0;18007:7;18050:27;18069:7;18050:18;:27::i;13820:224::-;13884:7;-1:-1:-1;;;;;13908:19:0;;13904:60;;13936:28;;-1:-1:-1;;;13936:28:0;;;;;;;;;;;13904:60;-1:-1:-1;;;;;;13982:25:0;;;;;:18;:25;;;;;;9159:13;13982:54;;13820:224::o;41191:103::-;40429:13;:11;:13::i;:::-;41256:30:::1;41283:1;41256:18;:30::i;:::-;41191:103::o:0;18323:104::-;18379:13;18412:7;18405:14;;;;;:::i;43020:69::-;40429:13;:11;:13::i;:::-;43075:6:::1;::::0;;-1:-1:-1;;43065:16:0;::::1;43075:6;::::0;;::::1;43074:7;43065:16;::::0;;43020:69::o;42525:487::-;43865:6;;;;43857:42;;;;-1:-1:-1;;;43857:42:0;;8228:2:1;43857:42:0;;;8210:21:1;8267:2;8247:18;;;8240:30;8306:25;8286:18;;;8279:53;8349:18;;43857:42:0;;;;;;;;;43918:9;43931:10;43918:23;43910:64;;;;-1:-1:-1;;;43910:64:0;;8580:2:1;43910:64:0;;;8562:21:1;8619:2;8599:18;;;8592:30;8658;8638:18;;;8631:58;8706:18;;43910:64:0;8378:352:1;43910:64:0;42632:9:::1;42624:5;;:17;;;;:::i;:::-;42611:9;:30;;42603:51;;;::::0;-1:-1:-1;;;42603:51:0;;9242:2:1;42603:51:0::1;::::0;::::1;9224:21:1::0;9281:1;9261:18;;;9254:29;-1:-1:-1;;;9299:18:1;;;9292:38;9347:18;;42603:51:0::1;9040:331:1::0;42603:51:0::1;42711:9;42695:13;12461:12:::0;;12445:13;;:28;;12195:315;42695:13:::1;:25;;;;:::i;:::-;42681:10;;:39;;42673:59;;;::::0;-1:-1:-1;;;42673:59:0;;9708:2:1;42673:59:0::1;::::0;::::1;9690:21:1::0;9747:1;9727:18;;;9720:29;-1:-1:-1;;;9765:18:1;;;9758:38;9813:18;;42673:59:0::1;9506:331:1::0;42673:59:0::1;42788:10;42751:21;42775:24:::0;;;:12:::1;:24;::::0;;;;;42855:1:::1;42826:25;42842:9:::0;42775:24;42826:25:::1;:::i;:::-;:30;;42818:64;;;::::0;-1:-1:-1;;;42818:64:0;;10044:2:1;42818:64:0::1;::::0;::::1;10026:21:1::0;10083:2;10063:18;;;10056:30;-1:-1:-1;;;10102:18:1;;;10095:52;10164:18;;42818:64:0::1;9842:346:1::0;42818:64:0::1;42928:25;42944:9:::0;42928:13;:25:::1;:::i;:::-;42914:10;42901:24;::::0;;;:12:::1;:24;::::0;;;;:52;;;;42972:32:::1;::::0;42994:9;42972::::1;:32::i;:::-;42591:421;42525:487:::0;:::o;20498:308::-;36325:10;-1:-1:-1;;;;;20597:31:0;;;20593:61;;20637:17;;-1:-1:-1;;;20637:17:0;;;;;;;;;;;20593:61;36325:10;20667:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;20667:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;20667:60:0;;;;;;;;;;20743:55;;540:41:1;;;20667:49:0;;36325:10;20743:55;;513:18:1;20743:55:0;;;;;;;20498:308;;:::o;21605:396::-;21772:28;21782:4;21788:2;21792:7;21772:9;:28::i;:::-;-1:-1:-1;;;;;21815:14:0;;;:19;21811:183;;21854:56;21885:4;21891:2;21895:7;21904:5;21854:30;:56::i;:::-;21849:145;;21938:40;;-1:-1:-1;;;21938:40:0;;;;;;;;;;;21849:145;21605:396;;;;:::o;43207:326::-;43280:13;43311:16;43319:7;43311;:16::i;:::-;43306:59;;43336:29;;-1:-1:-1;;;43336:29:0;;;;;;;;;;;43306:59;43376:21;43400:10;:8;:10::i;:::-;43376:34;;43434:7;43428:21;43453:1;43428:26;:97;;;;;;;;;;;;;;;;;43481:7;43490:20;43500:9;:7;43508:1;43500:9;:::i;:::-;43490;:20::i;:::-;43464:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;43428:97;43421:104;43207:326;-1:-1:-1;;;43207:326:0:o;20877:164::-;-1:-1:-1;;;;;20998:25:0;;;20974:4;20998:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;20877:164::o;41449:201::-;40429:13;:11;:13::i;:::-;-1:-1:-1;;;;;41538:22:0;::::1;41530:73;;;::::0;-1:-1:-1;;;41530:73:0;;11063:2:1;41530:73:0::1;::::0;::::1;11045:21:1::0;11102:2;11082:18;;;11075:30;11141:34;11121:18;;;11114:62;-1:-1:-1;;;11192:18:1;;;11185:36;11238:19;;41530:73:0::1;10861:402:1::0;41530:73:0::1;41614:28;41633:8;41614:18;:28::i;22256:273::-:0;22313:4;22403:13;;22393:7;:23;22350:152;;;;-1:-1:-1;;22454:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;22454:43:0;:48;;22256:273::o;15458:1129::-;15525:7;15560;15662:13;;15655:4;:20;15651:869;;;15700:14;15717:23;;;:17;:23;;;;;;;-1:-1:-1;;;15806:23:0;;:28;;15802:699;;16325:113;16332:6;16342:1;16332:11;16325:113;;-1:-1:-1;;;16403:6:0;16385:25;;;;:17;:25;;;;;;16325:113;;15802:699;15677:843;15651:869;16548:31;;-1:-1:-1;;;16548:31:0;;;;;;;;;;;27495:2515;27610:27;27640;27659:7;27640:18;:27::i;:::-;27610:57;;27725:4;-1:-1:-1;;;;;27684:45:0;27700:19;-1:-1:-1;;;;;27684:45:0;;27680:86;;27738:28;;-1:-1:-1;;;27738:28:0;;;;;;;;;;;27680:86;27779:22;36325:10;-1:-1:-1;;;;;27805:27:0;;;;:87;;-1:-1:-1;27849:43:0;27866:4;36325:10;20877:164;:::i;27849:43::-;27805:147;;;-1:-1:-1;36325:10:0;27909:20;27921:7;27909:11;:20::i;:::-;-1:-1:-1;;;;;27909:43:0;;27805:147;27779:174;;27971:17;27966:66;;27997:35;;-1:-1:-1;;;27997:35:0;;;;;;;;;;;27966:66;-1:-1:-1;;;;;28047:16:0;;28043:52;;28072:23;;-1:-1:-1;;;28072:23:0;;;;;;;;;;;28043:52;28224:24;;;;:15;:24;;;;;;;;28217:31;;-1:-1:-1;;;;;;28217:31:0;;;-1:-1:-1;;;;;28616:24:0;;;;;:18;:24;;;;;28614:26;;-1:-1:-1;;28614:26:0;;;28685:22;;;;;;;28683:24;;-1:-1:-1;28683:24:0;;;28978:26;;;:17;:26;;;;;-1:-1:-1;;;29066:15:0;9813:3;29066:41;29024:84;;:128;;28978:174;;;29272:46;;:51;;29268:626;;29376:1;29366:11;;29344:19;29499:30;;;:17;:30;;;;;;:35;;29495:384;;29637:13;;29622:11;:28;29618:242;;29784:30;;;;:17;:30;;;;;:52;;;29618:242;29325:569;29268:626;29941:7;29937:2;-1:-1:-1;;;;;29922:27:0;29931:4;-1:-1:-1;;;;;29922:27:0;;;;;;;;;;;29960:42;27599:2411;;27495:2515;;;:::o;40708:132::-;40589:7;40616:6;-1:-1:-1;;;;;40616:6:0;36325:10;40772:23;40764:68;;;;-1:-1:-1;;;40764:68:0;;11470:2:1;40764:68:0;;;11452:21:1;;;11489:18;;;11482:30;11548:34;11528:18;;;11521:62;11600:18;;40764:68:0;11268:356:1;41810:191:0;41884:16;41903:6;;-1:-1:-1;;;;;41920:17:0;;;-1:-1:-1;;;;;;41920:17:0;;;;;;41953:40;;41903:6;;;;;;;41953:40;;41884:16;41953:40;41873:128;41810:191;:::o;22613:104::-;22682:27;22692:2;22696:8;22682:27;;;;;;;;;;;;:9;:27::i;33707:716::-;33891:88;;-1:-1:-1;;;33891:88:0;;33870:4;;-1:-1:-1;;;;;33891:45:0;;;;;:88;;36325:10;;33958:4;;33964:7;;33973:5;;33891:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33891:88:0;;;;;;;;-1:-1:-1;;33891:88:0;;;;;;;;;;;;:::i;:::-;;;33887:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34174:6;:13;34191:1;34174:18;34170:235;;34220:40;;-1:-1:-1;;;34220:40:0;;;;;;;;;;;34170:235;34363:6;34357:13;34348:6;34344:2;34340:15;34333:38;33887:529;-1:-1:-1;;;;;;34050:64:0;-1:-1:-1;;;34050:64:0;;-1:-1:-1;33707:716:0;;;;;;:::o;43543:108::-;43603:13;43636:7;43629:14;;;;;:::i;36449:1959::-;36920:4;36914:11;;36927:3;36910:21;;37005:17;;;;37702:11;;;37581:5;37834:2;37848;37838:13;;37830:22;37702:11;37817:36;37889:2;37879:13;;37472:682;37908:4;37472:682;;;38083:1;38078:3;38074:11;38067:18;;38134:2;38128:4;38124:13;38120:2;38116:22;38111:3;38103:36;38004:2;37994:13;;37472:682;;;-1:-1:-1;38196:13:0;;;-1:-1:-1;;38311:12:0;;;38371:19;;;38311:12;36449:1959;-1:-1:-1;36449:1959:0:o;23090:2236::-;23236:13;;-1:-1:-1;;;;;23264:16:0;;23260:48;;23289:19;;-1:-1:-1;;;23289:19:0;;;;;;;;;;;23260:48;23323:8;23335:1;23323:13;23319:44;;23345:18;;-1:-1:-1;;;23345:18:0;;;;;;;;;;;23319:44;-1:-1:-1;;;;;23912:22:0;;;;;;:18;:22;;;;9296:2;23912:22;;;:70;;23950:31;23938:44;;23912:70;;;24225:31;;;:17;:31;;;;;24318:15;9813:3;24318:41;24276:84;;-1:-1:-1;24396:13:0;;10076:3;24381:56;24276:162;24225:213;;:31;;24519:23;;;;24563:14;:19;24559:635;;24603:313;24634:38;;24659:12;;-1:-1:-1;;;;;24634:38:0;;;24651:1;;24634:38;;24651:1;;24634:38;24700:69;24739:1;24743:2;24747:14;;;;;;24763:5;24700:30;:69::i;:::-;24695:174;;24805:40;;-1:-1:-1;;;24805:40:0;;;;;;;;;;;24695:174;24911:3;24896:12;:18;24603:313;;24997:12;24980:13;;:29;24976:43;;25011:8;;;24976:43;24559:635;;;25060:119;25091:40;;25116:14;;;;;-1:-1:-1;;;;;25091:40:0;;;25108:1;;25091:40;;25108:1;;25091:40;25174:3;25159:12;:18;25060:119;;24559:635;-1:-1:-1;25208:13:0;:28;25258:60;25287:1;25291:2;25295:12;25309:8;25258:60;:::i;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:592::-;2764:6;2772;2825:2;2813:9;2804:7;2800:23;2796:32;2793:52;;;2841:1;2838;2831:12;2793:52;2881:9;2868:23;2910:18;2951:2;2943:6;2940:14;2937:34;;;2967:1;2964;2957:12;2937:34;3005:6;2994:9;2990:22;2980:32;;3050:7;3043:4;3039:2;3035:13;3031:27;3021:55;;3072:1;3069;3062:12;3021:55;3112:2;3099:16;3138:2;3130:6;3127:14;3124:34;;;3154:1;3151;3144:12;3124:34;3199:7;3194:2;3185:6;3181:2;3177:15;3173:24;3170:37;3167:57;;;3220:1;3217;3210:12;3167:57;3251:2;3243:11;;;;;3273:6;;-1:-1:-1;2693:592:1;;-1:-1:-1;;;;2693:592:1:o;3290:186::-;3349:6;3402:2;3390:9;3381:7;3377:23;3373:32;3370:52;;;3418:1;3415;3408:12;3370:52;3441:29;3460:9;3441:29;:::i;3481:347::-;3546:6;3554;3607:2;3595:9;3586:7;3582:23;3578:32;3575:52;;;3623:1;3620;3613:12;3575:52;3646:29;3665:9;3646:29;:::i;:::-;3636:39;;3725:2;3714:9;3710:18;3697:32;3772:5;3765:13;3758:21;3751:5;3748:32;3738:60;;3794:1;3791;3784:12;3738:60;3817:5;3807:15;;;3481:347;;;;;:::o;3833:127::-;3894:10;3889:3;3885:20;3882:1;3875:31;3925:4;3922:1;3915:15;3949:4;3946:1;3939:15;3965:1138;4060:6;4068;4076;4084;4137:3;4125:9;4116:7;4112:23;4108:33;4105:53;;;4154:1;4151;4144:12;4105:53;4177:29;4196:9;4177:29;:::i;:::-;4167:39;;4225:38;4259:2;4248:9;4244:18;4225:38;:::i;:::-;4215:48;;4310:2;4299:9;4295:18;4282:32;4272:42;;4365:2;4354:9;4350:18;4337:32;4388:18;4429:2;4421:6;4418:14;4415:34;;;4445:1;4442;4435:12;4415:34;4483:6;4472:9;4468:22;4458:32;;4528:7;4521:4;4517:2;4513:13;4509:27;4499:55;;4550:1;4547;4540:12;4499:55;4586:2;4573:16;4608:2;4604;4601:10;4598:36;;;4614:18;;:::i;:::-;4689:2;4683:9;4657:2;4743:13;;-1:-1:-1;;4739:22:1;;;4763:2;4735:31;4731:40;4719:53;;;4787:18;;;4807:22;;;4784:46;4781:72;;;4833:18;;:::i;:::-;4873:10;4869:2;4862:22;4908:2;4900:6;4893:18;4948:7;4943:2;4938;4934;4930:11;4926:20;4923:33;4920:53;;;4969:1;4966;4959:12;4920:53;5025:2;5020;5016;5012:11;5007:2;4999:6;4995:15;4982:46;5070:1;5065:2;5060;5052:6;5048:15;5044:24;5037:35;5091:6;5081:16;;;;;;;3965:1138;;;;;;;:::o;5108:260::-;5176:6;5184;5237:2;5225:9;5216:7;5212:23;5208:32;5205:52;;;5253:1;5250;5243:12;5205:52;5276:29;5295:9;5276:29;:::i;:::-;5266:39;;5324:38;5358:2;5347:9;5343:18;5324:38;:::i;:::-;5314:48;;5108:260;;;;;:::o;5373:380::-;5452:1;5448:12;;;;5495;;;5516:61;;5570:4;5562:6;5558:17;5548:27;;5516:61;5623:2;5615:6;5612:14;5592:18;5589:38;5586:161;;5669:10;5664:3;5660:20;5657:1;5650:31;5704:4;5701:1;5694:15;5732:4;5729:1;5722:15;5586:161;;5373:380;;;:::o;6094:545::-;6196:2;6191:3;6188:11;6185:448;;;6232:1;6257:5;6253:2;6246:17;6302:4;6298:2;6288:19;6372:2;6360:10;6356:19;6353:1;6349:27;6343:4;6339:38;6408:4;6396:10;6393:20;6390:47;;;-1:-1:-1;6431:4:1;6390:47;6486:2;6481:3;6477:12;6474:1;6470:20;6464:4;6460:31;6450:41;;6541:82;6559:2;6552:5;6549:13;6541:82;;;6604:17;;;6585:1;6574:13;6541:82;;;6545:3;;;6094:545;;;:::o;6815:1206::-;6939:18;6934:3;6931:27;6928:53;;;6961:18;;:::i;:::-;6990:94;7080:3;7040:38;7072:4;7066:11;7040:38;:::i;:::-;7034:4;6990:94;:::i;:::-;7110:1;7135:2;7130:3;7127:11;7152:1;7147:616;;;;7807:1;7824:3;7821:93;;;-1:-1:-1;7880:19:1;;;7867:33;7821:93;-1:-1:-1;;6772:1:1;6768:11;;;6764:24;6760:29;6750:40;6796:1;6792:11;;;6747:57;7927:78;;7120:895;;7147:616;6041:1;6034:14;;;6078:4;6065:18;;-1:-1:-1;;7183:17:1;;;7284:9;7306:229;7320:7;7317:1;7314:14;7306:229;;;7409:19;;;7396:33;7381:49;;7516:4;7501:20;;;;7469:1;7457:14;;;;7336:12;7306:229;;;7310:3;7563;7554:7;7551:16;7548:159;;;7687:1;7683:6;7677:3;7671;7668:1;7664:11;7660:21;7656:34;7652:39;7639:9;7634:3;7630:19;7617:33;7613:79;7605:6;7598:95;7548:159;;;7750:1;7744:3;7741:1;7737:11;7733:19;7727:4;7720:33;7120:895;;6815:1206;;;:::o;8735:127::-;8796:10;8791:3;8787:20;8784:1;8777:31;8827:4;8824:1;8817:15;8851:4;8848:1;8841:15;8867:168;8940:9;;;8971;;8988:15;;;8982:22;;8968:37;8958:71;;9009:18;;:::i;9376:125::-;9441:9;;;9462:10;;;9459:36;;;9475:18;;:::i;10193:663::-;10473:3;10511:6;10505:13;10527:66;10586:6;10581:3;10574:4;10566:6;10562:17;10527:66;:::i;:::-;10656:13;;10615:16;;;;10678:70;10656:13;10615:16;10725:4;10713:17;;10678:70;:::i;:::-;-1:-1:-1;;;10770:20:1;;10799:22;;;10848:1;10837:13;;10193:663;-1:-1:-1;;;;10193:663:1:o;11629:489::-;-1:-1:-1;;;;;11898:15:1;;;11880:34;;11950:15;;11945:2;11930:18;;11923:43;11997:2;11982:18;;11975:34;;;12045:3;12040:2;12025:18;;12018:31;;;11823:4;;12066:46;;12092:19;;12084:6;12066:46;:::i;:::-;12058:54;11629:489;-1:-1:-1;;;;;;11629:489:1:o;12123:249::-;12192:6;12245:2;12233:9;12224:7;12220:23;12216:32;12213:52;;;12261:1;12258;12251:12;12213:52;12293:9;12287:16;12312:30;12336:5;12312:30;:::i
Swarm Source
ipfs://7e97bb4bbe385f82a3507e107299d6da3e69560ec2c0fbde76b5b0c327601db7
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.