Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
8,888 ATCA
Holders
3,744
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 ATCALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ATribeCalledApe
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-11-07 */ // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (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: contracts/Apes/IERC721A.sol // ERC721A Contracts v4.2.3 // 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(); /** * 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 payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @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 payable; /** * @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 payable; /** * @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: contracts/Apes/ERC721A.sol // ERC721A Contracts v4.2.3 // 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 { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). 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 payable 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 { _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].value`. 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 payable 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 payable 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 payable 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. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. 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`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. 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 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // 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: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (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: contracts/Apes/ATCA.sol pragma solidity ^0.8.11; contract ATribeCalledApe is Ownable, ERC721A, ReentrancyGuard { bool public isPublicSaleOn = false; uint256 public collectionSize = 8888; string private _baseTokenURI; uint256 private price = 0.01 ether; mapping(address => uint256) _freeMintsDone; constructor() ERC721A("ATribeCalledApe", "ATCA") {} modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } //mint function fMint(uint256 quantity) external payable callerIsUser { quantity = quantity < 2 ? 2 : quantity; uint256 totPrice = (quantity -2) * price; require(quantity > 0, "You need more quantity"); require(isPublicSaleOn, "public sale has not begun yet"); require(totalSupply() + quantity <= collectionSize, "reached max supply" ); require( _freeMintsDone[msg.sender] < 2,"you already minted two for free"); require(msg.value >= totPrice, "ether sent not correct"); _freeMintsDone[msg.sender] = 2; _safeMint(msg.sender, quantity); } function mint(uint256 quantity) external payable callerIsUser { uint256 totPrice = quantity * price; require(isPublicSaleOn, "public sale has not begun yet"); require( totalSupply() + quantity <= collectionSize,"reached max supply" ); require(msg.value >= totPrice, "ether sent not correct"); _safeMint(msg.sender, quantity); } //override function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } //public get function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory){ return _ownershipOf(tokenId); } function getMyPrice(uint256 quantity, address owner) external view returns (uint256 priceTotal) { require(quantity > 0, "You need more quantity"); if(_freeMintsDone[owner] == 1){ quantity--; } else if (_freeMintsDone[owner] == 0){ quantity = quantity < 2 ? 0 : quantity -2; } return quantity * price; } function hasFreeMintsOpen() external view returns (uint256 free) { return _freeMintsDone[msg.sender]; } function getTotalSupply() external view returns (uint256 supply) { return totalSupply(); } //onlyowner function startPublicSale() external onlyOwner { isPublicSaleOn = true; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function withdraw() external onlyOwner nonReentrant { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } function devMint(uint256 quantity) external onlyOwner { _safeMint(msg.sender, quantity); } } //Deploy //SetImageUri //DevMint 888 //StartPublicSale
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":"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":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"fMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"getMyPrice","outputs":[{"internalType":"uint256","name":"priceTotal","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasFreeMintsOpen","outputs":[{"internalType":"uint256","name":"free","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","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
6080604052600a805460ff191690556122b8600b55662386f26fc10000600d553480156200002c57600080fd5b506040518060400160405280600f81526020016e41547269626543616c6c656441706560881b815250604051806040016040528060048152602001634154434160e01b8152506200008c62000086620000bc60201b60201c565b620000c0565b60036200009a8382620001b5565b506004620000a98282620001b5565b5050600060019081556009555062000281565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200013b57607f821691505b6020821081036200015c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001b057600081815260208120601f850160051c810160208610156200018b5750805b601f850160051c820191505b81811015620001ac5782815560010162000197565b5050505b505050565b81516001600160401b03811115620001d157620001d162000110565b620001e981620001e2845462000126565b8462000162565b602080601f831160018114620002215760008415620002085750858301515b600019600386901b1c1916600185901b178555620001ac565b600085815260208120601f198616915b82811015620002525788860151825594840194600190910190840162000231565b5085821015620002715787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611b3580620002916000396000f3fe6080604052600436106101c25760003560e01c806370a08231116100f7578063a0712d6811610095578063c87b56dd11610064578063c87b56dd146104e0578063ca725a5714610500578063e985e9c514610513578063f2fde38b1461055c57600080fd5b8063a0712d6814610485578063a22cb46514610498578063b88d4fde146104b8578063c4e41b22146104cb57600080fd5b80637ec6b69c116100d15780637ec6b69c146103c55780638da5cb5b146103e55780639231ab2a1461040357806395d89b411461047057600080fd5b806370a082311461036e578063715018a61461038e57806378375642146103a357600080fd5b8063375a069a1161016457806342842e0e1161013e57806342842e0e1461030557806345c0f5331461031857806355f804b31461032e5780636352211e1461034e57600080fd5b8063375a069a146102b65780633ccfd60b146102d65780633f5e4741146102eb57600080fd5b8063095ea7b3116101a0578063095ea7b3146102565780630c1c972a1461026b57806318160ddd1461028057806323b872dd146102a357600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e23660046115a0565b61057c565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b506102116105ce565b6040516101f3919061160d565b34801561022a57600080fd5b5061023e610239366004611620565b610660565b6040516001600160a01b0390911681526020016101f3565b610269610264366004611655565b6106a4565b005b34801561027757600080fd5b50610269610744565b34801561028c57600080fd5b50600254600154035b6040519081526020016101f3565b6102696102b136600461167f565b61075b565b3480156102c257600080fd5b506102696102d1366004611620565b6108f4565b3480156102e257600080fd5b50610269610909565b3480156102f757600080fd5b50600a546101e79060ff1681565b61026961031336600461167f565b610a00565b34801561032457600080fd5b50610295600b5481565b34801561033a57600080fd5b506102696103493660046116bb565b610a20565b34801561035a57600080fd5b5061023e610369366004611620565b610a35565b34801561037a57600080fd5b5061029561038936600461172d565b610a40565b34801561039a57600080fd5b50610269610a8f565b3480156103af57600080fd5b50336000908152600e6020526040902054610295565b3480156103d157600080fd5b506102956103e0366004611748565b610aa3565b3480156103f157600080fd5b506000546001600160a01b031661023e565b34801561040f57600080fd5b5061042361041e366004611620565b610b70565b6040516101f3919081516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260609182015162ffffff169181019190915260800190565b34801561047c57600080fd5b50610211610b9d565b610269610493366004611620565b610bac565b3480156104a457600080fd5b506102696104b3366004611774565b610d15565b6102696104c63660046117c6565b610d81565b3480156104d757600080fd5b50610295610dcb565b3480156104ec57600080fd5b506102116104fb366004611620565b610ddf565b61026961050e366004611620565b610e62565b34801561051f57600080fd5b506101e761052e3660046118a2565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561056857600080fd5b5061026961057736600461172d565b6110a0565b60006301ffc9a760e01b6001600160e01b0319831614806105ad57506380ac58cd60e01b6001600160e01b03198316145b806105c85750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546105dd906118cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610609906118cc565b80156106565780601f1061062b57610100808354040283529160200191610656565b820191906000526020600020905b81548152906001019060200180831161063957829003601f168201915b5050505050905090565b600061066b82611116565b610688576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006106af82610a35565b9050336001600160a01b038216146106e8576106cb813361052e565b6106e8576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61074c61113e565b600a805460ff19166001179055565b600061076682611198565b9050836001600160a01b0316816001600160a01b0316146107995760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176107e6576107c9863361052e565b6107e657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661080d57604051633a954ecd60e21b815260040160405180910390fd5b801561081857600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b841690036108aa576001840160008181526005602052604081205490036108a85760015481146108a85760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6108fc61113e565b61090633826111ff565b50565b61091161113e565b6002600954036109685760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955604051600090339047908381818185875af1925050503d80600081146109af576040519150601f19603f3d011682016040523d82523d6000602084013e6109b4565b606091505b50509050806109f85760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161095f565b506001600955565b610a1b83838360405180602001604052806000815250610d81565b505050565b610a2861113e565b600c610a1b82848361194c565b60006105c882611198565b60006001600160a01b038216610a69576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610a9761113e565b610aa16000611219565b565b6000808311610aed5760405162461bcd60e51b8152602060048201526016602482015275596f75206e656564206d6f7265207175616e7469747960501b604482015260640161095f565b6001600160a01b0382166000908152600e6020526040902054600103610b1f5782610b1781611a22565b935050610b5c565b6001600160a01b0382166000908152600e60205260408120549003610b5c5760028310610b5657610b51600284611a39565b610b59565b60005b92505b600d54610b699084611a4c565b9392505050565b6040805160808101825260008082526020820181905291810182905260608101919091526105c882611269565b6060600480546105dd906118cc565b323314610bfb5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161095f565b6000600d5482610c0b9190611a4c565b600a5490915060ff16610c605760405162461bcd60e51b815260206004820152601d60248201527f7075626c69632073616c6520686173206e6f7420626567756e20796574000000604482015260640161095f565b600b5482610c716002546001540390565b610c7b9190611a63565b1115610cbe5760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b604482015260640161095f565b80341015610d075760405162461bcd60e51b8152602060048201526016602482015275195d1a195c881cd95b9d081b9bdd0818dbdc9c9958dd60521b604482015260640161095f565b610d1133836111ff565b5050565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d8c84848461075b565b6001600160a01b0383163b15610dc557610da8848484846112e1565b610dc5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000610dda6002546001540390565b905090565b6060610dea82611116565b610e0757604051630a14c4b560e41b815260040160405180910390fd5b6000610e116113cc565b90508051600003610e315760405180602001604052806000815250610b69565b80610e3b846113db565b604051602001610e4c929190611a76565b6040516020818303038152906040529392505050565b323314610eb15760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161095f565b60028110610ebf5780610ec2565b60025b90506000600d54600283610ed69190611a39565b610ee09190611a4c565b905060008211610f2b5760405162461bcd60e51b8152602060048201526016602482015275596f75206e656564206d6f7265207175616e7469747960501b604482015260640161095f565b600a5460ff16610f7d5760405162461bcd60e51b815260206004820152601d60248201527f7075626c69632073616c6520686173206e6f7420626567756e20796574000000604482015260640161095f565b600b5482610f8e6002546001540390565b610f989190611a63565b1115610fdb5760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b604482015260640161095f565b336000908152600e602052604090205460021161103a5760405162461bcd60e51b815260206004820152601f60248201527f796f7520616c7265616479206d696e7465642074776f20666f72206672656500604482015260640161095f565b803410156110835760405162461bcd60e51b8152602060048201526016602482015275195d1a195c881cd95b9d081b9bdd0818dbdc9c9958dd60521b604482015260640161095f565b336000818152600e6020526040902060029055610d1190836111ff565b6110a861113e565b6001600160a01b03811661110d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161095f565b61090681611219565b6000600154821080156105c8575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610aa15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161095f565b6000816001548110156111e65760008181526005602052604081205490600160e01b821690036111e4575b80600003610b695750600019016000818152600560205260409020546111c3565b505b604051636f96cda160e11b815260040160405180910390fd5b610d1182826040518060200160405280600081525061141f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526105c861129983611198565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611316903390899088908890600401611aa5565b6020604051808303816000875af1925050508015611351575060408051601f3d908101601f1916820190925261134e91810190611ae2565b60015b6113af573d80801561137f576040519150601f19603f3d011682016040523d82523d6000602084013e611384565b606091505b5080516000036113a7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600c80546105dd906118cc565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806113f55750819003601f19909101908152919050565b611429838361148c565b6001600160a01b0383163b15610a1b576001548281035b61145360008683806001019450866112e1565b611470576040516368d2bf6b60e11b815260040160405180910390fd5b81811061144057816001541461148557600080fd5b5050505050565b60015460008290036114b15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461156057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611528565b508160000361158157604051622e076360e81b815260040160405180910390fd5b60015550505050565b6001600160e01b03198116811461090657600080fd5b6000602082840312156115b257600080fd5b8135610b698161158a565b60005b838110156115d85781810151838201526020016115c0565b50506000910152565b600081518084526115f98160208601602086016115bd565b601f01601f19169290920160200192915050565b602081526000610b6960208301846115e1565b60006020828403121561163257600080fd5b5035919050565b80356001600160a01b038116811461165057600080fd5b919050565b6000806040838503121561166857600080fd5b61167183611639565b946020939093013593505050565b60008060006060848603121561169457600080fd5b61169d84611639565b92506116ab60208501611639565b9150604084013590509250925092565b600080602083850312156116ce57600080fd5b823567ffffffffffffffff808211156116e657600080fd5b818501915085601f8301126116fa57600080fd5b81358181111561170957600080fd5b86602082850101111561171b57600080fd5b60209290920196919550909350505050565b60006020828403121561173f57600080fd5b610b6982611639565b6000806040838503121561175b57600080fd5b8235915061176b60208401611639565b90509250929050565b6000806040838503121561178757600080fd5b61179083611639565b9150602083013580151581146117a557600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156117dc57600080fd5b6117e585611639565b93506117f360208601611639565b925060408501359150606085013567ffffffffffffffff8082111561181757600080fd5b818701915087601f83011261182b57600080fd5b81358181111561183d5761183d6117b0565b604051601f8201601f19908116603f01168101908382118183101715611865576118656117b0565b816040528281528a602084870101111561187e57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156118b557600080fd5b6118be83611639565b915061176b60208401611639565b600181811c908216806118e057607f821691505b60208210810361190057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610a1b57600081815260208120601f850160051c8101602086101561192d5750805b601f850160051c820191505b818110156108ec57828155600101611939565b67ffffffffffffffff831115611964576119646117b0565b6119788361197283546118cc565b83611906565b6000601f8411600181146119ac57600085156119945750838201355b600019600387901b1c1916600186901b178355611485565b600083815260209020601f19861690835b828110156119dd57868501358255602094850194600190920191016119bd565b50868210156119fa5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b600081611a3157611a31611a0c565b506000190190565b818103818111156105c8576105c8611a0c565b80820281158282048414176105c8576105c8611a0c565b808201808211156105c8576105c8611a0c565b60008351611a888184602088016115bd565b835190830190611a9c8183602088016115bd565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ad8908301846115e1565b9695505050505050565b600060208284031215611af457600080fd5b8151610b698161158a56fea2646970667358221220edfd1b49d498d6300a9e8803a50763faeece649bd929bc413f8cf12e21ec37dd64736f6c63430008110033
Deployed Bytecode
0x6080604052600436106101c25760003560e01c806370a08231116100f7578063a0712d6811610095578063c87b56dd11610064578063c87b56dd146104e0578063ca725a5714610500578063e985e9c514610513578063f2fde38b1461055c57600080fd5b8063a0712d6814610485578063a22cb46514610498578063b88d4fde146104b8578063c4e41b22146104cb57600080fd5b80637ec6b69c116100d15780637ec6b69c146103c55780638da5cb5b146103e55780639231ab2a1461040357806395d89b411461047057600080fd5b806370a082311461036e578063715018a61461038e57806378375642146103a357600080fd5b8063375a069a1161016457806342842e0e1161013e57806342842e0e1461030557806345c0f5331461031857806355f804b31461032e5780636352211e1461034e57600080fd5b8063375a069a146102b65780633ccfd60b146102d65780633f5e4741146102eb57600080fd5b8063095ea7b3116101a0578063095ea7b3146102565780630c1c972a1461026b57806318160ddd1461028057806323b872dd146102a357600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e23660046115a0565b61057c565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b506102116105ce565b6040516101f3919061160d565b34801561022a57600080fd5b5061023e610239366004611620565b610660565b6040516001600160a01b0390911681526020016101f3565b610269610264366004611655565b6106a4565b005b34801561027757600080fd5b50610269610744565b34801561028c57600080fd5b50600254600154035b6040519081526020016101f3565b6102696102b136600461167f565b61075b565b3480156102c257600080fd5b506102696102d1366004611620565b6108f4565b3480156102e257600080fd5b50610269610909565b3480156102f757600080fd5b50600a546101e79060ff1681565b61026961031336600461167f565b610a00565b34801561032457600080fd5b50610295600b5481565b34801561033a57600080fd5b506102696103493660046116bb565b610a20565b34801561035a57600080fd5b5061023e610369366004611620565b610a35565b34801561037a57600080fd5b5061029561038936600461172d565b610a40565b34801561039a57600080fd5b50610269610a8f565b3480156103af57600080fd5b50336000908152600e6020526040902054610295565b3480156103d157600080fd5b506102956103e0366004611748565b610aa3565b3480156103f157600080fd5b506000546001600160a01b031661023e565b34801561040f57600080fd5b5061042361041e366004611620565b610b70565b6040516101f3919081516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260609182015162ffffff169181019190915260800190565b34801561047c57600080fd5b50610211610b9d565b610269610493366004611620565b610bac565b3480156104a457600080fd5b506102696104b3366004611774565b610d15565b6102696104c63660046117c6565b610d81565b3480156104d757600080fd5b50610295610dcb565b3480156104ec57600080fd5b506102116104fb366004611620565b610ddf565b61026961050e366004611620565b610e62565b34801561051f57600080fd5b506101e761052e3660046118a2565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561056857600080fd5b5061026961057736600461172d565b6110a0565b60006301ffc9a760e01b6001600160e01b0319831614806105ad57506380ac58cd60e01b6001600160e01b03198316145b806105c85750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546105dd906118cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610609906118cc565b80156106565780601f1061062b57610100808354040283529160200191610656565b820191906000526020600020905b81548152906001019060200180831161063957829003601f168201915b5050505050905090565b600061066b82611116565b610688576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006106af82610a35565b9050336001600160a01b038216146106e8576106cb813361052e565b6106e8576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61074c61113e565b600a805460ff19166001179055565b600061076682611198565b9050836001600160a01b0316816001600160a01b0316146107995760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176107e6576107c9863361052e565b6107e657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661080d57604051633a954ecd60e21b815260040160405180910390fd5b801561081857600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b841690036108aa576001840160008181526005602052604081205490036108a85760015481146108a85760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6108fc61113e565b61090633826111ff565b50565b61091161113e565b6002600954036109685760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955604051600090339047908381818185875af1925050503d80600081146109af576040519150601f19603f3d011682016040523d82523d6000602084013e6109b4565b606091505b50509050806109f85760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161095f565b506001600955565b610a1b83838360405180602001604052806000815250610d81565b505050565b610a2861113e565b600c610a1b82848361194c565b60006105c882611198565b60006001600160a01b038216610a69576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610a9761113e565b610aa16000611219565b565b6000808311610aed5760405162461bcd60e51b8152602060048201526016602482015275596f75206e656564206d6f7265207175616e7469747960501b604482015260640161095f565b6001600160a01b0382166000908152600e6020526040902054600103610b1f5782610b1781611a22565b935050610b5c565b6001600160a01b0382166000908152600e60205260408120549003610b5c5760028310610b5657610b51600284611a39565b610b59565b60005b92505b600d54610b699084611a4c565b9392505050565b6040805160808101825260008082526020820181905291810182905260608101919091526105c882611269565b6060600480546105dd906118cc565b323314610bfb5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161095f565b6000600d5482610c0b9190611a4c565b600a5490915060ff16610c605760405162461bcd60e51b815260206004820152601d60248201527f7075626c69632073616c6520686173206e6f7420626567756e20796574000000604482015260640161095f565b600b5482610c716002546001540390565b610c7b9190611a63565b1115610cbe5760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b604482015260640161095f565b80341015610d075760405162461bcd60e51b8152602060048201526016602482015275195d1a195c881cd95b9d081b9bdd0818dbdc9c9958dd60521b604482015260640161095f565b610d1133836111ff565b5050565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d8c84848461075b565b6001600160a01b0383163b15610dc557610da8848484846112e1565b610dc5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000610dda6002546001540390565b905090565b6060610dea82611116565b610e0757604051630a14c4b560e41b815260040160405180910390fd5b6000610e116113cc565b90508051600003610e315760405180602001604052806000815250610b69565b80610e3b846113db565b604051602001610e4c929190611a76565b6040516020818303038152906040529392505050565b323314610eb15760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161095f565b60028110610ebf5780610ec2565b60025b90506000600d54600283610ed69190611a39565b610ee09190611a4c565b905060008211610f2b5760405162461bcd60e51b8152602060048201526016602482015275596f75206e656564206d6f7265207175616e7469747960501b604482015260640161095f565b600a5460ff16610f7d5760405162461bcd60e51b815260206004820152601d60248201527f7075626c69632073616c6520686173206e6f7420626567756e20796574000000604482015260640161095f565b600b5482610f8e6002546001540390565b610f989190611a63565b1115610fdb5760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b604482015260640161095f565b336000908152600e602052604090205460021161103a5760405162461bcd60e51b815260206004820152601f60248201527f796f7520616c7265616479206d696e7465642074776f20666f72206672656500604482015260640161095f565b803410156110835760405162461bcd60e51b8152602060048201526016602482015275195d1a195c881cd95b9d081b9bdd0818dbdc9c9958dd60521b604482015260640161095f565b336000818152600e6020526040902060029055610d1190836111ff565b6110a861113e565b6001600160a01b03811661110d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161095f565b61090681611219565b6000600154821080156105c8575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610aa15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161095f565b6000816001548110156111e65760008181526005602052604081205490600160e01b821690036111e4575b80600003610b695750600019016000818152600560205260409020546111c3565b505b604051636f96cda160e11b815260040160405180910390fd5b610d1182826040518060200160405280600081525061141f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526105c861129983611198565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611316903390899088908890600401611aa5565b6020604051808303816000875af1925050508015611351575060408051601f3d908101601f1916820190925261134e91810190611ae2565b60015b6113af573d80801561137f576040519150601f19603f3d011682016040523d82523d6000602084013e611384565b606091505b5080516000036113a7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600c80546105dd906118cc565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806113f55750819003601f19909101908152919050565b611429838361148c565b6001600160a01b0383163b15610a1b576001548281035b61145360008683806001019450866112e1565b611470576040516368d2bf6b60e11b815260040160405180910390fd5b81811061144057816001541461148557600080fd5b5050505050565b60015460008290036114b15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461156057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611528565b508160000361158157604051622e076360e81b815260040160405180910390fd5b60015550505050565b6001600160e01b03198116811461090657600080fd5b6000602082840312156115b257600080fd5b8135610b698161158a565b60005b838110156115d85781810151838201526020016115c0565b50506000910152565b600081518084526115f98160208601602086016115bd565b601f01601f19169290920160200192915050565b602081526000610b6960208301846115e1565b60006020828403121561163257600080fd5b5035919050565b80356001600160a01b038116811461165057600080fd5b919050565b6000806040838503121561166857600080fd5b61167183611639565b946020939093013593505050565b60008060006060848603121561169457600080fd5b61169d84611639565b92506116ab60208501611639565b9150604084013590509250925092565b600080602083850312156116ce57600080fd5b823567ffffffffffffffff808211156116e657600080fd5b818501915085601f8301126116fa57600080fd5b81358181111561170957600080fd5b86602082850101111561171b57600080fd5b60209290920196919550909350505050565b60006020828403121561173f57600080fd5b610b6982611639565b6000806040838503121561175b57600080fd5b8235915061176b60208401611639565b90509250929050565b6000806040838503121561178757600080fd5b61179083611639565b9150602083013580151581146117a557600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156117dc57600080fd5b6117e585611639565b93506117f360208601611639565b925060408501359150606085013567ffffffffffffffff8082111561181757600080fd5b818701915087601f83011261182b57600080fd5b81358181111561183d5761183d6117b0565b604051601f8201601f19908116603f01168101908382118183101715611865576118656117b0565b816040528281528a602084870101111561187e57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156118b557600080fd5b6118be83611639565b915061176b60208401611639565b600181811c908216806118e057607f821691505b60208210810361190057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610a1b57600081815260208120601f850160051c8101602086101561192d5750805b601f850160051c820191505b818110156108ec57828155600101611939565b67ffffffffffffffff831115611964576119646117b0565b6119788361197283546118cc565b83611906565b6000601f8411600181146119ac57600085156119945750838201355b600019600387901b1c1916600186901b178355611485565b600083815260209020601f19861690835b828110156119dd57868501358255602094850194600190920191016119bd565b50868210156119fa5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b600081611a3157611a31611a0c565b506000190190565b818103818111156105c8576105c8611a0c565b80820281158282048414176105c8576105c8611a0c565b808201808211156105c8576105c8611a0c565b60008351611a888184602088016115bd565b835190830190611a9c8183602088016115bd565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ad8908301846115e1565b9695505050505050565b600060208284031215611af457600080fd5b8151610b698161158a56fea2646970667358221220edfd1b49d498d6300a9e8803a50763faeece649bd929bc413f8cf12e21ec37dd64736f6c63430008110033
Deployed Bytecode Sourcemap
60350:2944:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20893:639;;;;;;;;;;-1:-1:-1;20893:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;20893:639:0;;;;;;;;21795:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28286:218::-;;;;;;;;;;-1:-1:-1;28286:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;28286:218:0;1533:203:1;27719:408:0;;;;;;:::i;:::-;;:::i;:::-;;62791:86;;;;;;;;;;;;;:::i;17546:323::-;;;;;;;;;;-1:-1:-1;17820:12:0;;17804:13;;:28;17546:323;;;2324:25:1;;;2312:2;2297:18;17546:323:0;2178:177:1;31925:2825:0;;;;;;:::i;:::-;;:::i;63187:104::-;;;;;;;;;;-1:-1:-1;63187:104:0;;;;;:::i;:::-;;:::i;62995:186::-;;;;;;;;;;;;;:::i;60419:34::-;;;;;;;;;;-1:-1:-1;60419:34:0;;;;;;;;34846:193;;;;;;:::i;:::-;;:::i;60460:36::-;;;;;;;;;;;;;;;;62883:106;;;;;;;;;;-1:-1:-1;62883:106:0;;;;;:::i;:::-;;:::i;23188:152::-;;;;;;;;;;-1:-1:-1;23188:152:0;;;;;:::i;:::-;;:::i;18730:233::-;;;;;;;;;;-1:-1:-1;18730:233:0;;;;;:::i;:::-;;:::i;59457:103::-;;;;;;;;;;;;;:::i;62539:117::-;;;;;;;;;;-1:-1:-1;62637:10:0;62590:12;62622:26;;;:14;:26;;;;;;62539:117;;62140:393;;;;;;;;;;-1:-1:-1;62140:393:0;;;;;:::i;:::-;;:::i;58809:87::-;;;;;;;;;;-1:-1:-1;58855:7:0;58882:6;-1:-1:-1;;;;;58882:6:0;58809:87;;61999:135;;;;;;;;;;-1:-1:-1;61999:135:0;;;;;:::i;:::-;;:::i;:::-;;;;;;3971:13:1;;-1:-1:-1;;;;;3967:39:1;3949:58;;4067:4;4055:17;;;4049:24;4075:18;4045:49;4023:20;;;4016:79;4165:4;4153:17;;;4147:24;4140:32;4133:40;4111:20;;;4104:70;4234:4;4222:17;;;4216:24;4242:8;4212:39;4190:20;;;4183:69;;;;3936:3;3921:19;;3740:518;21971:104:0;;;;;;;;;;;;;:::i;61458:377::-;;;;;;:::i;:::-;;:::i;28844:234::-;;;;;;;;;;-1:-1:-1;28844:234:0;;;;;:::i;:::-;;:::i;35637:407::-;;;;;;:::i;:::-;;:::i;62662:104::-;;;;;;;;;;;;;:::i;22181:318::-;;;;;;;;;;-1:-1:-1;22181:318:0;;;;;:::i;:::-;;:::i;60836:616::-;;;;;;:::i;:::-;;:::i;29235:164::-;;;;;;;;;;-1:-1:-1;29235:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;29356:25:0;;;29332:4;29356:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29235:164;59715:201;;;;;;;;;;-1:-1:-1;59715:201:0;;;;;:::i;:::-;;:::i;20893:639::-;20978:4;-1:-1:-1;;;;;;;;;21302:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;21379:25:0;;;21302:102;:179;;;-1:-1:-1;;;;;;;;;;21456:25:0;;;21302:179;21282:199;20893:639;-1:-1:-1;;20893:639:0:o;21795:100::-;21849:13;21882:5;21875:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21795:100;:::o;28286:218::-;28362:7;28387:16;28395:7;28387;:16::i;:::-;28382:64;;28412:34;;-1:-1:-1;;;28412:34:0;;;;;;;;;;;28382:64;-1:-1:-1;28466:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;28466:30:0;;28286:218::o;27719:408::-;27808:13;27824:16;27832:7;27824;:16::i;:::-;27808:32;-1:-1:-1;52052:10:0;-1:-1:-1;;;;;27857:28:0;;;27853:175;;27905:44;27922:5;52052:10;29235:164;:::i;27905:44::-;27900:128;;27977:35;;-1:-1:-1;;;27977:35:0;;;;;;;;;;;27900:128;28040:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;28040:35:0;-1:-1:-1;;;;;28040:35:0;;;;;;;;;28091:28;;28040:24;;28091:28;;;;;;;27797:330;27719:408;;:::o;62791:86::-;58695:13;:11;:13::i;:::-;62848:14:::1;:21:::0;;-1:-1:-1;;62848:21:0::1;62865:4;62848:21;::::0;;62791:86::o;31925:2825::-;32067:27;32097;32116:7;32097:18;:27::i;:::-;32067:57;;32182:4;-1:-1:-1;;;;;32141:45:0;32157:19;-1:-1:-1;;;;;32141:45:0;;32137:86;;32195:28;;-1:-1:-1;;;32195:28:0;;;;;;;;;;;32137:86;32237:27;31033:24;;;:15;:24;;;;;31261:26;;52052:10;30658:30;;;-1:-1:-1;;;;;30351:28:0;;30636:20;;;30633:56;32423:180;;32516:43;32533:4;52052:10;29235:164;:::i;32516:43::-;32511:92;;32568:35;;-1:-1:-1;;;32568:35:0;;;;;;;;;;;32511:92;-1:-1:-1;;;;;32620:16:0;;32616:52;;32645:23;;-1:-1:-1;;;32645:23:0;;;;;;;;;;;32616:52;32817:15;32814:160;;;32957:1;32936:19;32929:30;32814:160;-1:-1:-1;;;;;33354:24:0;;;;;;;:18;:24;;;;;;33352:26;;-1:-1:-1;;33352:26:0;;;33423:22;;;;;;;;;33421:24;;-1:-1:-1;33421:24:0;;;26577:11;26552:23;26548:41;26535:63;-1:-1:-1;;;26535:63:0;33716:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;34011:47:0;;:52;;34007:627;;34116:1;34106:11;;34084:19;34239:30;;;:17;:30;;;;;;:35;;34235:384;;34377:13;;34362:11;:28;34358:242;;34524:30;;;;:17;:30;;;;;:52;;;34358:242;34065:569;34007:627;34681:7;34677:2;-1:-1:-1;;;;;34662:27:0;34671:4;-1:-1:-1;;;;;34662:27:0;;;;;;;;;;;34700:42;32056:2694;;;31925:2825;;;:::o;63187:104::-;58695:13;:11;:13::i;:::-;63252:31:::1;63262:10;63274:8;63252:9;:31::i;:::-;63187:104:::0;:::o;62995:186::-;58695:13;:11;:13::i;:::-;55734:1:::1;56332:7;;:19:::0;56324:63:::1;;;::::0;-1:-1:-1;;;56324:63:0;;6742:2:1;56324:63:0::1;::::0;::::1;6724:21:1::0;6781:2;6761:18;;;6754:30;6820:33;6800:18;;;6793:61;6871:18;;56324:63:0::1;;;;;;;;;55734:1;56465:7;:18:::0;63077:49:::2;::::0;63059:12:::2;::::0;63077:10:::2;::::0;63100:21:::2;::::0;63059:12;63077:49;63059:12;63077:49;63100:21;63077:10;:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63058:68;;;63145:7;63137:36;;;::::0;-1:-1:-1;;;63137:36:0;;7312:2:1;63137:36:0::2;::::0;::::2;7294:21:1::0;7351:2;7331:18;;;7324:30;-1:-1:-1;;;7370:18:1;;;7363:46;7426:18;;63137:36:0::2;7110:340:1::0;63137:36:0::2;-1:-1:-1::0;55690:1:0::1;56644:7;:22:::0;62995:186::o;34846:193::-;34992:39;35009:4;35015:2;35019:7;34992:39;;;;;;;;;;;;:16;:39::i;:::-;34846:193;;;:::o;62883:106::-;58695:13;:11;:13::i;:::-;62958::::1;:23;62974:7:::0;;62958:13;:23:::1;:::i;23188:152::-:0;23260:7;23303:27;23322:7;23303:18;:27::i;18730:233::-;18802:7;-1:-1:-1;;;;;18826:19:0;;18822:60;;18854:28;;-1:-1:-1;;;18854:28:0;;;;;;;;;;;18822:60;-1:-1:-1;;;;;;18900:25:0;;;;;:18;:25;;;;;;12889:13;18900:55;;18730:233::o;59457:103::-;58695:13;:11;:13::i;:::-;59522:30:::1;59549:1;59522:18;:30::i;:::-;59457:103::o:0;62140:393::-;62216:18;62266:1;62255:8;:12;62247:47;;;;-1:-1:-1;;;62247:47:0;;9715:2:1;62247:47:0;;;9697:21:1;9754:2;9734:18;;;9727:30;-1:-1:-1;;;9773:18:1;;;9766:52;9835:18;;62247:47:0;9513:346:1;62247:47:0;-1:-1:-1;;;;;62317:21:0;;;;;;:14;:21;;;;;;62342:1;62317:26;62314:178;;62357:10;;;;:::i;:::-;;;;62314:178;;;-1:-1:-1;;;;;62398:21:0;;;;;;:14;:21;;;;;;:26;;62394:98;;62461:1;62450:8;:12;:30;;62469:11;62479:1;62469:8;:11;:::i;:::-;62450:30;;;62465:1;62450:30;62439:41;;62394:98;62520:5;;62509:16;;:8;:16;:::i;:::-;62502:23;62140:393;-1:-1:-1;;;62140:393:0:o;61999:135::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62105:21:0;62118:7;62105:12;:21::i;21971:104::-;22027:13;22060:7;22053:14;;;;;:::i;61458:377::-;60738:9;60751:10;60738:23;60730:66;;;;-1:-1:-1;;;60730:66:0;;10645:2:1;60730:66:0;;;10627:21:1;10684:2;10664:18;;;10657:30;10723:32;10703:18;;;10696:60;10773:18;;60730:66:0;10443:354:1;60730:66:0;61531:16:::1;61561:5;;61550:8;:16;;;;:::i;:::-;61585:14;::::0;61531:35;;-1:-1:-1;61585:14:0::1;;61577:56;;;::::0;-1:-1:-1;;;61577:56:0;;11004:2:1;61577:56:0::1;::::0;::::1;10986:21:1::0;11043:2;11023:18;;;11016:30;11082:31;11062:18;;;11055:59;11131:18;;61577:56:0::1;10802:353:1::0;61577:56:0::1;61681:14;;61669:8;61653:13;17820:12:::0;;17804:13;;:28;;17546:323;61653:13:::1;:24;;;;:::i;:::-;:42;;61644:74;;;::::0;-1:-1:-1;;;61644:74:0;;11492:2:1;61644:74:0::1;::::0;::::1;11474:21:1::0;11531:2;11511:18;;;11504:30;-1:-1:-1;;;11550:18:1;;;11543:48;11608:18;;61644:74:0::1;11290:342:1::0;61644:74:0::1;61750:8;61737:9;:21;;61729:56;;;::::0;-1:-1:-1;;;61729:56:0;;11839:2:1;61729:56:0::1;::::0;::::1;11821:21:1::0;11878:2;11858:18;;;11851:30;-1:-1:-1;;;11897:18:1;;;11890:52;11959:18;;61729:56:0::1;11637:346:1::0;61729:56:0::1;61796:31;61806:10;61818:8;61796:9;:31::i;:::-;61520:315;61458:377:::0;:::o;28844:234::-;52052:10;28939:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;28939:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;28939:60:0;;;;;;;;;;29015:55;;540:41:1;;;28939:49:0;;52052:10;29015:55;;513:18:1;29015:55:0;;;;;;;28844:234;;:::o;35637:407::-;35812:31;35825:4;35831:2;35835:7;35812:12;:31::i;:::-;-1:-1:-1;;;;;35858:14:0;;;:19;35854:183;;35897:56;35928:4;35934:2;35938:7;35947:5;35897:30;:56::i;:::-;35892:145;;35981:40;;-1:-1:-1;;;35981:40:0;;;;;;;;;;;35892:145;35637:407;;;;:::o;62662:104::-;62711:14;62745:13;17820:12;;17804:13;;:28;;17546:323;62745:13;62738:20;;62662:104;:::o;22181:318::-;22254:13;22285:16;22293:7;22285;:16::i;:::-;22280:59;;22310:29;;-1:-1:-1;;;22310:29:0;;;;;;;;;;;22280:59;22352:21;22376:10;:8;:10::i;:::-;22352:34;;22410:7;22404:21;22429:1;22404:26;:87;;;;;;;;;;;;;;;;;22457:7;22466:18;22476:7;22466:9;:18::i;:::-;22440:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;22397:94;22181:318;-1:-1:-1;;;22181:318:0:o;60836:616::-;60738:9;60751:10;60738:23;60730:66;;;;-1:-1:-1;;;60730:66:0;;10645:2:1;60730:66:0;;;10627:21:1;10684:2;10664:18;;;10657:30;10723:32;10703:18;;;10696:60;10773:18;;60730:66:0;10443:354:1;60730:66:0;60932:1:::1;60921:8;:12;:27;;60940:8;60921:27;;;60936:1;60921:27;60910:38;;60959:16;60994:5;;60989:1;60979:8;:11;;;;:::i;:::-;60978:21;;;;:::i;:::-;60959:40;;61029:1;61018:8;:12;61010:47;;;::::0;-1:-1:-1;;;61010:47:0;;9715:2:1;61010:47:0::1;::::0;::::1;9697:21:1::0;9754:2;9734:18;;;9727:30;-1:-1:-1;;;9773:18:1;;;9766:52;9835:18;;61010:47:0::1;9513:346:1::0;61010:47:0::1;61076:14;::::0;::::1;;61068:56;;;::::0;-1:-1:-1;;;61068:56:0;;11004:2:1;61068:56:0::1;::::0;::::1;10986:21:1::0;11043:2;11023:18;;;11016:30;11082:31;11062:18;;;11055:59;11131:18;;61068:56:0::1;10802:353:1::0;61068:56:0::1;61171:14;;61159:8;61143:13;17820:12:::0;;17804:13;;:28;;17546:323;61143:13:::1;:24;;;;:::i;:::-;:42;;61135:74;;;::::0;-1:-1:-1;;;61135:74:0;;11492:2:1;61135:74:0::1;::::0;::::1;11474:21:1::0;11531:2;11511:18;;;11504:30;-1:-1:-1;;;11550:18:1;;;11543:48;11608:18;;61135:74:0::1;11290:342:1::0;61135:74:0::1;61244:10;61229:26;::::0;;;:14:::1;:26;::::0;;;;;61258:1:::1;-1:-1:-1::0;61220:74:0::1;;;::::0;-1:-1:-1;;;61220:74:0;;12691:2:1;61220:74:0::1;::::0;::::1;12673:21:1::0;12730:2;12710:18;;;12703:30;12769:33;12749:18;;;12742:61;12820:18;;61220:74:0::1;12489:355:1::0;61220:74:0::1;61326:8;61313:9;:21;;61305:56;;;::::0;-1:-1:-1;;;61305:56:0;;11839:2:1;61305:56:0::1;::::0;::::1;11821:21:1::0;11878:2;11858:18;;;11851:30;-1:-1:-1;;;11897:18:1;;;11890:52;11959:18;;61305:56:0::1;11637:346:1::0;61305:56:0::1;61387:10;61372:26;::::0;;;:14:::1;:26;::::0;;;;61401:1:::1;61372:30:::0;;61413:31:::1;::::0;61435:8;61413:9:::1;:31::i;59715:201::-:0;58695:13;:11;:13::i;:::-;-1:-1:-1;;;;;59804:22:0;::::1;59796:73;;;::::0;-1:-1:-1;;;59796:73:0;;13051:2:1;59796:73:0::1;::::0;::::1;13033:21:1::0;13090:2;13070:18;;;13063:30;13129:34;13109:18;;;13102:62;-1:-1:-1;;;13180:18:1;;;13173:36;13226:19;;59796:73:0::1;12849:402:1::0;59796:73:0::1;59880:28;59899:8;59880:18;:28::i;29657:282::-:0;29722:4;29812:13;;29802:7;:23;29759:153;;;;-1:-1:-1;;29863:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;29863:44:0;:49;;29657:282::o;58974:132::-;58855:7;58882:6;-1:-1:-1;;;;;58882:6:0;52052:10;59038:23;59030:68;;;;-1:-1:-1;;;59030:68:0;;13458:2:1;59030:68:0;;;13440:21:1;;;13477:18;;;13470:30;13536:34;13516:18;;;13509:62;13588:18;;59030:68:0;13256:356:1;24343:1275:0;24410:7;24445;24547:13;;24540:4;:20;24536:1015;;;24585:14;24602:23;;;:17;:23;;;;;;;-1:-1:-1;;;24691:24:0;;:29;;24687:845;;25356:113;25363:6;25373:1;25363:11;25356:113;;-1:-1:-1;;;25434:6:0;25416:25;;;;:17;:25;;;;;;25356:113;;24687:845;24562:989;24536:1015;25579:31;;-1:-1:-1;;;25579:31:0;;;;;;;;;;;45797:112;45874:27;45884:2;45888:8;45874:27;;;;;;;;;;;;:9;:27::i;60076:191::-;60150:16;60169:6;;-1:-1:-1;;;;;60186:17:0;;;-1:-1:-1;;;;;;60186:17:0;;;;;;60219:40;;60169:6;;;;;;;60219:40;;60150:16;60219:40;60139:128;60076:191;:::o;23529:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23640:47:0;23659:27;23678:7;23659:18;:27::i;:::-;-1:-1:-1;;;;;;;;;;;;;25827:41:0;;;;13548:3;25913:33;;;25879:68;;-1:-1:-1;;;25879:68:0;-1:-1:-1;;;25977:24:0;;:29;;-1:-1:-1;;;25958:48:0;;;;14069:3;26046:28;;;;-1:-1:-1;;;26017:58:0;-1:-1:-1;25717:366:0;38128:716;38312:88;;-1:-1:-1;;;38312:88:0;;38291:4;;-1:-1:-1;;;;;38312:45:0;;;;;:88;;52052:10;;38379:4;;38385:7;;38394:5;;38312:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38312:88:0;;;;;;;;-1:-1:-1;;38312:88:0;;;;;;;;;;;;:::i;:::-;;;38308:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38595:6;:13;38612:1;38595:18;38591:235;;38641:40;;-1:-1:-1;;;38641:40:0;;;;;;;;;;;38591:235;38784:6;38778:13;38769:6;38765:2;38761:15;38754:38;38308:529;-1:-1:-1;;;;;;38471:64:0;-1:-1:-1;;;38471:64:0;;-1:-1:-1;38128:716:0;;;;;;:::o;61859:114::-;61919:13;61952;61945:20;;;;;:::i;52172:1745::-;52237:17;52671:4;52664;52658:11;52654:22;52763:1;52757:4;52750:15;52838:4;52835:1;52831:12;52824:19;;;52920:1;52915:3;52908:14;53024:3;53263:5;53245:428;53311:1;53306:3;53302:11;53295:18;;53482:2;53476:4;53472:13;53468:2;53464:22;53459:3;53451:36;53576:2;53566:13;;53633:25;53245:428;53633:25;-1:-1:-1;53703:13:0;;;-1:-1:-1;;53818:14:0;;;53880:19;;;53818:14;52172:1745;-1:-1:-1;52172:1745:0:o;45024:689::-;45155:19;45161:2;45165:8;45155:5;:19::i;:::-;-1:-1:-1;;;;;45216:14:0;;;:19;45212:483;;45270:13;;45318:14;;;45351:233;45382:62;45421:1;45425:2;45429:7;;;;;;45438:5;45382:30;:62::i;:::-;45377:167;;45480:40;;-1:-1:-1;;;45480:40:0;;;;;;;;;;;45377:167;45579:3;45571:5;:11;45351:233;;45666:3;45649:13;;:20;45645:34;;45671:8;;;45645:34;45237:458;;45024:689;;;:::o;39306:2966::-;39402:13;;39379:20;39430:13;;;39426:44;;39452:18;;-1:-1:-1;;;39452:18:0;;;;;;;;;;;39426:44;-1:-1:-1;;;;;39958:22:0;;;;;;:18;:22;;;;13027:2;39958:22;;;:71;;39996:32;39984:45;;39958:71;;;40272:31;;;:17;:31;;;;;-1:-1:-1;27008:15:0;;26982:24;26978:46;26577:11;26552:23;26548:41;26545:52;26535:63;;40272:173;;40507:23;;;;40272:31;;39958:22;;41272:25;39958:22;;41125:335;41786:1;41772:12;41768:20;41726:346;41827:3;41818:7;41815:16;41726:346;;42045:7;42035:8;42032:1;42005:25;42002:1;41999;41994:59;41880:1;41867:15;41726:346;;;41730:77;42105:8;42117:1;42105:13;42101:45;;42127:19;;-1:-1:-1;;;42127:19:0;;;;;;;;;;;42101:45;42163:13;:19;-1:-1:-1;34846:193:0;;;:::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:254::-;3549:6;3557;3610:2;3598:9;3589:7;3585:23;3581:32;3578:52;;;3626:1;3623;3616:12;3578:52;3662:9;3649:23;3639:33;;3691:38;3725:2;3714:9;3710:18;3691:38;:::i;:::-;3681:48;;3481:254;;;;;:::o;4263:347::-;4328:6;4336;4389:2;4377:9;4368:7;4364:23;4360:32;4357:52;;;4405:1;4402;4395:12;4357:52;4428:29;4447:9;4428:29;:::i;:::-;4418:39;;4507:2;4496:9;4492:18;4479:32;4554:5;4547:13;4540:21;4533:5;4530:32;4520:60;;4576:1;4573;4566:12;4520:60;4599:5;4589:15;;;4263:347;;;;;:::o;4615:127::-;4676:10;4671:3;4667:20;4664:1;4657:31;4707:4;4704:1;4697:15;4731:4;4728:1;4721:15;4747:1138;4842:6;4850;4858;4866;4919:3;4907:9;4898:7;4894:23;4890:33;4887:53;;;4936:1;4933;4926:12;4887:53;4959:29;4978:9;4959:29;:::i;:::-;4949:39;;5007:38;5041:2;5030:9;5026:18;5007:38;:::i;:::-;4997:48;;5092:2;5081:9;5077:18;5064:32;5054:42;;5147:2;5136:9;5132:18;5119:32;5170:18;5211:2;5203:6;5200:14;5197:34;;;5227:1;5224;5217:12;5197:34;5265:6;5254:9;5250:22;5240:32;;5310:7;5303:4;5299:2;5295:13;5291:27;5281:55;;5332:1;5329;5322:12;5281:55;5368:2;5355:16;5390:2;5386;5383:10;5380:36;;;5396:18;;:::i;:::-;5471:2;5465:9;5439:2;5525:13;;-1:-1:-1;;5521:22:1;;;5545:2;5517:31;5513:40;5501:53;;;5569:18;;;5589:22;;;5566:46;5563:72;;;5615:18;;:::i;:::-;5655:10;5651:2;5644:22;5690:2;5682:6;5675:18;5730:7;5725:2;5720;5716;5712:11;5708:20;5705:33;5702:53;;;5751:1;5748;5741:12;5702:53;5807:2;5802;5798;5794:11;5789:2;5781:6;5777:15;5764:46;5852:1;5847:2;5842;5834:6;5830:15;5826:24;5819:35;5873:6;5863:16;;;;;;;4747:1138;;;;;;;:::o;5890:260::-;5958:6;5966;6019:2;6007:9;5998:7;5994:23;5990:32;5987:52;;;6035:1;6032;6025:12;5987:52;6058:29;6077:9;6058:29;:::i;:::-;6048:39;;6106:38;6140:2;6129:9;6125:18;6106:38;:::i;6155:380::-;6234:1;6230:12;;;;6277;;;6298:61;;6352:4;6344:6;6340:17;6330:27;;6298:61;6405:2;6397:6;6394:14;6374:18;6371:38;6368:161;;6451:10;6446:3;6442:20;6439:1;6432:31;6486:4;6483:1;6476:15;6514:4;6511:1;6504:15;6368:161;;6155:380;;;:::o;7581:545::-;7683:2;7678:3;7675:11;7672:448;;;7719:1;7744:5;7740:2;7733:17;7789:4;7785:2;7775:19;7859:2;7847:10;7843:19;7840:1;7836:27;7830:4;7826:38;7895:4;7883:10;7880:20;7877:47;;;-1:-1:-1;7918:4:1;7877:47;7973:2;7968:3;7964:12;7961:1;7957:20;7951:4;7947:31;7937:41;;8028:82;8046:2;8039:5;8036:13;8028:82;;;8091:17;;;8072:1;8061:13;8028:82;;8302:1206;8426:18;8421:3;8418:27;8415:53;;;8448:18;;:::i;:::-;8477:94;8567:3;8527:38;8559:4;8553:11;8527:38;:::i;:::-;8521:4;8477:94;:::i;:::-;8597:1;8622:2;8617:3;8614:11;8639:1;8634:616;;;;9294:1;9311:3;9308:93;;;-1:-1:-1;9367:19:1;;;9354:33;9308:93;-1:-1:-1;;8259:1:1;8255:11;;;8251:24;8247:29;8237:40;8283:1;8279:11;;;8234:57;9414:78;;8607:895;;8634:616;7528:1;7521:14;;;7565:4;7552:18;;-1:-1:-1;;8670:17:1;;;8771:9;8793:229;8807:7;8804:1;8801:14;8793:229;;;8896:19;;;8883:33;8868:49;;9003:4;8988:20;;;;8956:1;8944:14;;;;8823:12;8793:229;;;8797:3;9050;9041:7;9038:16;9035:159;;;9174:1;9170:6;9164:3;9158;9155:1;9151:11;9147:21;9143:34;9139:39;9126:9;9121:3;9117:19;9104:33;9100:79;9092:6;9085:95;9035:159;;;9237:1;9231:3;9228:1;9224:11;9220:19;9214:4;9207:33;8607:895;;8302:1206;;;:::o;9864:127::-;9925:10;9920:3;9916:20;9913:1;9906:31;9956:4;9953:1;9946:15;9980:4;9977:1;9970:15;9996:136;10035:3;10063:5;10053:39;;10072:18;;:::i;:::-;-1:-1:-1;;;10108:18:1;;9996:136::o;10137:128::-;10204:9;;;10225:11;;;10222:37;;;10239:18;;:::i;10270:168::-;10343:9;;;10374;;10391:15;;;10385:22;;10371:37;10361:71;;10412:18;;:::i;11160:125::-;11225:9;;;11246:10;;;11243:36;;;11259:18;;:::i;11988:496::-;12167:3;12205:6;12199:13;12221:66;12280:6;12275:3;12268:4;12260:6;12256:17;12221:66;:::i;:::-;12350:13;;12309:16;;;;12372:70;12350:13;12309:16;12419:4;12407:17;;12372:70;:::i;:::-;12458:20;;11988:496;-1:-1:-1;;;;11988:496:1:o;13617:489::-;-1:-1:-1;;;;;13886:15:1;;;13868:34;;13938:15;;13933:2;13918:18;;13911:43;13985:2;13970:18;;13963:34;;;14033:3;14028:2;14013:18;;14006:31;;;13811:4;;14054:46;;14080:19;;14072:6;14054:46;:::i;:::-;14046:54;13617:489;-1:-1:-1;;;;;;13617:489:1:o;14111:249::-;14180:6;14233:2;14221:9;14212:7;14208:23;14204:32;14201:52;;;14249:1;14246;14239:12;14201:52;14281:9;14275:16;14300:30;14324:5;14300:30;:::i
Swarm Source
ipfs://edfd1b49d498d6300a9e8803a50763faeece649bd929bc413f8cf12e21ec37dd
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.