Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
16,742 DTCP
Holders
11,609
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DTCPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DToolsCommonPass
Compiler Version
v0.8.14+commit.80d49f37
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC721A.sol"; import "./ERC721ABurnable.sol"; import "./Ownable.sol"; contract DToolsCommonPass is ERC721A, ERC721ABurnable, Ownable { uint256 public maxSupply = 1024; string public metadataURI = "https://api.dtools.org/commonpass/"; constructor() ERC721A("DToolsCommonPass", "DTCP") {} // metadata uri function _baseURI() internal view override returns (string memory) { return metadataURI; } function setBaseURI(string calldata _uri) public onlyOwner { metadataURI = _uri; } // max supply function setMaxSupply(uint256 _supply) external onlyOwner { maxSupply = _supply; } // pass management function mint() external { require(totalSupply() < maxSupply, "sold out"); _mint(msg.sender, 1); } function mintByOwner(uint256 quantity) external onlyOwner { _mint(msg.sender, quantity); } function airdropByOwner( address[] calldata _addresses, uint8[] calldata _counts ) external onlyOwner { for (uint32 i = 0; i < _addresses.length; ++i) { _mint(_addresses[i], _counts[i]); } } }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import "./IERC721A.sol"; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (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 auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if ( !_checkContractOnERC721Received( address(0), to, updatedIndex++, _data ) ) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received( _msgSenderERC721A(), from, tokenId, _data ) returns (bytes4 retval) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import "./IERC721ABurnable.sol"; import "./ERC721A.sol"; /** * @title ERC721A Burnable Token * @dev ERC721A Token that can be irreversibly burned (destroyed). */ abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual override { _burn(tokenId, true); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import "./IERC721A.sol"; /** * @dev Interface of an ERC721ABurnable compliant contract. */ interface IERC721ABurnable is IERC721A { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint8[]","name":"_counts","type":"uint8[]"}],"name":"airdropByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61040060095560e060405260226080818152906200189060a03980516200002f91600a9160209091019062000112565b503480156200003d57600080fd5b50604080518082018252601081526f44546f6f6c73436f6d6d6f6e5061737360801b6020808301918252835180850190945260048452630445443560e41b908401528151919291620000929160029162000112565b508051620000a890600390602084019062000112565b50506000805550620000ba33620000c0565b620001f4565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012090620001b8565b90600052602060002090601f0160209004810192826200014457600085556200018f565b82601f106200015f57805160ff19168380011785556200018f565b828001600101855582156200018f579182015b828111156200018f57825182559160200191906001019062000172565b506200019d929150620001a1565b5090565b5b808211156200019d5760008155600101620001a2565b600181811c90821680620001cd57607f821691505b602082108103620001ee57634e487b7160e01b600052602260045260246000fd5b50919050565b61168c80620002046000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80636352211e116100de578063a22cb46511610097578063d5abeb0111610071578063d5abeb011461030d578063e985e9c514610316578063f2fde38b14610352578063f55f15d91461036557600080fd5b8063a22cb465146102d4578063b88d4fde146102e7578063c87b56dd146102fa57600080fd5b80636352211e1461027a5780636f8b44b01461028d57806370a08231146102a0578063715018a6146102b35780638da5cb5b146102bb57806395d89b41146102cc57600080fd5b806318160ddd1161013057806318160ddd1461020557806323b872dd1461021b5780632a944b191461022e57806342842e0e1461024157806342966c681461025457806355f804b31461026757600080fd5b806301ffc9a71461017857806303ee438c146101a057806306fdde03146101b5578063081812fc146101bd578063095ea7b3146101e85780631249c58b146101fd575b600080fd5b61018b61018636600461112b565b610378565b60405190151581526020015b60405180910390f35b6101a86103ca565b60405161019791906111a0565b6101a8610458565b6101d06101cb3660046111b3565b6104ea565b6040516001600160a01b039091168152602001610197565b6101fb6101f63660046111e8565b61052e565b005b6101fb610600565b600154600054035b604051908152602001610197565b6101fb610229366004611212565b610654565b6101fb61023c3660046111b3565b610664565b6101fb61024f366004611212565b61069b565b6101fb6102623660046111b3565b6106b6565b6101fb61027536600461124e565b6106c1565b6101d06102883660046111b3565b6106f7565b6101fb61029b3660046111b3565b610702565b61020d6102ae3660046112c0565b610731565b6101fb610780565b6008546001600160a01b03166101d0565b6101a86107b4565b6101fb6102e23660046112db565b6107c3565b6101fb6102f536600461132d565b610858565b6101a86103083660046111b3565b6108a2565b61020d60095481565b61018b610324366004611409565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101fb6103603660046112c0565b610926565b6101fb610373366004611488565b6109be565b60006301ffc9a760e01b6001600160e01b0319831614806103a957506380ac58cd60e01b6001600160e01b03198316145b806103c45750635b5e139f60e01b6001600160e01b03198316145b92915050565b600a80546103d7906114f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610403906114f4565b80156104505780601f1061042557610100808354040283529160200191610450565b820191906000526020600020905b81548152906001019060200180831161043357829003601f168201915b505050505081565b606060028054610467906114f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610493906114f4565b80156104e05780601f106104b5576101008083540402835291602001916104e0565b820191906000526020600020905b8154815290600101906020018083116104c357829003601f168201915b5050505050905090565b60006104f582610a75565b610512576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061053982610a9c565b9050806001600160a01b0316836001600160a01b03160361056d5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146105a4576105878133610324565b6105a4576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60095460015460005403106106475760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b60448201526064015b60405180910390fd5b610652336001610b03565b565b61065f838383610be4565b505050565b6008546001600160a01b0316331461068e5760405162461bcd60e51b815260040161063e9061152e565b6106983382610b03565b50565b61065f83838360405180602001604052806000815250610858565b610698816001610d89565b6008546001600160a01b031633146106eb5760405162461bcd60e51b815260040161063e9061152e565b61065f600a838361107c565b60006103c482610a9c565b6008546001600160a01b0316331461072c5760405162461bcd60e51b815260040161063e9061152e565b600955565b60006001600160a01b03821661075a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146107aa5760405162461bcd60e51b815260040161063e9061152e565b6106526000610ee1565b606060038054610467906114f4565b336001600160a01b038316036107ec5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610863848484610be4565b6001600160a01b0383163b1561089c5761087f84848484610f33565b61089c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606108ad82610a75565b6108ca57604051630a14c4b560e41b815260040160405180910390fd5b60006108d461101e565b905080516000036108f4576040518060200160405280600081525061091f565b806108fe8461102d565b60405160200161090f929190611563565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146109505760405162461bcd60e51b815260040161063e9061152e565b6001600160a01b0381166109b55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161063e565b61069881610ee1565b6008546001600160a01b031633146109e85760405162461bcd60e51b815260040161063e9061152e565b60005b63ffffffff8116841115610a6e57610a5e85858363ffffffff16818110610a1457610a14611592565b9050602002016020810190610a2991906112c0565b84848463ffffffff16818110610a4157610a41611592565b9050602002016020810190610a5691906115a8565b60ff16610b03565b610a67816115cb565b90506109eb565b5050505050565b60008054821080156103c4575050600090815260046020526040902054600160e01b161590565b600081600054811015610aea5760008181526004602052604081205490600160e01b82169003610ae8575b8060000361091f575060001901600081815260046020526040902054610ac7565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b038316610b2c57604051622e076360e81b815260040160405180910390fd5b81600003610b4d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660009081526005602090815260408083208054680100000000000000018702019055838352600490915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610b985750600055505050565b6000610bef82610a9c565b9050836001600160a01b0316816001600160a01b031614610c225760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610c405750610c408533610324565b80610c5b575033610c50846104ea565b6001600160a01b0316145b905080610c7b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610ca257604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091528120600160e11b4260a01b8717811790915583169003610d4357600183016000818152600460205260408120549003610d41576000548114610d415760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610a6e565b6000610d9483610a9c565b9050808215610df8576000336001600160a01b0383161480610dbb5750610dbb8233610324565b80610dd6575033610dcb866104ea565b6001600160a01b0316145b905080610df657604051632ce44b5f60e11b815260040160405180910390fd5b505b600084815260066020908152604080832080546001600160a01b03191690556001600160a01b03841683526005825280832080546fffffffffffffffffffffffffffffffff01905586835260049091528120600360e01b4260a01b8417179055600160e11b83169003610e9b57600184016000818152600460205260408120549003610e99576000548114610e995760008181526004602052604090208390555b505b60405184906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060018054810190555050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610f689033908990889088906004016115fc565b6020604051808303816000875af1925050508015610fa3575060408051601f3d908101601f19168201909252610fa091810190611639565b60015b611001573d808015610fd1576040519150601f19603f3d011682016040523d82523d6000602084013e610fd6565b606091505b508051600003610ff9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600a8054610467906114f4565b604080516080810191829052607f0190826030600a8206018353600a90045b801561106a57600183039250600a81066030018353600a900461104c565b50819003601f19909101908152919050565b828054611088906114f4565b90600052602060002090601f0160209004810192826110aa57600085556110f0565b82601f106110c35782800160ff198235161785556110f0565b828001600101855582156110f0579182015b828111156110f05782358255916020019190600101906110d5565b506110fc929150611100565b5090565b5b808211156110fc5760008155600101611101565b6001600160e01b03198116811461069857600080fd5b60006020828403121561113d57600080fd5b813561091f81611115565b60005b8381101561116357818101518382015260200161114b565b8381111561089c5750506000910152565b6000815180845261118c816020860160208601611148565b601f01601f19169290920160200192915050565b60208152600061091f6020830184611174565b6000602082840312156111c557600080fd5b5035919050565b80356001600160a01b03811681146111e357600080fd5b919050565b600080604083850312156111fb57600080fd5b611204836111cc565b946020939093013593505050565b60008060006060848603121561122757600080fd5b611230846111cc565b925061123e602085016111cc565b9150604084013590509250925092565b6000806020838503121561126157600080fd5b823567ffffffffffffffff8082111561127957600080fd5b818501915085601f83011261128d57600080fd5b81358181111561129c57600080fd5b8660208285010111156112ae57600080fd5b60209290920196919550909350505050565b6000602082840312156112d257600080fd5b61091f826111cc565b600080604083850312156112ee57600080fd5b6112f7836111cc565b91506020830135801515811461130c57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561134357600080fd5b61134c856111cc565b935061135a602086016111cc565b925060408501359150606085013567ffffffffffffffff8082111561137e57600080fd5b818701915087601f83011261139257600080fd5b8135818111156113a4576113a4611317565b604051601f8201601f19908116603f011681019083821181831017156113cc576113cc611317565b816040528281528a60208487010111156113e557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561141c57600080fd5b611425836111cc565b9150611433602084016111cc565b90509250929050565b60008083601f84011261144e57600080fd5b50813567ffffffffffffffff81111561146657600080fd5b6020830191508360208260051b850101111561148157600080fd5b9250929050565b6000806000806040858703121561149e57600080fd5b843567ffffffffffffffff808211156114b657600080fd5b6114c28883890161143c565b909650945060208701359150808211156114db57600080fd5b506114e88782880161143c565b95989497509550505050565b600181811c9082168061150857607f821691505b60208210810361152857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008351611575818460208801611148565b835190830190611589818360208801611148565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156115ba57600080fd5b813560ff8116811461091f57600080fd5b600063ffffffff8083168181036115f257634e487b7160e01b600052601160045260246000fd5b6001019392505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061162f90830184611174565b9695505050505050565b60006020828403121561164b57600080fd5b815161091f8161111556fea264697066735822122047b28ac9315694f734c787394cb736f56ac4927636ef0f76303212be04192db964736f6c634300080e003368747470733a2f2f6170692e64746f6f6c732e6f72672f636f6d6d6f6e706173732f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c80636352211e116100de578063a22cb46511610097578063d5abeb0111610071578063d5abeb011461030d578063e985e9c514610316578063f2fde38b14610352578063f55f15d91461036557600080fd5b8063a22cb465146102d4578063b88d4fde146102e7578063c87b56dd146102fa57600080fd5b80636352211e1461027a5780636f8b44b01461028d57806370a08231146102a0578063715018a6146102b35780638da5cb5b146102bb57806395d89b41146102cc57600080fd5b806318160ddd1161013057806318160ddd1461020557806323b872dd1461021b5780632a944b191461022e57806342842e0e1461024157806342966c681461025457806355f804b31461026757600080fd5b806301ffc9a71461017857806303ee438c146101a057806306fdde03146101b5578063081812fc146101bd578063095ea7b3146101e85780631249c58b146101fd575b600080fd5b61018b61018636600461112b565b610378565b60405190151581526020015b60405180910390f35b6101a86103ca565b60405161019791906111a0565b6101a8610458565b6101d06101cb3660046111b3565b6104ea565b6040516001600160a01b039091168152602001610197565b6101fb6101f63660046111e8565b61052e565b005b6101fb610600565b600154600054035b604051908152602001610197565b6101fb610229366004611212565b610654565b6101fb61023c3660046111b3565b610664565b6101fb61024f366004611212565b61069b565b6101fb6102623660046111b3565b6106b6565b6101fb61027536600461124e565b6106c1565b6101d06102883660046111b3565b6106f7565b6101fb61029b3660046111b3565b610702565b61020d6102ae3660046112c0565b610731565b6101fb610780565b6008546001600160a01b03166101d0565b6101a86107b4565b6101fb6102e23660046112db565b6107c3565b6101fb6102f536600461132d565b610858565b6101a86103083660046111b3565b6108a2565b61020d60095481565b61018b610324366004611409565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101fb6103603660046112c0565b610926565b6101fb610373366004611488565b6109be565b60006301ffc9a760e01b6001600160e01b0319831614806103a957506380ac58cd60e01b6001600160e01b03198316145b806103c45750635b5e139f60e01b6001600160e01b03198316145b92915050565b600a80546103d7906114f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610403906114f4565b80156104505780601f1061042557610100808354040283529160200191610450565b820191906000526020600020905b81548152906001019060200180831161043357829003601f168201915b505050505081565b606060028054610467906114f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610493906114f4565b80156104e05780601f106104b5576101008083540402835291602001916104e0565b820191906000526020600020905b8154815290600101906020018083116104c357829003601f168201915b5050505050905090565b60006104f582610a75565b610512576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061053982610a9c565b9050806001600160a01b0316836001600160a01b03160361056d5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146105a4576105878133610324565b6105a4576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60095460015460005403106106475760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b60448201526064015b60405180910390fd5b610652336001610b03565b565b61065f838383610be4565b505050565b6008546001600160a01b0316331461068e5760405162461bcd60e51b815260040161063e9061152e565b6106983382610b03565b50565b61065f83838360405180602001604052806000815250610858565b610698816001610d89565b6008546001600160a01b031633146106eb5760405162461bcd60e51b815260040161063e9061152e565b61065f600a838361107c565b60006103c482610a9c565b6008546001600160a01b0316331461072c5760405162461bcd60e51b815260040161063e9061152e565b600955565b60006001600160a01b03821661075a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146107aa5760405162461bcd60e51b815260040161063e9061152e565b6106526000610ee1565b606060038054610467906114f4565b336001600160a01b038316036107ec5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610863848484610be4565b6001600160a01b0383163b1561089c5761087f84848484610f33565b61089c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606108ad82610a75565b6108ca57604051630a14c4b560e41b815260040160405180910390fd5b60006108d461101e565b905080516000036108f4576040518060200160405280600081525061091f565b806108fe8461102d565b60405160200161090f929190611563565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146109505760405162461bcd60e51b815260040161063e9061152e565b6001600160a01b0381166109b55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161063e565b61069881610ee1565b6008546001600160a01b031633146109e85760405162461bcd60e51b815260040161063e9061152e565b60005b63ffffffff8116841115610a6e57610a5e85858363ffffffff16818110610a1457610a14611592565b9050602002016020810190610a2991906112c0565b84848463ffffffff16818110610a4157610a41611592565b9050602002016020810190610a5691906115a8565b60ff16610b03565b610a67816115cb565b90506109eb565b5050505050565b60008054821080156103c4575050600090815260046020526040902054600160e01b161590565b600081600054811015610aea5760008181526004602052604081205490600160e01b82169003610ae8575b8060000361091f575060001901600081815260046020526040902054610ac7565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b038316610b2c57604051622e076360e81b815260040160405180910390fd5b81600003610b4d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660009081526005602090815260408083208054680100000000000000018702019055838352600490915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610b985750600055505050565b6000610bef82610a9c565b9050836001600160a01b0316816001600160a01b031614610c225760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610c405750610c408533610324565b80610c5b575033610c50846104ea565b6001600160a01b0316145b905080610c7b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610ca257604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091528120600160e11b4260a01b8717811790915583169003610d4357600183016000818152600460205260408120549003610d41576000548114610d415760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610a6e565b6000610d9483610a9c565b9050808215610df8576000336001600160a01b0383161480610dbb5750610dbb8233610324565b80610dd6575033610dcb866104ea565b6001600160a01b0316145b905080610df657604051632ce44b5f60e11b815260040160405180910390fd5b505b600084815260066020908152604080832080546001600160a01b03191690556001600160a01b03841683526005825280832080546fffffffffffffffffffffffffffffffff01905586835260049091528120600360e01b4260a01b8417179055600160e11b83169003610e9b57600184016000818152600460205260408120549003610e99576000548114610e995760008181526004602052604090208390555b505b60405184906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060018054810190555050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610f689033908990889088906004016115fc565b6020604051808303816000875af1925050508015610fa3575060408051601f3d908101601f19168201909252610fa091810190611639565b60015b611001573d808015610fd1576040519150601f19603f3d011682016040523d82523d6000602084013e610fd6565b606091505b508051600003610ff9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600a8054610467906114f4565b604080516080810191829052607f0190826030600a8206018353600a90045b801561106a57600183039250600a81066030018353600a900461104c565b50819003601f19909101908152919050565b828054611088906114f4565b90600052602060002090601f0160209004810192826110aa57600085556110f0565b82601f106110c35782800160ff198235161785556110f0565b828001600101855582156110f0579182015b828111156110f05782358255916020019190600101906110d5565b506110fc929150611100565b5090565b5b808211156110fc5760008155600101611101565b6001600160e01b03198116811461069857600080fd5b60006020828403121561113d57600080fd5b813561091f81611115565b60005b8381101561116357818101518382015260200161114b565b8381111561089c5750506000910152565b6000815180845261118c816020860160208601611148565b601f01601f19169290920160200192915050565b60208152600061091f6020830184611174565b6000602082840312156111c557600080fd5b5035919050565b80356001600160a01b03811681146111e357600080fd5b919050565b600080604083850312156111fb57600080fd5b611204836111cc565b946020939093013593505050565b60008060006060848603121561122757600080fd5b611230846111cc565b925061123e602085016111cc565b9150604084013590509250925092565b6000806020838503121561126157600080fd5b823567ffffffffffffffff8082111561127957600080fd5b818501915085601f83011261128d57600080fd5b81358181111561129c57600080fd5b8660208285010111156112ae57600080fd5b60209290920196919550909350505050565b6000602082840312156112d257600080fd5b61091f826111cc565b600080604083850312156112ee57600080fd5b6112f7836111cc565b91506020830135801515811461130c57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561134357600080fd5b61134c856111cc565b935061135a602086016111cc565b925060408501359150606085013567ffffffffffffffff8082111561137e57600080fd5b818701915087601f83011261139257600080fd5b8135818111156113a4576113a4611317565b604051601f8201601f19908116603f011681019083821181831017156113cc576113cc611317565b816040528281528a60208487010111156113e557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561141c57600080fd5b611425836111cc565b9150611433602084016111cc565b90509250929050565b60008083601f84011261144e57600080fd5b50813567ffffffffffffffff81111561146657600080fd5b6020830191508360208260051b850101111561148157600080fd5b9250929050565b6000806000806040858703121561149e57600080fd5b843567ffffffffffffffff808211156114b657600080fd5b6114c28883890161143c565b909650945060208701359150808211156114db57600080fd5b506114e88782880161143c565b95989497509550505050565b600181811c9082168061150857607f821691505b60208210810361152857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008351611575818460208801611148565b835190830190611589818360208801611148565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156115ba57600080fd5b813560ff8116811461091f57600080fd5b600063ffffffff8083168181036115f257634e487b7160e01b600052601160045260246000fd5b6001019392505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061162f90830184611174565b9695505050505050565b60006020828403121561164b57600080fd5b815161091f8161111556fea264697066735822122047b28ac9315694f734c787394cb736f56ac4927636ef0f76303212be04192db964736f6c634300080e0033
Deployed Bytecode Sourcemap
138:1084:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4874:651:2;;;;;;:::i;:::-;;:::i;:::-;;;565:14:7;;558:22;540:41;;528:2;513:18;4874:651:2;;;;;;;;245:64:1;;;:::i;:::-;;;;;;;:::i;9978:98:2:-;;;:::i;12095:236::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:7;;;1674:51;;1662:2;1647:18;12095:236:2;1528:203:7;11571:463:2;;;;;;:::i;:::-;;:::i;:::-;;746:118:1;;;:::i;3957:309:2:-;4219:12;;4010:7;4203:13;:28;3957:309;;;2319:25:7;;;2307:2;2292:18;3957:309:2;2173:177:7;13063:164:2;;;;;;:::i;:::-;;:::i;870:102:1:-;;;;;;:::i;:::-;;:::i;13293:179:2:-;;;;;;:::i;:::-;;:::i;512:92:3:-;;;;;;:::i;:::-;;:::i;503:94:1:-;;;;;;:::i;:::-;;:::i;9774:142:2:-;;;;;;:::i;:::-;;:::i;622:94:1:-;;;;;;:::i;:::-;;:::i;5584:221:2:-;;;;;;:::i;:::-;;:::i;1683:101:6:-;;;:::i;1051:85::-;1123:6;;-1:-1:-1;;;;;1123:6:6;1051:85;;10140:102:2;;;:::i;12398:331::-;;;;;;:::i;:::-;;:::i;13538:385::-;;;;;;:::i;:::-;;:::i;10308:401::-;;;;;;:::i;:::-;;:::i;207:31:1:-;;;;;;12795:206:2;;;;;;:::i;:::-;-1:-1:-1;;;;;12959:25:2;;;12932:4;12959:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;12795:206;1933:232:6;;;;;;:::i;:::-;;:::i;978:242:1:-;;;;;;:::i;:::-;;:::i;4874:651:2:-;4999:4;-1:-1:-1;;;;;;;;;5298:25:2;;;;:101;;-1:-1:-1;;;;;;;;;;5374:25:2;;;5298:101;:177;;;-1:-1:-1;;;;;;;;;;5450:25:2;;;5298:177;5279:196;4874:651;-1:-1:-1;;4874:651:2:o;245:64:1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;9978:98:2:-;10032:13;10064:5;10057:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9978:98;:::o;12095:236::-;12195:7;12223:16;12231:7;12223;:16::i;:::-;12218:64;;12248:34;;-1:-1:-1;;;12248:34:2;;;;;;;;;;;12218:64;-1:-1:-1;12300:24:2;;;;:15;:24;;;;;;-1:-1:-1;;;;;12300:24:2;;12095:236::o;11571:463::-;11643:13;11675:27;11694:7;11675:18;:27::i;:::-;11643:61;;11724:5;-1:-1:-1;;;;;11718:11:2;:2;-1:-1:-1;;;;;11718:11:2;;11714:48;;11738:24;;-1:-1:-1;;;11738:24:2;;;;;;;;;;;11714:48;28247:10;-1:-1:-1;;;;;11777:28:2;;;11773:172;;11824:44;11841:5;28247:10;12795:206;:::i;11824:44::-;11819:126;;11895:35;;-1:-1:-1;;;11895:35:2;;;;;;;;;;;11819:126;11955:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;11955:29:2;-1:-1:-1;;;;;11955:29:2;;;;;;;;;11999:28;;11955:24;;11999:28;;;;;;;11633:401;11571:463;;:::o;746:118:1:-;805:9;;4219:12:2;;4010:7;4203:13;:28;789:25:1;781:46;;;;-1:-1:-1;;;781:46:1;;7103:2:7;781:46:1;;;7085:21:7;7142:1;7122:18;;;7115:29;-1:-1:-1;;;7160:18:7;;;7153:38;7208:18;;781:46:1;;;;;;;;;837:20;843:10;855:1;837:5;:20::i;:::-;746:118::o;13063:164:2:-;13192:28;13202:4;13208:2;13212:7;13192:9;:28::i;:::-;13063:164;;;:::o;870:102:1:-;1123:6:6;;-1:-1:-1;;;;;1123:6:6;28247:10:2;1263:23:6;1255:68;;;;-1:-1:-1;;;1255:68:6;;;;;;;:::i;:::-;938:27:1::1;944:10;956:8;938:5;:27::i;:::-;870:102:::0;:::o;13293:179:2:-;13426:39;13443:4;13449:2;13453:7;13426:39;;;;;;;;;;;;:16;:39::i;512:92:3:-;577:20;583:7;592:4;577:5;:20::i;503:94:1:-;1123:6:6;;-1:-1:-1;;;;;1123:6:6;28247:10:2;1263:23:6;1255:68;;;;-1:-1:-1;;;1255:68:6;;;;;;;:::i;:::-;572:18:1::1;:11;586:4:::0;;572:18:::1;:::i;9774:142:2:-:0;9838:7;9880:27;9899:7;9880:18;:27::i;622:94:1:-;1123:6:6;;-1:-1:-1;;;;;1123:6:6;28247:10:2;1263:23:6;1255:68;;;;-1:-1:-1;;;1255:68:6;;;;;;;:::i;:::-;690:9:1::1;:19:::0;622:94::o;5584:221:2:-;5648:7;-1:-1:-1;;;;;5671:19:2;;5667:60;;5699:28;;-1:-1:-1;;;5699:28:2;;;;;;;;;;;5667:60;-1:-1:-1;;;;;;5744:25:2;;;;;:18;:25;;;;;;1017:13;5744:54;;5584:221::o;1683:101:6:-;1123:6;;-1:-1:-1;;;;;1123:6:6;28247:10:2;1263:23:6;1255:68;;;;-1:-1:-1;;;1255:68:6;;;;;;;:::i;:::-;1747:30:::1;1774:1;1747:18;:30::i;10140:102:2:-:0;10196:13;10228:7;10221:14;;;;;:::i;12398:331::-;28247:10;-1:-1:-1;;;;;12524:31:2;;;12520:61;;12564:17;;-1:-1:-1;;;12564:17:2;;;;;;;;;;;12520:61;28247:10;12592:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;12592:49:2;;;;;;;;;;;;:60;;-1:-1:-1;;12592:60:2;;;;;;;;;;12667:55;;540:41:7;;;12592:49:2;;28247:10;12667:55;;513:18:7;12667:55:2;;;;;;;12398:331;;:::o;13538:385::-;13699:28;13709:4;13715:2;13719:7;13699:9;:28::i;:::-;-1:-1:-1;;;;;13741:14:2;;;:19;13737:180;;13779:56;13810:4;13816:2;13820:7;13829:5;13779:30;:56::i;:::-;13774:143;;13862:40;;-1:-1:-1;;;13862:40:2;;;;;;;;;;;13774:143;13538:385;;;;:::o;10308:401::-;10421:13;10455:16;10463:7;10455;:16::i;:::-;10450:59;;10480:29;;-1:-1:-1;;;10480:29:2;;;;;;;;;;;10450:59;10520:21;10544:10;:8;:10::i;:::-;10520:34;;10589:7;10583:21;10608:1;10583:26;:119;;;;;;;;;;;;;;;;;10652:7;10661:18;10671:7;10661:9;:18::i;:::-;10635:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;10583:119;10564:138;10308:401;-1:-1:-1;;;10308:401:2:o;1933:232:6:-;1123:6;;-1:-1:-1;;;;;1123:6:6;28247:10:2;1263:23:6;1255:68;;;;-1:-1:-1;;;1255:68:6;;;;;;;:::i;:::-;-1:-1:-1;;;;;2034:22:6;::::1;2013:107;;;::::0;-1:-1:-1;;;2013:107:6;;8275:2:7;2013:107:6::1;::::0;::::1;8257:21:7::0;8314:2;8294:18;;;8287:30;8353:34;8333:18;;;8326:62;-1:-1:-1;;;8404:18:7;;;8397:36;8450:19;;2013:107:6::1;8073:402:7::0;2013:107:6::1;2130:28;2149:8;2130:18;:28::i;978:242:1:-:0;1123:6:6;;-1:-1:-1;;;;;1123:6:6;28247:10:2;1263:23:6;1255:68;;;;-1:-1:-1;;;1255:68:6;;;;;;;:::i;:::-;1115:8:1::1;1110:104;1129:21;::::0;::::1;::::0;-1:-1:-1;1110:104:1::1;;;1171:32;1177:10;;1188:1;1177:13;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;1192:7;;1200:1;1192:10;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;1171:32;;:5;:32::i;:::-;1152:3;::::0;::::1;:::i;:::-;;;1110:104;;;;978:242:::0;;;;:::o;14169:268:2:-;14226:4;14313:13;;14303:7;:23;14261:150;;;;-1:-1:-1;;14363:26:2;;;;:17;:26;;;;;;-1:-1:-1;;;14363:43:2;:48;;14169:268::o;7239:1133::-;7330:7;7368;7466:13;;7459:4;:20;7455:853;;;7503:14;7520:23;;;:17;:23;;;;;;;-1:-1:-1;;;7607:23:2;;:28;;7603:687;;8118:111;8125:6;8135:1;8125:11;8118:111;;-1:-1:-1;;;8195:6:2;8177:25;;;;:17;:25;;;;;;8118:111;;7603:687;7481:827;7455:853;8334:31;;-1:-1:-1;;;8334:31:2;;;;;;;;;;;17625:1650;17689:20;17712:13;-1:-1:-1;;;;;17739:16:2;;17735:48;;17764:19;;-1:-1:-1;;;17764:19:2;;;;;;;;;;;17735:48;17797:8;17809:1;17797:13;17793:44;;17819:18;;-1:-1:-1;;;17819:18:2;;;;;;;;;;;17793:44;-1:-1:-1;;;;;18373:22:2;;;;;;:18;:22;;;;1151:2;18373:22;;;:102;;18443:31;18415:60;;18373:102;;;18711:31;;;:17;:31;;;;;18802:15;1656:3;18802:41;18761:83;;-1:-1:-1;18879:13:2;;1909:3;18864:56;18761:160;18711:210;;:31;18999:23;;;19037:109;19063:40;;19088:14;;;;;-1:-1:-1;;;;;19063:40:2;;;19080:1;;19063:40;;19080:1;;19063:40;19141:3;19126:12;:18;19037:109;;-1:-1:-1;19160:13:2;:28;13063:164;;;:::o;19517:2472::-;19627:27;19657;19676:7;19657:18;:27::i;:::-;19627:57;;19740:4;-1:-1:-1;;;;;19699:45:2;19715:19;-1:-1:-1;;;;;19699:45:2;;19695:98;;19765:28;;-1:-1:-1;;;19765:28:2;;;;;;;;;;;19695:98;19804:22;28247:10;-1:-1:-1;;;;;19830:27:2;;;;:86;;-1:-1:-1;19873:43:2;19890:4;28247:10;12795:206;:::i;19873:43::-;19830:145;;;-1:-1:-1;28247:10:2;19932:20;19944:7;19932:11;:20::i;:::-;-1:-1:-1;;;;;19932:43:2;;19830:145;19804:172;;19992:17;19987:66;;20018:35;;-1:-1:-1;;;20018:35:2;;;;;;;;;;;19987:66;-1:-1:-1;;;;;20067:16:2;;20063:52;;20092:23;;-1:-1:-1;;;20092:23:2;;;;;;;;;;;20063:52;20239:24;;;;:15;:24;;;;;;;;20232:31;;-1:-1:-1;;;;;;20232:31:2;;;-1:-1:-1;;;;;20624:24:2;;;;;:18;:24;;;;;20622:26;;-1:-1:-1;;20622:26:2;;;20692:22;;;;;;;20690:24;;-1:-1:-1;20690:24:2;;;20978:26;;;:17;:26;;;;;-1:-1:-1;;;21064:15:2;1656:3;21064:41;21023:83;;:126;;20978:171;;;21266:46;;:51;;21262:616;;21369:1;21359:11;;21337:19;21490:30;;;:17;:30;;;;;;:35;;21486:378;;21626:13;;21611:11;:28;21607:239;;21771:30;;;;:17;:30;;;;;:52;;;21607:239;21319:559;21262:616;21922:7;21918:2;-1:-1:-1;;;;;21903:27:2;21912:4;-1:-1:-1;;;;;21903:27:2;;;;;;;;;;;21940:42;13538:385;22366:2746;22445:27;22475;22494:7;22475:18;:27::i;:::-;22445:57;-1:-1:-1;22445:57:2;22576:305;;;;22609:22;28247:10;-1:-1:-1;;;;;22635:27:2;;;;:90;;-1:-1:-1;22682:43:2;22699:4;28247:10;12795:206;:::i;22682:43::-;22635:153;;;-1:-1:-1;28247:10:2;22745:20;22757:7;22745:11;:20::i;:::-;-1:-1:-1;;;;;22745:43:2;;22635:153;22609:180;;22809:17;22804:66;;22835:35;;-1:-1:-1;;;22835:35:2;;;;;;;;;;;22804:66;22595:286;22576:305;23012:24;;;;:15;:24;;;;;;;;23005:31;;-1:-1:-1;;;;;;23005:31:2;;;-1:-1:-1;;;;;23613:24:2;;;;:18;:24;;;;;:59;;23641:31;23613:59;;;23903:26;;;:17;:26;;;;;-1:-1:-1;;;23991:15:2;1656:3;23991:41;23948:85;;:161;23903:206;;-1:-1:-1;;;24226:46:2;;:51;;24222:616;;24329:1;24319:11;;24297:19;24450:30;;;:17;:30;;;;;;:35;;24446:378;;24586:13;;24571:11;:28;24567:239;;24731:30;;;;:17;:30;;;;;:52;;;24567:239;24279:559;24222:616;24863:35;;24890:7;;24886:1;;-1:-1:-1;;;;;24863:35:2;;;;;24886:1;;24863:35;-1:-1:-1;;25081:12:2;:14;;;;;;-1:-1:-1;;22366:2746:2:o;2319:187:6:-;2411:6;;;-1:-1:-1;;;;;2427:17:6;;;-1:-1:-1;;;;;;2427:17:6;;;;;;;2459:40;;2411:6;;;2427:17;2411:6;;2459:40;;2392:16;;2459:40;2382:124;2319:187;:::o;25593:805:2:-;25783:166;;-1:-1:-1;;;25783:166:2;;25751:4;;-1:-1:-1;;;;;25783:45:2;;;;;:166;;28247:10;;25883:4;;25905:7;;25930:5;;25783:166;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25783:166:2;;;;;;;;-1:-1:-1;;25783:166:2;;;;;;;;;;;;:::i;:::-;;;25767:625;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26157:6;:13;26174:1;26157:18;26153:229;;26202:40;;-1:-1:-1;;;26202:40:2;;;;;;;;;;;26153:229;26342:6;26336:13;26327:6;26323:2;26319:15;26312:38;25767:625;-1:-1:-1;;;;;;26019:80:2;-1:-1:-1;;;26019:80:2;;-1:-1:-1;25593:805:2;;;;;;:::o;395:102:1:-;447:13;479:11;472:18;;;;;:::i;28365:1948:2:-;28856:4;28850:11;;28863:3;28846:21;;28939:17;;;;29622:11;;;29503:5;29752:2;29766;29756:13;;29748:22;29622:11;29735:36;29806:2;29796:13;;29397:682;29824:4;29397:682;;;30010:1;30005:3;30001:11;29994:18;;30060:2;30054:4;30050:13;30046:2;30042:22;30037:3;30029:36;29917:2;29907:13;;29397:682;;;-1:-1:-1;30107:13:2;;;-1:-1:-1;;30220:12:2;;;30278:19;;;30220:12;28365:1948;-1:-1:-1;28365:1948:2:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:7;-1:-1:-1;;;;;;88:32:7;;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:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:7;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:7;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:7:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:7;;1343:180;-1:-1:-1;1343:180:7:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:7;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:7:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:592::-;2759:6;2767;2820:2;2808:9;2799:7;2795:23;2791:32;2788:52;;;2836:1;2833;2826:12;2788:52;2876:9;2863:23;2905:18;2946:2;2938:6;2935:14;2932:34;;;2962:1;2959;2952:12;2932:34;3000:6;2989:9;2985:22;2975:32;;3045:7;3038:4;3034:2;3030:13;3026:27;3016:55;;3067:1;3064;3057:12;3016:55;3107:2;3094:16;3133:2;3125:6;3122:14;3119:34;;;3149:1;3146;3139:12;3119:34;3194:7;3189:2;3180:6;3176:2;3172:15;3168:24;3165:37;3162:57;;;3215:1;3212;3205:12;3162:57;3246:2;3238:11;;;;;3268:6;;-1:-1:-1;2688:592:7;;-1:-1:-1;;;;2688:592:7:o;3285:186::-;3344:6;3397:2;3385:9;3376:7;3372:23;3368:32;3365:52;;;3413:1;3410;3403:12;3365:52;3436:29;3455:9;3436:29;:::i;3476:347::-;3541:6;3549;3602:2;3590:9;3581:7;3577:23;3573:32;3570:52;;;3618:1;3615;3608:12;3570:52;3641:29;3660:9;3641:29;:::i;:::-;3631:39;;3720:2;3709:9;3705:18;3692:32;3767:5;3760:13;3753:21;3746:5;3743:32;3733:60;;3789:1;3786;3779:12;3733:60;3812:5;3802:15;;;3476:347;;;;;:::o;3828:127::-;3889:10;3884:3;3880:20;3877:1;3870:31;3920:4;3917:1;3910:15;3944:4;3941:1;3934:15;3960:1138;4055:6;4063;4071;4079;4132:3;4120:9;4111:7;4107:23;4103:33;4100:53;;;4149:1;4146;4139:12;4100:53;4172:29;4191:9;4172:29;:::i;:::-;4162:39;;4220:38;4254:2;4243:9;4239:18;4220:38;:::i;:::-;4210:48;;4305:2;4294:9;4290:18;4277:32;4267:42;;4360:2;4349:9;4345:18;4332:32;4383:18;4424:2;4416:6;4413:14;4410:34;;;4440:1;4437;4430:12;4410:34;4478:6;4467:9;4463:22;4453:32;;4523:7;4516:4;4512:2;4508:13;4504:27;4494:55;;4545:1;4542;4535:12;4494:55;4581:2;4568:16;4603:2;4599;4596:10;4593:36;;;4609:18;;:::i;:::-;4684:2;4678:9;4652:2;4738:13;;-1:-1:-1;;4734:22:7;;;4758:2;4730:31;4726:40;4714:53;;;4782:18;;;4802:22;;;4779:46;4776:72;;;4828:18;;:::i;:::-;4868:10;4864:2;4857:22;4903:2;4895:6;4888:18;4943:7;4938:2;4933;4929;4925:11;4921:20;4918:33;4915:53;;;4964:1;4961;4954:12;4915:53;5020:2;5015;5011;5007:11;5002:2;4994:6;4990:15;4977:46;5065:1;5060:2;5055;5047:6;5043:15;5039:24;5032:35;5086:6;5076:16;;;;;;;3960:1138;;;;;;;:::o;5103:260::-;5171:6;5179;5232:2;5220:9;5211:7;5207:23;5203:32;5200:52;;;5248:1;5245;5238:12;5200:52;5271:29;5290:9;5271:29;:::i;:::-;5261:39;;5319:38;5353:2;5342:9;5338:18;5319:38;:::i;:::-;5309:48;;5103:260;;;;;:::o;5368:367::-;5431:8;5441:6;5495:3;5488:4;5480:6;5476:17;5472:27;5462:55;;5513:1;5510;5503:12;5462:55;-1:-1:-1;5536:20:7;;5579:18;5568:30;;5565:50;;;5611:1;5608;5601:12;5565:50;5648:4;5640:6;5636:17;5624:29;;5708:3;5701:4;5691:6;5688:1;5684:14;5676:6;5672:27;5668:38;5665:47;5662:67;;;5725:1;5722;5715:12;5662:67;5368:367;;;;;:::o;5740:771::-;5860:6;5868;5876;5884;5937:2;5925:9;5916:7;5912:23;5908:32;5905:52;;;5953:1;5950;5943:12;5905:52;5993:9;5980:23;6022:18;6063:2;6055:6;6052:14;6049:34;;;6079:1;6076;6069:12;6049:34;6118:70;6180:7;6171:6;6160:9;6156:22;6118:70;:::i;:::-;6207:8;;-1:-1:-1;6092:96:7;-1:-1:-1;6295:2:7;6280:18;;6267:32;;-1:-1:-1;6311:16:7;;;6308:36;;;6340:1;6337;6330:12;6308:36;;6379:72;6443:7;6432:8;6421:9;6417:24;6379:72;:::i;:::-;5740:771;;;;-1:-1:-1;6470:8:7;-1:-1:-1;;;;5740:771:7:o;6516:380::-;6595:1;6591:12;;;;6638;;;6659:61;;6713:4;6705:6;6701:17;6691:27;;6659:61;6766:2;6758:6;6755:14;6735:18;6732:38;6729:161;;6812:10;6807:3;6803:20;6800:1;6793:31;6847:4;6844:1;6837:15;6875:4;6872:1;6865:15;6729:161;;6516:380;;;:::o;7237:356::-;7439:2;7421:21;;;7458:18;;;7451:30;7517:34;7512:2;7497:18;;7490:62;7584:2;7569:18;;7237:356::o;7598:470::-;7777:3;7815:6;7809:13;7831:53;7877:6;7872:3;7865:4;7857:6;7853:17;7831:53;:::i;:::-;7947:13;;7906:16;;;;7969:57;7947:13;7906:16;8003:4;7991:17;;7969:57;:::i;:::-;8042:20;;7598:470;-1:-1:-1;;;;7598:470:7:o;8480:127::-;8541:10;8536:3;8532:20;8529:1;8522:31;8572:4;8569:1;8562:15;8596:4;8593:1;8586:15;8612:269;8669:6;8722:2;8710:9;8701:7;8697:23;8693:32;8690:52;;;8738:1;8735;8728:12;8690:52;8777:9;8764:23;8827:4;8820:5;8816:16;8809:5;8806:27;8796:55;;8847:1;8844;8837:12;8886:298;8924:3;8952:10;8997:2;8990:5;8986:14;9024:2;9015:7;9012:15;9009:138;;9069:10;9064:3;9060:20;9057:1;9050:31;9104:4;9101:1;9094:15;9132:4;9129:1;9122:15;9009:138;9176:1;9163:15;;8886:298;-1:-1:-1;;;8886:298:7:o;9189:489::-;-1:-1:-1;;;;;9458:15:7;;;9440:34;;9510:15;;9505:2;9490:18;;9483:43;9557:2;9542:18;;9535:34;;;9605:3;9600:2;9585:18;;9578:31;;;9383:4;;9626:46;;9652:19;;9644:6;9626:46;:::i;:::-;9618:54;9189:489;-1:-1:-1;;;;;;9189:489:7:o;9683:249::-;9752:6;9805:2;9793:9;9784:7;9780:23;9776:32;9773:52;;;9821:1;9818;9811:12;9773:52;9853:9;9847:16;9872:30;9896:5;9872:30;:::i
Swarm Source
ipfs://47b28ac9315694f734c787394cb736f56ac4927636ef0f76303212be04192db9
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.