Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,222 IDIOT
Holders
2,084
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 IDIOTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
IDIOT
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-27 */ // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.1.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(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); 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; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @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); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.1.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 bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The 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` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => 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 auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * 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; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * 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 Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev 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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); 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-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 { transferFrom(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. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { 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` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @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 transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @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 Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: IDIOT.sol pragma solidity 0.8.7; contract IDIOT is ERC721A, Ownable { string private baseURI; bool public started = false; bool public claimed = false; uint256 public constant MAX_SUPPLY = 2222; uint256 public constant MAX_MINT = 1; mapping(address => uint) public addressClaimed; constructor() ERC721A("DO NOT TRUST THE TEAM", "IDIOT") { } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function mint() external { require(started, "The mint has yet to start idiot"); require(addressClaimed[_msgSender()] < MAX_MINT, "You have already minted one idiot"); require(totalSupply() < MAX_SUPPLY, "There are no more NFTs for you idiot"); // mint addressClaimed[_msgSender()] += 1; _safeMint(msg.sender, 1); } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function enableMint(bool mintStarted) external onlyOwner { started = mintStarted; } function contractURI() public pure returns (string memory) { return "ipfs://QmVLqLpPwQWHLqqPfTvxKhH5DKXja2kL13FD7MVcryA3KM/"; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bool","name":"mintStarted","type":"bool"}],"name":"enableMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a805461ffff191690553480156200001c57600080fd5b50604080518082018252601581527f444f204e4f5420545255535420544845205445414d000000000000000000000060208083019182528351808501909452600584526412511253d560da1b9084015281519192916200007f9160029162000100565b5080516200009590600390602084019062000100565b5050600160005550620000a833620000ae565b620001e3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200010e90620001a6565b90600052602060002090601f0160209004810192826200013257600085556200017d565b82601f106200014d57805160ff19168380011785556200017d565b828001600101855582156200017d579182015b828111156200017d57825182559160200191906001019062000160565b506200018b9291506200018f565b5090565b5b808211156200018b576000815560010162000190565b600181811c90821680620001bb57607f821691505b60208210811415620001dd57634e487b7160e01b600052602260045260246000fd5b50919050565b6114b080620001f36000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063715018a6116100de578063c68b330511610097578063e8a3d48511610071578063e8a3d48514610346578063e985e9c51461034e578063f0292a031461038a578063f2fde38b1461039257600080fd5b8063c68b33051461030e578063c87b56dd14610321578063e834a8341461033457600080fd5b8063715018a6146102a7578063772dc32f146102af5780638da5cb5b146102cf57806395d89b41146102e0578063a22cb465146102e8578063b88d4fde146102fb57600080fd5b80631f2698ab1161014b57806342842e0e1161012557806342842e0e1461025b57806355f804b31461026e5780636352211e1461028157806370a082311461029457600080fd5b80631f2698ab1461023257806323b872dd1461023f57806332cb6b0c1461025257600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb5780631249c58b1461021057806318160ddd14610218575b600080fd5b6101a66101a136600461120f565b6103a5565b60405190151581526020015b60405180910390f35b6101c36103f7565b6040516101b29190611343565b6101e36101de366004611292565b610489565b6040516001600160a01b0390911681526020016101b2565b61020e6102093660046111ca565b6104cd565b005b61020e61056d565b60015460005403600019015b6040519081526020016101b2565b600a546101a69060ff1681565b61020e61024d3660046110e8565b6106c9565b6102246108ae81565b61020e6102693660046110e8565b61085a565b61020e61027c366004611249565b61087a565b6101e361028f366004611292565b6108bb565b6102246102a236600461109a565b6108c6565b61020e610915565b6102246102bd36600461109a565b600b6020526000908152604090205481565b6008546001600160a01b03166101e3565b6101c3610949565b61020e6102f63660046111a0565b610958565b61020e610309366004611124565b6109ee565b61020e61031c3660046111f4565b610a38565b6101c361032f366004611292565b610a75565b600a546101a690610100900460ff1681565b6101c3610afa565b6101a661035c3660046110b5565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610224600181565b61020e6103a036600461109a565b610b1a565b60006301ffc9a760e01b6001600160e01b0319831614806103d657506380ac58cd60e01b6001600160e01b03198316145b806103f15750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610406906113dd565b80601f0160208091040260200160405190810160405280929190818152602001828054610432906113dd565b801561047f5780601f106104545761010080835404028352916020019161047f565b820191906000526020600020905b81548152906001019060200180831161046257829003601f168201915b5050505050905090565b600061049482610bb5565b6104b1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006104d8826108bb565b9050336001600160a01b03821614610511576104f4813361035c565b610511576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a5460ff166105c45760405162461bcd60e51b815260206004820152601f60248201527f546865206d696e74206861732079657420746f207374617274206964696f740060448201526064015b60405180910390fd5b336000908152600b602052604090205460011161062d5760405162461bcd60e51b815260206004820152602160248201527f596f75206861766520616c7265616479206d696e746564206f6e65206964696f6044820152601d60fa1b60648201526084016105bb565b6001546000546108ae91900360001901106106965760405162461bcd60e51b8152602060048201526024808201527f546865726520617265206e6f206d6f7265204e46547320666f7220796f752069604482015263191a5bdd60e21b60648201526084016105bb565b336000908152600b602052604081208054600192906106b690849061138b565b909155506106c79050336001610bea565b565b60006106d482610c04565b9050836001600160a01b0316816001600160a01b0316146107075760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761075457610737863361035c565b61075457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661077b57604051633a954ecd60e21b815260040160405180910390fd5b801561078657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610811576001840160008181526004602052604090205461080f57600054811461080f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610875838383604051806020016040528060008152506109ee565b505050565b6008546001600160a01b031633146108a45760405162461bcd60e51b81526004016105bb90611356565b80516108b7906009906020840190610f5f565b5050565b60006103f182610c04565b60006001600160a01b0382166108ef576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331461093f5760405162461bcd60e51b81526004016105bb90611356565b6106c76000610c6d565b606060038054610406906113dd565b6001600160a01b0382163314156109825760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109f98484846106c9565b6001600160a01b0383163b15610a3257610a1584848484610cbf565b610a32576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314610a625760405162461bcd60e51b81526004016105bb90611356565b600a805460ff1916911515919091179055565b6060610a8082610bb5565b610a9d57604051630a14c4b560e41b815260040160405180910390fd5b6000610aa7610db7565b9050805160001415610ac85760405180602001604052806000815250610af3565b80610ad284610dc6565b604051602001610ae39291906112d7565b6040516020818303038152906040525b9392505050565b606060405180606001604052806036815260200161144560369139905090565b6008546001600160a01b03163314610b445760405162461bcd60e51b81526004016105bb90611356565b6001600160a01b038116610ba95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105bb565b610bb281610c6d565b50565b600081600111158015610bc9575060005482105b80156103f1575050600090815260046020526040902054600160e01b161590565b6108b7828260405180602001604052806000815250610e15565b60008180600111610c5457600054811015610c5457600081815260046020526040902054600160e01b8116610c52575b80610af3575060001901600081815260046020526040902054610c34565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610cf4903390899088908890600401611306565b602060405180830381600087803b158015610d0e57600080fd5b505af1925050508015610d3e575060408051601f3d908101601f19168201909252610d3b9181019061122c565b60015b610d99573d808015610d6c576040519150601f19603f3d011682016040523d82523d6000602084013e610d71565b606091505b508051610d91576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060098054610406906113dd565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610e0357600183039250600a81066030018353600a9004610de5565b50819003601f19909101908152919050565b610e1f8383610e82565b6001600160a01b0383163b15610875576000548281035b610e496000868380600101945086610cbf565b610e66576040516368d2bf6b60e11b815260040160405180910390fd5b818110610e36578160005414610e7b57600080fd5b5050505050565b6000546001600160a01b038316610eab57604051622e076360e81b815260040160405180910390fd5b81610ec95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f135760005550505050565b828054610f6b906113dd565b90600052602060002090601f016020900481019282610f8d5760008555610fd3565b82601f10610fa657805160ff1916838001178555610fd3565b82800160010185558215610fd3579182015b82811115610fd3578251825591602001919060010190610fb8565b50610fdf929150610fe3565b5090565b5b80821115610fdf5760008155600101610fe4565b600067ffffffffffffffff8084111561101357611013611418565b604051601f8501601f19908116603f0116810190828211818310171561103b5761103b611418565b8160405280935085815286868601111561105457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461108557600080fd5b919050565b8035801515811461108557600080fd5b6000602082840312156110ac57600080fd5b610af38261106e565b600080604083850312156110c857600080fd5b6110d18361106e565b91506110df6020840161106e565b90509250929050565b6000806000606084860312156110fd57600080fd5b6111068461106e565b92506111146020850161106e565b9150604084013590509250925092565b6000806000806080858703121561113a57600080fd5b6111438561106e565b93506111516020860161106e565b925060408501359150606085013567ffffffffffffffff81111561117457600080fd5b8501601f8101871361118557600080fd5b61119487823560208401610ff8565b91505092959194509250565b600080604083850312156111b357600080fd5b6111bc8361106e565b91506110df6020840161108a565b600080604083850312156111dd57600080fd5b6111e68361106e565b946020939093013593505050565b60006020828403121561120657600080fd5b610af38261108a565b60006020828403121561122157600080fd5b8135610af38161142e565b60006020828403121561123e57600080fd5b8151610af38161142e565b60006020828403121561125b57600080fd5b813567ffffffffffffffff81111561127257600080fd5b8201601f8101841361128357600080fd5b610daf84823560208401610ff8565b6000602082840312156112a457600080fd5b5035919050565b600081518084526112c38160208601602086016113b1565b601f01601f19169290920160200192915050565b600083516112e98184602088016113b1565b8351908301906112fd8183602088016113b1565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611339908301846112ab565b9695505050505050565b602081526000610af360208301846112ab565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156113ac57634e487b7160e01b600052601160045260246000fd5b500190565b60005b838110156113cc5781810151838201526020016113b4565b83811115610a325750506000910152565b600181811c908216806113f157607f821691505b6020821081141561141257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610bb257600080fdfe697066733a2f2f516d564c714c7050775157484c717150665476784b684835444b586a61326b4c31334644374d5663727941334b4d2fa264697066735822122090d22f1703bf0ade814eb9adf4d190fff7450f73872f74c508f45a65b92bf3ef64736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c8063715018a6116100de578063c68b330511610097578063e8a3d48511610071578063e8a3d48514610346578063e985e9c51461034e578063f0292a031461038a578063f2fde38b1461039257600080fd5b8063c68b33051461030e578063c87b56dd14610321578063e834a8341461033457600080fd5b8063715018a6146102a7578063772dc32f146102af5780638da5cb5b146102cf57806395d89b41146102e0578063a22cb465146102e8578063b88d4fde146102fb57600080fd5b80631f2698ab1161014b57806342842e0e1161012557806342842e0e1461025b57806355f804b31461026e5780636352211e1461028157806370a082311461029457600080fd5b80631f2698ab1461023257806323b872dd1461023f57806332cb6b0c1461025257600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb5780631249c58b1461021057806318160ddd14610218575b600080fd5b6101a66101a136600461120f565b6103a5565b60405190151581526020015b60405180910390f35b6101c36103f7565b6040516101b29190611343565b6101e36101de366004611292565b610489565b6040516001600160a01b0390911681526020016101b2565b61020e6102093660046111ca565b6104cd565b005b61020e61056d565b60015460005403600019015b6040519081526020016101b2565b600a546101a69060ff1681565b61020e61024d3660046110e8565b6106c9565b6102246108ae81565b61020e6102693660046110e8565b61085a565b61020e61027c366004611249565b61087a565b6101e361028f366004611292565b6108bb565b6102246102a236600461109a565b6108c6565b61020e610915565b6102246102bd36600461109a565b600b6020526000908152604090205481565b6008546001600160a01b03166101e3565b6101c3610949565b61020e6102f63660046111a0565b610958565b61020e610309366004611124565b6109ee565b61020e61031c3660046111f4565b610a38565b6101c361032f366004611292565b610a75565b600a546101a690610100900460ff1681565b6101c3610afa565b6101a661035c3660046110b5565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610224600181565b61020e6103a036600461109a565b610b1a565b60006301ffc9a760e01b6001600160e01b0319831614806103d657506380ac58cd60e01b6001600160e01b03198316145b806103f15750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610406906113dd565b80601f0160208091040260200160405190810160405280929190818152602001828054610432906113dd565b801561047f5780601f106104545761010080835404028352916020019161047f565b820191906000526020600020905b81548152906001019060200180831161046257829003601f168201915b5050505050905090565b600061049482610bb5565b6104b1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006104d8826108bb565b9050336001600160a01b03821614610511576104f4813361035c565b610511576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a5460ff166105c45760405162461bcd60e51b815260206004820152601f60248201527f546865206d696e74206861732079657420746f207374617274206964696f740060448201526064015b60405180910390fd5b336000908152600b602052604090205460011161062d5760405162461bcd60e51b815260206004820152602160248201527f596f75206861766520616c7265616479206d696e746564206f6e65206964696f6044820152601d60fa1b60648201526084016105bb565b6001546000546108ae91900360001901106106965760405162461bcd60e51b8152602060048201526024808201527f546865726520617265206e6f206d6f7265204e46547320666f7220796f752069604482015263191a5bdd60e21b60648201526084016105bb565b336000908152600b602052604081208054600192906106b690849061138b565b909155506106c79050336001610bea565b565b60006106d482610c04565b9050836001600160a01b0316816001600160a01b0316146107075760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761075457610737863361035c565b61075457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661077b57604051633a954ecd60e21b815260040160405180910390fd5b801561078657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610811576001840160008181526004602052604090205461080f57600054811461080f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610875838383604051806020016040528060008152506109ee565b505050565b6008546001600160a01b031633146108a45760405162461bcd60e51b81526004016105bb90611356565b80516108b7906009906020840190610f5f565b5050565b60006103f182610c04565b60006001600160a01b0382166108ef576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331461093f5760405162461bcd60e51b81526004016105bb90611356565b6106c76000610c6d565b606060038054610406906113dd565b6001600160a01b0382163314156109825760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109f98484846106c9565b6001600160a01b0383163b15610a3257610a1584848484610cbf565b610a32576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314610a625760405162461bcd60e51b81526004016105bb90611356565b600a805460ff1916911515919091179055565b6060610a8082610bb5565b610a9d57604051630a14c4b560e41b815260040160405180910390fd5b6000610aa7610db7565b9050805160001415610ac85760405180602001604052806000815250610af3565b80610ad284610dc6565b604051602001610ae39291906112d7565b6040516020818303038152906040525b9392505050565b606060405180606001604052806036815260200161144560369139905090565b6008546001600160a01b03163314610b445760405162461bcd60e51b81526004016105bb90611356565b6001600160a01b038116610ba95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105bb565b610bb281610c6d565b50565b600081600111158015610bc9575060005482105b80156103f1575050600090815260046020526040902054600160e01b161590565b6108b7828260405180602001604052806000815250610e15565b60008180600111610c5457600054811015610c5457600081815260046020526040902054600160e01b8116610c52575b80610af3575060001901600081815260046020526040902054610c34565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610cf4903390899088908890600401611306565b602060405180830381600087803b158015610d0e57600080fd5b505af1925050508015610d3e575060408051601f3d908101601f19168201909252610d3b9181019061122c565b60015b610d99573d808015610d6c576040519150601f19603f3d011682016040523d82523d6000602084013e610d71565b606091505b508051610d91576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060098054610406906113dd565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610e0357600183039250600a81066030018353600a9004610de5565b50819003601f19909101908152919050565b610e1f8383610e82565b6001600160a01b0383163b15610875576000548281035b610e496000868380600101945086610cbf565b610e66576040516368d2bf6b60e11b815260040160405180910390fd5b818110610e36578160005414610e7b57600080fd5b5050505050565b6000546001600160a01b038316610eab57604051622e076360e81b815260040160405180910390fd5b81610ec95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f135760005550505050565b828054610f6b906113dd565b90600052602060002090601f016020900481019282610f8d5760008555610fd3565b82601f10610fa657805160ff1916838001178555610fd3565b82800160010185558215610fd3579182015b82811115610fd3578251825591602001919060010190610fb8565b50610fdf929150610fe3565b5090565b5b80821115610fdf5760008155600101610fe4565b600067ffffffffffffffff8084111561101357611013611418565b604051601f8501601f19908116603f0116810190828211818310171561103b5761103b611418565b8160405280935085815286868601111561105457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461108557600080fd5b919050565b8035801515811461108557600080fd5b6000602082840312156110ac57600080fd5b610af38261106e565b600080604083850312156110c857600080fd5b6110d18361106e565b91506110df6020840161106e565b90509250929050565b6000806000606084860312156110fd57600080fd5b6111068461106e565b92506111146020850161106e565b9150604084013590509250925092565b6000806000806080858703121561113a57600080fd5b6111438561106e565b93506111516020860161106e565b925060408501359150606085013567ffffffffffffffff81111561117457600080fd5b8501601f8101871361118557600080fd5b61119487823560208401610ff8565b91505092959194509250565b600080604083850312156111b357600080fd5b6111bc8361106e565b91506110df6020840161108a565b600080604083850312156111dd57600080fd5b6111e68361106e565b946020939093013593505050565b60006020828403121561120657600080fd5b610af38261108a565b60006020828403121561122157600080fd5b8135610af38161142e565b60006020828403121561123e57600080fd5b8151610af38161142e565b60006020828403121561125b57600080fd5b813567ffffffffffffffff81111561127257600080fd5b8201601f8101841361128357600080fd5b610daf84823560208401610ff8565b6000602082840312156112a457600080fd5b5035919050565b600081518084526112c38160208601602086016113b1565b601f01601f19169290920160200192915050565b600083516112e98184602088016113b1565b8351908301906112fd8183602088016113b1565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611339908301846112ab565b9695505050505050565b602081526000610af360208301846112ab565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156113ac57634e487b7160e01b600052601160045260246000fd5b500190565b60005b838110156113cc5781810151838201526020016113b4565b83811115610a325750506000910152565b600181811c908216806113f157607f821691505b6020821081141561141257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610bb257600080fdfe697066733a2f2f516d564c714c7050775157484c717150665476784b684835444b586a61326b4c31334644374d5663727941334b4d2fa264697066735822122090d22f1703bf0ade814eb9adf4d190fff7450f73872f74c508f45a65b92bf3ef64736f6c63430008070033
Deployed Bytecode Sourcemap
48203:1336:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14592:615;;;;;;:::i;:::-;;:::i;:::-;;;5903:14:1;;5896:22;5878:41;;5866:2;5851:18;14592:615:0;;;;;;;;20239:100;;;:::i;:::-;;;;;;;:::i;22185:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5201:32:1;;;5183:51;;5171:2;5156:18;22185:204:0;5037:203:1;21733:386:0;;;;;;:::i;:::-;;:::i;:::-;;48683:361;;;:::i;13646:315::-;48664:1;13912:12;13699:7;13896:13;:28;-1:-1:-1;;13896:46:0;13646:315;;;8235:25:1;;;8223:2;8208:18;13646:315:0;8089:177:1;48274:27:0;;;;;;;;;31450:2800;;;;;;:::i;:::-;;:::i;48342:41::-;;48379:4;48342:41;;23075:185;;;;;;:::i;:::-;;:::i;49054:100::-;;;;;;:::i;:::-;;:::i;20028:144::-;;;;;;:::i;:::-;;:::i;15271:224::-;;;;;;:::i;:::-;;:::i;47330:103::-;;;:::i;48437:46::-;;;;;;:::i;:::-;;;;;;;;;;;;;;46679:87;46752:6;;-1:-1:-1;;;;;46752:6:0;46679:87;;20408:104;;;:::i;22461:308::-;;;;;;:::i;:::-;;:::i;23331:399::-;;;;;;:::i;:::-;;:::i;49282:97::-;;;;;;:::i;:::-;;:::i;20583:318::-;;;;;;:::i;:::-;;:::i;48308:27::-;;;;;;;;;;;;49389:141;;;:::i;22840:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;22961:25:0;;;22937:4;22961:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;22840:164;48390:36;;48425:1;48390:36;;47588:201;;;;;;:::i;:::-;;:::i;14592:615::-;14677:4;-1:-1:-1;;;;;;;;;14977:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;15054:25:0;;;14977:102;:179;;;-1:-1:-1;;;;;;;;;;15131:25:0;;;14977:179;14957:199;14592:615;-1:-1:-1;;14592:615:0:o;20239:100::-;20293:13;20326:5;20319:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20239:100;:::o;22185:204::-;22253:7;22278:16;22286:7;22278;:16::i;:::-;22273:64;;22303:34;;-1:-1:-1;;;22303:34:0;;;;;;;;;;;22273:64;-1:-1:-1;22357:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22357:24:0;;22185:204::o;21733:386::-;21806:13;21822:16;21830:7;21822;:16::i;:::-;21806:32;-1:-1:-1;42633:10:0;-1:-1:-1;;;;;21855:28:0;;;21851:175;;21903:44;21920:5;42633:10;22840:164;:::i;21903:44::-;21898:128;;21975:35;;-1:-1:-1;;;21975:35:0;;;;;;;;;;;21898:128;22038:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;22038:29:0;-1:-1:-1;;;;;22038:29:0;;;;;;;;;22083:28;;22038:24;;22083:28;;;;;;;21795:324;21733:386;;:::o;48683:361::-;48725:7;;;;48717:51;;;;-1:-1:-1;;;48717:51:0;;7168:2:1;48717:51:0;;;7150:21:1;7207:2;7187:18;;;7180:30;7246:33;7226:18;;;7219:61;7297:18;;48717:51:0;;;;;;;;;42633:10;48785:28;;;;:14;:28;;;;;;48425:1;-1:-1:-1;48777:85:0;;;;-1:-1:-1;;;48777:85:0;;7528:2:1;48777:85:0;;;7510:21:1;7567:2;7547:18;;;7540:30;7606:34;7586:18;;;7579:62;-1:-1:-1;;;7657:18:1;;;7650:31;7698:19;;48777:85:0;7326:397:1;48777:85:0;48664:1;13912:12;13699:7;13896:13;48379:4;;13896:28;;-1:-1:-1;;13896:46:0;48879:26;48871:75;;;;-1:-1:-1;;;48871:75:0;;6763:2:1;48871:75:0;;;6745:21:1;6802:2;6782:18;;;6775:30;6841:34;6821:18;;;6814:62;-1:-1:-1;;;6892:18:1;;;6885:34;6936:19;;48871:75:0;6561:400:1;48871:75:0;42633:10;48970:28;;;;:14;:28;;;;;:33;;49002:1;;48970:28;:33;;49002:1;;48970:33;:::i;:::-;;;;-1:-1:-1;49012:24:0;;-1:-1:-1;49022:10:0;49034:1;49012:9;:24::i;:::-;48683:361::o;31450:2800::-;31584:27;31614;31633:7;31614:18;:27::i;:::-;31584:57;;31699:4;-1:-1:-1;;;;;31658:45:0;31674:19;-1:-1:-1;;;;;31658:45:0;;31654:86;;31712:28;;-1:-1:-1;;;31712:28:0;;;;;;;;;;;31654:86;31754:27;30180:21;;;30007:15;30222:4;30215:36;30304:4;30288:21;;30394:26;;42633:10;31147:30;;;-1:-1:-1;;;;;30845:26:0;;31126:19;;;31123:55;31933:174;;32020:43;32037:4;42633:10;22840:164;:::i;32020:43::-;32015:92;;32072:35;;-1:-1:-1;;;32072:35:0;;;;;;;;;;;32015:92;-1:-1:-1;;;;;32124:16:0;;32120:52;;32149:23;;-1:-1:-1;;;32149:23:0;;;;;;;;;;;32120:52;32321:15;32318:160;;;32461:1;32440:19;32433:30;32318:160;-1:-1:-1;;;;;32856:24:0;;;;;;;:18;:24;;;;;;32854:26;;-1:-1:-1;;32854:26:0;;;32925:22;;;;;;;;;32923:24;;-1:-1:-1;32923:24:0;;;19927:11;19903:22;19899:40;19886:62;-1:-1:-1;;;19886:62:0;33218:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;33512:46:0;;33508:626;;33616:1;33606:11;;33584:19;33739:30;;;:17;:30;;;;;;33735:384;;33877:13;;33862:11;:28;33858:242;;34024:30;;;;:17;:30;;;;;:52;;;33858:242;33565:569;33508:626;34181:7;34177:2;-1:-1:-1;;;;;34162:27:0;34171:4;-1:-1:-1;;;;;34162:27:0;;;;;;;;;;;31573:2677;;;31450:2800;;;:::o;23075:185::-;23213:39;23230:4;23236:2;23240:7;23213:39;;;;;;;;;;;;:16;:39::i;:::-;23075:185;;;:::o;49054:100::-;46752:6;;-1:-1:-1;;;;;46752:6:0;42633:10;46899:23;46891:68;;;;-1:-1:-1;;;46891:68:0;;;;;;;:::i;:::-;49128:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;49054:100:::0;:::o;20028:144::-;20092:7;20135:27;20154:7;20135:18;:27::i;15271:224::-;15335:7;-1:-1:-1;;;;;15359:19:0;;15355:60;;15387:28;;-1:-1:-1;;;15387:28:0;;;;;;;;;;;15355:60;-1:-1:-1;;;;;;15433:25:0;;;;;:18;:25;;;;;;9826:13;15433:54;;15271:224::o;47330:103::-;46752:6;;-1:-1:-1;;;;;46752:6:0;42633:10;46899:23;46891:68;;;;-1:-1:-1;;;46891:68:0;;;;;;;:::i;:::-;47395:30:::1;47422:1;47395:18;:30::i;20408:104::-:0;20464:13;20497:7;20490:14;;;;;:::i;22461:308::-;-1:-1:-1;;;;;22560:31:0;;42633:10;22560:31;22556:61;;;22600:17;;-1:-1:-1;;;22600:17:0;;;;;;;;;;;22556:61;42633:10;22630:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;22630:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;22630:60:0;;;;;;;;;;22706:55;;5878:41:1;;;22630:49:0;;42633:10;22706:55;;5851:18:1;22706:55:0;;;;;;;22461:308;;:::o;23331:399::-;23498:31;23511:4;23517:2;23521:7;23498:12;:31::i;:::-;-1:-1:-1;;;;;23544:14:0;;;:19;23540:183;;23583:56;23614:4;23620:2;23624:7;23633:5;23583:30;:56::i;:::-;23578:145;;23667:40;;-1:-1:-1;;;23667:40:0;;;;;;;;;;;23578:145;23331:399;;;;:::o;49282:97::-;46752:6;;-1:-1:-1;;;;;46752:6:0;42633:10;46899:23;46891:68;;;;-1:-1:-1;;;46891:68:0;;;;;;;:::i;:::-;49350:7:::1;:21:::0;;-1:-1:-1;;49350:21:0::1;::::0;::::1;;::::0;;;::::1;::::0;;49282:97::o;20583:318::-;20656:13;20687:16;20695:7;20687;:16::i;:::-;20682:59;;20712:29;;-1:-1:-1;;;20712:29:0;;;;;;;;;;;20682:59;20754:21;20778:10;:8;:10::i;:::-;20754:34;;20812:7;20806:21;20831:1;20806:26;;:87;;;;;;;;;;;;;;;;;20859:7;20868:18;20878:7;20868:9;:18::i;:::-;20842:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20806:87;20799:94;20583:318;-1:-1:-1;;;20583:318:0:o;49389:141::-;49433:13;49457:63;;;;;;;;;;;;;;;;;;;49389:141;:::o;47588:201::-;46752:6;;-1:-1:-1;;;;;46752:6:0;42633:10;46899:23;46891:68;;;;-1:-1:-1;;;46891:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;47677:22:0;::::1;47669:73;;;::::0;-1:-1:-1;;;47669:73:0;;6356:2:1;47669:73:0::1;::::0;::::1;6338:21:1::0;6395:2;6375:18;;;6368:30;6434:34;6414:18;;;6407:62;-1:-1:-1;;;6485:18:1;;;6478:36;6531:19;;47669:73:0::1;6154:402:1::0;47669:73:0::1;47753:28;47772:8;47753:18;:28::i;:::-;47588:201:::0;:::o;23985:273::-;24042:4;24098:7;48664:1;24079:26;;:66;;;;;24132:13;;24122:7;:23;24079:66;:152;;;;-1:-1:-1;;24183:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;24183:43:0;:48;;23985:273::o;24342:104::-;24411:27;24421:2;24425:8;24411:27;;;;;;;;;;;;:9;:27::i;16945:1129::-;17012:7;17047;;48664:1;17096:23;17092:915;;17149:13;;17142:4;:20;17138:869;;;17187:14;17204:23;;;:17;:23;;;;;;-1:-1:-1;;;17293:23:0;;17289:699;;17812:113;17819:11;17812:113;;-1:-1:-1;;;17890:6:0;17872:25;;;;:17;:25;;;;;;17812:113;;17289:699;17164:843;17138:869;18035:31;;-1:-1:-1;;;18035:31:0;;;;;;;;;;;47949:191;48042:6;;;-1:-1:-1;;;;;48059:17:0;;;-1:-1:-1;;;;;;48059:17:0;;;;;;;48092:40;;48042:6;;;48059:17;48042:6;;48092:40;;48023:16;;48092:40;48012:128;47949:191;:::o;38201:716::-;38385:88;;-1:-1:-1;;;38385:88:0;;38364:4;;-1:-1:-1;;;;;38385:45:0;;;;;:88;;42633:10;;38452:4;;38458:7;;38467:5;;38385:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38385:88:0;;;;;;;;-1:-1:-1;;38385:88:0;;;;;;;;;;;;:::i;:::-;;;38381:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38668:13:0;;38664:235;;38714:40;;-1:-1:-1;;;38714:40:0;;;;;;;;;;;38664:235;38857:6;38851:13;38842:6;38838:2;38834:15;38827:38;38381:529;-1:-1:-1;;;;;;38544:64:0;-1:-1:-1;;;38544:64:0;;-1:-1:-1;38381:529:0;38201:716;;;;;;:::o;49164:108::-;49224:13;49257:7;49250:14;;;;;:::i;42757:1960::-;43226:4;43220:11;;43233:3;43216:21;;43311:17;;;;44007:11;;;43886:5;44139:2;44153;44143:13;;44135:22;44007:11;44122:36;44194:2;44184:13;;43778:697;44213:4;43778:697;;;44404:1;44399:3;44395:11;44388:18;;44455:2;44449:4;44445:13;44441:2;44437:22;44432:3;44424:36;44308:2;44298:13;;43778:697;;;-1:-1:-1;44505:13:0;;;-1:-1:-1;;44620:12:0;;;44680:19;;;44620:12;42757:1960;-1:-1:-1;42757:1960:0:o;24862:681::-;24985:19;24991:2;24995:8;24985:5;:19::i;:::-;-1:-1:-1;;;;;25046:14:0;;;:19;25042:483;;25086:11;25100:13;25148:14;;;25181:233;25212:62;25251:1;25255:2;25259:7;;;;;;25268:5;25212:30;:62::i;:::-;25207:167;;25310:40;;-1:-1:-1;;;25310:40:0;;;;;;;;;;;25207:167;25409:3;25401:5;:11;25181:233;;25496:3;25479:13;;:20;25475:34;;25501:8;;;25475:34;25067:458;;24862:681;;;:::o;25816:1529::-;25881:20;25904:13;-1:-1:-1;;;;;25932:16:0;;25928:48;;25957:19;;-1:-1:-1;;;25957:19:0;;;;;;;;;;;25928:48;25991:13;25987:44;;26013:18;;-1:-1:-1;;;26013:18:0;;;;;;;;;;;25987:44;-1:-1:-1;;;;;26519:22:0;;;;;;:18;:22;;9963:2;26519:22;;:70;;26557:31;26545:44;;26519:70;;;19927:11;19903:22;19899:40;-1:-1:-1;21637:15:0;;21612:23;21608:45;19896:51;19886:62;26832:31;;;;:17;:31;;;;;:173;26850:12;27081:23;;;27119:101;27146:35;;27171:9;;;;;-1:-1:-1;;;;;27146:35:0;;;27163:1;;27146:35;;27163:1;;27146:35;27215:3;27205:7;:13;27119:101;;27236:13;:19;-1:-1:-1;23075:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:257::-;4341:3;4379:5;4373:12;4406:6;4401:3;4394:19;4422:63;4478:6;4471:4;4466:3;4462:14;4455:4;4448:5;4444:16;4422:63;:::i;:::-;4539:2;4518:15;-1:-1:-1;;4514:29:1;4505:39;;;;4546:4;4501:50;;4300:257;-1:-1:-1;;4300:257:1:o;4562:470::-;4741:3;4779:6;4773:13;4795:53;4841:6;4836:3;4829:4;4821:6;4817:17;4795:53;:::i;:::-;4911:13;;4870:16;;;;4933:57;4911:13;4870:16;4967:4;4955:17;;4933:57;:::i;:::-;5006:20;;4562:470;-1:-1:-1;;;;4562:470:1:o;5245:488::-;-1:-1:-1;;;;;5514:15:1;;;5496:34;;5566:15;;5561:2;5546:18;;5539:43;5613:2;5598:18;;5591:34;;;5661:3;5656:2;5641:18;;5634:31;;;5439:4;;5682:45;;5707:19;;5699:6;5682:45;:::i;:::-;5674:53;5245:488;-1:-1:-1;;;;;;5245:488:1:o;5930:219::-;6079:2;6068:9;6061:21;6042:4;6099:44;6139:2;6128:9;6124:18;6116:6;6099:44;:::i;7728:356::-;7930:2;7912:21;;;7949:18;;;7942:30;8008:34;8003:2;7988:18;;7981:62;8075:2;8060:18;;7728:356::o;8271:225::-;8311:3;8342:1;8338:6;8335:1;8332:13;8329:136;;;8387:10;8382:3;8378:20;8375:1;8368:31;8422:4;8419:1;8412:15;8450:4;8447:1;8440:15;8329:136;-1:-1:-1;8481:9:1;;8271:225::o;8501:258::-;8573:1;8583:113;8597:6;8594:1;8591:13;8583:113;;;8673:11;;;8667:18;8654:11;;;8647:39;8619:2;8612:10;8583:113;;;8714:6;8711:1;8708:13;8705:48;;;-1:-1:-1;;8749:1:1;8731:16;;8724:27;8501:258::o;8764:380::-;8843:1;8839:12;;;;8886;;;8907:61;;8961:4;8953:6;8949:17;8939:27;;8907:61;9014:2;9006:6;9003:14;8983:18;8980:38;8977:161;;;9060:10;9055:3;9051:20;9048:1;9041:31;9095:4;9092:1;9085:15;9123:4;9120:1;9113:15;8977:161;;8764:380;;;:::o;9149:127::-;9210:10;9205:3;9201:20;9198:1;9191:31;9241:4;9238:1;9231:15;9265:4;9262:1;9255:15;9281:131;-1:-1:-1;;;;;;9355:32:1;;9345:43;;9335:71;;9402:1;9399;9392:12
Swarm Source
ipfs://90d22f1703bf0ade814eb9adf4d190fff7450f73872f74c508f45a65b92bf3ef
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.