ERC-721
Overview
Max Total Supply
1,000 NGMI
Holders
324
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 NGMILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NGMIFELLAS
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-02 */ // SPDX-License-Identifier: GPL-3.0 // File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/IERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (_addressToUint256(owner) == 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 (_addressToUint256(to) == 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 (_addressToUint256(to) == 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(); address approvedAddress = _tokenApprovals[tokenId]; bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (_addressToUint256(to) == 0) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. if (_addressToUint256(approvedAddress) != 0) { 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)); address approvedAddress = _tokenApprovals[tokenId]; if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. if (_addressToUint256(approvedAddress) != 0) { 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/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] calldata leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] calldata leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // 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: ngmifelas.sol pragma solidity ^0.8.0; contract NGMIFELLAS is Ownable, ERC721A { uint256 public NftsToMint = 1000; uint256 public maxTokensPerWallet = 3; string private _uri = "ipfs://QmZH8nt68k9ujGfZpaapniWH1uuVo7mSYwQPQKqCJiWxWv/"; bool public saleActivity = true; constructor () ERC721A("NGMIFELLAS","NGMI"){ } function mint (address account, uint256 amount) public onlyOwner{ _safeMint(account , amount); } function mintUser (uint256 amount) public{ require (saleActivity == true , "Not minting yet"); require (amount + balanceOf(msg.sender) <= maxTokensPerWallet , "Max 3 per wallet"); require (totalSupply() + amount <= NftsToMint , "Sold out"); _safeMint (msg.sender , amount, ""); } function setSaleActivity(bool issaleon) public onlyOwner{ saleActivity = issaleon; } function setMaxNftsToMint(uint256 maxnftstomint) public onlyOwner{ NftsToMint = maxnftstomint; } function setMaxTokensPerWallet (uint256 tokens) public onlyOwner { maxTokensPerWallet = tokens; } function setUri (string memory uri) public onlyOwner { _uri = uri; } function currentOwner () view public { owner(); } function TransferOwnership (address newOwner) public onlyOwner{ _transferOwnership(newOwner); } function _baseURI() internal view override returns (string memory) { return _uri; } function getBalance() private view returns(uint256) { return address(this).balance; } function withdraw() public onlyOwner { address payable owner = payable(msg.sender); owner.transfer(getBalance()); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"NftsToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"TransferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentOwner","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintUser","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":[],"name":"saleActivity","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"maxnftstomint","type":"uint256"}],"name":"setMaxNftsToMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"setMaxTokensPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"issaleon","type":"bool"}],"name":"setSaleActivity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6103e86009556003600a5560e060405260366080818152906200180e60a03980516200003491600b9160209091019062000137565b50600c805460ff191660011790553480156200004f57600080fd5b506040518060400160405280600a8152602001694e474d4946454c4c415360b01b815250604051806040016040528060048152602001634e474d4960e01b815250620000aa620000a4620000e360201b60201c565b620000e7565b8151620000bf90600390602085019062000137565b508051620000d590600490602084019062000137565b50506000600155506200021a565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200014590620001dd565b90600052602060002090601f016020900481019282620001695760008555620001b4565b82601f106200018457805160ff1916838001178555620001b4565b82800160010185558215620001b4579182015b82811115620001b457825182559160200191906001019062000197565b50620001c2929150620001c6565b5090565b5b80821115620001c25760008155600101620001c7565b600181811c90821680620001f257607f821691505b602082108114156200021457634e487b7160e01b600052602260045260246000fd5b50919050565b6115e4806200022a6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063aac5d69f116100a2578063cfaaa26611610071578063cfaaa26614610393578063e985e9c5146103a6578063f2fde38b146103e2578063f384abad146103f557600080fd5b8063aac5d69f1461035a578063b387ef921461024f578063b88d4fde1461036d578063c87b56dd1461038057600080fd5b806395d89b41116100de57806395d89b41146103195780639b642de114610321578063a03b725114610334578063a22cb4651461034757600080fd5b806370a08231146102ed578063715018a6146103005780638da5cb5b1461030857600080fd5b80633ccfd60b1161017157806342842e0e1161014b57806342842e0e146102ab578063469132ce146102be57806362963ca9146102c75780636352211e146102da57600080fd5b80633ccfd60b1461028757806340c10f191461028f57806342110303146102a257600080fd5b8063095ea7b3116101ad578063095ea7b31461023c57806318160ddd1461025157806323b872dd14610267578063341c0d631461027a57600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e2366004611379565b610408565b60405190151581526020015b60405180910390f35b61020461045a565b6040516101f391906114ad565b61022461021f3660046113fc565b6104ec565b6040516001600160a01b0390911681526020016101f3565b61024f61024a366004611334565b610530565b005b600254600154035b6040519081526020016101f3565b61024f610275366004611252565b610603565b600c546101e79060ff1681565b61024f610613565b61024f61029d366004611334565b610678565b61025960095481565b61024f6102b9366004611252565b6106ac565b610259600a5481565b61024f6102d53660046113fc565b6106c7565b6102246102e83660046113fc565b6107d8565b6102596102fb366004611204565b6107e3565b61024f610829565b6000546001600160a01b0316610224565b61020461085f565b61024f61032f3660046113b3565b61086e565b61024f6103423660046113fc565b6108ab565b61024f61035536600461130a565b6108da565b61024f6103683660046113fc565b610970565b61024f61037b36600461128e565b61099f565b61020461038e3660046113fc565b6109e9565b61024f6103a1366004611204565b610a6e565b6101e76103b436600461121f565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b61024f6103f0366004611204565b610aa1565b61024f61040336600461135e565b610b30565b60006301ffc9a760e01b6001600160e01b03198316148061043957506380ac58cd60e01b6001600160e01b03198316145b806104545750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461046990611547565b80601f016020809104026020016040519081016040528092919081815260200182805461049590611547565b80156104e25780601f106104b7576101008083540402835291602001916104e2565b820191906000526020600020905b8154815290600101906020018083116104c557829003601f168201915b5050505050905090565b60006104f782610b6d565b610514576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061053b82610b95565b9050806001600160a01b0316836001600160a01b031614156105705760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146105a75761058a81336103b4565b6105a7576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61060e838383610bf6565b505050565b6000546001600160a01b031633146106465760405162461bcd60e51b815260040161063d906114c0565b60405180910390fd5b33806108fc476040518115909202916000818181858888f19350505050158015610674573d6000803e3d6000fd5b5050565b6000546001600160a01b031633146106a25760405162461bcd60e51b815260040161063d906114c0565b6106748282610da6565b61060e8383836040518060200160405280600081525061099f565b600c5460ff1615156001146107105760405162461bcd60e51b815260206004820152600f60248201526e139bdd081b5a5b9d1a5b99c81e595d608a1b604482015260640161063d565b600a5461071c336107e3565b61072690836114f5565b11156107675760405162461bcd60e51b815260206004820152601060248201526f13585e080cc81c195c881dd85b1b195d60821b604482015260640161063d565b600954816107786002546001540390565b61078291906114f5565b11156107bb5760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b604482015260640161063d565b6107d5338260405180602001604052806000815250610dbc565b50565b600061045482610b95565b600081610803576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b031633146108535760405162461bcd60e51b815260040161063d906114c0565b61085d6000610f23565b565b60606004805461046990611547565b6000546001600160a01b031633146108985760405162461bcd60e51b815260040161063d906114c0565b805161067490600b9060208401906110c9565b6000546001600160a01b031633146108d55760405162461bcd60e51b815260040161063d906114c0565b600955565b6001600160a01b0382163314156109045760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b0316331461099a5760405162461bcd60e51b815260040161063d906114c0565b600a55565b6109aa848484610bf6565b6001600160a01b0383163b156109e3576109c684848484610f73565b6109e3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606109f482610b6d565b610a1157604051630a14c4b560e41b815260040160405180910390fd5b6000610a1b61106b565b9050805160001415610a3c5760405180602001604052806000815250610a67565b80610a468461107a565b604051602001610a57929190611441565b6040516020818303038152906040525b9392505050565b6000546001600160a01b03163314610a985760405162461bcd60e51b815260040161063d906114c0565b6107d581610f23565b6000546001600160a01b03163314610acb5760405162461bcd60e51b815260040161063d906114c0565b6001600160a01b038116610a985760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161063d565b6000546001600160a01b03163314610b5a5760405162461bcd60e51b815260040161063d906114c0565b600c805460ff1916911515919091179055565b600060015482108015610454575050600090815260056020526040902054600160e01b161590565b600081600154811015610bdd57600081815260056020526040902054600160e01b8116610bdb575b80610a67575060001901600081815260056020526040902054610bbd565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610c0182610b95565b9050836001600160a01b0316816001600160a01b031614610c345760405162a1148160e81b815260040160405180910390fd5b6000828152600760205260408120546001600160a01b0390811691908616331480610c645750610c6486336103b4565b80610c7757506001600160a01b03821633145b905080610c9757604051632ce44b5f60e11b815260040160405180910390fd5b84610cb557604051633a954ecd60e21b815260040160405180910390fd5b8115610cd857600084815260076020526040902080546001600160a01b03191690555b6001600160a01b03868116600090815260066020908152604080832080546000190190559288168252828220805460010190558682526005905220600160e11b4260a01b871781179091558316610d5d5760018401600081815260056020526040902054610d5b576001548114610d5b5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6106748282604051806020016040528060008152505b60015483610ddc57604051622e076360e81b815260040160405180910390fd5b82610dfa5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526006602090815260408083208054680100000000000000018902019055848352600590915290204260a01b86176001861460e11b1790558190818501903b15610ecf575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610e986000878480600101955087610f73565b610eb5576040516368d2bf6b60e11b815260040160405180910390fd5b808210610e4d578260015414610eca57600080fd5b610f14565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610ed0575b506001556109e3600085838684565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610fa8903390899088908890600401611470565b602060405180830381600087803b158015610fc257600080fd5b505af1925050508015610ff2575060408051601f3d908101601f19168201909252610fef91810190611396565b60015b61104d573d808015611020576040519150601f19603f3d011682016040523d82523d6000602084013e611025565b606091505b508051611045576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b805461046990611547565b604080516080810191829052607f0190826030600a8206018353600a90045b80156110b757600183039250600a81066030018353600a9004611099565b50819003601f19909101908152919050565b8280546110d590611547565b90600052602060002090601f0160209004810192826110f7576000855561113d565b82601f1061111057805160ff191683800117855561113d565b8280016001018555821561113d579182015b8281111561113d578251825591602001919060010190611122565b5061114992915061114d565b5090565b5b80821115611149576000815560010161114e565b600067ffffffffffffffff8084111561117d5761117d611582565b604051601f8501601f19908116603f011681019082821181831017156111a5576111a5611582565b816040528093508581528686860111156111be57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146111ef57600080fd5b919050565b803580151581146111ef57600080fd5b60006020828403121561121657600080fd5b610a67826111d8565b6000806040838503121561123257600080fd5b61123b836111d8565b9150611249602084016111d8565b90509250929050565b60008060006060848603121561126757600080fd5b611270846111d8565b925061127e602085016111d8565b9150604084013590509250925092565b600080600080608085870312156112a457600080fd5b6112ad856111d8565b93506112bb602086016111d8565b925060408501359150606085013567ffffffffffffffff8111156112de57600080fd5b8501601f810187136112ef57600080fd5b6112fe87823560208401611162565b91505092959194509250565b6000806040838503121561131d57600080fd5b611326836111d8565b9150611249602084016111f4565b6000806040838503121561134757600080fd5b611350836111d8565b946020939093013593505050565b60006020828403121561137057600080fd5b610a67826111f4565b60006020828403121561138b57600080fd5b8135610a6781611598565b6000602082840312156113a857600080fd5b8151610a6781611598565b6000602082840312156113c557600080fd5b813567ffffffffffffffff8111156113dc57600080fd5b8201601f810184136113ed57600080fd5b61106384823560208401611162565b60006020828403121561140e57600080fd5b5035919050565b6000815180845261142d81602086016020860161151b565b601f01601f19169290920160200192915050565b6000835161145381846020880161151b565b83519083019061146781836020880161151b565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906114a390830184611415565b9695505050505050565b602081526000610a676020830184611415565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561151657634e487b7160e01b600052601160045260246000fd5b500190565b60005b8381101561153657818101518382015260200161151e565b838111156109e35750506000910152565b600181811c9082168061155b57607f821691505b6020821081141561157c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146107d557600080fdfea2646970667358221220f3984f38526d6d0f3b9b099836e2b3508e62d4deb0f948f67d3374059a43d14964736f6c63430008070033697066733a2f2f516d5a48386e7436386b39756a47665a706161706e695748317575566f376d5359775150514b71434a69577857762f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063aac5d69f116100a2578063cfaaa26611610071578063cfaaa26614610393578063e985e9c5146103a6578063f2fde38b146103e2578063f384abad146103f557600080fd5b8063aac5d69f1461035a578063b387ef921461024f578063b88d4fde1461036d578063c87b56dd1461038057600080fd5b806395d89b41116100de57806395d89b41146103195780639b642de114610321578063a03b725114610334578063a22cb4651461034757600080fd5b806370a08231146102ed578063715018a6146103005780638da5cb5b1461030857600080fd5b80633ccfd60b1161017157806342842e0e1161014b57806342842e0e146102ab578063469132ce146102be57806362963ca9146102c75780636352211e146102da57600080fd5b80633ccfd60b1461028757806340c10f191461028f57806342110303146102a257600080fd5b8063095ea7b3116101ad578063095ea7b31461023c57806318160ddd1461025157806323b872dd14610267578063341c0d631461027a57600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e2366004611379565b610408565b60405190151581526020015b60405180910390f35b61020461045a565b6040516101f391906114ad565b61022461021f3660046113fc565b6104ec565b6040516001600160a01b0390911681526020016101f3565b61024f61024a366004611334565b610530565b005b600254600154035b6040519081526020016101f3565b61024f610275366004611252565b610603565b600c546101e79060ff1681565b61024f610613565b61024f61029d366004611334565b610678565b61025960095481565b61024f6102b9366004611252565b6106ac565b610259600a5481565b61024f6102d53660046113fc565b6106c7565b6102246102e83660046113fc565b6107d8565b6102596102fb366004611204565b6107e3565b61024f610829565b6000546001600160a01b0316610224565b61020461085f565b61024f61032f3660046113b3565b61086e565b61024f6103423660046113fc565b6108ab565b61024f61035536600461130a565b6108da565b61024f6103683660046113fc565b610970565b61024f61037b36600461128e565b61099f565b61020461038e3660046113fc565b6109e9565b61024f6103a1366004611204565b610a6e565b6101e76103b436600461121f565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b61024f6103f0366004611204565b610aa1565b61024f61040336600461135e565b610b30565b60006301ffc9a760e01b6001600160e01b03198316148061043957506380ac58cd60e01b6001600160e01b03198316145b806104545750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461046990611547565b80601f016020809104026020016040519081016040528092919081815260200182805461049590611547565b80156104e25780601f106104b7576101008083540402835291602001916104e2565b820191906000526020600020905b8154815290600101906020018083116104c557829003601f168201915b5050505050905090565b60006104f782610b6d565b610514576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061053b82610b95565b9050806001600160a01b0316836001600160a01b031614156105705760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146105a75761058a81336103b4565b6105a7576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61060e838383610bf6565b505050565b6000546001600160a01b031633146106465760405162461bcd60e51b815260040161063d906114c0565b60405180910390fd5b33806108fc476040518115909202916000818181858888f19350505050158015610674573d6000803e3d6000fd5b5050565b6000546001600160a01b031633146106a25760405162461bcd60e51b815260040161063d906114c0565b6106748282610da6565b61060e8383836040518060200160405280600081525061099f565b600c5460ff1615156001146107105760405162461bcd60e51b815260206004820152600f60248201526e139bdd081b5a5b9d1a5b99c81e595d608a1b604482015260640161063d565b600a5461071c336107e3565b61072690836114f5565b11156107675760405162461bcd60e51b815260206004820152601060248201526f13585e080cc81c195c881dd85b1b195d60821b604482015260640161063d565b600954816107786002546001540390565b61078291906114f5565b11156107bb5760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b604482015260640161063d565b6107d5338260405180602001604052806000815250610dbc565b50565b600061045482610b95565b600081610803576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b031633146108535760405162461bcd60e51b815260040161063d906114c0565b61085d6000610f23565b565b60606004805461046990611547565b6000546001600160a01b031633146108985760405162461bcd60e51b815260040161063d906114c0565b805161067490600b9060208401906110c9565b6000546001600160a01b031633146108d55760405162461bcd60e51b815260040161063d906114c0565b600955565b6001600160a01b0382163314156109045760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b0316331461099a5760405162461bcd60e51b815260040161063d906114c0565b600a55565b6109aa848484610bf6565b6001600160a01b0383163b156109e3576109c684848484610f73565b6109e3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606109f482610b6d565b610a1157604051630a14c4b560e41b815260040160405180910390fd5b6000610a1b61106b565b9050805160001415610a3c5760405180602001604052806000815250610a67565b80610a468461107a565b604051602001610a57929190611441565b6040516020818303038152906040525b9392505050565b6000546001600160a01b03163314610a985760405162461bcd60e51b815260040161063d906114c0565b6107d581610f23565b6000546001600160a01b03163314610acb5760405162461bcd60e51b815260040161063d906114c0565b6001600160a01b038116610a985760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161063d565b6000546001600160a01b03163314610b5a5760405162461bcd60e51b815260040161063d906114c0565b600c805460ff1916911515919091179055565b600060015482108015610454575050600090815260056020526040902054600160e01b161590565b600081600154811015610bdd57600081815260056020526040902054600160e01b8116610bdb575b80610a67575060001901600081815260056020526040902054610bbd565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610c0182610b95565b9050836001600160a01b0316816001600160a01b031614610c345760405162a1148160e81b815260040160405180910390fd5b6000828152600760205260408120546001600160a01b0390811691908616331480610c645750610c6486336103b4565b80610c7757506001600160a01b03821633145b905080610c9757604051632ce44b5f60e11b815260040160405180910390fd5b84610cb557604051633a954ecd60e21b815260040160405180910390fd5b8115610cd857600084815260076020526040902080546001600160a01b03191690555b6001600160a01b03868116600090815260066020908152604080832080546000190190559288168252828220805460010190558682526005905220600160e11b4260a01b871781179091558316610d5d5760018401600081815260056020526040902054610d5b576001548114610d5b5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6106748282604051806020016040528060008152505b60015483610ddc57604051622e076360e81b815260040160405180910390fd5b82610dfa5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526006602090815260408083208054680100000000000000018902019055848352600590915290204260a01b86176001861460e11b1790558190818501903b15610ecf575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610e986000878480600101955087610f73565b610eb5576040516368d2bf6b60e11b815260040160405180910390fd5b808210610e4d578260015414610eca57600080fd5b610f14565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610ed0575b506001556109e3600085838684565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610fa8903390899088908890600401611470565b602060405180830381600087803b158015610fc257600080fd5b505af1925050508015610ff2575060408051601f3d908101601f19168201909252610fef91810190611396565b60015b61104d573d808015611020576040519150601f19603f3d011682016040523d82523d6000602084013e611025565b606091505b508051611045576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b805461046990611547565b604080516080810191829052607f0190826030600a8206018353600a90045b80156110b757600183039250600a81066030018353600a9004611099565b50819003601f19909101908152919050565b8280546110d590611547565b90600052602060002090601f0160209004810192826110f7576000855561113d565b82601f1061111057805160ff191683800117855561113d565b8280016001018555821561113d579182015b8281111561113d578251825591602001919060010190611122565b5061114992915061114d565b5090565b5b80821115611149576000815560010161114e565b600067ffffffffffffffff8084111561117d5761117d611582565b604051601f8501601f19908116603f011681019082821181831017156111a5576111a5611582565b816040528093508581528686860111156111be57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146111ef57600080fd5b919050565b803580151581146111ef57600080fd5b60006020828403121561121657600080fd5b610a67826111d8565b6000806040838503121561123257600080fd5b61123b836111d8565b9150611249602084016111d8565b90509250929050565b60008060006060848603121561126757600080fd5b611270846111d8565b925061127e602085016111d8565b9150604084013590509250925092565b600080600080608085870312156112a457600080fd5b6112ad856111d8565b93506112bb602086016111d8565b925060408501359150606085013567ffffffffffffffff8111156112de57600080fd5b8501601f810187136112ef57600080fd5b6112fe87823560208401611162565b91505092959194509250565b6000806040838503121561131d57600080fd5b611326836111d8565b9150611249602084016111f4565b6000806040838503121561134757600080fd5b611350836111d8565b946020939093013593505050565b60006020828403121561137057600080fd5b610a67826111f4565b60006020828403121561138b57600080fd5b8135610a6781611598565b6000602082840312156113a857600080fd5b8151610a6781611598565b6000602082840312156113c557600080fd5b813567ffffffffffffffff8111156113dc57600080fd5b8201601f810184136113ed57600080fd5b61106384823560208401611162565b60006020828403121561140e57600080fd5b5035919050565b6000815180845261142d81602086016020860161151b565b601f01601f19169290920160200192915050565b6000835161145381846020880161151b565b83519083019061146781836020880161151b565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906114a390830184611415565b9695505050505050565b602081526000610a676020830184611415565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561151657634e487b7160e01b600052601160045260246000fd5b500190565b60005b8381101561153657818101518382015260200161151e565b838111156109e35750506000910152565b600181811c9082168061155b57607f821691505b6020821081141561157c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146107d557600080fdfea2646970667358221220f3984f38526d6d0f3b9b099836e2b3508e62d4deb0f948f67d3374059a43d14964736f6c63430008070033
Deployed Bytecode Sourcemap
48407:1754:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13186:615;;;;;;:::i;:::-;;:::i;:::-;;;5903:14:1;;5896:22;5878:41;;5866:2;5851:18;13186:615:0;;;;;;;;18209:100;;;:::i;:::-;;;;;;;:::i;20277:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5201:32:1;;;5183:51;;5171:2;5156:18;20277:204:0;5037:203:1;19737:474:0;;;;;;:::i;:::-;;:::i;:::-;;12240:315;12506:12;;12490:13;;:28;12240:315;;;8093:25:1;;;8081:2;8066:18;12240:315:0;7947:177:1;21163:170:0;;;;;;:::i;:::-;;:::i;48622:31::-;;;;;;;;;50020:138;;;:::i;48733:110::-;;;;;;:::i;:::-;;:::i;48454:32::-;;;;;;21404:185;;;;;;:::i;:::-;;:::i;48493:37::-;;;;;;48855:320;;;;;;:::i;:::-;;:::i;17998:144::-;;;;;;:::i;:::-;;:::i;13865:234::-;;;;;;:::i;:::-;;:::i;47527:103::-;;;:::i;46876:87::-;46922:7;46949:6;-1:-1:-1;;;;;46949:6:0;46876:87;;18378:104;;;:::i;49528:82::-;;;;;;:::i;:::-;;:::i;49289:110::-;;;;;;:::i;:::-;;:::i;20553:308::-;;;;;;:::i;:::-;;:::i;49409:111::-;;;;;;:::i;:::-;;:::i;21660:396::-;;;;;;:::i;:::-;;:::i;18553:318::-;;;;;;:::i;:::-;;:::i;49690:109::-;;;;;;:::i;:::-;;:::i;20932:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;21053:25:0;;;21029:4;21053:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;20932:164;47785:201;;;;;;:::i;:::-;;:::i;49183:98::-;;;;;;:::i;:::-;;:::i;13186:615::-;13271:4;-1:-1:-1;;;;;;;;;13571:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;13648:25:0;;;13571:102;:179;;;-1:-1:-1;;;;;;;;;;13725:25:0;;;13571:179;13551:199;13186:615;-1:-1:-1;;13186:615:0:o;18209:100::-;18263:13;18296:5;18289:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18209:100;:::o;20277:204::-;20345:7;20370:16;20378:7;20370;:16::i;:::-;20365:64;;20395:34;;-1:-1:-1;;;20395:34:0;;;;;;;;;;;20365:64;-1:-1:-1;20449:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;20449:24:0;;20277:204::o;19737:474::-;19810:13;19842:27;19861:7;19842:18;:27::i;:::-;19810:61;;19892:5;-1:-1:-1;;;;;19886:11:0;:2;-1:-1:-1;;;;;19886:11:0;;19882:48;;;19906:24;;-1:-1:-1;;;19906:24:0;;;;;;;;;;;19882:48;36665:10;-1:-1:-1;;;;;19947:28:0;;;19943:175;;19995:44;20012:5;36665:10;20932:164;:::i;19995:44::-;19990:128;;20067:35;;-1:-1:-1;;;20067:35:0;;;;;;;;;;;19990:128;20130:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;20130:29:0;-1:-1:-1;;;;;20130:29:0;;;;;;;;;20175:28;;20130:24;;20175:28;;;;;;;19799:412;19737:474;;:::o;21163:170::-;21297:28;21307:4;21313:2;21317:7;21297:9;:28::i;:::-;21163:170;;;:::o;50020:138::-;46922:7;46949:6;-1:-1:-1;;;;;46949:6:0;36665:10;47096:23;47088:68;;;;-1:-1:-1;;;47088:68:0;;;;;;;:::i;:::-;;;;;;;;;50100:10:::1;::::0;50122:28:::1;49983:21:::0;50122:28:::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;50057:101;50020:138::o:0;48733:110::-;46922:7;46949:6;-1:-1:-1;;;;;46949:6:0;36665:10;47096:23;47088:68;;;;-1:-1:-1;;;47088:68:0;;;;;;;:::i;:::-;48808:27:::1;48818:7;48828:6;48808:9;:27::i;21404:185::-:0;21542:39;21559:4;21565:2;21569:7;21542:39;;;;;;;;;;;;:16;:39::i;48855:320::-;48916:12;;;;:20;;:12;:20;48907:50;;;;-1:-1:-1;;;48907:50:0;;6763:2:1;48907:50:0;;;6745:21:1;6802:2;6782:18;;;6775:30;-1:-1:-1;;;6821:18:1;;;6814:45;6876:18;;48907:50:0;6561:339:1;48907:50:0;49011:18;;48986:21;48996:10;48986:9;:21::i;:::-;48977:30;;:6;:30;:::i;:::-;:52;;48968:83;;;;-1:-1:-1;;;48968:83:0;;7107:2:1;48968:83:0;;;7089:21:1;7146:2;7126:18;;;7119:30;-1:-1:-1;;;7165:18:1;;;7158:46;7221:18;;48968:83:0;6905:340:1;48968:83:0;49097:10;;49087:6;49071:13;12506:12;;12490:13;;:28;;12240:315;49071:13;:22;;;;:::i;:::-;:36;;49062:59;;;;-1:-1:-1;;;49062:59:0;;7813:2:1;49062:59:0;;;7795:21:1;7852:1;7832:18;;;7825:29;-1:-1:-1;;;7870:18:1;;;7863:38;7918:18;;49062:59:0;7611:331:1;49062:59:0;49132:35;49143:10;49156:6;49132:35;;;;;;;;;;;;:9;:35::i;:::-;48855:320;:::o;17998:144::-;18062:7;18105:27;18124:7;18105:18;:27::i;13865:234::-;13929:7;13971:5;13949:70;;13991:28;;-1:-1:-1;;;13991:28:0;;;;;;;;;;;13949:70;-1:-1:-1;;;;;;14037:25:0;;;;;:18;:25;;;;;;9210:13;14037:54;;13865:234::o;47527:103::-;46922:7;46949:6;-1:-1:-1;;;;;46949:6:0;36665:10;47096:23;47088:68;;;;-1:-1:-1;;;47088:68:0;;;;;;;:::i;:::-;47592:30:::1;47619:1;47592:18;:30::i;:::-;47527:103::o:0;18378:104::-;18434:13;18467:7;18460:14;;;;;:::i;49528:82::-;46922:7;46949:6;-1:-1:-1;;;;;46949:6:0;36665:10;47096:23;47088:68;;;;-1:-1:-1;;;47088:68:0;;;;;;;:::i;:::-;49592:10;;::::1;::::0;:4:::1;::::0;:10:::1;::::0;::::1;::::0;::::1;:::i;49289:110::-:0;46922:7;46949:6;-1:-1:-1;;;;;46949:6:0;36665:10;47096:23;47088:68;;;;-1:-1:-1;;;47088:68:0;;;;;;;:::i;:::-;49365:10:::1;:26:::0;49289:110::o;20553:308::-;-1:-1:-1;;;;;20652:31:0;;36665:10;20652:31;20648:61;;;20692:17;;-1:-1:-1;;;20692:17:0;;;;;;;;;;;20648:61;36665:10;20722:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;20722:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;20722:60:0;;;;;;;;;;20798:55;;5878:41:1;;;20722:49:0;;36665:10;20798:55;;5851:18:1;20798:55:0;;;;;;;20553:308;;:::o;49409:111::-;46922:7;46949:6;-1:-1:-1;;;;;46949:6:0;36665:10;47096:23;47088:68;;;;-1:-1:-1;;;47088:68:0;;;;;;;:::i;:::-;49485:18:::1;:27:::0;49409:111::o;21660:396::-;21827:28;21837:4;21843:2;21847:7;21827:9;:28::i;:::-;-1:-1:-1;;;;;21870:14:0;;;:19;21866:183;;21909:56;21940:4;21946:2;21950:7;21959:5;21909:30;:56::i;:::-;21904:145;;21993:40;;-1:-1:-1;;;21993:40:0;;;;;;;;;;;21904:145;21660:396;;;;:::o;18553:318::-;18626:13;18657:16;18665:7;18657;:16::i;:::-;18652:59;;18682:29;;-1:-1:-1;;;18682:29:0;;;;;;;;;;;18652:59;18724:21;18748:10;:8;:10::i;:::-;18724:34;;18782:7;18776:21;18801:1;18776:26;;:87;;;;;;;;;;;;;;;;;18829:7;18838:18;18848:7;18838:9;:18::i;:::-;18812:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;18776:87;18769:94;18553:318;-1:-1:-1;;;18553:318:0:o;49690:109::-;46922:7;46949:6;-1:-1:-1;;;;;46949:6:0;36665:10;47096:23;47088:68;;;;-1:-1:-1;;;47088:68:0;;;;;;;:::i;:::-;49763:28:::1;49782:8;49763:18;:28::i;47785:201::-:0;46922:7;46949:6;-1:-1:-1;;;;;46949:6:0;36665:10;47096:23;47088:68;;;;-1:-1:-1;;;47088:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;47874:22:0;::::1;47866:73;;;::::0;-1:-1:-1;;;47866:73:0;;6356:2:1;47866: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;;47866:73:0::1;6154:402:1::0;49183:98:0;46922:7;46949:6;-1:-1:-1;;;;;46949:6:0;36665:10;47096:23;47088:68;;;;-1:-1:-1;;;47088:68:0;;;;;;;:::i;:::-;49250:12:::1;:23:::0;;-1:-1:-1;;49250:23:0::1;::::0;::::1;;::::0;;;::::1;::::0;;49183:98::o;22311:273::-;22368:4;22458:13;;22448:7;:23;22405:152;;;;-1:-1:-1;;22509:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;22509:43:0;:48;;22311:273::o;15513:1129::-;15580:7;15615;15717:13;;15710:4;:20;15706:869;;;15755:14;15772:23;;;:17;:23;;;;;;-1:-1:-1;;;15861:23:0;;15857:699;;16380:113;16387:11;16380:113;;-1:-1:-1;;;16458:6:0;16440:25;;;;:17;:25;;;;;;16380:113;;15857:699;15732:843;15706:869;16603:31;;-1:-1:-1;;;16603:31:0;;;;;;;;;;;27570:2654;27685:27;27715;27734:7;27715:18;:27::i;:::-;27685:57;;27800:4;-1:-1:-1;;;;;27759:45:0;27775:19;-1:-1:-1;;;;;27759:45:0;;27755:86;;27813:28;;-1:-1:-1;;;27813:28:0;;;;;;;;;;;27755:86;27854:23;27880:24;;;:15;:24;;;;;;-1:-1:-1;;;;;27880:24:0;;;;27854:23;27943:27;;36665:10;27943:27;;:87;;-1:-1:-1;27987:43:0;28004:4;36665:10;20932:164;:::i;27987:43::-;27943:142;;;-1:-1:-1;;;;;;28047:38:0;;36665:10;28047:38;27943:142;27917:169;;28104:17;28099:66;;28130:35;;-1:-1:-1;;;28130:35:0;;;;;;;;;;;28099:66;28198:2;28176:62;;28215:23;;-1:-1:-1;;;28215:23:0;;;;;;;;;;;28176:62;28382:15;28364:39;28360:103;;28427:24;;;;:15;:24;;;;;28420:31;;-1:-1:-1;;;;;;28420:31:0;;;28360:103;-1:-1:-1;;;;;28830:24:0;;;;;;;:18;:24;;;;;;;;28828:26;;-1:-1:-1;;28828:26:0;;;28899:22;;;;;;;;28897:24;;-1:-1:-1;28897:24:0;;;29192:26;;;:17;:26;;;-1:-1:-1;;;29280:15:0;9864:3;29280:41;29238:84;;:128;;29192:174;;;29486:46;;29482:626;;29590:1;29580:11;;29558:19;29713:30;;;:17;:30;;;;;;29709:384;;29851:13;;29836:11;:28;29832:242;;29998:30;;;;:17;:30;;;;;:52;;;29832:242;29539:569;29482:626;30155:7;30151:2;-1:-1:-1;;;;;30136:27:0;30145:4;-1:-1:-1;;;;;30136:27:0;;;;;;;;;;;27674:2550;;;27570:2654;;;:::o;22668:104::-;22737:27;22747:2;22751:8;22737:27;;;;;;;;;;;;23145:2246;23291:13;;23337:2;23315:58;;23354:19;;-1:-1:-1;;;23354:19:0;;;;;;;;;;;23315:58;23388:13;23384:44;;23410:18;;-1:-1:-1;;;23410:18:0;;;;;;;;;;;23384:44;-1:-1:-1;;;;;23977:22:0;;;;;;:18;:22;;;;9347:2;23977:22;;;:70;;24015:31;24003:44;;23977:70;;;24290:31;;;:17;:31;;;;;24383:15;9864:3;24383:41;24341:84;;-1:-1:-1;24461:13:0;;10123:3;24446:56;24341:162;24290:213;;:31;;24584:23;;;;24628:14;:19;24624:635;;24668:313;24699:38;;24724:12;;-1:-1:-1;;;;;24699:38:0;;;24716:1;;24699:38;;24716:1;;24699:38;24765:69;24804:1;24808:2;24812:14;;;;;;24828:5;24765:30;:69::i;:::-;24760:174;;24870:40;;-1:-1:-1;;;24870:40:0;;;;;;;;;;;24760:174;24976:3;24961:12;:18;24668:313;;25062:12;25045:13;;:29;25041:43;;25076:8;;;25041:43;24624:635;;;25125:119;25156:40;;25181:14;;;;;-1:-1:-1;;;;;25156:40:0;;;25173:1;;25156:40;;25173:1;;25156:40;25239:3;25224:12;:18;25125:119;;24624:635;-1:-1:-1;25273:13:0;:28;25323:60;25352:1;25356:2;25360:12;25374:8;25323:60;:::i;48146:191::-;48220:16;48239:6;;-1:-1:-1;;;;;48256:17:0;;;-1:-1:-1;;;;;;48256:17:0;;;;;;48289:40;;48239:6;;;;;;;48289:40;;48220:16;48289:40;48209:128;48146:191;:::o;34047:716::-;34231:88;;-1:-1:-1;;;34231:88:0;;34210:4;;-1:-1:-1;;;;;34231:45:0;;;;;:88;;36665:10;;34298:4;;34304:7;;34313:5;;34231:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34231:88:0;;;;;;;;-1:-1:-1;;34231:88:0;;;;;;;;;;;;:::i;:::-;;;34227:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34514:13:0;;34510:235;;34560:40;;-1:-1:-1;;;34560:40:0;;;;;;;;;;;34510:235;34703:6;34697:13;34688:6;34684:2;34680:15;34673:38;34227:529;-1:-1:-1;;;;;;34390:64:0;-1:-1:-1;;;34390:64:0;;-1:-1:-1;34227:529:0;34047:716;;;;;;:::o;49807:96::-;49859:13;49891:4;49884:11;;;;;:::i;36789:1943::-;37258:4;37252:11;;37265:3;37248:21;;37343:17;;;;38039:11;;;37918:5;38171:2;38185;38175:13;;38167:22;38039:11;38154:36;38226:2;38216:13;;37810:680;38245:4;37810:680;;;38419:1;38414:3;38410:11;38403:18;;38470:2;38464:4;38460:13;38456:2;38452:22;38447:3;38439:36;38340:2;38330:13;;37810:680;;;-1:-1:-1;38520:13:0;;;-1:-1:-1;;38635:12:0;;;38695:19;;;38635:12;36789:1943;-1:-1:-1;36789:1943: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;7250:356::-;7452:2;7434:21;;;7471:18;;;7464:30;7530:34;7525:2;7510:18;;7503:62;7597:2;7582:18;;7250:356::o;8129:225::-;8169:3;8200:1;8196:6;8193:1;8190:13;8187:136;;;8245:10;8240:3;8236:20;8233:1;8226:31;8280:4;8277:1;8270:15;8308:4;8305:1;8298:15;8187:136;-1:-1:-1;8339:9:1;;8129:225::o;8359:258::-;8431:1;8441:113;8455:6;8452:1;8449:13;8441:113;;;8531:11;;;8525:18;8512:11;;;8505:39;8477:2;8470:10;8441:113;;;8572:6;8569:1;8566:13;8563:48;;;-1:-1:-1;;8607:1:1;8589:16;;8582:27;8359:258::o;8622:380::-;8701:1;8697:12;;;;8744;;;8765:61;;8819:4;8811:6;8807:17;8797:27;;8765:61;8872:2;8864:6;8861:14;8841:18;8838:38;8835:161;;;8918:10;8913:3;8909:20;8906:1;8899:31;8953:4;8950:1;8943:15;8981:4;8978:1;8971:15;8835:161;;8622:380;;;:::o;9007:127::-;9068:10;9063:3;9059:20;9056:1;9049:31;9099:4;9096:1;9089:15;9123:4;9120:1;9113:15;9139:131;-1:-1:-1;;;;;;9213:32:1;;9203:43;;9193:71;;9260:1;9257;9250:12
Swarm Source
ipfs://f3984f38526d6d0f3b9b099836e2b3508e62d4deb0f948f67d3374059a43d149
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.