ERC-721
Overview
Max Total Supply
666 BULL
Holders
393
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BULLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Bullish
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: GPL-3.0 /* * Real Bullish NFT */ pragma solidity ^0.8.7; import "./ERC721A.sol"; error SoldOut(); error InvalidPrice(); error InvalidQuantity(); contract Bullish is ERC721A { uint256 public immutable maxSupply = 666; uint256 public price = 0.001 ether; uint256 public maxPerWallet = 5; mapping(address => uint256) public addressMintBalance; string public _baseTokenURI; function mint(uint256 qty) external payable { if (totalSupply() + qty > maxSupply) revert SoldOut(); if (msg.value < price * qty) revert InvalidPrice(); if (addressMintBalance[msg.sender] + qty > maxPerWallet) revert InvalidQuantity(); addressMintBalance[msg.sender] += qty; _safeMint(msg.sender, qty); } function ownerMint(uint256 qty, address recipient) external onlyOwner { if (totalSupply() + qty > maxSupply) revert SoldOut(); _safeMint(recipient, qty); } address _owner; modifier onlyOwner { require(_owner == msg.sender, "No Permission"); _; } constructor() ERC721A("Real Bullish", "BULL") { _owner = msg.sender; } function setBaseURI(string memory baseURI) external onlyOwner { _baseTokenURI = baseURI; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setPrice(uint256 newPrice) external onlyOwner { price = newPrice; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "Cannot query non-existent token"); return string(abi.encodePacked(_baseURI(), _toString(tokenId), ".json")); } function withdraw() external onlyOwner { payable(msg.sender).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidPrice","type":"error"},{"inputs":[],"name":"InvalidQuantity","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":"SoldOut","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405261029a60805266038d7ea4c6800060085560056009553480156200002757600080fd5b50604080518082018252600c81526b0a4cac2d84084ead8d8d2e6d60a31b6020808301918252835180850190945260048452631095531360e21b9084015281519192916200007891600291620000ad565b5080516200008e906003906020840190620000ad565b50600080555050600c80546001600160a01b0319163317905562000190565b828054620000bb9062000153565b90600052602060002090601f016020900481019282620000df57600085556200012a565b82601f10620000fa57805160ff19168380011785556200012a565b828001600101855582156200012a579182015b828111156200012a5782518255916020019190600101906200010d565b50620001389291506200013c565b5090565b5b808211156200013857600081556001016200013d565b600181811c908216806200016857607f821691505b602082108114156200018a57634e487b7160e01b600052602260045260246000fd5b50919050565b60805161156b620001ba60003960008181610421015281816109420152610c5a015261156b6000f3fe60806040526004361061014b5760003560e01c806370a08231116100b6578063b88d4fde1161006f578063b88d4fde1461039a578063c87b56dd146103ba578063cfc86f7b146103da578063d52c57e0146103ef578063d5abeb011461040f578063e985e9c51461044357600080fd5b806370a08231146102fc57806391b7f5ed1461031c57806395d89b411461033c578063a035b1fe14610351578063a0712d6814610367578063a22cb4651461037a57600080fd5b80633406c726116101085780633406c726146102445780633ccfd60b1461027157806342842e0e14610286578063453c2310146102a657806355f804b3146102bc5780636352211e146102dc57600080fd5b806301ffc9a71461015057806306fdde0314610185578063081812fc146101a7578063095ea7b3146101df57806318160ddd1461020157806323b872dd14610224575b600080fd5b34801561015c57600080fd5b5061017061016b3660046112b4565b61048c565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b5061019a6104de565b60405161017c919061141b565b3480156101b357600080fd5b506101c76101c2366004611337565b610570565b6040516001600160a01b03909116815260200161017c565b3480156101eb57600080fd5b506101ff6101fa36600461128a565b6105b4565b005b34801561020d57600080fd5b50600154600054035b60405190815260200161017c565b34801561023057600080fd5b506101ff61023f366004611196565b610654565b34801561025057600080fd5b5061021661025f366004611148565b600a6020526000908152604090205481565b34801561027d57600080fd5b506101ff6107e5565b34801561029257600080fd5b506101ff6102a1366004611196565b610847565b3480156102b257600080fd5b5061021660095481565b3480156102c857600080fd5b506101ff6102d73660046112ee565b610867565b3480156102e857600080fd5b506101c76102f7366004611337565b6108a8565b34801561030857600080fd5b50610216610317366004611148565b6108b3565b34801561032857600080fd5b506101ff610337366004611337565b610902565b34801561034857600080fd5b5061019a610931565b34801561035d57600080fd5b5061021660085481565b6101ff610375366004611337565b610940565b34801561038657600080fd5b506101ff61039536600461124e565b610a31565b3480156103a657600080fd5b506101ff6103b53660046111d2565b610ac7565b3480156103c657600080fd5b5061019a6103d5366004611337565b610b11565b3480156103e657600080fd5b5061019a610ba0565b3480156103fb57600080fd5b506101ff61040a366004611350565b610c2e565b34801561041b57600080fd5b506102167f000000000000000000000000000000000000000000000000000000000000000081565b34801561044f57600080fd5b5061017061045e366004611163565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006301ffc9a760e01b6001600160e01b0319831614806104bd57506380ac58cd60e01b6001600160e01b03198316145b806104d85750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104ed906114b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610519906114b8565b80156105665780601f1061053b57610100808354040283529160200191610566565b820191906000526020600020905b81548152906001019060200180831161054957829003601f168201915b5050505050905090565b600061057b82610cba565b610598576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105bf826108a8565b9050336001600160a01b038216146105f8576105db813361045e565b6105f8576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061065f82610ce1565b9050836001600160a01b0316816001600160a01b0316146106925760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176106df576106c2863361045e565b6106df57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661070657604051633a954ecd60e21b815260040160405180910390fd5b801561071157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661079c576001840160008181526004602052604090205461079a57600054811461079a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600c546001600160a01b031633146108185760405162461bcd60e51b815260040161080f9061142e565b60405180910390fd5b60405133904780156108fc02916000818181858888f19350505050158015610844573d6000803e3d6000fd5b50565b61086283838360405180602001604052806000815250610ac7565b505050565b600c546001600160a01b031633146108915760405162461bcd60e51b815260040161080f9061142e565b80516108a490600b90602084019061101d565b5050565b60006104d882610ce1565b60006001600160a01b0382166108dc576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b600c546001600160a01b0316331461092c5760405162461bcd60e51b815260040161080f9061142e565b600855565b6060600380546104ed906114b8565b7f00000000000000000000000000000000000000000000000000000000000000008161096f6001546000540390565b6109799190611455565b1115610998576040516352df9fe560e01b815260040160405180910390fd5b806008546109a6919061146d565b3410156109c55760405162bfc92160e01b815260040160405180910390fd5b600954336000908152600a60205260409020546109e3908390611455565b1115610a025760405163524f409b60e01b815260040160405180910390fd5b336000908152600a602052604081208054839290610a21908490611455565b9091555061084490503382610d49565b6001600160a01b038216331415610a5b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ad2848484610654565b6001600160a01b0383163b15610b0b57610aee84848484610d63565b610b0b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610b1c82610cba565b610b685760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00604482015260640161080f565b610b70610e5b565b610b7983610e6a565b604051602001610b8a92919061139f565b6040516020818303038152906040529050919050565b600b8054610bad906114b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd9906114b8565b8015610c265780601f10610bfb57610100808354040283529160200191610c26565b820191906000526020600020905b815481529060010190602001808311610c0957829003601f168201915b505050505081565b600c546001600160a01b03163314610c585760405162461bcd60e51b815260040161080f9061142e565b7f000000000000000000000000000000000000000000000000000000000000000082610c876001546000540390565b610c919190611455565b1115610cb0576040516352df9fe560e01b815260040160405180910390fd5b6108a48183610d49565b60008054821080156104d8575050600090815260046020526040902054600160e01b161590565b600081600054811015610d3057600081815260046020526040902054600160e01b8116610d2e575b80610d27575060001901600081815260046020526040902054610d09565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6108a4828260405180602001604052806000815250610eb9565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d989033908990889088906004016113de565b602060405180830381600087803b158015610db257600080fd5b505af1925050508015610de2575060408051601f3d908101601f19168201909252610ddf918101906112d1565b60015b610e3d573d808015610e10576040519150601f19603f3d011682016040523d82523d6000602084013e610e15565b606091505b508051610e35576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546104ed906114b8565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610ea757600183039250600a81066030018353600a9004610e89565b50819003601f19909101908152919050565b610ec38383610f26565b6001600160a01b0383163b15610862576000548281035b610eed6000868380600101945086610d63565b610f0a576040516368d2bf6b60e11b815260040160405180910390fd5b818110610eda578160005414610f1f57600080fd5b5050505050565b60005481610f475760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610ff657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610fbe565b508161101457604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611029906114b8565b90600052602060002090601f01602090048101928261104b5760008555611091565b82601f1061106457805160ff1916838001178555611091565b82800160010185558215611091579182015b82811115611091578251825591602001919060010190611076565b5061109d9291506110a1565b5090565b5b8082111561109d57600081556001016110a2565b600067ffffffffffffffff808411156110d1576110d1611509565b604051601f8501601f19908116603f011681019082821181831017156110f9576110f9611509565b8160405280935085815286868601111561111257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461114357600080fd5b919050565b60006020828403121561115a57600080fd5b610d278261112c565b6000806040838503121561117657600080fd5b61117f8361112c565b915061118d6020840161112c565b90509250929050565b6000806000606084860312156111ab57600080fd5b6111b48461112c565b92506111c26020850161112c565b9150604084013590509250925092565b600080600080608085870312156111e857600080fd5b6111f18561112c565b93506111ff6020860161112c565b925060408501359150606085013567ffffffffffffffff81111561122257600080fd5b8501601f8101871361123357600080fd5b611242878235602084016110b6565b91505092959194509250565b6000806040838503121561126157600080fd5b61126a8361112c565b91506020830135801515811461127f57600080fd5b809150509250929050565b6000806040838503121561129d57600080fd5b6112a68361112c565b946020939093013593505050565b6000602082840312156112c657600080fd5b8135610d278161151f565b6000602082840312156112e357600080fd5b8151610d278161151f565b60006020828403121561130057600080fd5b813567ffffffffffffffff81111561131757600080fd5b8201601f8101841361132857600080fd5b610e53848235602084016110b6565b60006020828403121561134957600080fd5b5035919050565b6000806040838503121561136357600080fd5b8235915061118d6020840161112c565b6000815180845261138b81602086016020860161148c565b601f01601f19169290920160200192915050565b600083516113b181846020880161148c565b8351908301906113c581836020880161148c565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061141190830184611373565b9695505050505050565b602081526000610d276020830184611373565b6020808252600d908201526c2737902832b936b4b9b9b4b7b760991b604082015260600190565b60008219821115611468576114686114f3565b500190565b6000816000190483118215151615611487576114876114f3565b500290565b60005b838110156114a757818101518382015260200161148f565b83811115610b0b5750506000910152565b600181811c908216806114cc57607f821691505b602082108114156114ed57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461084457600080fdfea26469706673582212208642df6cb851273b019e59cab679004b0a602c3d6c55ed137502af43ea20559e64736f6c63430008070033
Deployed Bytecode
0x60806040526004361061014b5760003560e01c806370a08231116100b6578063b88d4fde1161006f578063b88d4fde1461039a578063c87b56dd146103ba578063cfc86f7b146103da578063d52c57e0146103ef578063d5abeb011461040f578063e985e9c51461044357600080fd5b806370a08231146102fc57806391b7f5ed1461031c57806395d89b411461033c578063a035b1fe14610351578063a0712d6814610367578063a22cb4651461037a57600080fd5b80633406c726116101085780633406c726146102445780633ccfd60b1461027157806342842e0e14610286578063453c2310146102a657806355f804b3146102bc5780636352211e146102dc57600080fd5b806301ffc9a71461015057806306fdde0314610185578063081812fc146101a7578063095ea7b3146101df57806318160ddd1461020157806323b872dd14610224575b600080fd5b34801561015c57600080fd5b5061017061016b3660046112b4565b61048c565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b5061019a6104de565b60405161017c919061141b565b3480156101b357600080fd5b506101c76101c2366004611337565b610570565b6040516001600160a01b03909116815260200161017c565b3480156101eb57600080fd5b506101ff6101fa36600461128a565b6105b4565b005b34801561020d57600080fd5b50600154600054035b60405190815260200161017c565b34801561023057600080fd5b506101ff61023f366004611196565b610654565b34801561025057600080fd5b5061021661025f366004611148565b600a6020526000908152604090205481565b34801561027d57600080fd5b506101ff6107e5565b34801561029257600080fd5b506101ff6102a1366004611196565b610847565b3480156102b257600080fd5b5061021660095481565b3480156102c857600080fd5b506101ff6102d73660046112ee565b610867565b3480156102e857600080fd5b506101c76102f7366004611337565b6108a8565b34801561030857600080fd5b50610216610317366004611148565b6108b3565b34801561032857600080fd5b506101ff610337366004611337565b610902565b34801561034857600080fd5b5061019a610931565b34801561035d57600080fd5b5061021660085481565b6101ff610375366004611337565b610940565b34801561038657600080fd5b506101ff61039536600461124e565b610a31565b3480156103a657600080fd5b506101ff6103b53660046111d2565b610ac7565b3480156103c657600080fd5b5061019a6103d5366004611337565b610b11565b3480156103e657600080fd5b5061019a610ba0565b3480156103fb57600080fd5b506101ff61040a366004611350565b610c2e565b34801561041b57600080fd5b506102167f000000000000000000000000000000000000000000000000000000000000029a81565b34801561044f57600080fd5b5061017061045e366004611163565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006301ffc9a760e01b6001600160e01b0319831614806104bd57506380ac58cd60e01b6001600160e01b03198316145b806104d85750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104ed906114b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610519906114b8565b80156105665780601f1061053b57610100808354040283529160200191610566565b820191906000526020600020905b81548152906001019060200180831161054957829003601f168201915b5050505050905090565b600061057b82610cba565b610598576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105bf826108a8565b9050336001600160a01b038216146105f8576105db813361045e565b6105f8576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061065f82610ce1565b9050836001600160a01b0316816001600160a01b0316146106925760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176106df576106c2863361045e565b6106df57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661070657604051633a954ecd60e21b815260040160405180910390fd5b801561071157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661079c576001840160008181526004602052604090205461079a57600054811461079a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600c546001600160a01b031633146108185760405162461bcd60e51b815260040161080f9061142e565b60405180910390fd5b60405133904780156108fc02916000818181858888f19350505050158015610844573d6000803e3d6000fd5b50565b61086283838360405180602001604052806000815250610ac7565b505050565b600c546001600160a01b031633146108915760405162461bcd60e51b815260040161080f9061142e565b80516108a490600b90602084019061101d565b5050565b60006104d882610ce1565b60006001600160a01b0382166108dc576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b600c546001600160a01b0316331461092c5760405162461bcd60e51b815260040161080f9061142e565b600855565b6060600380546104ed906114b8565b7f000000000000000000000000000000000000000000000000000000000000029a8161096f6001546000540390565b6109799190611455565b1115610998576040516352df9fe560e01b815260040160405180910390fd5b806008546109a6919061146d565b3410156109c55760405162bfc92160e01b815260040160405180910390fd5b600954336000908152600a60205260409020546109e3908390611455565b1115610a025760405163524f409b60e01b815260040160405180910390fd5b336000908152600a602052604081208054839290610a21908490611455565b9091555061084490503382610d49565b6001600160a01b038216331415610a5b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ad2848484610654565b6001600160a01b0383163b15610b0b57610aee84848484610d63565b610b0b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610b1c82610cba565b610b685760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00604482015260640161080f565b610b70610e5b565b610b7983610e6a565b604051602001610b8a92919061139f565b6040516020818303038152906040529050919050565b600b8054610bad906114b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd9906114b8565b8015610c265780601f10610bfb57610100808354040283529160200191610c26565b820191906000526020600020905b815481529060010190602001808311610c0957829003601f168201915b505050505081565b600c546001600160a01b03163314610c585760405162461bcd60e51b815260040161080f9061142e565b7f000000000000000000000000000000000000000000000000000000000000029a82610c876001546000540390565b610c919190611455565b1115610cb0576040516352df9fe560e01b815260040160405180910390fd5b6108a48183610d49565b60008054821080156104d8575050600090815260046020526040902054600160e01b161590565b600081600054811015610d3057600081815260046020526040902054600160e01b8116610d2e575b80610d27575060001901600081815260046020526040902054610d09565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6108a4828260405180602001604052806000815250610eb9565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d989033908990889088906004016113de565b602060405180830381600087803b158015610db257600080fd5b505af1925050508015610de2575060408051601f3d908101601f19168201909252610ddf918101906112d1565b60015b610e3d573d808015610e10576040519150601f19603f3d011682016040523d82523d6000602084013e610e15565b606091505b508051610e35576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546104ed906114b8565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610ea757600183039250600a81066030018353600a9004610e89565b50819003601f19909101908152919050565b610ec38383610f26565b6001600160a01b0383163b15610862576000548281035b610eed6000868380600101945086610d63565b610f0a576040516368d2bf6b60e11b815260040160405180910390fd5b818110610eda578160005414610f1f57600080fd5b5050505050565b60005481610f475760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610ff657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610fbe565b508161101457604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611029906114b8565b90600052602060002090601f01602090048101928261104b5760008555611091565b82601f1061106457805160ff1916838001178555611091565b82800160010185558215611091579182015b82811115611091578251825591602001919060010190611076565b5061109d9291506110a1565b5090565b5b8082111561109d57600081556001016110a2565b600067ffffffffffffffff808411156110d1576110d1611509565b604051601f8501601f19908116603f011681019082821181831017156110f9576110f9611509565b8160405280935085815286868601111561111257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461114357600080fd5b919050565b60006020828403121561115a57600080fd5b610d278261112c565b6000806040838503121561117657600080fd5b61117f8361112c565b915061118d6020840161112c565b90509250929050565b6000806000606084860312156111ab57600080fd5b6111b48461112c565b92506111c26020850161112c565b9150604084013590509250925092565b600080600080608085870312156111e857600080fd5b6111f18561112c565b93506111ff6020860161112c565b925060408501359150606085013567ffffffffffffffff81111561122257600080fd5b8501601f8101871361123357600080fd5b611242878235602084016110b6565b91505092959194509250565b6000806040838503121561126157600080fd5b61126a8361112c565b91506020830135801515811461127f57600080fd5b809150509250929050565b6000806040838503121561129d57600080fd5b6112a68361112c565b946020939093013593505050565b6000602082840312156112c657600080fd5b8135610d278161151f565b6000602082840312156112e357600080fd5b8151610d278161151f565b60006020828403121561130057600080fd5b813567ffffffffffffffff81111561131757600080fd5b8201601f8101841361132857600080fd5b610e53848235602084016110b6565b60006020828403121561134957600080fd5b5035919050565b6000806040838503121561136357600080fd5b8235915061118d6020840161112c565b6000815180845261138b81602086016020860161148c565b601f01601f19169290920160200192915050565b600083516113b181846020880161148c565b8351908301906113c581836020880161148c565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061141190830184611373565b9695505050505050565b602081526000610d276020830184611373565b6020808252600d908201526c2737902832b936b4b9b9b4b7b760991b604082015260600190565b60008219821115611468576114686114f3565b500190565b6000816000190483118215151615611487576114876114f3565b500290565b60005b838110156114a757818101518382015260200161148f565b83811115610b0b5750506000910152565b600181811c908216806114cc57607f821691505b602082108114156114ed57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461084457600080fdfea26469706673582212208642df6cb851273b019e59cab679004b0a602c3d6c55ed137502af43ea20559e64736f6c63430008070033
Deployed Bytecode Sourcemap
195:1681:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9112:630:1;;;;;;;;;;-1:-1:-1;9112:630:1;;;;;:::i;:::-;;:::i;:::-;;;6072:14:3;;6065:22;6047:41;;6035:2;6020:18;9112:630:1;;;;;;;;9996:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16309:214::-;;;;;;;;;;-1:-1:-1;16309:214:1;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5370:32:3;;;5352:51;;5340:2;5325:18;16309:214:1;5206:203:3;15769:390:1;;;;;;;;;;-1:-1:-1;15769:390:1;;;;;:::i;:::-;;:::i;:::-;;5851:317;;;;;;;;;;-1:-1:-1;6121:12:1;;5912:7;6105:13;:28;5851:317;;;7171:25:3;;;7159:2;7144:18;5851:317:1;7025:177:3;19918:2756:1;;;;;;;;;;-1:-1:-1;19918:2756:1;;;;;:::i;:::-;;:::i;358:53:0:-;;;;;;;;;;-1:-1:-1;358:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;1767:107;;;;;;;;;;;;;:::i;22765:179:1:-;;;;;;;;;;-1:-1:-1;22765:179:1;;;;;:::i;:::-;;:::i;321:31:0:-;;;;;;;;;;;;;;;;1197:102;;;;;;;;;;-1:-1:-1;1197:102:0;;;;;:::i;:::-;;:::i;11348:150:1:-;;;;;;;;;;-1:-1:-1;11348:150:1;;;;;:::i;:::-;;:::i;7002:230::-;;;;;;;;;;-1:-1:-1;7002:230:1;;;;;:::i;:::-;;:::i;1423:88:0:-;;;;;;;;;;-1:-1:-1;1423:88:0;;;;;:::i;:::-;;:::i;10165:102:1:-;;;;;;;;;;;;;:::i;281:34:0:-;;;;;;;;;;;;;;;;451:349;;;;;;:::i;:::-;;:::i;16850:303:1:-;;;;;;;;;;-1:-1:-1;16850:303:1;;;;;:::i;:::-;;:::i;23525:388::-;;;;;;;;;;-1:-1:-1;23525:388:1;;;;;:::i;:::-;;:::i;1518:239:0:-;;;;;;;;;;-1:-1:-1;1518:239:0;;;;;:::i;:::-;;:::i;417:27::-;;;;;;;;;;;;;:::i;806:175::-;;;;;;;;;;-1:-1:-1;806:175:0;;;;;:::i;:::-;;:::i;234:40::-;;;;;;;;;;;;;;;17303:162:1;;;;;;;;;;-1:-1:-1;17303:162:1;;;;;:::i;:::-;-1:-1:-1;;;;;17423:25:1;;;17400:4;17423:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17303:162;9112:630;9197:4;-1:-1:-1;;;;;;;;;9515:25:1;;;;:101;;-1:-1:-1;;;;;;;;;;9591:25:1;;;9515:101;:177;;;-1:-1:-1;;;;;;;;;;9667:25:1;;;9515:177;9496:196;9112:630;-1:-1:-1;;9112:630:1:o;9996:98::-;10050:13;10082:5;10075:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9996:98;:::o;16309:214::-;16385:7;16409:16;16417:7;16409;:16::i;:::-;16404:64;;16434:34;;-1:-1:-1;;;16434:34:1;;;;;;;;;;;16404:64;-1:-1:-1;16486:24:1;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16486:30:1;;16309:214::o;15769:390::-;15849:13;15865:16;15873:7;15865;:16::i;:::-;15849:32;-1:-1:-1;39008:10:1;-1:-1:-1;;;;;15896:28:1;;;15892:172;;15943:44;15960:5;39008:10;17303:162;:::i;15943:44::-;15938:126;;16014:35;;-1:-1:-1;;;16014:35:1;;;;;;;;;;;15938:126;16074:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16074:35:1;-1:-1:-1;;;;;16074:35:1;;;;;;;;;16124:28;;16074:24;;16124:28;;;;;;;15839:320;15769:390;;:::o;19918:2756::-;20047:27;20077;20096:7;20077:18;:27::i;:::-;20047:57;;20160:4;-1:-1:-1;;;;;20119:45:1;20135:19;-1:-1:-1;;;;;20119:45:1;;20115:86;;20173:28;;-1:-1:-1;;;20173:28:1;;;;;;;;;;;20115:86;20213:27;19057:24;;;:15;:24;;;;;19275:26;;39008:10;18694:30;;;-1:-1:-1;;;;;18391:28:1;;18672:20;;;18669:56;20396:179;;20488:43;20505:4;39008:10;17303:162;:::i;20488:43::-;20483:92;;20540:35;;-1:-1:-1;;;20540:35:1;;;;;;;;;;;20483:92;-1:-1:-1;;;;;20590:16:1;;20586:52;;20615:23;;-1:-1:-1;;;20615:23:1;;;;;;;;;;;20586:52;20781:15;20778:157;;;20919:1;20898:19;20891:30;20778:157;-1:-1:-1;;;;;21307:24:1;;;;;;;:18;:24;;;;;;21305:26;;-1:-1:-1;;21305:26:1;;;21375:22;;;;;;;;;21373:24;;-1:-1:-1;21373:24:1;;;14660:11;14635:23;14631:41;14618:63;-1:-1:-1;;;14618:63:1;21661:26;;;;:17;:26;;;;;:172;-1:-1:-1;;;21950:47:1;;21946:617;;22054:1;22044:11;;22022:19;22175:30;;;:17;:30;;;;;;22171:378;;22311:13;;22296:11;:28;22292:239;;22456:30;;;;:17;:30;;;;;:52;;;22292:239;22004:559;21946:617;22607:7;22603:2;-1:-1:-1;;;;;22588:27:1;22597:4;-1:-1:-1;;;;;22588:27:1;;;;;;;;;;;20037:2637;;;19918:2756;;;:::o;1767:107:0:-;1048:6;;-1:-1:-1;;;;;1048:6:0;1058:10;1048:20;1040:46;;;;-1:-1:-1;;;1040:46:0;;;;;;;:::i;:::-;;;;;;;;;1816:51:::1;::::0;1824:10:::1;::::0;1845:21:::1;1816:51:::0;::::1;;;::::0;::::1;::::0;;;1845:21;1824:10;1816:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;1767:107::o:0;22765:179:1:-;22898:39;22915:4;22921:2;22925:7;22898:39;;;;;;;;;;;;:16;:39::i;:::-;22765:179;;;:::o;1197:102:0:-;1048:6;;-1:-1:-1;;;;;1048:6:0;1058:10;1048:20;1040:46;;;;-1:-1:-1;;;1040:46:0;;;;;;;:::i;:::-;1269:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;1197:102:::0;:::o;11348:150:1:-;11420:7;11462:27;11481:7;11462:18;:27::i;7002:230::-;7074:7;-1:-1:-1;;;;;7097:19:1;;7093:60;;7125:28;;-1:-1:-1;;;7125:28:1;;;;;;;;;;;7093:60;-1:-1:-1;;;;;;7170:25:1;;;;;:18;:25;;;;;;1317:13;7170:55;;7002:230::o;1423:88:0:-;1048:6;;-1:-1:-1;;;;;1048:6:0;1058:10;1048:20;1040:46;;;;-1:-1:-1;;;1040:46:0;;;;;;;:::i;:::-;1488:5:::1;:16:::0;1423:88::o;10165:102:1:-;10221:13;10253:7;10246:14;;;;;:::i;451:349:0:-;532:9;525:3;509:13;6121:12:1;;5912:7;6105:13;:28;;5851:317;509:13:0;:19;;;;:::i;:::-;:32;505:54;;;550:9;;-1:-1:-1;;;550:9:0;;;;;;;;;;;505:54;593:3;585:5;;:11;;;;:::i;:::-;573:9;:23;569:50;;;605:14;;-1:-1:-1;;;605:14:0;;;;;;;;;;;569:50;672:12;;652:10;633:30;;;;:18;:30;;;;;;:36;;666:3;;633:36;:::i;:::-;:51;629:81;;;693:17;;-1:-1:-1;;;693:17:0;;;;;;;;;;;629:81;739:10;720:30;;;;:18;:30;;;;;:37;;754:3;;720:30;:37;;754:3;;720:37;:::i;:::-;;;;-1:-1:-1;767:26:0;;-1:-1:-1;777:10:0;789:3;767:9;:26::i;16850:303:1:-;-1:-1:-1;;;;;16948:31:1;;39008:10;16948:31;16944:61;;;16988:17;;-1:-1:-1;;;16988:17:1;;;;;;;;;;;16944:61;39008:10;17016:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;17016:49:1;;;;;;;;;;;;:60;;-1:-1:-1;;17016:60:1;;;;;;;;;;17091:55;;6047:41:3;;;17016:49:1;;39008:10;17091:55;;6020:18:3;17091:55:1;;;;;;;16850:303;;:::o;23525:388::-;23686:31;23699:4;23705:2;23709:7;23686:12;:31::i;:::-;-1:-1:-1;;;;;23731:14:1;;;:19;23727:180;;23769:56;23800:4;23806:2;23810:7;23819:5;23769:30;:56::i;:::-;23764:143;;23852:40;;-1:-1:-1;;;23852:40:1;;;;;;;;;;;23764:143;23525:388;;;;:::o;1518:239:0:-;1583:13;1616:16;1624:7;1616;:16::i;:::-;1608:60;;;;-1:-1:-1;;;1608:60:0;;6867:2:3;1608:60:0;;;6849:21:3;6906:2;6886:18;;;6879:30;6945:33;6925:18;;;6918:61;6996:18;;1608:60:0;6665:355:3;1608:60:0;1709:10;:8;:10::i;:::-;1721:18;1731:7;1721:9;:18::i;:::-;1692:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1678:72;;1518:239;;;:::o;417:27::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;806:175::-;1048:6;;-1:-1:-1;;;;;1048:6:0;1058:10;1048:20;1040:46;;;;-1:-1:-1;;;1040:46:0;;;;;;;:::i;:::-;912:9:::1;906:3;890:13;6121:12:1::0;;5912:7;6105:13;:28;;5851:317;890:13:0::1;:19;;;;:::i;:::-;:31;886:53;;;930:9;;-1:-1:-1::0;;;930:9:0::1;;;;;;;;;;;886:53;949:25;959:9;970:3;949:9;:25::i;17714:277:1:-:0;17779:4;17866:13;;17856:7;:23;17814:151;;;;-1:-1:-1;;17916:26:1;;;;:17;:26;;;;;;-1:-1:-1;;;17916:44:1;:49;;17714:277::o;12472:1249::-;12539:7;12573;12671:13;;12664:4;:20;12660:997;;;12708:14;12725:23;;;:17;:23;;;;;;-1:-1:-1;;;12812:24:1;;12808:831;;13467:111;13474:11;13467:111;;-1:-1:-1;;;13544:6:1;13526:25;;;;:17;:25;;;;;;13467:111;;;13610:6;12472:1249;-1:-1:-1;;;12472:1249:1:o;12808:831::-;12686:971;12660:997;13683:31;;-1:-1:-1;;;13683:31:1;;;;;;;;;;;32908:110;32984:27;32994:2;32998:8;32984:27;;;;;;;;;;;;:9;:27::i;25939:697::-;26117:88;;-1:-1:-1;;;26117:88:1;;26097:4;;-1:-1:-1;;;;;26117:45:1;;;;;:88;;39008:10;;26184:4;;26190:7;;26199:5;;26117:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26117:88:1;;;;;;;;-1:-1:-1;;26117:88:1;;;;;;;;;;;;:::i;:::-;;;26113:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26395:13:1;;26391:229;;26440:40;;-1:-1:-1;;;26440:40:1;;;;;;;;;;;26391:229;26580:6;26574:13;26565:6;26561:2;26557:15;26550:38;26113:517;-1:-1:-1;;;;;;26273:64:1;-1:-1:-1;;;26273:64:1;;-1:-1:-1;26113:517:1;25939:697;;;;;;:::o;1305:112:0:-;1365:13;1397;1390:20;;;;;:::i;39122:1961:1:-;39593:4;39587:11;;39600:3;39583:21;;39676:17;;;;40359:11;;;40240:5;40522:2;40536;40526:13;;40518:22;40359:11;40505:36;40576:2;40566:13;;40134:715;40594:4;40134:715;;;40780:1;40775:3;40771:11;40764:18;;40830:2;40824:4;40820:13;40816:2;40812:22;40807:3;40799:36;40687:2;40677:13;;40134:715;;;-1:-1:-1;40877:13:1;;;-1:-1:-1;;40990:12:1;;;41048:19;;;40990:12;39122:1961;-1:-1:-1;39122:1961:1:o;32160:669::-;32286:19;32292:2;32296:8;32286:5;:19::i;:::-;-1:-1:-1;;;;;32344:14:1;;;:19;32340:473;;32383:11;32397:13;32444:14;;;32476:229;32506:62;32545:1;32549:2;32553:7;;;;;;32562:5;32506:30;:62::i;:::-;32501:165;;32603:40;;-1:-1:-1;;;32603:40:1;;;;;;;;;;;32501:165;32700:3;32692:5;:11;32476:229;;32785:3;32768:13;;:20;32764:34;;32790:8;;;32764:34;32365:448;;32160:669;;;:::o;27082:2396::-;27154:20;27177:13;27204;27200:44;;27226:18;;-1:-1:-1;;;27226:18:1;;;;;;;;;;;27200:44;-1:-1:-1;;;;;27719:22:1;;;;;;:18;:22;;;;1452:2;27719:22;;;:71;;27757:32;27745:45;;27719:71;;;28026:31;;;:17;:31;;;;;-1:-1:-1;15080:15:1;;15054:24;15050:46;14660:11;14635:23;14631:41;14628:52;14618:63;;28026:170;;28255:23;;;;28026:31;;27719:22;;28744:25;27719:22;;28600:328;29005:1;28991:12;28987:20;28946:339;29045:3;29036:7;29033:16;28946:339;;29259:7;29249:8;29246:1;29219:25;29216:1;29213;29208:59;29097:1;29084:15;28946:339;;;-1:-1:-1;29316:13:1;29312:45;;29338:19;;-1:-1:-1;;;29338:19:1;;;;;;;;;;;29312:45;29372:13;:19;-1:-1:-1;22765:179:1;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:3;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:3;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:3;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:3;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:3:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:3;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:3;;3858:180;-1:-1:-1;3858:180:3:o;4043:254::-;4111:6;4119;4172:2;4160:9;4151:7;4147:23;4143:32;4140:52;;;4188:1;4185;4178:12;4140:52;4224:9;4211:23;4201:33;;4253:38;4287:2;4276:9;4272:18;4253:38;:::i;4302:257::-;4343:3;4381:5;4375:12;4408:6;4403:3;4396:19;4424:63;4480:6;4473:4;4468:3;4464:14;4457:4;4450:5;4446:16;4424:63;:::i;:::-;4541:2;4520:15;-1:-1:-1;;4516:29:3;4507:39;;;;4548:4;4503:50;;4302:257;-1:-1:-1;;4302:257:3:o;4564:637::-;4844:3;4882:6;4876:13;4898:53;4944:6;4939:3;4932:4;4924:6;4920:17;4898:53;:::i;:::-;5014:13;;4973:16;;;;5036:57;5014:13;4973:16;5070:4;5058:17;;5036:57;:::i;:::-;-1:-1:-1;;;5115:20:3;;5144:22;;;5193:1;5182:13;;4564:637;-1:-1:-1;;;;4564:637:3:o;5414:488::-;-1:-1:-1;;;;;5683:15:3;;;5665:34;;5735:15;;5730:2;5715:18;;5708:43;5782:2;5767:18;;5760:34;;;5830:3;5825:2;5810:18;;5803:31;;;5608:4;;5851:45;;5876:19;;5868:6;5851:45;:::i;:::-;5843:53;5414:488;-1:-1:-1;;;;;;5414:488:3:o;6099:219::-;6248:2;6237:9;6230:21;6211:4;6268:44;6308:2;6297:9;6293:18;6285:6;6268:44;:::i;6323:337::-;6525:2;6507:21;;;6564:2;6544:18;;;6537:30;-1:-1:-1;;;6598:2:3;6583:18;;6576:43;6651:2;6636:18;;6323:337::o;7207:128::-;7247:3;7278:1;7274:6;7271:1;7268:13;7265:39;;;7284:18;;:::i;:::-;-1:-1:-1;7320:9:3;;7207:128::o;7340:168::-;7380:7;7446:1;7442;7438:6;7434:14;7431:1;7428:21;7423:1;7416:9;7409:17;7405:45;7402:71;;;7453:18;;:::i;:::-;-1:-1:-1;7493:9:3;;7340:168::o;7513:258::-;7585:1;7595:113;7609:6;7606:1;7603:13;7595:113;;;7685:11;;;7679:18;7666:11;;;7659:39;7631:2;7624:10;7595:113;;;7726:6;7723:1;7720:13;7717:48;;;-1:-1:-1;;7761:1:3;7743:16;;7736:27;7513:258::o;7776:380::-;7855:1;7851:12;;;;7898;;;7919:61;;7973:4;7965:6;7961:17;7951:27;;7919:61;8026:2;8018:6;8015:14;7995:18;7992:38;7989:161;;;8072:10;8067:3;8063:20;8060:1;8053:31;8107:4;8104:1;8097:15;8135:4;8132:1;8125:15;7989:161;;7776:380;;;:::o;8161:127::-;8222:10;8217:3;8213:20;8210:1;8203:31;8253:4;8250:1;8243:15;8277:4;8274:1;8267:15;8293:127;8354:10;8349:3;8345:20;8342:1;8335:31;8385:4;8382:1;8375:15;8409:4;8406:1;8399:15;8425:131;-1:-1:-1;;;;;;8499:32:3;;8489:43;;8479:71;;8546:1;8543;8536:12
Swarm Source
ipfs://8642df6cb851273b019e59cab679004b0a602c3d6c55ed137502af43ea20559e
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.