ERC-721
Overview
Max Total Supply
388 RektGuy.AI
Holders
113
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 RektGuy.AILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RektGuyAI
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-29 */ /** *Submitted for verification at Etherscan.io on 2022-05-25 */ //free mint 500 2/tx //paid mint 2900 5/tx for 0.003 //20 per wallet // SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.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: https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol // ERC721A Contracts v3.3.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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface 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); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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 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); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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 overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), 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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } pragma solidity ^0.8.0; contract RektGuyAI is ERC721A, Ownable { using Strings for uint256; uint256 public price = 0.003 ether; uint256 public maxPerTx = 5; uint256 public maxFreePerTx = 2; uint256 public maxPerWallet = 20; uint256 public totalFree = 500; uint256 public mintedSupply = 0; uint256 public maxSupply = 3400; bool public mintEnabled = true; bool public revealed = true; mapping(address => uint256) public mintedWallets; string public baseURI = "ipfs://QmYfeUx9rrnG5BUZmapQWngmZgdNQSEo8Nacqjaf3W9QKw/"; constructor() ERC721A("RektGuyAI", "RektGuy.AI") {} function toggleIsMintEnabled() external onlyOwner { mintEnabled = !mintEnabled; } function isPublicMintEnabled() public view returns (bool) { return mintEnabled; } function setMaxSupply(uint256 maxSupply_) external onlyOwner { maxSupply = maxSupply_; } function mint(uint256 quantity) external payable { uint256 cost = price; bool isFree = ((mintedSupply + quantity < totalFree + 1) && (mintedWallets[msg.sender] + quantity <= maxPerWallet)); if (isFree) { cost = 0; require(quantity < 3, "Max per TX is 2"); } else { require(quantity < 6, "Max per TX is 5"); } require(mintEnabled, "Minting is not live yet"); require(msg.value >= quantity * cost, "Please send the exact amount."); require(mintedSupply + quantity < maxSupply + 1, "Sold out"); require(mintedWallets[msg.sender] + quantity <= maxPerWallet, "Max 12 per wallet"); mintedWallets[msg.sender] = mintedWallets[msg.sender] + quantity; mintedSupply = mintedSupply + quantity; _safeMint(msg.sender, quantity); } function getBalance() public view returns(uint) { return address(this).balance; } function withdrawMoney() public onlyOwner { address payable to = payable(msg.sender); to.transfer(getBalance()); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setPrice(uint256 newPrice) public onlyOwner { price = newPrice; } function setSupply(uint256 newSupply) public onlyOwner { maxSupply = newSupply; } function setFreeSupply(uint256 newSupply) public onlyOwner { totalFree = newSupply; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); 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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"isPublicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreePerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedWallets","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":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setFreeSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setSupply","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":[],"name":"toggleIsMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
660aa87bee5380006009556005600a556002600b556014600c556101f4600d556000600e55610d48600f556010805461ffff191661010117905560e0604052603660808181529062001d2760a0398051620000639160129160209091019062000145565b503480156200007157600080fd5b50604080518082018252600981526852656b74477579414960b81b60208083019182528351808501909452600a84526952656b744775792e414960b01b908401528151919291620000c59160029162000145565b508051620000db90600390602084019062000145565b50506000805550620000ed33620000f3565b62000228565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015390620001eb565b90600052602060002090601f016020900481019282620001775760008555620001c2565b82601f106200019257805160ff1916838001178555620001c2565b82800160010185558215620001c2579182015b82811115620001c2578251825591602001919060010190620001a5565b50620001d0929150620001d4565b5090565b5b80821115620001d05760008155600101620001d5565b600181811c908216806200020057607f821691505b602082108114156200022257634e487b7160e01b600052602260045260246000fd5b50919050565b611aef80620002386000396000f3fe60806040526004361061021a5760003560e01c80637dc949b211610123578063b88d4fde116100ab578063d5abeb011161006f578063d5abeb01146105a8578063e985e9c5146105be578063f2fde38b14610607578063f676308a14610627578063f968adbe1461064757600080fd5b8063b88d4fde14610523578063c1bd8cf914610543578063c407321714610559578063c87b56dd1461056e578063d12397301461058e57600080fd5b8063a035b1fe116100f2578063a035b1fe14610498578063a0712d68146104ae578063a22cb465146104c1578063ac446002146104e1578063ada7c4ed146104f657600080fd5b80637dc949b21461042f5780638da5cb5b1461044557806391b7f5ed1461046357806395d89b411461048357600080fd5b80633b4c4b25116101a65780636352211e116101755780636352211e146103c55780636c0360eb146103e55780636f8b44b01461035057806370a08231146103fa578063715018a61461041a57600080fd5b80633b4c4b251461035057806342842e0e14610370578063453c23101461039057806351830227146103a657600080fd5b8063095ea7b3116101ed578063095ea7b3146102c257806312065fe0146102e457806318160ddd1461030157806323b872dd1461031a578063333e44e61461033a57600080fd5b80630116bc2d1461021f57806301ffc9a71461024857806306fdde0314610268578063081812fc1461028a575b600080fd5b34801561022b57600080fd5b5060105460ff165b60405190151581526020015b60405180910390f35b34801561025457600080fd5b50610233610263366004611778565b61065d565b34801561027457600080fd5b5061027d6106af565b60405161023f919061190b565b34801561029657600080fd5b506102aa6102a53660046117b2565b610741565b6040516001600160a01b03909116815260200161023f565b3480156102ce57600080fd5b506102e26102dd36600461174e565b610785565b005b3480156102f057600080fd5b50475b60405190815260200161023f565b34801561030d57600080fd5b50600154600054036102f3565b34801561032657600080fd5b506102e26103353660046115fa565b610858565b34801561034657600080fd5b506102f3600d5481565b34801561035c57600080fd5b506102e261036b3660046117b2565b610868565b34801561037c57600080fd5b506102e261038b3660046115fa565b6108a0565b34801561039c57600080fd5b506102f3600c5481565b3480156103b257600080fd5b5060105461023390610100900460ff1681565b3480156103d157600080fd5b506102aa6103e03660046117b2565b6108bb565b3480156103f157600080fd5b5061027d6108c6565b34801561040657600080fd5b506102f36104153660046115ac565b610954565b34801561042657600080fd5b506102e26109a3565b34801561043b57600080fd5b506102f3600b5481565b34801561045157600080fd5b506008546001600160a01b03166102aa565b34801561046f57600080fd5b506102e261047e3660046117b2565b6109d9565b34801561048f57600080fd5b5061027d610a08565b3480156104a457600080fd5b506102f360095481565b6102e26104bc3660046117b2565b610a17565b3480156104cd57600080fd5b506102e26104dc366004611712565b610c9c565b3480156104ed57600080fd5b506102e2610d32565b34801561050257600080fd5b506102f36105113660046115ac565b60116020526000908152604090205481565b34801561052f57600080fd5b506102e261053e366004611636565b610d8e565b34801561054f57600080fd5b506102f3600e5481565b34801561056557600080fd5b506102e2610dd8565b34801561057a57600080fd5b5061027d6105893660046117b2565b610e16565b34801561059a57600080fd5b506010546102339060ff1681565b3480156105b457600080fd5b506102f3600f5481565b3480156105ca57600080fd5b506102336105d93660046115c7565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561061357600080fd5b506102e26106223660046115ac565b610ec1565b34801561063357600080fd5b506102e26106423660046117b2565b610f5c565b34801561065357600080fd5b506102f3600a5481565b60006301ffc9a760e01b6001600160e01b03198316148061068e57506380ac58cd60e01b6001600160e01b03198316145b806106a95750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106be906119e1565b80601f01602080910402602001604051908101604052809291908181526020018280546106ea906119e1565b80156107375780601f1061070c57610100808354040283529160200191610737565b820191906000526020600020905b81548152906001019060200180831161071a57829003601f168201915b5050505050905090565b600061074c82610f8b565b610769576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061079082610fb2565b9050806001600160a01b0316836001600160a01b031614156107c55760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146107fc576107df81336105d9565b6107fc576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61086383838361101a565b505050565b6008546001600160a01b0316331461089b5760405162461bcd60e51b81526004016108929061191e565b60405180910390fd5b600f55565b61086383838360405180602001604052806000815250610d8e565b60006106a982610fb2565b601280546108d3906119e1565b80601f01602080910402602001604051908101604052809291908181526020018280546108ff906119e1565b801561094c5780601f106109215761010080835404028352916020019161094c565b820191906000526020600020905b81548152906001019060200180831161092f57829003601f168201915b505050505081565b60006001600160a01b03821661097d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146109cd5760405162461bcd60e51b81526004016108929061191e565b6109d760006111bd565b565b6008546001600160a01b03163314610a035760405162461bcd60e51b81526004016108929061191e565b600955565b6060600380546106be906119e1565b600954600d54600090610a2b906001611953565b83600e54610a399190611953565b108015610a625750600c5433600090815260116020526040902054610a5f908590611953565b11155b90508015610ab5576000915060038310610ab05760405162461bcd60e51b815260206004820152600f60248201526e26b0bc103832b9102a2c1034b9901960891b6044820152606401610892565b610af7565b60068310610af75760405162461bcd60e51b815260206004820152600f60248201526e4d617820706572205458206973203560881b6044820152606401610892565b60105460ff16610b495760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206973206e6f74206c697665207965740000000000000000006044820152606401610892565b610b53828461197f565b341015610ba25760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e0000006044820152606401610892565b600f54610bb0906001611953565b83600e54610bbe9190611953565b10610bf65760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610892565b600c5433600090815260116020526040902054610c14908590611953565b1115610c565760405162461bcd60e51b815260206004820152601160248201527013585e080c4c881c195c881dd85b1b195d607a1b6044820152606401610892565b33600090815260116020526040902054610c71908490611953565b33600090815260116020526040902055600e54610c8f908490611953565b600e55610863338461120f565b6001600160a01b038216331415610cc65760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610d5c5760405162461bcd60e51b81526004016108929061191e565b33806108fc476040518115909202916000818181858888f19350505050158015610d8a573d6000803e3d6000fd5b5050565b610d9984848461101a565b6001600160a01b0383163b15610dd257610db584848484611229565b610dd2576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314610e025760405162461bcd60e51b81526004016108929061191e565b6010805460ff19811660ff90911615179055565b6060610e2182610f8b565b610e655760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610892565b600060128054610e74906119e1565b905011610e9057604051806020016040528060008152506106a9565b6012610e9b83611321565b604051602001610eac929190611813565b60405160208183030381529060405292915050565b6008546001600160a01b03163314610eeb5760405162461bcd60e51b81526004016108929061191e565b6001600160a01b038116610f505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610892565b610f59816111bd565b50565b6008546001600160a01b03163314610f865760405162461bcd60e51b81526004016108929061191e565b600d55565b60008054821080156106a9575050600090815260046020526040902054600160e01b161590565b60008160005481101561100157600081815260046020526040902054600160e01b8116610fff575b80610ff8575060001901600081815260046020526040902054610fda565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600061102582610fb2565b9050836001600160a01b0316816001600160a01b0316146110585760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611076575061107685336105d9565b8061109157503361108684610741565b6001600160a01b0316145b9050806110b157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166110d857604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b86178117909155821661117557600183016000818152600460205260409020546111735760005481146111735760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610d8a82826040518060200160405280600081525061141f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061125e9033908990889088906004016118ce565b602060405180830381600087803b15801561127857600080fd5b505af19250505080156112a8575060408051601f3d908101601f191682019092526112a591810190611795565b60015b611303573d8080156112d6576040519150601f19603f3d011682016040523d82523d6000602084013e6112db565b606091505b5080516112fb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816113455750506040805180820190915260018152600360fc1b602082015290565b8160005b811561136f578061135981611a1c565b91506113689050600a8361196b565b9150611349565b60008167ffffffffffffffff81111561138a5761138a611a8d565b6040519080825280601f01601f1916602001820160405280156113b4576020820181803683370190505b5090505b8415611319576113c960018361199e565b91506113d6600a86611a37565b6113e1906030611953565b60f81b8183815181106113f6576113f6611a77565b60200101906001600160f81b031916908160001a905350611418600a8661196b565b94506113b8565b6000546001600160a01b03841661144857604051622e076360e81b815260040160405180910390fd5b826114665760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b1561153b575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46115046000878480600101955087611229565b611521576040516368d2bf6b60e11b815260040160405180910390fd5b8082106114b957826000541461153657600080fd5b611580565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061153c575b506000908155610dd29085838684565b80356001600160a01b03811681146115a757600080fd5b919050565b6000602082840312156115be57600080fd5b610ff882611590565b600080604083850312156115da57600080fd5b6115e383611590565b91506115f160208401611590565b90509250929050565b60008060006060848603121561160f57600080fd5b61161884611590565b925061162660208501611590565b9150604084013590509250925092565b6000806000806080858703121561164c57600080fd5b61165585611590565b935061166360208601611590565b925060408501359150606085013567ffffffffffffffff8082111561168757600080fd5b818701915087601f83011261169b57600080fd5b8135818111156116ad576116ad611a8d565b604051601f8201601f19908116603f011681019083821181831017156116d5576116d5611a8d565b816040528281528a60208487010111156116ee57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561172557600080fd5b61172e83611590565b91506020830135801515811461174357600080fd5b809150509250929050565b6000806040838503121561176157600080fd5b61176a83611590565b946020939093013593505050565b60006020828403121561178a57600080fd5b8135610ff881611aa3565b6000602082840312156117a757600080fd5b8151610ff881611aa3565b6000602082840312156117c457600080fd5b5035919050565b600081518084526117e38160208601602086016119b5565b601f01601f19169290920160200192915050565b600081516118098185602086016119b5565b9290920192915050565b600080845481600182811c91508083168061182f57607f831692505b602080841082141561184f57634e487b7160e01b86526022600452602486fd5b8180156118635760018114611874576118a1565b60ff198616895284890196506118a1565b60008b81526020902060005b868110156118995781548b820152908501908301611880565b505084890196505b5050505050506118c56118b482866117f7565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611901908301846117cb565b9695505050505050565b602081526000610ff860208301846117cb565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561196657611966611a4b565b500190565b60008261197a5761197a611a61565b500490565b600081600019048311821515161561199957611999611a4b565b500290565b6000828210156119b0576119b0611a4b565b500390565b60005b838110156119d05781810151838201526020016119b8565b83811115610dd25750506000910152565b600181811c908216806119f557607f821691505b60208210811415611a1657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611a3057611a30611a4b565b5060010190565b600082611a4657611a46611a61565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f5957600080fdfea26469706673582212202c309447553067904e15e66797897a7c5e12a7f618c8da6230665dc8fe1f116f64736f6c63430008070033697066733a2f2f516d59666555783972726e473542555a6d617051576e676d5a67644e5153456f384e6163716a6166335739514b772f
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80637dc949b211610123578063b88d4fde116100ab578063d5abeb011161006f578063d5abeb01146105a8578063e985e9c5146105be578063f2fde38b14610607578063f676308a14610627578063f968adbe1461064757600080fd5b8063b88d4fde14610523578063c1bd8cf914610543578063c407321714610559578063c87b56dd1461056e578063d12397301461058e57600080fd5b8063a035b1fe116100f2578063a035b1fe14610498578063a0712d68146104ae578063a22cb465146104c1578063ac446002146104e1578063ada7c4ed146104f657600080fd5b80637dc949b21461042f5780638da5cb5b1461044557806391b7f5ed1461046357806395d89b411461048357600080fd5b80633b4c4b25116101a65780636352211e116101755780636352211e146103c55780636c0360eb146103e55780636f8b44b01461035057806370a08231146103fa578063715018a61461041a57600080fd5b80633b4c4b251461035057806342842e0e14610370578063453c23101461039057806351830227146103a657600080fd5b8063095ea7b3116101ed578063095ea7b3146102c257806312065fe0146102e457806318160ddd1461030157806323b872dd1461031a578063333e44e61461033a57600080fd5b80630116bc2d1461021f57806301ffc9a71461024857806306fdde0314610268578063081812fc1461028a575b600080fd5b34801561022b57600080fd5b5060105460ff165b60405190151581526020015b60405180910390f35b34801561025457600080fd5b50610233610263366004611778565b61065d565b34801561027457600080fd5b5061027d6106af565b60405161023f919061190b565b34801561029657600080fd5b506102aa6102a53660046117b2565b610741565b6040516001600160a01b03909116815260200161023f565b3480156102ce57600080fd5b506102e26102dd36600461174e565b610785565b005b3480156102f057600080fd5b50475b60405190815260200161023f565b34801561030d57600080fd5b50600154600054036102f3565b34801561032657600080fd5b506102e26103353660046115fa565b610858565b34801561034657600080fd5b506102f3600d5481565b34801561035c57600080fd5b506102e261036b3660046117b2565b610868565b34801561037c57600080fd5b506102e261038b3660046115fa565b6108a0565b34801561039c57600080fd5b506102f3600c5481565b3480156103b257600080fd5b5060105461023390610100900460ff1681565b3480156103d157600080fd5b506102aa6103e03660046117b2565b6108bb565b3480156103f157600080fd5b5061027d6108c6565b34801561040657600080fd5b506102f36104153660046115ac565b610954565b34801561042657600080fd5b506102e26109a3565b34801561043b57600080fd5b506102f3600b5481565b34801561045157600080fd5b506008546001600160a01b03166102aa565b34801561046f57600080fd5b506102e261047e3660046117b2565b6109d9565b34801561048f57600080fd5b5061027d610a08565b3480156104a457600080fd5b506102f360095481565b6102e26104bc3660046117b2565b610a17565b3480156104cd57600080fd5b506102e26104dc366004611712565b610c9c565b3480156104ed57600080fd5b506102e2610d32565b34801561050257600080fd5b506102f36105113660046115ac565b60116020526000908152604090205481565b34801561052f57600080fd5b506102e261053e366004611636565b610d8e565b34801561054f57600080fd5b506102f3600e5481565b34801561056557600080fd5b506102e2610dd8565b34801561057a57600080fd5b5061027d6105893660046117b2565b610e16565b34801561059a57600080fd5b506010546102339060ff1681565b3480156105b457600080fd5b506102f3600f5481565b3480156105ca57600080fd5b506102336105d93660046115c7565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561061357600080fd5b506102e26106223660046115ac565b610ec1565b34801561063357600080fd5b506102e26106423660046117b2565b610f5c565b34801561065357600080fd5b506102f3600a5481565b60006301ffc9a760e01b6001600160e01b03198316148061068e57506380ac58cd60e01b6001600160e01b03198316145b806106a95750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106be906119e1565b80601f01602080910402602001604051908101604052809291908181526020018280546106ea906119e1565b80156107375780601f1061070c57610100808354040283529160200191610737565b820191906000526020600020905b81548152906001019060200180831161071a57829003601f168201915b5050505050905090565b600061074c82610f8b565b610769576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061079082610fb2565b9050806001600160a01b0316836001600160a01b031614156107c55760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146107fc576107df81336105d9565b6107fc576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61086383838361101a565b505050565b6008546001600160a01b0316331461089b5760405162461bcd60e51b81526004016108929061191e565b60405180910390fd5b600f55565b61086383838360405180602001604052806000815250610d8e565b60006106a982610fb2565b601280546108d3906119e1565b80601f01602080910402602001604051908101604052809291908181526020018280546108ff906119e1565b801561094c5780601f106109215761010080835404028352916020019161094c565b820191906000526020600020905b81548152906001019060200180831161092f57829003601f168201915b505050505081565b60006001600160a01b03821661097d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146109cd5760405162461bcd60e51b81526004016108929061191e565b6109d760006111bd565b565b6008546001600160a01b03163314610a035760405162461bcd60e51b81526004016108929061191e565b600955565b6060600380546106be906119e1565b600954600d54600090610a2b906001611953565b83600e54610a399190611953565b108015610a625750600c5433600090815260116020526040902054610a5f908590611953565b11155b90508015610ab5576000915060038310610ab05760405162461bcd60e51b815260206004820152600f60248201526e26b0bc103832b9102a2c1034b9901960891b6044820152606401610892565b610af7565b60068310610af75760405162461bcd60e51b815260206004820152600f60248201526e4d617820706572205458206973203560881b6044820152606401610892565b60105460ff16610b495760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206973206e6f74206c697665207965740000000000000000006044820152606401610892565b610b53828461197f565b341015610ba25760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e0000006044820152606401610892565b600f54610bb0906001611953565b83600e54610bbe9190611953565b10610bf65760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610892565b600c5433600090815260116020526040902054610c14908590611953565b1115610c565760405162461bcd60e51b815260206004820152601160248201527013585e080c4c881c195c881dd85b1b195d607a1b6044820152606401610892565b33600090815260116020526040902054610c71908490611953565b33600090815260116020526040902055600e54610c8f908490611953565b600e55610863338461120f565b6001600160a01b038216331415610cc65760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610d5c5760405162461bcd60e51b81526004016108929061191e565b33806108fc476040518115909202916000818181858888f19350505050158015610d8a573d6000803e3d6000fd5b5050565b610d9984848461101a565b6001600160a01b0383163b15610dd257610db584848484611229565b610dd2576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314610e025760405162461bcd60e51b81526004016108929061191e565b6010805460ff19811660ff90911615179055565b6060610e2182610f8b565b610e655760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610892565b600060128054610e74906119e1565b905011610e9057604051806020016040528060008152506106a9565b6012610e9b83611321565b604051602001610eac929190611813565b60405160208183030381529060405292915050565b6008546001600160a01b03163314610eeb5760405162461bcd60e51b81526004016108929061191e565b6001600160a01b038116610f505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610892565b610f59816111bd565b50565b6008546001600160a01b03163314610f865760405162461bcd60e51b81526004016108929061191e565b600d55565b60008054821080156106a9575050600090815260046020526040902054600160e01b161590565b60008160005481101561100157600081815260046020526040902054600160e01b8116610fff575b80610ff8575060001901600081815260046020526040902054610fda565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600061102582610fb2565b9050836001600160a01b0316816001600160a01b0316146110585760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611076575061107685336105d9565b8061109157503361108684610741565b6001600160a01b0316145b9050806110b157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166110d857604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b86178117909155821661117557600183016000818152600460205260409020546111735760005481146111735760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610d8a82826040518060200160405280600081525061141f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061125e9033908990889088906004016118ce565b602060405180830381600087803b15801561127857600080fd5b505af19250505080156112a8575060408051601f3d908101601f191682019092526112a591810190611795565b60015b611303573d8080156112d6576040519150601f19603f3d011682016040523d82523d6000602084013e6112db565b606091505b5080516112fb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816113455750506040805180820190915260018152600360fc1b602082015290565b8160005b811561136f578061135981611a1c565b91506113689050600a8361196b565b9150611349565b60008167ffffffffffffffff81111561138a5761138a611a8d565b6040519080825280601f01601f1916602001820160405280156113b4576020820181803683370190505b5090505b8415611319576113c960018361199e565b91506113d6600a86611a37565b6113e1906030611953565b60f81b8183815181106113f6576113f6611a77565b60200101906001600160f81b031916908160001a905350611418600a8661196b565b94506113b8565b6000546001600160a01b03841661144857604051622e076360e81b815260040160405180910390fd5b826114665760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b1561153b575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46115046000878480600101955087611229565b611521576040516368d2bf6b60e11b815260040160405180910390fd5b8082106114b957826000541461153657600080fd5b611580565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061153c575b506000908155610dd29085838684565b80356001600160a01b03811681146115a757600080fd5b919050565b6000602082840312156115be57600080fd5b610ff882611590565b600080604083850312156115da57600080fd5b6115e383611590565b91506115f160208401611590565b90509250929050565b60008060006060848603121561160f57600080fd5b61161884611590565b925061162660208501611590565b9150604084013590509250925092565b6000806000806080858703121561164c57600080fd5b61165585611590565b935061166360208601611590565b925060408501359150606085013567ffffffffffffffff8082111561168757600080fd5b818701915087601f83011261169b57600080fd5b8135818111156116ad576116ad611a8d565b604051601f8201601f19908116603f011681019083821181831017156116d5576116d5611a8d565b816040528281528a60208487010111156116ee57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561172557600080fd5b61172e83611590565b91506020830135801515811461174357600080fd5b809150509250929050565b6000806040838503121561176157600080fd5b61176a83611590565b946020939093013593505050565b60006020828403121561178a57600080fd5b8135610ff881611aa3565b6000602082840312156117a757600080fd5b8151610ff881611aa3565b6000602082840312156117c457600080fd5b5035919050565b600081518084526117e38160208601602086016119b5565b601f01601f19169290920160200192915050565b600081516118098185602086016119b5565b9290920192915050565b600080845481600182811c91508083168061182f57607f831692505b602080841082141561184f57634e487b7160e01b86526022600452602486fd5b8180156118635760018114611874576118a1565b60ff198616895284890196506118a1565b60008b81526020902060005b868110156118995781548b820152908501908301611880565b505084890196505b5050505050506118c56118b482866117f7565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611901908301846117cb565b9695505050505050565b602081526000610ff860208301846117cb565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561196657611966611a4b565b500190565b60008261197a5761197a611a61565b500490565b600081600019048311821515161561199957611999611a4b565b500290565b6000828210156119b0576119b0611a4b565b500390565b60005b838110156119d05781810151838201526020016119b8565b83811115610dd25750506000910152565b600181811c908216806119f557607f821691505b60208210811415611a1657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611a3057611a30611a4b565b5060010190565b600082611a4657611a46611a61565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f5957600080fdfea26469706673582212202c309447553067904e15e66797897a7c5e12a7f618c8da6230665dc8fe1f116f64736f6c63430008070033
Deployed Bytecode Sourcemap
76694:2918:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77445:96;;;;;;;;;;-1:-1:-1;77522:11:0;;;;77445:96;;;6166:14:1;;6159:22;6141:41;;6129:2;6114:18;77445:96:0;;;;;;;;13251:615;;;;;;;;;;-1:-1:-1;13251:615:0;;;;;:::i;:::-;;:::i;18264:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;20332:204::-;;;;;;;;;;-1:-1:-1;20332:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5464:32:1;;;5446:51;;5434:2;5419:18;20332:204:0;5300:203:1;19792:474:0;;;;;;;;;;-1:-1:-1;19792:474:0;;;;;:::i;:::-;;:::i;:::-;;78573:95;;;;;;;;;;-1:-1:-1;78639:21:0;78573:95;;;9761:25:1;;;9749:2;9734:18;78573:95:0;9615:177:1;12305:315:0;;;;;;;;;;-1:-1:-1;12571:12:0;;12358:7;12555:13;:28;12305:315;;21218:170;;;;;;;;;;-1:-1:-1;21218:170:0;;;;;:::i;:::-;;:::i;76936:30::-;;;;;;;;;;;;;;;;79039:95;;;;;;;;;;-1:-1:-1;79039:95:0;;;;;:::i;:::-;;:::i;21459:185::-;;;;;;;;;;-1:-1:-1;21459:185:0;;;;;:::i;:::-;;:::i;76895:32::-;;;;;;;;;;;;;;;;77094:27;;;;;;;;;;-1:-1:-1;77094:27:0;;;;;;;;;;;18053:144;;;;;;;;;;-1:-1:-1;18053:144:0;;;;;:::i;:::-;;:::i;77191:80::-;;;;;;;;;;;;;:::i;13930:224::-;;;;;;;;;;-1:-1:-1;13930:224:0;;;;;:::i;:::-;;:::i;43772:103::-;;;;;;;;;;;;;:::i;76855:31::-;;;;;;;;;;;;;;;;43121:87;;;;;;;;;;-1:-1:-1;43194:6:0;;-1:-1:-1;;;;;43194:6:0;43121:87;;78943:88;;;;;;;;;;-1:-1:-1;78943:88:0;;;;;:::i;:::-;;:::i;18433:104::-;;;;;;;;;;;;;:::i;76776:34::-;;;;;;;;;;;;;;;;77660:905;;;;;;:::i;:::-;;:::i;20608:308::-;;;;;;;;;;-1:-1:-1;20608:308:0;;;;;:::i;:::-;;:::i;78676:137::-;;;;;;;;;;;;;:::i;77134:48::-;;;;;;;;;;-1:-1:-1;77134:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;21715:396;;;;;;;;;;-1:-1:-1;21715:396:0;;;;;:::i;:::-;;:::i;76975:31::-;;;;;;;;;;;;;;;;77341:96;;;;;;;;;;;;;:::i;79253:356::-;;;;;;;;;;-1:-1:-1;79253:356:0;;;;;:::i;:::-;;:::i;77055:30::-;;;;;;;;;;-1:-1:-1;77055:30:0;;;;;;;;77015:31;;;;;;;;;;;;;;;;20987:164;;;;;;;;;;-1:-1:-1;20987:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;21108:25:0;;;21084:4;21108:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;20987:164;44030:201;;;;;;;;;;-1:-1:-1;44030:201:0;;;;;:::i;:::-;;:::i;79142:99::-;;;;;;;;;;-1:-1:-1;79142:99:0;;;;;:::i;:::-;;:::i;76819:27::-;;;;;;;;;;;;;;;;13251:615;13336:4;-1:-1:-1;;;;;;;;;13636:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;13713:25:0;;;13636:102;:179;;;-1:-1:-1;;;;;;;;;;13790:25:0;;;13636:179;13616:199;13251:615;-1:-1:-1;;13251:615:0:o;18264:100::-;18318:13;18351:5;18344:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18264:100;:::o;20332:204::-;20400:7;20425:16;20433:7;20425;:16::i;:::-;20420:64;;20450:34;;-1:-1:-1;;;20450:34:0;;;;;;;;;;;20420:64;-1:-1:-1;20504:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;20504:24:0;;20332:204::o;19792:474::-;19865:13;19897:27;19916:7;19897:18;:27::i;:::-;19865:61;;19947:5;-1:-1:-1;;;;;19941:11:0;:2;-1:-1:-1;;;;;19941:11:0;;19937:48;;;19961:24;;-1:-1:-1;;;19961:24:0;;;;;;;;;;;19937:48;36435:10;-1:-1:-1;;;;;20002:28:0;;;19998:175;;20050:44;20067:5;36435:10;20987:164;:::i;20050:44::-;20045:128;;20122:35;;-1:-1:-1;;;20122:35:0;;;;;;;;;;;20045:128;20185:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;20185:29:0;-1:-1:-1;;;;;20185:29:0;;;;;;;;;20230:28;;20185:24;;20230:28;;;;;;;19854:412;19792:474;;:::o;21218:170::-;21352:28;21362:4;21368:2;21372:7;21352:9;:28::i;:::-;21218:170;;;:::o;79039:95::-;43194:6;;-1:-1:-1;;;;;43194:6:0;36435:10;43341:23;43333:68;;;;-1:-1:-1;;;43333:68:0;;;;;;;:::i;:::-;;;;;;;;;79105:9:::1;:21:::0;79039:95::o;21459:185::-;21597:39;21614:4;21620:2;21624:7;21597:39;;;;;;;;;;;;:16;:39::i;18053:144::-;18117:7;18160:27;18179:7;18160:18;:27::i;77191:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;13930:224::-;13994:7;-1:-1:-1;;;;;14018:19:0;;14014:60;;14046:28;;-1:-1:-1;;;14046:28:0;;;;;;;;;;;14014:60;-1:-1:-1;;;;;;14092:25:0;;;;;:18;:25;;;;;;9269:13;14092:54;;13930:224::o;43772:103::-;43194:6;;-1:-1:-1;;;;;43194:6:0;36435:10;43341:23;43333:68;;;;-1:-1:-1;;;43333:68:0;;;;;;;:::i;:::-;43837:30:::1;43864:1;43837:18;:30::i;:::-;43772:103::o:0;78943:88::-;43194:6;;-1:-1:-1;;;;;43194:6:0;36435:10;43341:23;43333:68;;;;-1:-1:-1;;;43333:68:0;;;;;;;:::i;:::-;79007:5:::1;:16:::0;78943:88::o;18433:104::-;18489:13;18522:7;18515:14;;;;;:::i;77660:905::-;77737:5;;77795:9;;77722:12;;77795:13;;77807:1;77795:13;:::i;:::-;77784:8;77769:12;;:23;;;;:::i;:::-;:39;77768:112;;;;-1:-1:-1;77867:12:0;;77841:10;77827:25;;;;:13;:25;;;;;;:36;;77855:8;;77827:36;:::i;:::-;:52;;77768:112;77753:128;;77898:6;77894:175;;;77928:1;77921:8;;77963:1;77952:8;:12;77944:40;;;;-1:-1:-1;;;77944:40:0;;9137:2:1;77944:40:0;;;9119:21:1;9176:2;9156:18;;;9149:30;-1:-1:-1;;;9195:18:1;;;9188:45;9250:18;;77944:40:0;8935:339:1;77944:40:0;77894:175;;;78036:1;78025:8;:12;78017:40;;;;-1:-1:-1;;;78017:40:0;;7724:2:1;78017:40:0;;;7706:21:1;7763:2;7743:18;;;7736:30;-1:-1:-1;;;7782:18:1;;;7775:45;7837:18;;78017:40:0;7522:339:1;78017:40:0;78099:11;;;;78091:47;;;;-1:-1:-1;;;78091:47:0;;6619:2:1;78091:47:0;;;6601:21:1;6658:2;6638:18;;;6631:30;6697:25;6677:18;;;6670:53;6740:18;;78091:47:0;6417:347:1;78091:47:0;78170:15;78181:4;78170:8;:15;:::i;:::-;78157:9;:28;;78149:70;;;;-1:-1:-1;;;78149:70:0;;8779:2:1;78149:70:0;;;8761:21:1;8818:2;8798:18;;;8791:30;8857:31;8837:18;;;8830:59;8906:18;;78149:70:0;8577:353:1;78149:70:0;78264:9;;:13;;78276:1;78264:13;:::i;:::-;78253:8;78238:12;;:23;;;;:::i;:::-;:39;78230:60;;;;-1:-1:-1;;;78230:60:0;;9481:2:1;78230:60:0;;;9463:21:1;9520:1;9500:18;;;9493:29;-1:-1:-1;;;9538:18:1;;;9531:38;9586:18;;78230:60:0;9279:331:1;78230:60:0;78349:12;;78323:10;78309:25;;;;:13;:25;;;;;;:36;;78337:8;;78309:36;:::i;:::-;:52;;78301:82;;;;-1:-1:-1;;;78301:82:0;;6971:2:1;78301:82:0;;;6953:21:1;7010:2;6990:18;;;6983:30;-1:-1:-1;;;7029:18:1;;;7022:47;7086:18;;78301:82:0;6769:341:1;78301:82:0;78438:10;78424:25;;;;:13;:25;;;;;;:36;;78452:8;;78424:36;:::i;:::-;78410:10;78396:25;;;;:13;:25;;;;;:64;78486:12;;:23;;78501:8;;78486:23;:::i;:::-;78471:12;:38;78522:31;78532:10;78544:8;78522:9;:31::i;20608:308::-;-1:-1:-1;;;;;20707:31:0;;36435:10;20707:31;20703:61;;;20747:17;;-1:-1:-1;;;20747:17:0;;;;;;;;;;;20703:61;36435:10;20777:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;20777:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;20777:60:0;;;;;;;;;;20853:55;;6141:41:1;;;20777:49:0;;36435:10;20853:55;;6114:18:1;20853:55:0;;;;;;;20608:308;;:::o;78676:137::-;43194:6;;-1:-1:-1;;;;;43194:6:0;36435:10;43341:23;43333:68;;;;-1:-1:-1;;;43333:68:0;;;;;;;:::i;:::-;78758:10:::1;::::0;78780:25:::1;78639:21:::0;78780:25:::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;78718:95;78676:137::o:0;21715:396::-;21882:28;21892:4;21898:2;21902:7;21882:9;:28::i;:::-;-1:-1:-1;;;;;21925:14:0;;;:19;21921:183;;21964:56;21995:4;22001:2;22005:7;22014:5;21964:30;:56::i;:::-;21959:145;;22048:40;;-1:-1:-1;;;22048:40:0;;;;;;;;;;;21959:145;21715:396;;;;:::o;77341:96::-;43194:6;;-1:-1:-1;;;;;43194:6:0;36435:10;43341:23;43333:68;;;;-1:-1:-1;;;43333:68:0;;;;;;;:::i;:::-;77418:11:::1;::::0;;-1:-1:-1;;77403:26:0;::::1;77418:11;::::0;;::::1;77417:12;77403:26;::::0;;77341:96::o;79253:356::-;79319:13;79353:17;79361:8;79353:7;:17::i;:::-;79345:51;;;;-1:-1:-1;;;79345:51:0;;8068:2:1;79345:51:0;;;8050:21:1;8107:2;8087:18;;;8080:30;-1:-1:-1;;;8126:18:1;;;8119:51;8187:18;;79345:51:0;7866:345:1;79345:51:0;79438:1;79420:7;79414:21;;;;;:::i;:::-;;;:25;:187;;;;;;;;;;;;;;;;;79496:7;79520:26;79537:8;79520:16;:26::i;:::-;79463:122;;;;;;;;;:::i;:::-;;;;;;;;;;;;;79407:194;79253:356;-1:-1:-1;;79253:356:0:o;44030:201::-;43194:6;;-1:-1:-1;;;;;43194:6:0;36435:10;43341:23;43333:68;;;;-1:-1:-1;;;43333:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;44119:22:0;::::1;44111:73;;;::::0;-1:-1:-1;;;44111:73:0;;7317:2:1;44111:73:0::1;::::0;::::1;7299:21:1::0;7356:2;7336:18;;;7329:30;7395:34;7375:18;;;7368:62;-1:-1:-1;;;7446:18:1;;;7439:36;7492:19;;44111:73:0::1;7115:402:1::0;44111:73:0::1;44195:28;44214:8;44195:18;:28::i;:::-;44030:201:::0;:::o;79142:99::-;43194:6;;-1:-1:-1;;;;;43194:6:0;36435:10;43341:23;43333:68;;;;-1:-1:-1;;;43333:68:0;;;;;;;:::i;:::-;79212:9:::1;:21:::0;79142:99::o;22366:273::-;22423:4;22513:13;;22503:7;:23;22460:152;;;;-1:-1:-1;;22564:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;22564:43:0;:48;;22366:273::o;15568:1129::-;15635:7;15670;15772:13;;15765:4;:20;15761:869;;;15810:14;15827:23;;;:17;:23;;;;;;-1:-1:-1;;;15916:23:0;;15912:699;;16435:113;16442:11;16435:113;;-1:-1:-1;;;16513:6:0;16495:25;;;;:17;:25;;;;;;16435:113;;;16581:6;15568:1129;-1:-1:-1;;;15568:1129:0:o;15912:699::-;15787:843;15761:869;16658:31;;-1:-1:-1;;;16658:31:0;;;;;;;;;;;27605:2515;27720:27;27750;27769:7;27750:18;:27::i;:::-;27720:57;;27835:4;-1:-1:-1;;;;;27794:45:0;27810:19;-1:-1:-1;;;;;27794:45:0;;27790:86;;27848:28;;-1:-1:-1;;;27848:28:0;;;;;;;;;;;27790:86;27889:22;36435:10;-1:-1:-1;;;;;27915:27:0;;;;:87;;-1:-1:-1;27959:43:0;27976:4;36435:10;20987:164;:::i;27959:43::-;27915:147;;;-1:-1:-1;36435:10:0;28019:20;28031:7;28019:11;:20::i;:::-;-1:-1:-1;;;;;28019:43:0;;27915:147;27889:174;;28081:17;28076:66;;28107:35;;-1:-1:-1;;;28107:35:0;;;;;;;;;;;28076:66;-1:-1:-1;;;;;28157:16:0;;28153:52;;28182:23;;-1:-1:-1;;;28182:23:0;;;;;;;;;;;28153:52;28334:24;;;;:15;:24;;;;;;;;28327:31;;-1:-1:-1;;;;;;28327:31:0;;;-1:-1:-1;;;;;28726:24:0;;;;;:18;:24;;;;;28724:26;;-1:-1:-1;;28724:26:0;;;28795:22;;;;;;;28793:24;;-1:-1:-1;28793:24:0;;;29088:26;;;:17;:26;;;;;-1:-1:-1;;;29176:15:0;9923:3;29176:41;29134:84;;:128;;29088:174;;;29382:46;;29378:626;;29486:1;29476:11;;29454:19;29609:30;;;:17;:30;;;;;;29605:384;;29747:13;;29732:11;:28;29728:242;;29894:30;;;;:17;:30;;;;;:52;;;29728:242;29435:569;29378:626;30051:7;30047:2;-1:-1:-1;;;;;30032:27:0;30041:4;-1:-1:-1;;;;;30032:27:0;;;;;;;;;;;27709:2411;;27605:2515;;;:::o;44391:191::-;44484:6;;;-1:-1:-1;;;;;44501:17:0;;;-1:-1:-1;;;;;;44501:17:0;;;;;;;44534:40;;44484:6;;;44501:17;44484:6;;44534:40;;44465:16;;44534:40;44454:128;44391:191;:::o;22723:104::-;22792:27;22802:2;22806:8;22792:27;;;;;;;;;;;;:9;:27::i;33817:716::-;34001:88;;-1:-1:-1;;;34001:88:0;;33980:4;;-1:-1:-1;;;;;34001:45:0;;;;;:88;;36435:10;;34068:4;;34074:7;;34083:5;;34001:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34001:88:0;;;;;;;;-1:-1:-1;;34001:88:0;;;;;;;;;;;;:::i;:::-;;;33997:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34284:13:0;;34280:235;;34330:40;;-1:-1:-1;;;34330:40:0;;;;;;;;;;;34280:235;34473:6;34467:13;34458:6;34454:2;34450:15;34443:38;33997:529;-1:-1:-1;;;;;;34160:64:0;-1:-1:-1;;;34160:64:0;;-1:-1:-1;33997:529:0;33817:716;;;;;;:::o;38993:723::-;39049:13;39270:10;39266:53;;-1:-1:-1;;39297:10:0;;;;;;;;;;;;-1:-1:-1;;;39297:10:0;;;;;38993:723::o;39266:53::-;39344:5;39329:12;39385:78;39392:9;;39385:78;;39418:8;;;;:::i;:::-;;-1:-1:-1;39441:10:0;;-1:-1:-1;39449:2:0;39441:10;;:::i;:::-;;;39385:78;;;39473:19;39505:6;39495:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39495:17:0;;39473:39;;39523:154;39530:10;;39523:154;;39557:11;39567:1;39557:11;;:::i;:::-;;-1:-1:-1;39626:10:0;39634:2;39626:5;:10;:::i;:::-;39613:24;;:2;:24;:::i;:::-;39600:39;;39583:6;39590;39583:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;39583:56:0;;;;;;;;-1:-1:-1;39654:11:0;39663:2;39654:11;;:::i;:::-;;;39523:154;;23200:2236;23323:20;23346:13;-1:-1:-1;;;;;23374:16:0;;23370:48;;23399:19;;-1:-1:-1;;;23399:19:0;;;;;;;;;;;23370:48;23433:13;23429:44;;23455:18;;-1:-1:-1;;;23455:18:0;;;;;;;;;;;23429:44;-1:-1:-1;;;;;24022:22:0;;;;;;:18;:22;;;;9406:2;24022:22;;;:70;;24060:31;24048:44;;24022:70;;;24335:31;;;:17;:31;;;;;24428:15;9923:3;24428:41;24386:84;;-1:-1:-1;24506:13:0;;10186:3;24491:56;24386:162;24335:213;;:31;;24629:23;;;;24673:14;:19;24669:635;;24713:313;24744:38;;24769:12;;-1:-1:-1;;;;;24744:38:0;;;24761:1;;24744:38;;24761:1;;24744:38;24810:69;24849:1;24853:2;24857:14;;;;;;24873:5;24810:30;:69::i;:::-;24805:174;;24915:40;;-1:-1:-1;;;24915:40:0;;;;;;;;;;;24805:174;25021:3;25006:12;:18;24713:313;;25107:12;25090:13;;:29;25086:43;;25121:8;;;25086:43;24669:635;;;25170:119;25201:40;;25226:14;;;;;-1:-1:-1;;;;;25201:40:0;;;25218:1;;25201:40;;25218:1;;25201:40;25284:3;25269:12;:18;25170:119;;24669:635;-1:-1:-1;25318:13:0;:28;;;25368:60;;25401:2;25405:12;25419:8;25368:60;:::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;383:260;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;648:328;;;;;:::o;981:1138::-;1076:6;1084;1092;1100;1153:3;1141:9;1132:7;1128:23;1124:33;1121:53;;;1170:1;1167;1160:12;1121:53;1193:29;1212:9;1193:29;:::i;:::-;1183:39;;1241:38;1275:2;1264:9;1260:18;1241:38;:::i;:::-;1231:48;;1326:2;1315:9;1311:18;1298:32;1288:42;;1381:2;1370:9;1366:18;1353:32;1404:18;1445:2;1437:6;1434:14;1431:34;;;1461:1;1458;1451:12;1431:34;1499:6;1488:9;1484:22;1474:32;;1544:7;1537:4;1533:2;1529:13;1525:27;1515:55;;1566:1;1563;1556:12;1515:55;1602:2;1589:16;1624:2;1620;1617:10;1614:36;;;1630:18;;:::i;:::-;1705:2;1699:9;1673:2;1759:13;;-1:-1:-1;;1755:22:1;;;1779:2;1751:31;1747:40;1735:53;;;1803:18;;;1823:22;;;1800:46;1797:72;;;1849:18;;:::i;:::-;1889:10;1885:2;1878:22;1924:2;1916:6;1909:18;1964:7;1959:2;1954;1950;1946:11;1942:20;1939:33;1936:53;;;1985:1;1982;1975:12;1936:53;2041:2;2036;2032;2028:11;2023:2;2015:6;2011:15;1998:46;2086:1;2081:2;2076;2068:6;2064:15;2060:24;2053:35;2107:6;2097:16;;;;;;;981:1138;;;;;;;:::o;2124:347::-;2189:6;2197;2250:2;2238:9;2229:7;2225:23;2221:32;2218:52;;;2266:1;2263;2256:12;2218:52;2289:29;2308:9;2289:29;:::i;:::-;2279:39;;2368:2;2357:9;2353:18;2340:32;2415:5;2408:13;2401:21;2394:5;2391:32;2381:60;;2437:1;2434;2427:12;2381:60;2460:5;2450:15;;;2124:347;;;;;:::o;2476:254::-;2544:6;2552;2605:2;2593:9;2584:7;2580:23;2576:32;2573:52;;;2621:1;2618;2611:12;2573:52;2644:29;2663:9;2644:29;:::i;:::-;2634:39;2720:2;2705:18;;;;2692:32;;-1:-1:-1;;;2476:254:1:o;2735:245::-;2793:6;2846:2;2834:9;2825:7;2821:23;2817:32;2814:52;;;2862:1;2859;2852:12;2814:52;2901:9;2888:23;2920:30;2944:5;2920:30;:::i;2985:249::-;3054:6;3107:2;3095:9;3086:7;3082:23;3078:32;3075:52;;;3123:1;3120;3113:12;3075:52;3155:9;3149:16;3174:30;3198:5;3174:30;:::i;3239:180::-;3298:6;3351:2;3339:9;3330:7;3326:23;3322:32;3319:52;;;3367:1;3364;3357:12;3319:52;-1:-1:-1;3390:23:1;;3239:180;-1:-1:-1;3239:180:1:o;3424:257::-;3465:3;3503:5;3497:12;3530:6;3525:3;3518:19;3546:63;3602:6;3595:4;3590:3;3586:14;3579:4;3572:5;3568:16;3546:63;:::i;:::-;3663:2;3642:15;-1:-1:-1;;3638:29:1;3629:39;;;;3670:4;3625:50;;3424:257;-1:-1:-1;;3424:257:1:o;3686:185::-;3728:3;3766:5;3760:12;3781:52;3826:6;3821:3;3814:4;3807:5;3803:16;3781:52;:::i;:::-;3849:16;;;;;3686:185;-1:-1:-1;;3686:185:1:o;3994:1301::-;4271:3;4300:1;4333:6;4327:13;4363:3;4385:1;4413:9;4409:2;4405:18;4395:28;;4473:2;4462:9;4458:18;4495;4485:61;;4539:4;4531:6;4527:17;4517:27;;4485:61;4565:2;4613;4605:6;4602:14;4582:18;4579:38;4576:165;;;-1:-1:-1;;;4640:33:1;;4696:4;4693:1;4686:15;4726:4;4647:3;4714:17;4576:165;4757:18;4784:104;;;;4902:1;4897:320;;;;4750:467;;4784:104;-1:-1:-1;;4817:24:1;;4805:37;;4862:16;;;;-1:-1:-1;4784:104:1;;4897:320;9870:1;9863:14;;;9907:4;9894:18;;4992:1;5006:165;5020:6;5017:1;5014:13;5006:165;;;5098:14;;5085:11;;;5078:35;5141:16;;;;5035:10;;5006:165;;;5010:3;;5200:6;5195:3;5191:16;5184:23;;4750:467;;;;;;;5233:56;5258:30;5284:3;5276:6;5258:30;:::i;:::-;-1:-1:-1;;;3936:20:1;;3981:1;3972:11;;3876:113;5233:56;5226:63;3994:1301;-1:-1:-1;;;;;3994:1301:1:o;5508:488::-;-1:-1:-1;;;;;5777:15:1;;;5759:34;;5829:15;;5824:2;5809:18;;5802:43;5876:2;5861:18;;5854:34;;;5924:3;5919:2;5904:18;;5897:31;;;5702:4;;5945:45;;5970:19;;5962:6;5945:45;:::i;:::-;5937:53;5508:488;-1:-1:-1;;;;;;5508:488:1:o;6193:219::-;6342:2;6331:9;6324:21;6305:4;6362:44;6402:2;6391:9;6387:18;6379:6;6362:44;:::i;8216:356::-;8418:2;8400:21;;;8437:18;;;8430:30;8496:34;8491:2;8476:18;;8469:62;8563:2;8548:18;;8216:356::o;9923:128::-;9963:3;9994:1;9990:6;9987:1;9984:13;9981:39;;;10000:18;;:::i;:::-;-1:-1:-1;10036:9:1;;9923:128::o;10056:120::-;10096:1;10122;10112:35;;10127:18;;:::i;:::-;-1:-1:-1;10161:9:1;;10056:120::o;10181:168::-;10221:7;10287:1;10283;10279:6;10275:14;10272:1;10269:21;10264:1;10257:9;10250:17;10246:45;10243:71;;;10294:18;;:::i;:::-;-1:-1:-1;10334:9:1;;10181:168::o;10354:125::-;10394:4;10422:1;10419;10416:8;10413:34;;;10427:18;;:::i;:::-;-1:-1:-1;10464:9:1;;10354:125::o;10484:258::-;10556:1;10566:113;10580:6;10577:1;10574:13;10566:113;;;10656:11;;;10650:18;10637:11;;;10630:39;10602:2;10595:10;10566:113;;;10697:6;10694:1;10691:13;10688:48;;;-1:-1:-1;;10732:1:1;10714:16;;10707:27;10484:258::o;10747:380::-;10826:1;10822:12;;;;10869;;;10890:61;;10944:4;10936:6;10932:17;10922:27;;10890:61;10997:2;10989:6;10986:14;10966:18;10963:38;10960:161;;;11043:10;11038:3;11034:20;11031:1;11024:31;11078:4;11075:1;11068:15;11106:4;11103:1;11096:15;10960:161;;10747:380;;;:::o;11132:135::-;11171:3;-1:-1:-1;;11192:17:1;;11189:43;;;11212:18;;:::i;:::-;-1:-1:-1;11259:1:1;11248:13;;11132:135::o;11272:112::-;11304:1;11330;11320:35;;11335:18;;:::i;:::-;-1:-1:-1;11369:9:1;;11272:112::o;11389:127::-;11450:10;11445:3;11441:20;11438:1;11431:31;11481:4;11478:1;11471:15;11505:4;11502:1;11495:15;11521:127;11582:10;11577:3;11573:20;11570:1;11563:31;11613:4;11610:1;11603:15;11637:4;11634:1;11627:15;11653:127;11714:10;11709:3;11705:20;11702:1;11695:31;11745:4;11742:1;11735:15;11769:4;11766:1;11759:15;11785:127;11846:10;11841:3;11837:20;11834:1;11827:31;11877:4;11874:1;11867:15;11901:4;11898:1;11891:15;11917:131;-1:-1:-1;;;;;;11991:32:1;;11981:43;;11971:71;;12038:1;12035;12028:12
Swarm Source
ipfs://2c309447553067904e15e66797897a7c5e12a7f618c8da6230665dc8fe1f116f
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.