ERC-721
Overview
Max Total Supply
1,797 UGC
Holders
471
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 UGCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UndergroundCult
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-30 */ // SPDX-License-Identifier: MIT /* ,%%&@@ &&&@@@&&@ @%%%& @&&&@@@@&& %%&& /@&&&&&&&&& &&%@@@@@@&# .&%%%&&&&& @&&&&&&&@&&&& (%%&@@@@@&&& &&%%%&&&&&&@ @@&&&&&&&&&&&&( &%@&@@@@@&&& @&&%%&&&&&@@@ @@@&&&&&&&&&&&& %&&@&&&&&&&&&& %%&&&&&&&@@@@ @@@@&&&&&&&&&&&& %&%&&&&&&&&&&&&&&@&&& %@&&@&&&@@@@ @&&&&&&&&&&&&&&&@&&&&&&&&&&&&&&&&&&&&&&@%&&&&&&&&@&&@ &&%&&&&&&%%&&&&%&&&&&&&&&&&&&&&&&&&&&&&&&&&&&@&&&&&&&&&@ &@@&&&&&&&%&&&&&&&&@&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&@&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&@&&&@ &&&&&&&&@&&&@&&&&@&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&@ %&&&&&&&&&&&&&&&&%&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& %&&&&&&&&&&&&&&&&&&&&&&&&&&&&@&&&&&&&&&&&&&&&&&&&&&&&&&&&&@ @&&&&&&&&&&&&&&@&&%&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& %&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&@&&&&&@&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&@ &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&@&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&%&&&&&&&&&&@&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&@&&&&&&&&&&&&&&&&&&&&&&&&&&&&&@&&&&&&@&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&@&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&@&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&@&&&&&&&&&&&&&&&&&&&&&&&&&&&@&&&&&&&&&@&&&&% */ // 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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ 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(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores 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 via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @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() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 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`, * 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, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` 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](https://eips.ethereum.org/EIPS/eip-2309) 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.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // 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 `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID 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 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @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 virtual 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 virtual 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 virtual 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 virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual 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 virtual { 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; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ 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: [ERC165](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. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ 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 ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * 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 initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev 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); } /** * @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 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)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(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 `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns 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)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @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 virtual { uint256 startTokenId = _currentIndex; 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 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _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 virtual { 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 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 virtual { _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 Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @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) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(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++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { 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 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 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; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @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 virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 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: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/undergroundCult.sol pragma solidity ^0.8.4; contract UndergroundCult is ERC721A, Ownable { using Strings for uint256; string public baseURI = "ipfs://bafybeicmqnpws4kczxcinobzevqzz7e5bu5bmidbkp7pcuy56gpyspyulu/json/"; uint256 public price = 0.00666 ether; uint256 public maxPerTx = 6; uint256 public maxSupply = 6666; uint256 public maxFreePerWallet = 1; uint256 public totalFreeMinted = 0; uint256 public maxFreeSupply = 6000; mapping(address => uint256) public _mintedFreeAmount; constructor() ERC721A("Underground Cult", "UGC") {} function mint(uint256 _amount) external payable { require(msg.value >= _amount * price, "Incorrect amount of ETH."); require(totalSupply() + _amount <= maxSupply, "Sold out."); require(tx.origin == msg.sender, "Only humans please."); require(_amount <= maxPerTx, "You may only mint a max of 10 per transaction"); _mint(msg.sender, _amount); } function mintFree(uint256 _amount) external payable { require(_mintedFreeAmount[msg.sender] + _amount <= maxFreePerWallet, "You have minted the max free amount allowed per wallet."); require(totalFreeMinted + _amount <= maxFreeSupply, "Cannot exceed Free supply." ); require(totalSupply() + _amount <= maxSupply, "Sold out."); _mintedFreeAmount[msg.sender]++; totalFreeMinted++; _safeMint(msg.sender, _amount); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(baseURI, tokenId.toString(), ".json")); } function setBaseURI(string calldata baseURI_) external onlyOwner { baseURI = baseURI_; } function setPrice(uint256 _price) external onlyOwner { price = _price; } function setMaxPerTx(uint256 _amount) external onlyOwner { maxPerTx = _amount; } function setmaxFreeSupply(uint256 _newMaxFreeSupply) public onlyOwner { require(_newMaxFreeSupply <= maxSupply); maxFreeSupply = _newMaxFreeSupply; } function _startTokenId() internal pure override returns (uint256) { return 1; } function withdraw() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } }
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":[{"internalType":"address","name":"","type":"address"}],"name":"_mintedFreeAmount","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxFreePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintFree","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxFreeSupply","type":"uint256"}],"name":"setmaxFreeSupply","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":"totalFreeMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610100604052604860808181529062001de860a039600990620000239082620001cd565b506617a93c16344000600a556006600b55611a0a600c556001600d556000600e55611770600f553480156200005757600080fd5b506040518060400160405280601081526020016f155b99195c99dc9bdd5b990810dd5b1d60821b8152506040518060400160405280600381526020016255474360e81b8152508160029081620000ae9190620001cd565b506003620000bd8282620001cd565b5050600160005550620000d033620000d6565b62000299565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015357607f821691505b6020821081036200017457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001c857600081815260208120601f850160051c81016020861015620001a35750805b601f850160051c820191505b81811015620001c457828155600101620001af565b5050505b505050565b81516001600160401b03811115620001e957620001e962000128565b6200020181620001fa84546200013e565b846200017a565b602080601f831160018114620002395760008415620002205750858301515b600019600386901b1c1916600185901b178555620001c4565b600085815260208120601f198616915b828110156200026a5788860151825594840194600190910190840162000249565b5085821015620002895787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611b3f80620002a96000396000f3fe6080604052600436106101e35760003560e01c806395d89b4111610102578063c6f6f21611610095578063e985e9c511610064578063e985e9c514610526578063f2fde38b14610546578063f4db2acb14610566578063f968adbe1461059357600080fd5b8063c6f6f216146104ba578063c87b56dd146104da578063d5abeb01146104fa578063dad7b5c91461051057600080fd5b8063a4146733116100d1578063a414673314610451578063a702735714610464578063b88d4fde1461047a578063bde12d731461049a57600080fd5b806395d89b41146103f3578063a035b1fe14610408578063a0712d681461041e578063a22cb4651461043157600080fd5b8063475133341161017a57806370a082311161014957806370a0823114610380578063715018a6146103a05780638da5cb5b146103b557806391b7f5ed146103d357600080fd5b8063475133341461031557806355f804b31461032b5780636352211e1461034b5780636c0360eb1461036b57600080fd5b806318160ddd116101b657806318160ddd1461029957806323b872dd146102c05780633ccfd60b146102e057806342842e0e146102f557600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b5061020861020336600461150f565b6105a9565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326105fb565b604051610214919061157c565b34801561024b57600080fd5b5061025f61025a36600461158f565b61068d565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b506102976102923660046115c4565b6106d1565b005b3480156102a557600080fd5b5060015460005403600019015b604051908152602001610214565b3480156102cc57600080fd5b506102976102db3660046115ee565b610771565b3480156102ec57600080fd5b5061029761090a565b34801561030157600080fd5b506102976103103660046115ee565b6109a5565b34801561032157600080fd5b506102b2600f5481565b34801561033757600080fd5b5061029761034636600461162a565b6109c5565b34801561035757600080fd5b5061025f61036636600461158f565b6109da565b34801561037757600080fd5b506102326109e5565b34801561038c57600080fd5b506102b261039b36600461169c565b610a73565b3480156103ac57600080fd5b50610297610ac2565b3480156103c157600080fd5b506008546001600160a01b031661025f565b3480156103df57600080fd5b506102976103ee36600461158f565b610ad6565b3480156103ff57600080fd5b50610232610ae3565b34801561041457600080fd5b506102b2600a5481565b61029761042c36600461158f565b610af2565b34801561043d57600080fd5b5061029761044c3660046116b7565b610c5a565b61029761045f36600461158f565b610cef565b34801561047057600080fd5b506102b2600d5481565b34801561048657600080fd5b50610297610495366004611709565b610e74565b3480156104a657600080fd5b506102976104b536600461158f565b610ebe565b3480156104c657600080fd5b506102976104d536600461158f565b610eda565b3480156104e657600080fd5b506102326104f536600461158f565b610ee7565b34801561050657600080fd5b506102b2600c5481565b34801561051c57600080fd5b506102b2600e5481565b34801561053257600080fd5b506102086105413660046117e5565b610f88565b34801561055257600080fd5b5061029761056136600461169c565b610fb6565b34801561057257600080fd5b506102b261058136600461169c565b60106020526000908152604090205481565b34801561059f57600080fd5b506102b2600b5481565b60006301ffc9a760e01b6001600160e01b0319831614806105da57506380ac58cd60e01b6001600160e01b03198316145b806105f55750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461060a90611818565b80601f016020809104026020016040519081016040528092919081815260200182805461063690611818565b80156106835780601f1061065857610100808354040283529160200191610683565b820191906000526020600020905b81548152906001019060200180831161066657829003601f168201915b5050505050905090565b60006106988261102c565b6106b5576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106dc826109da565b9050336001600160a01b03821614610715576106f88133610f88565b610715576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061077c82611061565b9050836001600160a01b0316816001600160a01b0316146107af5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107fc576107df8633610f88565b6107fc57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661082357604051633a954ecd60e21b815260040160405180910390fd5b801561082e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108c0576001840160008181526004602052604081205490036108be5760005481146108be5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6109126110d7565b604051600090339047908381818185875af1925050503d8060008114610954576040519150601f19603f3d011682016040523d82523d6000602084013e610959565b606091505b50509050806109a25760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064015b60405180910390fd5b50565b6109c083838360405180602001604052806000815250610e74565b505050565b6109cd6110d7565b60096109c0828483611898565b60006105f582611061565b600980546109f290611818565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1e90611818565b8015610a6b5780601f10610a4057610100808354040283529160200191610a6b565b820191906000526020600020905b815481529060010190602001808311610a4e57829003601f168201915b505050505081565b60006001600160a01b038216610a9c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610aca6110d7565b610ad46000611131565b565b610ade6110d7565b600a55565b60606003805461060a90611818565b600a54610aff908261196e565b341015610b4e5760405162461bcd60e51b815260206004820152601860248201527f496e636f727265637420616d6f756e74206f66204554482e00000000000000006044820152606401610999565b600c546001546000548391900360001901610b699190611985565b1115610ba35760405162461bcd60e51b815260206004820152600960248201526829b7b6321037baba1760b91b6044820152606401610999565b323314610be85760405162461bcd60e51b815260206004820152601360248201527227b7363c90343ab6b0b73990383632b0b9b29760691b6044820152606401610999565b600b54811115610c505760405162461bcd60e51b815260206004820152602d60248201527f596f75206d6179206f6e6c79206d696e742061206d6178206f6620313020706560448201526c39103a3930b739b0b1ba34b7b760991b6064820152608401610999565b6109a23382611183565b336001600160a01b03831603610c835760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d5433600090815260106020526040902054610d0d908390611985565b1115610d815760405162461bcd60e51b815260206004820152603760248201527f596f752068617665206d696e74656420746865206d6178206672656520616d6f60448201527f756e7420616c6c6f776564207065722077616c6c65742e0000000000000000006064820152608401610999565b600f5481600e54610d929190611985565b1115610de05760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f7420657863656564204672656520737570706c792e0000000000006044820152606401610999565b600c546001546000548391900360001901610dfb9190611985565b1115610e355760405162461bcd60e51b815260206004820152600960248201526829b7b6321037baba1760b91b6044820152606401610999565b336000908152601060205260408120805491610e5083611998565b9091555050600e8054906000610e6583611998565b91905055506109a23382611281565b610e7f848484610771565b6001600160a01b0383163b15610eb857610e9b8484848461129f565b610eb8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610ec66110d7565b600c54811115610ed557600080fd5b600f55565b610ee26110d7565b600b55565b6060610ef28261102c565b610f565760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610999565b6009610f618361138b565b604051602001610f729291906119b1565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610fbe6110d7565b6001600160a01b0381166110235760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610999565b6109a281611131565b600081600111158015611040575060005482105b80156105f5575050600090815260046020526040902054600160e01b161590565b600081806001116110be576000548110156110be5760008181526004602052604081205490600160e01b821690036110bc575b806000036110b5575060001901600081815260046020526040902054611094565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610ad45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008054908290036111a85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461125757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161121f565b508160000361127857604051622e076360e81b815260040160405180910390fd5b60005550505050565b61129b82826040518060200160405280600081525061148c565b5050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112d4903390899088908890600401611a48565b6020604051808303816000875af192505050801561130f575060408051601f3d908101601f1916820190925261130c91810190611a85565b60015b61136d573d80801561133d576040519150601f19603f3d011682016040523d82523d6000602084013e611342565b606091505b508051600003611365576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036113b25750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113dc57806113c681611998565b91506113d59050600a83611ab8565b91506113b6565b60008167ffffffffffffffff8111156113f7576113f76116f3565b6040519080825280601f01601f191660200182016040528015611421576020820181803683370190505b5090505b841561138357611436600183611acc565b9150611443600a86611adf565b61144e906030611985565b60f81b81838151811061146357611463611af3565b60200101906001600160f81b031916908160001a905350611485600a86611ab8565b9450611425565b6114968383611183565b6001600160a01b0383163b156109c0576000548281035b6114c0600086838060010194508661129f565b6114dd576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114ad5781600054146114f257600080fd5b5050505050565b6001600160e01b0319811681146109a257600080fd5b60006020828403121561152157600080fd5b81356110b5816114f9565b60005b8381101561154757818101518382015260200161152f565b50506000910152565b6000815180845261156881602086016020860161152c565b601f01601f19169290920160200192915050565b6020815260006110b56020830184611550565b6000602082840312156115a157600080fd5b5035919050565b80356001600160a01b03811681146115bf57600080fd5b919050565b600080604083850312156115d757600080fd5b6115e0836115a8565b946020939093013593505050565b60008060006060848603121561160357600080fd5b61160c846115a8565b925061161a602085016115a8565b9150604084013590509250925092565b6000806020838503121561163d57600080fd5b823567ffffffffffffffff8082111561165557600080fd5b818501915085601f83011261166957600080fd5b81358181111561167857600080fd5b86602082850101111561168a57600080fd5b60209290920196919550909350505050565b6000602082840312156116ae57600080fd5b6110b5826115a8565b600080604083850312156116ca57600080fd5b6116d3836115a8565b9150602083013580151581146116e857600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561171f57600080fd5b611728856115a8565b9350611736602086016115a8565b925060408501359150606085013567ffffffffffffffff8082111561175a57600080fd5b818701915087601f83011261176e57600080fd5b813581811115611780576117806116f3565b604051601f8201601f19908116603f011681019083821181831017156117a8576117a86116f3565b816040528281528a60208487010111156117c157600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156117f857600080fd5b611801836115a8565b915061180f602084016115a8565b90509250929050565b600181811c9082168061182c57607f821691505b60208210810361184c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109c057600081815260208120601f850160051c810160208610156118795750805b601f850160051c820191505b8181101561090257828155600101611885565b67ffffffffffffffff8311156118b0576118b06116f3565b6118c4836118be8354611818565b83611852565b6000601f8411600181146118f857600085156118e05750838201355b600019600387901b1c1916600186901b1783556114f2565b600083815260209020601f19861690835b828110156119295786850135825560209485019460019092019101611909565b50868210156119465760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176105f5576105f5611958565b808201808211156105f5576105f5611958565b6000600182016119aa576119aa611958565b5060010190565b60008084546119bf81611818565b600182811680156119d757600181146119ec57611a1b565b60ff1984168752821515830287019450611a1b565b8860005260208060002060005b85811015611a125781548a8201529084019082016119f9565b50505082870194505b505050508351611a2f81836020880161152c565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a7b90830184611550565b9695505050505050565b600060208284031215611a9757600080fd5b81516110b5816114f9565b634e487b7160e01b600052601260045260246000fd5b600082611ac757611ac7611aa2565b500490565b818103818111156105f5576105f5611958565b600082611aee57611aee611aa2565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220c4a5dfb86765daa1e47d575600403fb5ad2d157b26811dc785b8255c5ed41a1764736f6c63430008110033697066733a2f2f62616679626569636d716e707773346b637a7863696e6f627a6576717a7a376535627535626d6964626b7037706375793536677079737079756c752f6a736f6e2f
Deployed Bytecode
0x6080604052600436106101e35760003560e01c806395d89b4111610102578063c6f6f21611610095578063e985e9c511610064578063e985e9c514610526578063f2fde38b14610546578063f4db2acb14610566578063f968adbe1461059357600080fd5b8063c6f6f216146104ba578063c87b56dd146104da578063d5abeb01146104fa578063dad7b5c91461051057600080fd5b8063a4146733116100d1578063a414673314610451578063a702735714610464578063b88d4fde1461047a578063bde12d731461049a57600080fd5b806395d89b41146103f3578063a035b1fe14610408578063a0712d681461041e578063a22cb4651461043157600080fd5b8063475133341161017a57806370a082311161014957806370a0823114610380578063715018a6146103a05780638da5cb5b146103b557806391b7f5ed146103d357600080fd5b8063475133341461031557806355f804b31461032b5780636352211e1461034b5780636c0360eb1461036b57600080fd5b806318160ddd116101b657806318160ddd1461029957806323b872dd146102c05780633ccfd60b146102e057806342842e0e146102f557600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b5061020861020336600461150f565b6105a9565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326105fb565b604051610214919061157c565b34801561024b57600080fd5b5061025f61025a36600461158f565b61068d565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b506102976102923660046115c4565b6106d1565b005b3480156102a557600080fd5b5060015460005403600019015b604051908152602001610214565b3480156102cc57600080fd5b506102976102db3660046115ee565b610771565b3480156102ec57600080fd5b5061029761090a565b34801561030157600080fd5b506102976103103660046115ee565b6109a5565b34801561032157600080fd5b506102b2600f5481565b34801561033757600080fd5b5061029761034636600461162a565b6109c5565b34801561035757600080fd5b5061025f61036636600461158f565b6109da565b34801561037757600080fd5b506102326109e5565b34801561038c57600080fd5b506102b261039b36600461169c565b610a73565b3480156103ac57600080fd5b50610297610ac2565b3480156103c157600080fd5b506008546001600160a01b031661025f565b3480156103df57600080fd5b506102976103ee36600461158f565b610ad6565b3480156103ff57600080fd5b50610232610ae3565b34801561041457600080fd5b506102b2600a5481565b61029761042c36600461158f565b610af2565b34801561043d57600080fd5b5061029761044c3660046116b7565b610c5a565b61029761045f36600461158f565b610cef565b34801561047057600080fd5b506102b2600d5481565b34801561048657600080fd5b50610297610495366004611709565b610e74565b3480156104a657600080fd5b506102976104b536600461158f565b610ebe565b3480156104c657600080fd5b506102976104d536600461158f565b610eda565b3480156104e657600080fd5b506102326104f536600461158f565b610ee7565b34801561050657600080fd5b506102b2600c5481565b34801561051c57600080fd5b506102b2600e5481565b34801561053257600080fd5b506102086105413660046117e5565b610f88565b34801561055257600080fd5b5061029761056136600461169c565b610fb6565b34801561057257600080fd5b506102b261058136600461169c565b60106020526000908152604090205481565b34801561059f57600080fd5b506102b2600b5481565b60006301ffc9a760e01b6001600160e01b0319831614806105da57506380ac58cd60e01b6001600160e01b03198316145b806105f55750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461060a90611818565b80601f016020809104026020016040519081016040528092919081815260200182805461063690611818565b80156106835780601f1061065857610100808354040283529160200191610683565b820191906000526020600020905b81548152906001019060200180831161066657829003601f168201915b5050505050905090565b60006106988261102c565b6106b5576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106dc826109da565b9050336001600160a01b03821614610715576106f88133610f88565b610715576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061077c82611061565b9050836001600160a01b0316816001600160a01b0316146107af5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107fc576107df8633610f88565b6107fc57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661082357604051633a954ecd60e21b815260040160405180910390fd5b801561082e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108c0576001840160008181526004602052604081205490036108be5760005481146108be5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6109126110d7565b604051600090339047908381818185875af1925050503d8060008114610954576040519150601f19603f3d011682016040523d82523d6000602084013e610959565b606091505b50509050806109a25760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064015b60405180910390fd5b50565b6109c083838360405180602001604052806000815250610e74565b505050565b6109cd6110d7565b60096109c0828483611898565b60006105f582611061565b600980546109f290611818565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1e90611818565b8015610a6b5780601f10610a4057610100808354040283529160200191610a6b565b820191906000526020600020905b815481529060010190602001808311610a4e57829003601f168201915b505050505081565b60006001600160a01b038216610a9c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610aca6110d7565b610ad46000611131565b565b610ade6110d7565b600a55565b60606003805461060a90611818565b600a54610aff908261196e565b341015610b4e5760405162461bcd60e51b815260206004820152601860248201527f496e636f727265637420616d6f756e74206f66204554482e00000000000000006044820152606401610999565b600c546001546000548391900360001901610b699190611985565b1115610ba35760405162461bcd60e51b815260206004820152600960248201526829b7b6321037baba1760b91b6044820152606401610999565b323314610be85760405162461bcd60e51b815260206004820152601360248201527227b7363c90343ab6b0b73990383632b0b9b29760691b6044820152606401610999565b600b54811115610c505760405162461bcd60e51b815260206004820152602d60248201527f596f75206d6179206f6e6c79206d696e742061206d6178206f6620313020706560448201526c39103a3930b739b0b1ba34b7b760991b6064820152608401610999565b6109a23382611183565b336001600160a01b03831603610c835760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d5433600090815260106020526040902054610d0d908390611985565b1115610d815760405162461bcd60e51b815260206004820152603760248201527f596f752068617665206d696e74656420746865206d6178206672656520616d6f60448201527f756e7420616c6c6f776564207065722077616c6c65742e0000000000000000006064820152608401610999565b600f5481600e54610d929190611985565b1115610de05760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f7420657863656564204672656520737570706c792e0000000000006044820152606401610999565b600c546001546000548391900360001901610dfb9190611985565b1115610e355760405162461bcd60e51b815260206004820152600960248201526829b7b6321037baba1760b91b6044820152606401610999565b336000908152601060205260408120805491610e5083611998565b9091555050600e8054906000610e6583611998565b91905055506109a23382611281565b610e7f848484610771565b6001600160a01b0383163b15610eb857610e9b8484848461129f565b610eb8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610ec66110d7565b600c54811115610ed557600080fd5b600f55565b610ee26110d7565b600b55565b6060610ef28261102c565b610f565760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610999565b6009610f618361138b565b604051602001610f729291906119b1565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610fbe6110d7565b6001600160a01b0381166110235760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610999565b6109a281611131565b600081600111158015611040575060005482105b80156105f5575050600090815260046020526040902054600160e01b161590565b600081806001116110be576000548110156110be5760008181526004602052604081205490600160e01b821690036110bc575b806000036110b5575060001901600081815260046020526040902054611094565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610ad45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610999565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008054908290036111a85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461125757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161121f565b508160000361127857604051622e076360e81b815260040160405180910390fd5b60005550505050565b61129b82826040518060200160405280600081525061148c565b5050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112d4903390899088908890600401611a48565b6020604051808303816000875af192505050801561130f575060408051601f3d908101601f1916820190925261130c91810190611a85565b60015b61136d573d80801561133d576040519150601f19603f3d011682016040523d82523d6000602084013e611342565b606091505b508051600003611365576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036113b25750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113dc57806113c681611998565b91506113d59050600a83611ab8565b91506113b6565b60008167ffffffffffffffff8111156113f7576113f76116f3565b6040519080825280601f01601f191660200182016040528015611421576020820181803683370190505b5090505b841561138357611436600183611acc565b9150611443600a86611adf565b61144e906030611985565b60f81b81838151811061146357611463611af3565b60200101906001600160f81b031916908160001a905350611485600a86611ab8565b9450611425565b6114968383611183565b6001600160a01b0383163b156109c0576000548281035b6114c0600086838060010194508661129f565b6114dd576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114ad5781600054146114f257600080fd5b5050505050565b6001600160e01b0319811681146109a257600080fd5b60006020828403121561152157600080fd5b81356110b5816114f9565b60005b8381101561154757818101518382015260200161152f565b50506000910152565b6000815180845261156881602086016020860161152c565b601f01601f19169290920160200192915050565b6020815260006110b56020830184611550565b6000602082840312156115a157600080fd5b5035919050565b80356001600160a01b03811681146115bf57600080fd5b919050565b600080604083850312156115d757600080fd5b6115e0836115a8565b946020939093013593505050565b60008060006060848603121561160357600080fd5b61160c846115a8565b925061161a602085016115a8565b9150604084013590509250925092565b6000806020838503121561163d57600080fd5b823567ffffffffffffffff8082111561165557600080fd5b818501915085601f83011261166957600080fd5b81358181111561167857600080fd5b86602082850101111561168a57600080fd5b60209290920196919550909350505050565b6000602082840312156116ae57600080fd5b6110b5826115a8565b600080604083850312156116ca57600080fd5b6116d3836115a8565b9150602083013580151581146116e857600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561171f57600080fd5b611728856115a8565b9350611736602086016115a8565b925060408501359150606085013567ffffffffffffffff8082111561175a57600080fd5b818701915087601f83011261176e57600080fd5b813581811115611780576117806116f3565b604051601f8201601f19908116603f011681019083821181831017156117a8576117a86116f3565b816040528281528a60208487010111156117c157600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156117f857600080fd5b611801836115a8565b915061180f602084016115a8565b90509250929050565b600181811c9082168061182c57607f821691505b60208210810361184c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109c057600081815260208120601f850160051c810160208610156118795750805b601f850160051c820191505b8181101561090257828155600101611885565b67ffffffffffffffff8311156118b0576118b06116f3565b6118c4836118be8354611818565b83611852565b6000601f8411600181146118f857600085156118e05750838201355b600019600387901b1c1916600186901b1783556114f2565b600083815260209020601f19861690835b828110156119295786850135825560209485019460019092019101611909565b50868210156119465760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176105f5576105f5611958565b808201808211156105f5576105f5611958565b6000600182016119aa576119aa611958565b5060010190565b60008084546119bf81611818565b600182811680156119d757600181146119ec57611a1b565b60ff1984168752821515830287019450611a1b565b8860005260208060002060005b85811015611a125781548a8201529084019082016119f9565b50505082870194505b505050508351611a2f81836020880161152c565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a7b90830184611550565b9695505050505050565b600060208284031215611a9757600080fd5b81516110b5816114f9565b634e487b7160e01b600052601260045260246000fd5b600082611ac757611ac7611aa2565b500490565b818103818111156105f5576105f5611958565b600082611aee57611aee611aa2565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220c4a5dfb86765daa1e47d575600403fb5ad2d157b26811dc785b8255c5ed41a1764736f6c63430008110033
Deployed Bytecode Sourcemap
59590:2517:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27130:639;;;;;;;;;;-1:-1:-1;27130:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;27130:639:0;;;;;;;;28032:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;34515:218::-;;;;;;;;;;-1:-1:-1;34515:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;34515:218:0;1533:203:1;33956:400:0;;;;;;;;;;-1:-1:-1;33956:400:0;;;;;:::i;:::-;;:::i;:::-;;23783:323;;;;;;;;;;-1:-1:-1;61912:1:0;24057:12;23844:7;24041:13;:28;-1:-1:-1;;24041:46:0;23783:323;;;2324:25:1;;;2312:2;2297:18;23783:323:0;2178:177:1;38222:2817:0;;;;;;;;;;-1:-1:-1;38222:2817:0;;;;;:::i;:::-;;:::i;61929:173::-;;;;;;;;;;;;;:::i;41135:185::-;;;;;;;;;;-1:-1:-1;41135:185:0;;;;;:::i;:::-;;:::i;59985:35::-;;;;;;;;;;;;;;;;61342:102;;;;;;;;;;-1:-1:-1;61342:102:0;;;;;:::i;:::-;;:::i;29425:152::-;;;;;;;;;;-1:-1:-1;29425:152:0;;;;;:::i;:::-;;:::i;59678:98::-;;;;;;;;;;;;;:::i;24967:233::-;;;;;;;;;;-1:-1:-1;24967:233:0;;;;;:::i;:::-;;:::i;7880:103::-;;;;;;;;;;;;;:::i;7232:87::-;;;;;;;;;;-1:-1:-1;7305:6:0;;-1:-1:-1;;;;;7305:6:0;7232:87;;61452:86;;;;;;;;;;-1:-1:-1;61452:86:0;;;;;:::i;:::-;;:::i;28208:104::-;;;;;;;;;;;;;:::i;59785:36::-;;;;;;;;;;;;;;;;60149:396;;;;;;:::i;:::-;;:::i;35073:308::-;;;;;;;;;;-1:-1:-1;35073:308:0;;;;;:::i;:::-;;:::i;60553:464::-;;;;;;:::i;:::-;;:::i;59902:35::-;;;;;;;;;;;;;;;;41918:399;;;;;;;;;;-1:-1:-1;41918:399:0;;;;;:::i;:::-;;:::i;61648:172::-;;;;;;;;;;-1:-1:-1;61648:172:0;;;;;:::i;:::-;;:::i;61546:94::-;;;;;;;;;;-1:-1:-1;61546:94:0;;;;;:::i;:::-;;:::i;61025:309::-;;;;;;;;;;-1:-1:-1;61025:309:0;;;;;:::i;:::-;;:::i;59862:31::-;;;;;;;;;;;;;;;;59944:34;;;;;;;;;;;;;;;;35538:164;;;;;;;;;;-1:-1:-1;35538:164:0;;;;;:::i;:::-;;:::i;8138:201::-;;;;;;;;;;-1:-1:-1;8138:201:0;;;;;:::i;:::-;;:::i;60029:52::-;;;;;;;;;;-1:-1:-1;60029:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;59828:27;;;;;;;;;;;;;;;;27130:639;27215:4;-1:-1:-1;;;;;;;;;27539:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;27616:25:0;;;27539:102;:179;;;-1:-1:-1;;;;;;;;;;27693:25:0;;;27539:179;27519:199;27130:639;-1:-1:-1;;27130:639:0:o;28032:100::-;28086:13;28119:5;28112:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28032:100;:::o;34515:218::-;34591:7;34616:16;34624:7;34616;:16::i;:::-;34611:64;;34641:34;;-1:-1:-1;;;34641:34:0;;;;;;;;;;;34611:64;-1:-1:-1;34695:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;34695:30:0;;34515:218::o;33956:400::-;34037:13;34053:16;34061:7;34053;:16::i;:::-;34037:32;-1:-1:-1;57813:10:0;-1:-1:-1;;;;;34086:28:0;;;34082:175;;34134:44;34151:5;57813:10;35538:164;:::i;34134:44::-;34129:128;;34206:35;;-1:-1:-1;;;34206:35:0;;;;;;;;;;;34129:128;34269:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;34269:35:0;-1:-1:-1;;;;;34269:35:0;;;;;;;;;34320:28;;34269:24;;34320:28;;;;;;;34026:330;33956:400;;:::o;38222:2817::-;38356:27;38386;38405:7;38386:18;:27::i;:::-;38356:57;;38471:4;-1:-1:-1;;;;;38430:45:0;38446:19;-1:-1:-1;;;;;38430:45:0;;38426:86;;38484:28;;-1:-1:-1;;;38484:28:0;;;;;;;;;;;38426:86;38526:27;37336:24;;;:15;:24;;;;;37558:26;;57813:10;36961:30;;;-1:-1:-1;;;;;36654:28:0;;36939:20;;;36936:56;38712:180;;38805:43;38822:4;57813:10;35538:164;:::i;38805:43::-;38800:92;;38857:35;;-1:-1:-1;;;38857:35:0;;;;;;;;;;;38800:92;-1:-1:-1;;;;;38909:16:0;;38905:52;;38934:23;;-1:-1:-1;;;38934:23:0;;;;;;;;;;;38905:52;39106:15;39103:160;;;39246:1;39225:19;39218:30;39103:160;-1:-1:-1;;;;;39643:24:0;;;;;;;:18;:24;;;;;;39641:26;;-1:-1:-1;;39641:26:0;;;39712:22;;;;;;;;;39710:24;;-1:-1:-1;39710:24:0;;;32814:11;32789:23;32785:41;32772:63;-1:-1:-1;;;32772:63:0;40005:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;40300:47:0;;:52;;40296:627;;40405:1;40395:11;;40373:19;40528:30;;;:17;:30;;;;;;:35;;40524:384;;40666:13;;40651:11;:28;40647:242;;40813:30;;;;:17;:30;;;;;:52;;;40647:242;40354:569;40296:627;40970:7;40966:2;-1:-1:-1;;;;;40951:27:0;40960:4;-1:-1:-1;;;;;40951:27:0;;;;;;;;;;;40989:42;38345:2694;;;38222:2817;;;:::o;61929:173::-;7118:13;:11;:13::i;:::-;61998:49:::1;::::0;61980:12:::1;::::0;61998:10:::1;::::0;62021:21:::1;::::0;61980:12;61998:49;61980:12;61998:49;62021:21;61998:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61979:68;;;62066:7;62058:36;;;::::0;-1:-1:-1;;;62058:36:0;;6170:2:1;62058:36:0::1;::::0;::::1;6152:21:1::0;6209:2;6189:18;;;6182:30;-1:-1:-1;;;6228:18:1;;;6221:46;6284:18;;62058:36:0::1;;;;;;;;;61968:134;61929:173::o:0;41135:185::-;41273:39;41290:4;41296:2;41300:7;41273:39;;;;;;;;;;;;:16;:39::i;:::-;41135:185;;;:::o;61342:102::-;7118:13;:11;:13::i;:::-;61418:7:::1;:18;61428:8:::0;;61418:7;:18:::1;:::i;29425:152::-:0;29497:7;29540:27;29559:7;29540:18;:27::i;59678:98::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24967:233::-;25039:7;-1:-1:-1;;;;;25063:19:0;;25059:60;;25091:28;;-1:-1:-1;;;25091:28:0;;;;;;;;;;;25059:60;-1:-1:-1;;;;;;25137:25:0;;;;;:18;:25;;;;;;19126:13;25137:55;;24967:233::o;7880:103::-;7118:13;:11;:13::i;:::-;7945:30:::1;7972:1;7945:18;:30::i;:::-;7880:103::o:0;61452:86::-;7118:13;:11;:13::i;:::-;61516:5:::1;:14:::0;61452:86::o;28208:104::-;28264:13;28297:7;28290:14;;;;;:::i;60149:396::-;60241:5;;60231:15;;:7;:15;:::i;:::-;60218:9;:28;;60210:65;;;;-1:-1:-1;;;60210:65:0;;8878:2:1;60210:65:0;;;8860:21:1;8917:2;8897:18;;;8890:30;8956:26;8936:18;;;8929:54;9000:18;;60210:65:0;8676:348:1;60210:65:0;60321:9;;61912:1;24057:12;23844:7;24041:13;60310:7;;24041:28;;-1:-1:-1;;24041:46:0;60294:23;;;;:::i;:::-;:36;;60286:58;;;;-1:-1:-1;;;60286:58:0;;9361:2:1;60286:58:0;;;9343:21:1;9400:1;9380:18;;;9373:29;-1:-1:-1;;;9418:18:1;;;9411:39;9467:18;;60286:58:0;9159:332:1;60286:58:0;60363:9;60376:10;60363:23;60355:55;;;;-1:-1:-1;;;60355:55:0;;9698:2:1;60355:55:0;;;9680:21:1;9737:2;9717:18;;;9710:30;-1:-1:-1;;;9756:18:1;;;9749:49;9815:18;;60355:55:0;9496:343:1;60355:55:0;60440:8;;60429:7;:19;;60421:77;;;;-1:-1:-1;;;60421:77:0;;10046:2:1;60421:77:0;;;10028:21:1;10085:2;10065:18;;;10058:30;10124:34;10104:18;;;10097:62;-1:-1:-1;;;10175:18:1;;;10168:43;10228:19;;60421:77:0;9844:409:1;60421:77:0;60511:26;60517:10;60529:7;60511:5;:26::i;35073:308::-;57813:10;-1:-1:-1;;;;;35172:31:0;;;35168:61;;35212:17;;-1:-1:-1;;;35212:17:0;;;;;;;;;;;35168:61;57813:10;35242:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;35242:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;35242:60:0;;;;;;;;;;35318:55;;540:41:1;;;35242:49:0;;57813:10;35318:55;;513:18:1;35318:55:0;;;;;;;35073:308;;:::o;60553:464::-;60667:16;;60642:10;60624:29;;;;:17;:29;;;;;;:39;;60656:7;;60624:39;:::i;:::-;:59;;60616:127;;;;-1:-1:-1;;;60616:127:0;;10460:2:1;60616:127:0;;;10442:21:1;10499:2;10479:18;;;10472:30;10538:34;10518:18;;;10511:62;10609:25;10589:18;;;10582:53;10652:19;;60616:127:0;10258:419:1;60616:127:0;60785:13;;60774:7;60756:15;;:25;;;;:::i;:::-;:42;;60748:82;;;;-1:-1:-1;;;60748:82:0;;10884:2:1;60748:82:0;;;10866:21:1;10923:2;10903:18;;;10896:30;10962:28;10942:18;;;10935:56;11008:18;;60748:82:0;10682:350:1;60748:82:0;60876:9;;61912:1;24057:12;23844:7;24041:13;60865:7;;24041:28;;-1:-1:-1;;24041:46:0;60849:23;;;;:::i;:::-;:36;;60841:58;;;;-1:-1:-1;;;60841:58:0;;9361:2:1;60841:58:0;;;9343:21:1;9400:1;9380:18;;;9373:29;-1:-1:-1;;;9418:18:1;;;9411:39;9467:18;;60841:58:0;9159:332:1;60841:58:0;60930:10;60912:29;;;;:17;:29;;;;;:31;;;;;;:::i;:::-;;;;-1:-1:-1;;60954:15:0;:17;;;:15;:17;;;:::i;:::-;;;;;;60982:30;60992:10;61004:7;60982:9;:30::i;41918:399::-;42085:31;42098:4;42104:2;42108:7;42085:12;:31::i;:::-;-1:-1:-1;;;;;42131:14:0;;;:19;42127:183;;42170:56;42201:4;42207:2;42211:7;42220:5;42170:30;:56::i;:::-;42165:145;;42254:40;;-1:-1:-1;;;42254:40:0;;;;;;;;;;;42165:145;41918:399;;;;:::o;61648:172::-;7118:13;:11;:13::i;:::-;61758:9:::1;;61737:17;:30;;61729:39;;;::::0;::::1;;61779:13;:33:::0;61648:172::o;61546:94::-;7118:13;:11;:13::i;:::-;61614:8:::1;:18:::0;61546:94::o;61025:309::-;61107:13;61155:16;61163:7;61155;:16::i;:::-;61133:113;;;;-1:-1:-1;;;61133:113:0;;11379:2:1;61133:113:0;;;11361:21:1;11418:2;11398:18;;;11391:30;11457:34;11437:18;;;11430:62;-1:-1:-1;;;11508:18:1;;;11501:45;11563:19;;61133:113:0;11177:411:1;61133:113:0;61288:7;61297:18;:7;:16;:18::i;:::-;61271:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;61257:69;;61025:309;;;:::o;35538:164::-;-1:-1:-1;;;;;35659:25:0;;;35635:4;35659:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;35538:164::o;8138:201::-;7118:13;:11;:13::i;:::-;-1:-1:-1;;;;;8227:22:0;::::1;8219:73;;;::::0;-1:-1:-1;;;8219:73:0;;12987:2:1;8219:73:0::1;::::0;::::1;12969:21:1::0;13026:2;13006:18;;;12999:30;13065:34;13045:18;;;13038:62;-1:-1:-1;;;13116:18:1;;;13109:36;13162:19;;8219:73:0::1;12785:402:1::0;8219:73:0::1;8303:28;8322:8;8303:18;:28::i;35960:282::-:0;36025:4;36081:7;61912:1;36062:26;;:66;;;;;36115:13;;36105:7;:23;36062:66;:153;;;;-1:-1:-1;;36166:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;36166:44:0;:49;;35960:282::o;30580:1275::-;30647:7;30682;;61912:1;30731:23;30727:1061;;30784:13;;30777:4;:20;30773:1015;;;30822:14;30839:23;;;:17;:23;;;;;;;-1:-1:-1;;;30928:24:0;;:29;;30924:845;;31593:113;31600:6;31610:1;31600:11;31593:113;;-1:-1:-1;;;31671:6:0;31653:25;;;;:17;:25;;;;;;31593:113;;;31739:6;30580:1275;-1:-1:-1;;;30580:1275:0:o;30924:845::-;30799:989;30773:1015;31816:31;;-1:-1:-1;;;31816:31:0;;;;;;;;;;;7397:132;7305:6;;-1:-1:-1;;;;;7305:6:0;57813:10;7461:23;7453:68;;;;-1:-1:-1;;;7453:68:0;;13394:2:1;7453:68:0;;;13376:21:1;;;13413:18;;;13406:30;13472:34;13452:18;;;13445:62;13524:18;;7453:68:0;13192:356:1;8499:191:0;8592:6;;;-1:-1:-1;;;;;8609:17:0;;;-1:-1:-1;;;;;;8609:17:0;;;;;;;8642:40;;8592:6;;;8609:17;8592:6;;8642:40;;8573:16;;8642:40;8562:128;8499:191;:::o;45579:2454::-;45652:20;45675:13;;;45703;;;45699:44;;45725:18;;-1:-1:-1;;;45725:18:0;;;;;;;;;;;45699:44;-1:-1:-1;;;;;46231:22:0;;;;;;:18;:22;;;;19264:2;46231:22;;;:71;;46269:32;46257:45;;46231:71;;;46545:31;;;:17;:31;;;;;-1:-1:-1;33245:15:0;;33219:24;33215:46;32814:11;32789:23;32785:41;32782:52;32772:63;;46545:173;;46780:23;;;;46545:31;;46231:22;;47279:25;46231:22;;47132:335;47547:1;47533:12;47529:20;47487:346;47588:3;47579:7;47576:16;47487:346;;47806:7;47796:8;47793:1;47766:25;47763:1;47760;47755:59;47641:1;47628:15;47487:346;;;47491:77;47866:8;47878:1;47866:13;47862:45;;47888:19;;-1:-1:-1;;;47888:19:0;;;;;;;;;;;47862:45;47924:13;:19;-1:-1:-1;41135:185:0;;;:::o;51558:112::-;51635:27;51645:2;51649:8;51635:27;;;;;;;;;;;;:9;:27::i;:::-;51558:112;;:::o;44401:716::-;44585:88;;-1:-1:-1;;;44585:88:0;;44564:4;;-1:-1:-1;;;;;44585:45:0;;;;;:88;;57813:10;;44652:4;;44658:7;;44667:5;;44585:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44585:88:0;;;;;;;;-1:-1:-1;;44585:88:0;;;;;;;;;;;;:::i;:::-;;;44581:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44868:6;:13;44885:1;44868:18;44864:235;;44914:40;;-1:-1:-1;;;44914:40:0;;;;;;;;;;;44864:235;45057:6;45051:13;45042:6;45038:2;45034:15;45027:38;44581:529;-1:-1:-1;;;;;;44744:64:0;-1:-1:-1;;;44744:64:0;;-1:-1:-1;44581:529:0;44401:716;;;;;;:::o;3930:723::-;3986:13;4207:5;4216:1;4207:10;4203:53;;-1:-1:-1;;4234:10:0;;;;;;;;;;;;-1:-1:-1;;;4234:10:0;;;;;3930:723::o;4203:53::-;4281:5;4266:12;4322:78;4329:9;;4322:78;;4355:8;;;;:::i;:::-;;-1:-1:-1;4378:10:0;;-1:-1:-1;4386:2:0;4378:10;;:::i;:::-;;;4322:78;;;4410:19;4442:6;4432:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4432:17:0;;4410:39;;4460:154;4467:10;;4460:154;;4494:11;4504:1;4494:11;;:::i;:::-;;-1:-1:-1;4563:10:0;4571:2;4563:5;:10;:::i;:::-;4550:24;;:2;:24;:::i;:::-;4537:39;;4520:6;4527;4520:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;4520:56:0;;;;;;;;-1:-1:-1;4591:11:0;4600:2;4591:11;;:::i;:::-;;;4460:154;;50785:689;50916:19;50922:2;50926:8;50916:5;:19::i;:::-;-1:-1:-1;;;;;50977:14:0;;;:19;50973:483;;51017:11;51031:13;51079:14;;;51112:233;51143:62;51182:1;51186:2;51190:7;;;;;;51199:5;51143:30;:62::i;:::-;51138:167;;51241:40;;-1:-1:-1;;;51241:40:0;;;;;;;;;;;51138:167;51340:3;51332:5;:11;51112:233;;51427:3;51410:13;;:20;51406:34;;51432:8;;;51406:34;50998:458;;50785:689;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:592::-;2764:6;2772;2825:2;2813:9;2804:7;2800:23;2796:32;2793:52;;;2841:1;2838;2831:12;2793:52;2881:9;2868:23;2910:18;2951:2;2943:6;2940:14;2937:34;;;2967:1;2964;2957:12;2937:34;3005:6;2994:9;2990:22;2980:32;;3050:7;3043:4;3039:2;3035:13;3031:27;3021:55;;3072:1;3069;3062:12;3021:55;3112:2;3099:16;3138:2;3130:6;3127:14;3124:34;;;3154:1;3151;3144:12;3124:34;3199:7;3194:2;3185:6;3181:2;3177:15;3173:24;3170:37;3167:57;;;3220:1;3217;3210:12;3167:57;3251:2;3243:11;;;;;3273:6;;-1:-1:-1;2693:592:1;;-1:-1:-1;;;;2693:592:1:o;3290:186::-;3349:6;3402:2;3390:9;3381:7;3377:23;3373:32;3370:52;;;3418:1;3415;3408:12;3370:52;3441:29;3460:9;3441:29;:::i;3481:347::-;3546:6;3554;3607:2;3595:9;3586:7;3582:23;3578:32;3575:52;;;3623:1;3620;3613:12;3575:52;3646:29;3665:9;3646:29;:::i;:::-;3636:39;;3725:2;3714:9;3710:18;3697:32;3772:5;3765:13;3758:21;3751:5;3748:32;3738:60;;3794:1;3791;3784:12;3738:60;3817:5;3807:15;;;3481:347;;;;;:::o;3833:127::-;3894:10;3889:3;3885:20;3882:1;3875:31;3925:4;3922:1;3915:15;3949:4;3946:1;3939:15;3965:1138;4060:6;4068;4076;4084;4137:3;4125:9;4116:7;4112:23;4108:33;4105:53;;;4154:1;4151;4144:12;4105:53;4177:29;4196:9;4177:29;:::i;:::-;4167:39;;4225:38;4259:2;4248:9;4244:18;4225:38;:::i;:::-;4215:48;;4310:2;4299:9;4295:18;4282:32;4272:42;;4365:2;4354:9;4350:18;4337:32;4388:18;4429:2;4421:6;4418:14;4415:34;;;4445:1;4442;4435:12;4415:34;4483:6;4472:9;4468:22;4458:32;;4528:7;4521:4;4517:2;4513:13;4509:27;4499:55;;4550:1;4547;4540:12;4499:55;4586:2;4573:16;4608:2;4604;4601:10;4598:36;;;4614:18;;:::i;:::-;4689:2;4683:9;4657:2;4743:13;;-1:-1:-1;;4739:22:1;;;4763:2;4735:31;4731:40;4719:53;;;4787:18;;;4807:22;;;4784:46;4781:72;;;4833:18;;:::i;:::-;4873:10;4869:2;4862:22;4908:2;4900:6;4893:18;4948:7;4943:2;4938;4934;4930:11;4926:20;4923:33;4920:53;;;4969:1;4966;4959:12;4920:53;5025:2;5020;5016;5012:11;5007:2;4999:6;4995:15;4982:46;5070:1;5065:2;5060;5052:6;5048:15;5044:24;5037:35;5091:6;5081:16;;;;;;;3965:1138;;;;;;;:::o;5108:260::-;5176:6;5184;5237:2;5225:9;5216:7;5212:23;5208:32;5205:52;;;5253:1;5250;5243:12;5205:52;5276:29;5295:9;5276:29;:::i;:::-;5266:39;;5324:38;5358:2;5347:9;5343:18;5324:38;:::i;:::-;5314:48;;5108:260;;;;;:::o;5373:380::-;5452:1;5448:12;;;;5495;;;5516:61;;5570:4;5562:6;5558:17;5548:27;;5516:61;5623:2;5615:6;5612:14;5592:18;5589:38;5586:161;;5669:10;5664:3;5660:20;5657:1;5650:31;5704:4;5701:1;5694:15;5732:4;5729:1;5722:15;5586:161;;5373:380;;;:::o;6439:545::-;6541:2;6536:3;6533:11;6530:448;;;6577:1;6602:5;6598:2;6591:17;6647:4;6643:2;6633:19;6717:2;6705:10;6701:19;6698:1;6694:27;6688:4;6684:38;6753:4;6741:10;6738:20;6735:47;;;-1:-1:-1;6776:4:1;6735:47;6831:2;6826:3;6822:12;6819:1;6815:20;6809:4;6805:31;6795:41;;6886:82;6904:2;6897:5;6894:13;6886:82;;;6949:17;;;6930:1;6919:13;6886:82;;7160:1206;7284:18;7279:3;7276:27;7273:53;;;7306:18;;:::i;:::-;7335:94;7425:3;7385:38;7417:4;7411:11;7385:38;:::i;:::-;7379:4;7335:94;:::i;:::-;7455:1;7480:2;7475:3;7472:11;7497:1;7492:616;;;;8152:1;8169:3;8166:93;;;-1:-1:-1;8225:19:1;;;8212:33;8166:93;-1:-1:-1;;7117:1:1;7113:11;;;7109:24;7105:29;7095:40;7141:1;7137:11;;;7092:57;8272:78;;7465:895;;7492:616;6386:1;6379:14;;;6423:4;6410:18;;-1:-1:-1;;7528:17:1;;;7629:9;7651:229;7665:7;7662:1;7659:14;7651:229;;;7754:19;;;7741:33;7726:49;;7861:4;7846:20;;;;7814:1;7802:14;;;;7681:12;7651:229;;;7655:3;7908;7899:7;7896:16;7893:159;;;8032:1;8028:6;8022:3;8016;8013:1;8009:11;8005:21;8001:34;7997:39;7984:9;7979:3;7975:19;7962:33;7958:79;7950:6;7943:95;7893:159;;;8095:1;8089:3;8086:1;8082:11;8078:19;8072:4;8065:33;7465:895;;7160:1206;;;:::o;8371:127::-;8432:10;8427:3;8423:20;8420:1;8413:31;8463:4;8460:1;8453:15;8487:4;8484:1;8477:15;8503:168;8576:9;;;8607;;8624:15;;;8618:22;;8604:37;8594:71;;8645:18;;:::i;9029:125::-;9094:9;;;9115:10;;;9112:36;;;9128:18;;:::i;11037:135::-;11076:3;11097:17;;;11094:43;;11117:18;;:::i;:::-;-1:-1:-1;11164:1:1;11153:13;;11037:135::o;11593:1187::-;11870:3;11899:1;11932:6;11926:13;11962:36;11988:9;11962:36;:::i;:::-;12017:1;12034:18;;;12061:133;;;;12208:1;12203:356;;;;12027:532;;12061:133;-1:-1:-1;;12094:24:1;;12082:37;;12167:14;;12160:22;12148:35;;12139:45;;;-1:-1:-1;12061:133:1;;12203:356;12234:6;12231:1;12224:17;12264:4;12309:2;12306:1;12296:16;12334:1;12348:165;12362:6;12359:1;12356:13;12348:165;;;12440:14;;12427:11;;;12420:35;12483:16;;;;12377:10;;12348:165;;;12352:3;;;12542:6;12537:3;12533:16;12526:23;;12027:532;;;;;12590:6;12584:13;12606:68;12665:8;12660:3;12653:4;12645:6;12641:17;12606:68;:::i;:::-;-1:-1:-1;;;12696:18:1;;12723:22;;;12772:1;12761:13;;11593:1187;-1:-1:-1;;;;11593:1187:1:o;13553:489::-;-1:-1:-1;;;;;13822:15:1;;;13804:34;;13874:15;;13869:2;13854:18;;13847:43;13921:2;13906:18;;13899:34;;;13969:3;13964:2;13949:18;;13942:31;;;13747:4;;13990:46;;14016:19;;14008:6;13990:46;:::i;:::-;13982:54;13553:489;-1:-1:-1;;;;;;13553:489:1:o;14047:249::-;14116:6;14169:2;14157:9;14148:7;14144:23;14140:32;14137:52;;;14185:1;14182;14175:12;14137:52;14217:9;14211:16;14236:30;14260:5;14236:30;:::i;14301:127::-;14362:10;14357:3;14353:20;14350:1;14343:31;14393:4;14390:1;14383:15;14417:4;14414:1;14407:15;14433:120;14473:1;14499;14489:35;;14504:18;;:::i;:::-;-1:-1:-1;14538:9:1;;14433:120::o;14558:128::-;14625:9;;;14646:11;;;14643:37;;;14660:18;;:::i;14691:112::-;14723:1;14749;14739:35;;14754:18;;:::i;:::-;-1:-1:-1;14788:9:1;;14691:112::o;14808:127::-;14869:10;14864:3;14860:20;14857:1;14850:31;14900:4;14897:1;14890:15;14924:4;14921:1;14914:15
Swarm Source
ipfs://c4a5dfb86765daa1e47d575600403fb5ad2d157b26811dc785b8255c5ed41a17
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.