ERC-721
Overview
Max Total Supply
3,333 FAIRY
Holders
333
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
25 FAIRYLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
fairytownwtf
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-07 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // 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: erc721a/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 v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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/fairytown.wtf.sol pragma solidity 0.8.7; contract fairytownwtf is ERC721A, Ownable { string private baseURI; bool private started; uint256 public constant MAX_SUPPLY_PLUS_ONE = 3334; uint256 public constant MAX_MINT_PLUS_ONE = 6; mapping(address => uint256) private addressClaimed; constructor() ERC721A("fairytown.wtf", "FAIRY") {} function _startTokenId() internal view virtual override returns (uint256) { return 1; } function mintSafe(address to_, uint256 amount_) external payable { require(started, "Not started"); require( totalSupply() + amount_ < MAX_SUPPLY_PLUS_ONE, "Exceed max supply" ); require( addressClaimed[msg.sender] + amount_ < MAX_MINT_PLUS_ONE, "Exceed max mint" ); _safeMint(to_, amount_); } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function enableMint(bool mintStarted) external onlyOwner { started = mintStarted; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return bytes(baseURI).length > 0 ? string( abi.encodePacked( baseURI, Strings.toString(tokenId), ".json" ) ) : ""; } }
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":"MAX_MINT_PLUS_ONE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY_PLUS_ONE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"mintStarted","type":"bool"}],"name":"enableMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mintSafe","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252600d81526c3330b4b93cba37bbb7173bba3360991b602080830191825283518085019094526005845264464149525960d81b9084015281519192916200006491600291620000e5565b5080516200007a906003906020840190620000e5565b50506001600055506200008d3362000093565b620001c8565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620000f3906200018b565b90600052602060002090601f01602090048101928262000117576000855562000162565b82601f106200013257805160ff191683800117855562000162565b8280016001018555821562000162579182015b828111156200016257825182559160200191906001019062000145565b506200017092915062000174565b5090565b5b8082111562000170576000815560010162000175565b600181811c90821680620001a057607f821691505b60208210811415620001c257634e487b7160e01b600052602260045260246000fd5b50919050565b61172280620001d86000396000f3fe6080604052600436106101355760003560e01c806382d5b249116100ab578063b88d4fde1161006f578063b88d4fde14610343578063ba7335ca14610363578063c68b330514610378578063c87b56dd14610398578063e985e9c5146103b8578063f2fde38b1461040157600080fd5b806382d5b249146102c75780638da5cb5b146102dd57806395d89b41146102fb5780639cdb764e14610310578063a22cb4651461032357600080fd5b806323b872dd116100fd57806323b872dd1461021257806342842e0e1461023257806355f804b3146102525780636352211e1461027257806370a0823114610292578063715018a6146102b257600080fd5b806301ffc9a71461013a57806306fdde031461016f578063081812fc14610191578063095ea7b3146101c957806318160ddd146101eb575b600080fd5b34801561014657600080fd5b5061015a610155366004611381565b610421565b60405190151581526020015b60405180910390f35b34801561017b57600080fd5b50610184610473565b604051610166919061155d565b34801561019d57600080fd5b506101b16101ac366004611404565b610505565b6040516001600160a01b039091168152602001610166565b3480156101d557600080fd5b506101e96101e436600461133c565b610549565b005b3480156101f757600080fd5b5060015460005403600019015b604051908152602001610166565b34801561021e57600080fd5b506101e961022d36600461125a565b61061c565b34801561023e57600080fd5b506101e961024d36600461125a565b61062c565b34801561025e57600080fd5b506101e961026d3660046113bb565b610647565b34801561027e57600080fd5b506101b161028d366004611404565b610691565b34801561029e57600080fd5b506102046102ad36600461120c565b61069c565b3480156102be57600080fd5b506101e96106eb565b3480156102d357600080fd5b50610204610d0681565b3480156102e957600080fd5b506008546001600160a01b03166101b1565b34801561030757600080fd5b50610184610721565b6101e961031e36600461133c565b610730565b34801561032f57600080fd5b506101e961033e366004611312565b610833565b34801561034f57600080fd5b506101e961035e366004611296565b6108c9565b34801561036f57600080fd5b50610204600681565b34801561038457600080fd5b506101e9610393366004611366565b610913565b3480156103a457600080fd5b506101846103b3366004611404565b610950565b3480156103c457600080fd5b5061015a6103d3366004611227565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561040d57600080fd5b506101e961041c36600461120c565b610a1b565b60006301ffc9a760e01b6001600160e01b03198316148061045257506380ac58cd60e01b6001600160e01b03198316145b8061046d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461048290611614565b80601f01602080910402602001604051908101604052809291908181526020018280546104ae90611614565b80156104fb5780601f106104d0576101008083540402835291602001916104fb565b820191906000526020600020905b8154815290600101906020018083116104de57829003601f168201915b5050505050905090565b600061051082610ab6565b61052d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061055482610aeb565b9050806001600160a01b0316836001600160a01b031614156105895760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146105c0576105a381336103d3565b6105c0576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610627838383610b5b565b505050565b610627838383604051806020016040528060008152506108c9565b6008546001600160a01b0316331461067a5760405162461bcd60e51b815260040161067190611570565b60405180910390fd5b805161068d9060099060208401906110d1565b5050565b600061046d82610aeb565b60006001600160a01b0382166106c5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146107155760405162461bcd60e51b815260040161067190611570565b61071f6000610cfe565b565b60606003805461048290611614565b600a5460ff166107705760405162461bcd60e51b815260206004820152600b60248201526a139bdd081cdd185c9d195960aa1b6044820152606401610671565b600154600054610d06918391036000190161078b91906115a5565b106107cc5760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b6044820152606401610671565b336000908152600b60205260409020546006906107ea9083906115a5565b106108295760405162461bcd60e51b815260206004820152600f60248201526e115e18d95959081b585e081b5a5b9d608a1b6044820152606401610671565b61068d8282610d50565b6001600160a01b03821633141561085d5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6108d4848484610b5b565b6001600160a01b0383163b1561090d576108f084848484610d6a565b61090d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b0316331461093d5760405162461bcd60e51b815260040161067190611570565b600a805460ff1916911515919091179055565b606061095b82610ab6565b6109bf5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610671565b6000600980546109ce90611614565b9050116109ea576040518060200160405280600081525061046d565b60096109f583610e62565b604051602001610a06929190611465565b60405160208183030381529060405292915050565b6008546001600160a01b03163314610a455760405162461bcd60e51b815260040161067190611570565b6001600160a01b038116610aaa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610671565b610ab381610cfe565b50565b600081600111158015610aca575060005482105b801561046d575050600090815260046020526040902054600160e01b161590565b60008180600111610b4257600054811015610b4257600081815260046020526040902054600160e01b8116610b40575b80610b39575060001901600081815260046020526040902054610b1b565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610b6682610aeb565b9050836001600160a01b0316816001600160a01b031614610b995760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610bb75750610bb785336103d3565b80610bd2575033610bc784610505565b6001600160a01b0316145b905080610bf257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610c1957604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b861781179091558216610cb65760018301600081815260046020526040902054610cb4576000548114610cb45760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61068d828260405180602001604052806000815250610f60565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d9f903390899088908890600401611520565b602060405180830381600087803b158015610db957600080fd5b505af1925050508015610de9575060408051601f3d908101601f19168201909252610de69181019061139e565b60015b610e44573d808015610e17576040519150601f19603f3d011682016040523d82523d6000602084013e610e1c565b606091505b508051610e3c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081610e865750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610eb05780610e9a8161164f565b9150610ea99050600a836115bd565b9150610e8a565b60008167ffffffffffffffff811115610ecb57610ecb6116c0565b6040519080825280601f01601f191660200182016040528015610ef5576020820181803683370190505b5090505b8415610e5a57610f0a6001836115d1565b9150610f17600a8661166a565b610f229060306115a5565b60f81b818381518110610f3757610f376116aa565b60200101906001600160f81b031916908160001a905350610f59600a866115bd565b9450610ef9565b6000546001600160a01b038416610f8957604051622e076360e81b815260040160405180910390fd5b82610fa75760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b1561107c575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46110456000878480600101955087610d6a565b611062576040516368d2bf6b60e11b815260040160405180910390fd5b808210610ffa57826000541461107757600080fd5b6110c1565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061107d575b50600090815561090d9085838684565b8280546110dd90611614565b90600052602060002090601f0160209004810192826110ff5760008555611145565b82601f1061111857805160ff1916838001178555611145565b82800160010185558215611145579182015b8281111561114557825182559160200191906001019061112a565b50611151929150611155565b5090565b5b808211156111515760008155600101611156565b600067ffffffffffffffff80841115611185576111856116c0565b604051601f8501601f19908116603f011681019082821181831017156111ad576111ad6116c0565b816040528093508581528686860111156111c657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146111f757600080fd5b919050565b803580151581146111f757600080fd5b60006020828403121561121e57600080fd5b610b39826111e0565b6000806040838503121561123a57600080fd5b611243836111e0565b9150611251602084016111e0565b90509250929050565b60008060006060848603121561126f57600080fd5b611278846111e0565b9250611286602085016111e0565b9150604084013590509250925092565b600080600080608085870312156112ac57600080fd5b6112b5856111e0565b93506112c3602086016111e0565b925060408501359150606085013567ffffffffffffffff8111156112e657600080fd5b8501601f810187136112f757600080fd5b6113068782356020840161116a565b91505092959194509250565b6000806040838503121561132557600080fd5b61132e836111e0565b9150611251602084016111fc565b6000806040838503121561134f57600080fd5b611358836111e0565b946020939093013593505050565b60006020828403121561137857600080fd5b610b39826111fc565b60006020828403121561139357600080fd5b8135610b39816116d6565b6000602082840312156113b057600080fd5b8151610b39816116d6565b6000602082840312156113cd57600080fd5b813567ffffffffffffffff8111156113e457600080fd5b8201601f810184136113f557600080fd5b610e5a8482356020840161116a565b60006020828403121561141657600080fd5b5035919050565b600081518084526114358160208601602086016115e8565b601f01601f19169290920160200192915050565b6000815161145b8185602086016115e8565b9290920192915050565b600080845481600182811c91508083168061148157607f831692505b60208084108214156114a157634e487b7160e01b86526022600452602486fd5b8180156114b557600181146114c6576114f3565b60ff198616895284890196506114f3565b60008b81526020902060005b868110156114eb5781548b8201529085019083016114d2565b505084890196505b5050505050506115176115068286611449565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906115539083018461141d565b9695505050505050565b602081526000610b39602083018461141d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156115b8576115b861167e565b500190565b6000826115cc576115cc611694565b500490565b6000828210156115e3576115e361167e565b500390565b60005b838110156116035781810151838201526020016115eb565b8381111561090d5750506000910152565b600181811c9082168061162857607f821691505b6020821081141561164957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156116635761166361167e565b5060010190565b60008261167957611679611694565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ab357600080fdfea2646970667358221220f9aaedb02bbfecc64859c82d1fba8f37b7c81d896844e0e5b7533c445949bf7064736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101355760003560e01c806382d5b249116100ab578063b88d4fde1161006f578063b88d4fde14610343578063ba7335ca14610363578063c68b330514610378578063c87b56dd14610398578063e985e9c5146103b8578063f2fde38b1461040157600080fd5b806382d5b249146102c75780638da5cb5b146102dd57806395d89b41146102fb5780639cdb764e14610310578063a22cb4651461032357600080fd5b806323b872dd116100fd57806323b872dd1461021257806342842e0e1461023257806355f804b3146102525780636352211e1461027257806370a0823114610292578063715018a6146102b257600080fd5b806301ffc9a71461013a57806306fdde031461016f578063081812fc14610191578063095ea7b3146101c957806318160ddd146101eb575b600080fd5b34801561014657600080fd5b5061015a610155366004611381565b610421565b60405190151581526020015b60405180910390f35b34801561017b57600080fd5b50610184610473565b604051610166919061155d565b34801561019d57600080fd5b506101b16101ac366004611404565b610505565b6040516001600160a01b039091168152602001610166565b3480156101d557600080fd5b506101e96101e436600461133c565b610549565b005b3480156101f757600080fd5b5060015460005403600019015b604051908152602001610166565b34801561021e57600080fd5b506101e961022d36600461125a565b61061c565b34801561023e57600080fd5b506101e961024d36600461125a565b61062c565b34801561025e57600080fd5b506101e961026d3660046113bb565b610647565b34801561027e57600080fd5b506101b161028d366004611404565b610691565b34801561029e57600080fd5b506102046102ad36600461120c565b61069c565b3480156102be57600080fd5b506101e96106eb565b3480156102d357600080fd5b50610204610d0681565b3480156102e957600080fd5b506008546001600160a01b03166101b1565b34801561030757600080fd5b50610184610721565b6101e961031e36600461133c565b610730565b34801561032f57600080fd5b506101e961033e366004611312565b610833565b34801561034f57600080fd5b506101e961035e366004611296565b6108c9565b34801561036f57600080fd5b50610204600681565b34801561038457600080fd5b506101e9610393366004611366565b610913565b3480156103a457600080fd5b506101846103b3366004611404565b610950565b3480156103c457600080fd5b5061015a6103d3366004611227565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561040d57600080fd5b506101e961041c36600461120c565b610a1b565b60006301ffc9a760e01b6001600160e01b03198316148061045257506380ac58cd60e01b6001600160e01b03198316145b8061046d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461048290611614565b80601f01602080910402602001604051908101604052809291908181526020018280546104ae90611614565b80156104fb5780601f106104d0576101008083540402835291602001916104fb565b820191906000526020600020905b8154815290600101906020018083116104de57829003601f168201915b5050505050905090565b600061051082610ab6565b61052d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061055482610aeb565b9050806001600160a01b0316836001600160a01b031614156105895760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146105c0576105a381336103d3565b6105c0576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610627838383610b5b565b505050565b610627838383604051806020016040528060008152506108c9565b6008546001600160a01b0316331461067a5760405162461bcd60e51b815260040161067190611570565b60405180910390fd5b805161068d9060099060208401906110d1565b5050565b600061046d82610aeb565b60006001600160a01b0382166106c5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146107155760405162461bcd60e51b815260040161067190611570565b61071f6000610cfe565b565b60606003805461048290611614565b600a5460ff166107705760405162461bcd60e51b815260206004820152600b60248201526a139bdd081cdd185c9d195960aa1b6044820152606401610671565b600154600054610d06918391036000190161078b91906115a5565b106107cc5760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b6044820152606401610671565b336000908152600b60205260409020546006906107ea9083906115a5565b106108295760405162461bcd60e51b815260206004820152600f60248201526e115e18d95959081b585e081b5a5b9d608a1b6044820152606401610671565b61068d8282610d50565b6001600160a01b03821633141561085d5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6108d4848484610b5b565b6001600160a01b0383163b1561090d576108f084848484610d6a565b61090d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b0316331461093d5760405162461bcd60e51b815260040161067190611570565b600a805460ff1916911515919091179055565b606061095b82610ab6565b6109bf5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610671565b6000600980546109ce90611614565b9050116109ea576040518060200160405280600081525061046d565b60096109f583610e62565b604051602001610a06929190611465565b60405160208183030381529060405292915050565b6008546001600160a01b03163314610a455760405162461bcd60e51b815260040161067190611570565b6001600160a01b038116610aaa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610671565b610ab381610cfe565b50565b600081600111158015610aca575060005482105b801561046d575050600090815260046020526040902054600160e01b161590565b60008180600111610b4257600054811015610b4257600081815260046020526040902054600160e01b8116610b40575b80610b39575060001901600081815260046020526040902054610b1b565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610b6682610aeb565b9050836001600160a01b0316816001600160a01b031614610b995760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610bb75750610bb785336103d3565b80610bd2575033610bc784610505565b6001600160a01b0316145b905080610bf257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610c1957604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b861781179091558216610cb65760018301600081815260046020526040902054610cb4576000548114610cb45760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61068d828260405180602001604052806000815250610f60565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d9f903390899088908890600401611520565b602060405180830381600087803b158015610db957600080fd5b505af1925050508015610de9575060408051601f3d908101601f19168201909252610de69181019061139e565b60015b610e44573d808015610e17576040519150601f19603f3d011682016040523d82523d6000602084013e610e1c565b606091505b508051610e3c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081610e865750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610eb05780610e9a8161164f565b9150610ea99050600a836115bd565b9150610e8a565b60008167ffffffffffffffff811115610ecb57610ecb6116c0565b6040519080825280601f01601f191660200182016040528015610ef5576020820181803683370190505b5090505b8415610e5a57610f0a6001836115d1565b9150610f17600a8661166a565b610f229060306115a5565b60f81b818381518110610f3757610f376116aa565b60200101906001600160f81b031916908160001a905350610f59600a866115bd565b9450610ef9565b6000546001600160a01b038416610f8957604051622e076360e81b815260040160405180910390fd5b82610fa75760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b1561107c575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46110456000878480600101955087610d6a565b611062576040516368d2bf6b60e11b815260040160405180910390fd5b808210610ffa57826000541461107757600080fd5b6110c1565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061107d575b50600090815561090d9085838684565b8280546110dd90611614565b90600052602060002090601f0160209004810192826110ff5760008555611145565b82601f1061111857805160ff1916838001178555611145565b82800160010185558215611145579182015b8281111561114557825182559160200191906001019061112a565b50611151929150611155565b5090565b5b808211156111515760008155600101611156565b600067ffffffffffffffff80841115611185576111856116c0565b604051601f8501601f19908116603f011681019082821181831017156111ad576111ad6116c0565b816040528093508581528686860111156111c657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146111f757600080fd5b919050565b803580151581146111f757600080fd5b60006020828403121561121e57600080fd5b610b39826111e0565b6000806040838503121561123a57600080fd5b611243836111e0565b9150611251602084016111e0565b90509250929050565b60008060006060848603121561126f57600080fd5b611278846111e0565b9250611286602085016111e0565b9150604084013590509250925092565b600080600080608085870312156112ac57600080fd5b6112b5856111e0565b93506112c3602086016111e0565b925060408501359150606085013567ffffffffffffffff8111156112e657600080fd5b8501601f810187136112f757600080fd5b6113068782356020840161116a565b91505092959194509250565b6000806040838503121561132557600080fd5b61132e836111e0565b9150611251602084016111fc565b6000806040838503121561134f57600080fd5b611358836111e0565b946020939093013593505050565b60006020828403121561137857600080fd5b610b39826111fc565b60006020828403121561139357600080fd5b8135610b39816116d6565b6000602082840312156113b057600080fd5b8151610b39816116d6565b6000602082840312156113cd57600080fd5b813567ffffffffffffffff8111156113e457600080fd5b8201601f810184136113f557600080fd5b610e5a8482356020840161116a565b60006020828403121561141657600080fd5b5035919050565b600081518084526114358160208601602086016115e8565b601f01601f19169290920160200192915050565b6000815161145b8185602086016115e8565b9290920192915050565b600080845481600182811c91508083168061148157607f831692505b60208084108214156114a157634e487b7160e01b86526022600452602486fd5b8180156114b557600181146114c6576114f3565b60ff198616895284890196506114f3565b60008b81526020902060005b868110156114eb5781548b8201529085019083016114d2565b505084890196505b5050505050506115176115068286611449565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906115539083018461141d565b9695505050505050565b602081526000610b39602083018461141d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156115b8576115b861167e565b500190565b6000826115cc576115cc611694565b500490565b6000828210156115e3576115e361167e565b500390565b60005b838110156116035781810151838201526020016115eb565b8381111561090d5750506000910152565b600181811c9082168061162857607f821691505b6020821081141561164957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156116635761166361167e565b5060010190565b60008261167957611679611694565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ab357600080fdfea2646970667358221220f9aaedb02bbfecc64859c82d1fba8f37b7c81d896844e0e5b7533c445949bf7064736f6c63430008070033
Deployed Bytecode Sourcemap
44003:1628:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15230:615;;;;;;;;;;-1:-1:-1;15230:615:0;;;;;:::i;:::-;;:::i;:::-;;;7042:14:1;;7035:22;7017:41;;7005:2;6990:18;15230:615:0;;;;;;;;20243:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22311:204::-;;;;;;;;;;-1:-1:-1;22311:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6340:32:1;;;6322:51;;6310:2;6295:18;22311:204:0;6176:203:1;21771:474:0;;;;;;;;;;-1:-1:-1;21771:474:0;;;;;:::i;:::-;;:::i;:::-;;14284:315;;;;;;;;;;-1:-1:-1;44428:1:0;14550:12;14337:7;14534:13;:28;-1:-1:-1;;14534:46:0;14284:315;;;9653:25:1;;;9641:2;9626:18;14284:315:0;9507:177:1;23197:170:0;;;;;;;;;;-1:-1:-1;23197:170:0;;;;;:::i;:::-;;:::i;23438:185::-;;;;;;;;;;-1:-1:-1;23438:185:0;;;;;:::i;:::-;;:::i;44857:100::-;;;;;;;;;;-1:-1:-1;44857:100:0;;;;;:::i;:::-;;:::i;20032:144::-;;;;;;;;;;-1:-1:-1;20032:144:0;;;;;:::i;:::-;;:::i;15909:224::-;;;;;;;;;;-1:-1:-1;15909:224:0;;;;;:::i;:::-;;:::i;43110:103::-;;;;;;;;;;;;;:::i;44108:50::-;;;;;;;;;;;;44154:4;44108:50;;42459:87;;;;;;;;;;-1:-1:-1;42532:6:0;;-1:-1:-1;;;;;42532:6:0;42459:87;;20412:104;;;;;;;;;;;;;:::i;44445:404::-;;;;;;:::i;:::-;;:::i;22587:308::-;;;;;;;;;;-1:-1:-1;22587:308:0;;;;;:::i;:::-;;:::i;23694:396::-;;;;;;;;;;-1:-1:-1;23694:396:0;;;;;:::i;:::-;;:::i;44165:45::-;;;;;;;;;;;;44209:1;44165:45;;44965:97;;;;;;;;;;-1:-1:-1;44965:97:0;;;;;:::i;:::-;;:::i;45070:558::-;;;;;;;;;;-1:-1:-1;45070:558:0;;;;;:::i;:::-;;:::i;22966:164::-;;;;;;;;;;-1:-1:-1;22966:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;23087:25:0;;;23063:4;23087:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;22966:164;43368:201;;;;;;;;;;-1:-1:-1;43368:201:0;;;;;:::i;:::-;;:::i;15230:615::-;15315:4;-1:-1:-1;;;;;;;;;15615:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;15692:25:0;;;15615:102;:179;;;-1:-1:-1;;;;;;;;;;15769:25:0;;;15615:179;15595:199;15230:615;-1:-1:-1;;15230:615:0:o;20243:100::-;20297:13;20330:5;20323:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20243:100;:::o;22311:204::-;22379:7;22404:16;22412:7;22404;:16::i;:::-;22399:64;;22429:34;;-1:-1:-1;;;22429:34:0;;;;;;;;;;;22399:64;-1:-1:-1;22483:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22483:24:0;;22311:204::o;21771:474::-;21844:13;21876:27;21895:7;21876:18;:27::i;:::-;21844:61;;21926:5;-1:-1:-1;;;;;21920:11:0;:2;-1:-1:-1;;;;;21920:11:0;;21916:48;;;21940:24;;-1:-1:-1;;;21940:24:0;;;;;;;;;;;21916:48;38414:10;-1:-1:-1;;;;;21981:28:0;;;21977:175;;22029:44;22046:5;38414:10;22966:164;:::i;22029:44::-;22024:128;;22101:35;;-1:-1:-1;;;22101:35:0;;;;;;;;;;;22024:128;22164:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;22164:29:0;-1:-1:-1;;;;;22164:29:0;;;;;;;;;22209:28;;22164:24;;22209:28;;;;;;;21833:412;21771:474;;:::o;23197:170::-;23331:28;23341:4;23347:2;23351:7;23331:9;:28::i;:::-;23197:170;;;:::o;23438:185::-;23576:39;23593:4;23599:2;23603:7;23576:39;;;;;;;;;;;;:16;:39::i;44857:100::-;42532:6;;-1:-1:-1;;;;;42532:6:0;38414:10;42679:23;42671:68;;;;-1:-1:-1;;;42671:68:0;;;;;;;:::i;:::-;;;;;;;;;44931:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;44857:100:::0;:::o;20032:144::-;20096:7;20139:27;20158:7;20139:18;:27::i;15909:224::-;15973:7;-1:-1:-1;;;;;15997:19:0;;15993:60;;16025:28;;-1:-1:-1;;;16025:28:0;;;;;;;;;;;15993:60;-1:-1:-1;;;;;;16071:25:0;;;;;:18;:25;;;;;;11248:13;16071:54;;15909:224::o;43110:103::-;42532:6;;-1:-1:-1;;;;;42532:6:0;38414:10;42679:23;42671:68;;;;-1:-1:-1;;;42671:68:0;;;;;;;:::i;:::-;43175:30:::1;43202:1;43175:18;:30::i;:::-;43110:103::o:0;20412:104::-;20468:13;20501:7;20494:14;;;;;:::i;44445:404::-;44529:7;;;;44521:31;;;;-1:-1:-1;;;44521:31:0;;7495:2:1;44521:31:0;;;7477:21:1;7534:2;7514:18;;;7507:30;-1:-1:-1;;;7553:18:1;;;7546:41;7604:18;;44521:31:0;7293:335:1;44521:31:0;44428:1;14550:12;14337:7;14534:13;44154:4;;44601:7;;14534:28;-1:-1:-1;;14534:46:0;44585:23;;;;:::i;:::-;:45;44563:112;;;;-1:-1:-1;;;44563:112:0;;8586:2:1;44563:112:0;;;8568:21:1;8625:2;8605:18;;;8598:30;-1:-1:-1;;;8644:18:1;;;8637:47;8701:18;;44563:112:0;8384:341:1;44563:112:0;44723:10;44708:26;;;;:14;:26;;;;;;44209:1;;44708:36;;44737:7;;44708:36;:::i;:::-;:56;44686:121;;;;-1:-1:-1;;;44686:121:0;;8242:2:1;44686:121:0;;;8224:21:1;8281:2;8261:18;;;8254:30;-1:-1:-1;;;8300:18:1;;;8293:45;8355:18;;44686:121:0;8040:339:1;44686:121:0;44818:23;44828:3;44833:7;44818:9;:23::i;22587:308::-;-1:-1:-1;;;;;22686:31:0;;38414:10;22686:31;22682:61;;;22726:17;;-1:-1:-1;;;22726:17:0;;;;;;;;;;;22682:61;38414:10;22756:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;22756:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;22756:60:0;;;;;;;;;;22832:55;;7017:41:1;;;22756:49:0;;38414:10;22832:55;;6990:18:1;22832:55:0;;;;;;;22587:308;;:::o;23694:396::-;23861:28;23871:4;23877:2;23881:7;23861:9;:28::i;:::-;-1:-1:-1;;;;;23904:14:0;;;:19;23900:183;;23943:56;23974:4;23980:2;23984:7;23993:5;23943:30;:56::i;:::-;23938:145;;24027:40;;-1:-1:-1;;;24027:40:0;;;;;;;;;;;23938:145;23694:396;;;;:::o;44965:97::-;42532:6;;-1:-1:-1;;;;;42532:6:0;38414:10;42679:23;42671:68;;;;-1:-1:-1;;;42671:68:0;;;;;;;:::i;:::-;45033:7:::1;:21:::0;;-1:-1:-1;;45033:21:0::1;::::0;::::1;;::::0;;;::::1;::::0;;44965:97::o;45070:558::-;45171:13;45224:16;45232:7;45224;:16::i;:::-;45202:113;;;;-1:-1:-1;;;45202:113:0;;9293:2:1;45202:113:0;;;9275:21:1;9332:2;9312:18;;;9305:30;9371:34;9351:18;;;9344:62;-1:-1:-1;;;9422:18:1;;;9415:45;9477:19;;45202:113:0;9091:411:1;45202:113:0;45370:1;45352:7;45346:21;;;;;:::i;:::-;;;:25;:274;;;;;;;;;;;;;;;;;45463:7;45497:25;45514:7;45497:16;:25::i;:::-;45420:159;;;;;;;;;:::i;:::-;;;;;;;;;;;;;45326:294;45070:558;-1:-1:-1;;45070:558:0:o;43368:201::-;42532:6;;-1:-1:-1;;;;;42532:6:0;38414:10;42679:23;42671:68;;;;-1:-1:-1;;;42671:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43457:22:0;::::1;43449:73;;;::::0;-1:-1:-1;;;43449:73:0;;7835:2:1;43449:73:0::1;::::0;::::1;7817:21:1::0;7874:2;7854:18;;;7847:30;7913:34;7893:18;;;7886:62;-1:-1:-1;;;7964:18:1;;;7957:36;8010:19;;43449:73:0::1;7633:402:1::0;43449:73:0::1;43533:28;43552:8;43533:18;:28::i;:::-;43368:201:::0;:::o;24345:273::-;24402:4;24458:7;44428:1;24439:26;;:66;;;;;24492:13;;24482:7;:23;24439:66;:152;;;;-1:-1:-1;;24543:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;24543:43:0;:48;;24345:273::o;17547:1129::-;17614:7;17649;;44428:1;17698:23;17694:915;;17751:13;;17744:4;:20;17740:869;;;17789:14;17806:23;;;:17;:23;;;;;;-1:-1:-1;;;17895:23:0;;17891:699;;18414:113;18421:11;18414:113;;-1:-1:-1;;;18492:6:0;18474:25;;;;:17;:25;;;;;;18414:113;;;18560:6;17547:1129;-1:-1:-1;;;17547:1129:0:o;17891:699::-;17766:843;17740:869;18637:31;;-1:-1:-1;;;18637:31:0;;;;;;;;;;;29584:2515;29699:27;29729;29748:7;29729:18;:27::i;:::-;29699:57;;29814:4;-1:-1:-1;;;;;29773:45:0;29789:19;-1:-1:-1;;;;;29773:45:0;;29769:86;;29827:28;;-1:-1:-1;;;29827:28:0;;;;;;;;;;;29769:86;29868:22;38414:10;-1:-1:-1;;;;;29894:27:0;;;;:87;;-1:-1:-1;29938:43:0;29955:4;38414:10;22966:164;:::i;29938:43::-;29894:147;;;-1:-1:-1;38414:10:0;29998:20;30010:7;29998:11;:20::i;:::-;-1:-1:-1;;;;;29998:43:0;;29894:147;29868:174;;30060:17;30055:66;;30086:35;;-1:-1:-1;;;30086:35:0;;;;;;;;;;;30055:66;-1:-1:-1;;;;;30136:16:0;;30132:52;;30161:23;;-1:-1:-1;;;30161:23:0;;;;;;;;;;;30132:52;30313:24;;;;:15;:24;;;;;;;;30306:31;;-1:-1:-1;;;;;;30306:31:0;;;-1:-1:-1;;;;;30705:24:0;;;;;:18;:24;;;;;30703:26;;-1:-1:-1;;30703:26:0;;;30774:22;;;;;;;30772:24;;-1:-1:-1;30772:24:0;;;31067:26;;;:17;:26;;;;;-1:-1:-1;;;31155:15:0;11902:3;31155:41;31113:84;;:128;;31067:174;;;31361:46;;31357:626;;31465:1;31455:11;;31433:19;31588:30;;;:17;:30;;;;;;31584:384;;31726:13;;31711:11;:28;31707:242;;31873:30;;;;:17;:30;;;;;:52;;;31707:242;31414:569;31357:626;32030:7;32026:2;-1:-1:-1;;;;;32011:27:0;32020:4;-1:-1:-1;;;;;32011:27:0;;;;;;;;;;;29688:2411;;29584:2515;;;:::o;43729:191::-;43822:6;;;-1:-1:-1;;;;;43839:17:0;;;-1:-1:-1;;;;;;43839:17:0;;;;;;;43872:40;;43822:6;;;43839:17;43822:6;;43872:40;;43803:16;;43872:40;43792:128;43729:191;:::o;24702:104::-;24771:27;24781:2;24785:8;24771:27;;;;;;;;;;;;:9;:27::i;35796:716::-;35980:88;;-1:-1:-1;;;35980:88:0;;35959:4;;-1:-1:-1;;;;;35980:45:0;;;;;:88;;38414:10;;36047:4;;36053:7;;36062:5;;35980:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35980:88:0;;;;;;;;-1:-1:-1;;35980:88:0;;;;;;;;;;;;:::i;:::-;;;35976:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36263:13:0;;36259:235;;36309:40;;-1:-1:-1;;;36309:40:0;;;;;;;;;;;36259:235;36452:6;36446:13;36437:6;36433:2;36429:15;36422:38;35976:529;-1:-1:-1;;;;;;36139:64:0;-1:-1:-1;;;36139:64:0;;-1:-1:-1;35976:529:0;35796:716;;;;;;:::o;398:723::-;454:13;675:10;671:53;;-1:-1:-1;;702:10:0;;;;;;;;;;;;-1:-1:-1;;;702:10:0;;;;;398:723::o;671:53::-;749:5;734:12;790:78;797:9;;790:78;;823:8;;;;:::i;:::-;;-1:-1:-1;846:10:0;;-1:-1:-1;854:2:0;846:10;;:::i;:::-;;;790:78;;;878:19;910:6;900:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;900:17:0;;878:39;;928:154;935:10;;928:154;;962:11;972:1;962:11;;:::i;:::-;;-1:-1:-1;1031:10:0;1039:2;1031:5;:10;:::i;:::-;1018:24;;:2;:24;:::i;:::-;1005:39;;988:6;995;988:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;988:56:0;;;;;;;;-1:-1:-1;1059:11:0;1068:2;1059:11;;:::i;:::-;;;928:154;;25179:2236;25302:20;25325:13;-1:-1:-1;;;;;25353:16:0;;25349:48;;25378:19;;-1:-1:-1;;;25378:19:0;;;;;;;;;;;25349:48;25412:13;25408:44;;25434:18;;-1:-1:-1;;;25434:18:0;;;;;;;;;;;25408:44;-1:-1:-1;;;;;26001:22:0;;;;;;:18;:22;;;;11385:2;26001:22;;;:70;;26039:31;26027:44;;26001:70;;;26314:31;;;:17;:31;;;;;26407:15;11902:3;26407:41;26365:84;;-1:-1:-1;26485:13:0;;12165:3;26470:56;26365:162;26314:213;;:31;;26608:23;;;;26652:14;:19;26648:635;;26692:313;26723:38;;26748:12;;-1:-1:-1;;;;;26723:38:0;;;26740:1;;26723:38;;26740:1;;26723:38;26789:69;26828:1;26832:2;26836:14;;;;;;26852:5;26789:30;:69::i;:::-;26784:174;;26894:40;;-1:-1:-1;;;26894:40:0;;;;;;;;;;;26784:174;27000:3;26985:12;:18;26692:313;;27086:12;27069:13;;:29;27065:43;;27100:8;;;27065:43;26648:635;;;27149:119;27180:40;;27205:14;;;;;-1:-1:-1;;;;;27180:40:0;;;27197:1;;27180:40;;27197:1;;27180:40;27263:3;27248:12;:18;27149:119;;26648:635;-1:-1:-1;27297:13:0;:28;;;27347:60;;27380:2;27384:12;27398:8;27347:60;:::i;-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:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:257::-;4341:3;4379:5;4373:12;4406:6;4401:3;4394:19;4422:63;4478:6;4471:4;4466:3;4462:14;4455:4;4448:5;4444:16;4422:63;:::i;:::-;4539:2;4518:15;-1:-1:-1;;4514:29:1;4505:39;;;;4546:4;4501:50;;4300:257;-1:-1:-1;;4300:257:1:o;4562:185::-;4604:3;4642:5;4636:12;4657:52;4702:6;4697:3;4690:4;4683:5;4679:16;4657:52;:::i;:::-;4725:16;;;;;4562:185;-1:-1:-1;;4562:185:1:o;4870:1301::-;5147:3;5176:1;5209:6;5203:13;5239:3;5261:1;5289:9;5285:2;5281:18;5271:28;;5349:2;5338:9;5334:18;5371;5361:61;;5415:4;5407:6;5403:17;5393:27;;5361:61;5441:2;5489;5481:6;5478:14;5458:18;5455:38;5452:165;;;-1:-1:-1;;;5516:33:1;;5572:4;5569:1;5562:15;5602:4;5523:3;5590:17;5452:165;5633:18;5660:104;;;;5778:1;5773:320;;;;5626:467;;5660:104;-1:-1:-1;;5693:24:1;;5681:37;;5738:16;;;;-1:-1:-1;5660:104:1;;5773:320;9762:1;9755:14;;;9799:4;9786:18;;5868:1;5882:165;5896:6;5893:1;5890:13;5882:165;;;5974:14;;5961:11;;;5954:35;6017:16;;;;5911:10;;5882:165;;;5886:3;;6076:6;6071:3;6067:16;6060:23;;5626:467;;;;;;;6109:56;6134:30;6160:3;6152:6;6134:30;:::i;:::-;-1:-1:-1;;;4812:20:1;;4857:1;4848:11;;4752:113;6109:56;6102:63;4870:1301;-1:-1:-1;;;;;4870:1301:1:o;6384:488::-;-1:-1:-1;;;;;6653:15:1;;;6635:34;;6705:15;;6700:2;6685:18;;6678:43;6752:2;6737:18;;6730:34;;;6800:3;6795:2;6780:18;;6773:31;;;6578:4;;6821:45;;6846:19;;6838:6;6821:45;:::i;:::-;6813:53;6384:488;-1:-1:-1;;;;;;6384:488:1:o;7069:219::-;7218:2;7207:9;7200:21;7181:4;7238:44;7278:2;7267:9;7263:18;7255:6;7238:44;:::i;8730:356::-;8932:2;8914:21;;;8951:18;;;8944:30;9010:34;9005:2;8990:18;;8983:62;9077:2;9062:18;;8730:356::o;9815:128::-;9855:3;9886:1;9882:6;9879:1;9876:13;9873:39;;;9892:18;;:::i;:::-;-1:-1:-1;9928:9:1;;9815:128::o;9948:120::-;9988:1;10014;10004:35;;10019:18;;:::i;:::-;-1:-1:-1;10053:9:1;;9948:120::o;10073:125::-;10113:4;10141:1;10138;10135:8;10132:34;;;10146:18;;:::i;:::-;-1:-1:-1;10183:9:1;;10073:125::o;10203:258::-;10275:1;10285:113;10299:6;10296:1;10293:13;10285:113;;;10375:11;;;10369:18;10356:11;;;10349:39;10321:2;10314:10;10285:113;;;10416:6;10413:1;10410:13;10407:48;;;-1:-1:-1;;10451:1:1;10433:16;;10426:27;10203:258::o;10466:380::-;10545:1;10541:12;;;;10588;;;10609:61;;10663:4;10655:6;10651:17;10641:27;;10609:61;10716:2;10708:6;10705:14;10685:18;10682:38;10679:161;;;10762:10;10757:3;10753:20;10750:1;10743:31;10797:4;10794:1;10787:15;10825:4;10822:1;10815:15;10679:161;;10466:380;;;:::o;10851:135::-;10890:3;-1:-1:-1;;10911:17:1;;10908:43;;;10931:18;;:::i;:::-;-1:-1:-1;10978:1:1;10967:13;;10851:135::o;10991:112::-;11023:1;11049;11039:35;;11054:18;;:::i;:::-;-1:-1:-1;11088:9:1;;10991:112::o;11108:127::-;11169:10;11164:3;11160:20;11157:1;11150:31;11200:4;11197:1;11190:15;11224:4;11221:1;11214:15;11240:127;11301:10;11296:3;11292:20;11289:1;11282:31;11332:4;11329:1;11322:15;11356:4;11353:1;11346:15;11372:127;11433:10;11428:3;11424:20;11421:1;11414:31;11464:4;11461:1;11454:15;11488:4;11485:1;11478:15;11504:127;11565:10;11560:3;11556:20;11553:1;11546:31;11596:4;11593:1;11586:15;11620:4;11617:1;11610:15;11636:131;-1:-1:-1;;;;;;11710:32:1;;11700:43;;11690:71;;11757:1;11754;11747:12
Swarm Source
ipfs://f9aaedb02bbfecc64859c82d1fba8f37b7c81d896844e0e5b7533c445949bf70
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.