Feature Tip: Add private address tag to any address under My Name Tag !
Overview
Max Total Supply
2,999 PSEUDO
Holders
456
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
21 PSEUDOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PSEUDO
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.4; import "./ERC721AQueryable.sol"; contract PSEUDO is ERC721AQueryable { bool private mintEnabled = false; address public deployer; string public baseUri; uint256 public constant MAX_SUPPLY = 3000; uint256 public constant MINT_PRICE = 0.03 ether; uint256 public startTokenId; uint256 public mintTimestamp; constructor(string memory name_, string memory symbol_, string memory _baseUri, address[] memory initAddresses) ERC721A(name_, symbol_) { // @todo Mint to specific wallet addresses deployer = msg.sender; mintTimestamp = 0; _mintERC2309(initAddresses[0], 21); _mintERC2309(initAddresses[1], 50); _mintERC2309(initAddresses[2], 21); _mintERC2309(initAddresses[3], 21); _mintERC2309(initAddresses[4], 333); _mintERC2309(initAddresses[5], 42); _mintERC2309(initAddresses[6], 58); _mintERC2309(initAddresses[7], 47); _mintERC2309(initAddresses[8], 15); baseUri = _baseUri; } function getMintEnabled() public view returns (bool) { return mintEnabled || (block.timestamp >= mintTimestamp && mintTimestamp != 0); } function _startTokenId() internal view override returns (uint256) { return startTokenId; } function updateBaseURI(string memory _baseUri) external { require(msg.sender == deployer, "Only deployer can update base URI"); baseUri = _baseUri; } function toggleMintEnabled(bool toggle) external { require(msg.sender == deployer, "Only deployer can toggle minting"); mintEnabled = toggle; } function setMintEnabled() external { require(msg.sender == deployer, "Only deployer can set minting"); mintEnabled = true; } function setMintTime(uint256 timestamp) external { require(msg.sender == deployer, "Only deployer can set minting block"); mintTimestamp = timestamp; } function _baseURI() internal view virtual override returns (string memory) { return baseUri; } function baseURI() public view returns (string memory) { return _baseURI(); } function nextTokenId() public view returns (uint256) { return _nextTokenId(); } function totalMinted() public view returns (uint256) { return _totalMinted(); } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function exists(uint256 tokenId) public view returns (bool) { return _exists(tokenId); } function getOwnershipAt(uint256 index) public view returns (TokenOwnership memory) { return _ownershipAt(index); } function getOwnershipOf(uint256 index) public view returns (TokenOwnership memory) { return _ownershipOf(index); } function initializeOwnershipAt(uint256 index) public { _initializeOwnershipAt(index); } function mint() external payable { require(msg.value >= MINT_PRICE, "NotEnoughETH"); require(totalSupply() + 1 < MAX_SUPPLY, "ExceedMaxSupply"); require(getMintEnabled(), "Minting is not enabled"); _mint(msg.sender, 1); } function mintFive() external payable { require(msg.value >= MINT_PRICE * 5, "NotEnoughETH"); require(totalSupply() + 5 < MAX_SUPPLY, "ExceedMaxSupply"); require(getMintEnabled(), "Minting is not enabled"); _mint(msg.sender, 5); } function mintTen() external payable { require(msg.value >= MINT_PRICE * 10, "NotEnoughETH"); require(totalSupply() + 10 < MAX_SUPPLY, "ExceedMaxSupply"); require(getMintEnabled(), "Minting is not enabled"); _mint(msg.sender, 10); } function withdraw() external { require(msg.sender == deployer, "OnlyOwner"); payable(msg.sender).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // 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 { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import './ERC721A.sol'; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// 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(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import '../IERC721A.sol'; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"address[]","name":"initAddresses","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getOwnershipAt","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"initializeOwnershipAt","outputs":[],"stateMutability":"nonpayable","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":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintFive","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintTen","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"setMintTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"bool","name":"toggle","type":"bool"}],"name":"toggleMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526008805460ff191690553480156200001b57600080fd5b50604051620028bc380380620028bc8339810160408190526200003e91620004ac565b8351849084906200005790600290602085019062000328565b5080516200006d90600390602084019062000328565b50600a54600090815560088054610100600160a81b0319163361010002179055600b8190558351620000c29350849250620000ac57620000ac620005e8565b602002602001015160156200023760201b60201c565b620000f281600181518110620000dc57620000dc620005e8565b602002602001015160326200023760201b60201c565b6200010c81600281518110620000ac57620000ac620005e8565b6200012681600381518110620000ac57620000ac620005e8565b6200015781600481518110620001405762000140620005e8565b602002602001015161014d6200023760201b60201c565b6200018781600581518110620001715762000171620005e8565b6020026020010151602a6200023760201b60201c565b620001b781600681518110620001a157620001a1620005e8565b6020026020010151603a6200023760201b60201c565b620001e781600781518110620001d157620001d1620005e8565b6020026020010151602f6200023760201b60201c565b6200021781600881518110620002015762000201620005e8565b6020026020010151600f6200023760201b60201c565b81516200022c90600990602085019062000328565b50505050506200063b565b6000546001600160a01b0383166200026157604051622e076360e81b815260040160405180910390fd5b81620002805760405163b562e8dd60e01b815260040160405180910390fd5b611388821115620002a457604051633db1f9af60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600482528083206001871460e11b4260a01b17851790558051600019868801018152905185927fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d928290030190a40160005550565b8280546200033690620005fe565b90600052602060002090601f0160209004810192826200035a5760008555620003a5565b82601f106200037557805160ff1916838001178555620003a5565b82800160010185558215620003a5579182015b82811115620003a557825182559160200191906001019062000388565b50620003b3929150620003b7565b5090565b5b80821115620003b35760008155600101620003b8565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156200040f576200040f620003ce565b604052919050565b600082601f8301126200042957600080fd5b81516001600160401b03811115620004455762000445620003ce565b60206200045b601f8301601f19168201620003e4565b82815285828487010111156200047057600080fd5b60005b838110156200049057858101830151828201840152820162000473565b83811115620004a25760008385840101525b5095945050505050565b60008060008060808587031215620004c357600080fd5b84516001600160401b0380821115620004db57600080fd5b620004e98883890162000417565b95506020915081870151818111156200050157600080fd5b6200050f89828a0162000417565b9550506040870151818111156200052557600080fd5b6200053389828a0162000417565b9450506060870151818111156200054957600080fd5b8701601f810189136200055b57600080fd5b805182811115620005705762000570620003ce565b8060051b925062000583848401620003e4565b818152928201840192848101908b8511156200059e57600080fd5b928501925b84841015620005d857835192506001600160a01b0383168314620005c75760008081fd5b8282529285019290850190620005a3565b989b979a50959850505050505050565b634e487b7160e01b600052603260045260246000fd5b600181811c908216806200061357607f821691505b602082108114156200063557634e487b7160e01b600052602260045260246000fd5b50919050565b612271806200064b6000396000f3fe6080604052600436106102c65760003560e01c806375794a3c11610179578063c0335ea9116100d6578063d5f394881161008a578063e6798baa11610064578063e6798baa146106fe578063e985e9c514610714578063f25236331461075d57600080fd5b8063d5f3948814610699578063dc33e681146106be578063dda52d53146106de57600080fd5b8063c2230283116100bb578063c223028314610639578063c23dc68f14610659578063c87b56dd1461067957600080fd5b8063c0335ea91461061c578063c035e7731461062457600080fd5b80639abc83201161012d578063a2309ff811610112578063a2309ff8146105d9578063b88d4fde146105ee578063c002d23d1461060157600080fd5b80639abc8320146105a4578063a22cb465146105b957600080fd5b8063931688cb1161015e578063931688cb1461054f57806395d89b411461056f57806399a2557a1461058457600080fd5b806375794a3c1461050d5780638462151c1461052257600080fd5b80633ccfd60b116102275780635bbb2177116101db5780636c0360eb116101c05780636c0360eb146104c35780636ffd0c97146104d857806370a08231146104ed57600080fd5b80635bbb2177146104765780636352211e146104a357600080fd5b80634f558e791161020c5780634f558e791461040957806352d8a4d11461042957806353b1233d1461045657600080fd5b80633ccfd60b146103e157806342842e0e146103f657600080fd5b80631249c58b1161027e5780631bc392ae116102635780631bc392ae146103a257806323b872dd146103b857806332cb6b0c146103cb57600080fd5b80631249c58b1461037757806318160ddd1461037f57600080fd5b8063081812fc116102af578063081812fc1461032257806309327fac1461035a578063095ea7b31461036457600080fd5b806301ffc9a7146102cb57806306fdde0314610300575b600080fd5b3480156102d757600080fd5b506102eb6102e6366004611c5c565b61077d565b60405190151581526020015b60405180910390f35b34801561030c57600080fd5b506103156107cf565b6040516102f79190611cd1565b34801561032e57600080fd5b5061034261033d366004611ce4565b610861565b6040516001600160a01b0390911681526020016102f7565b6103626108a5565b005b610362610372366004611d19565b6109b0565b610362610a68565b34801561038b57600080fd5b50610394610b62565b6040519081526020016102f7565b3480156103ae57600080fd5b50610394600b5481565b6103626103c6366004611d43565b610b7a565b3480156103d757600080fd5b50610394610bb881565b3480156103ed57600080fd5b50610362610d0b565b610362610404366004611d43565b610d99565b34801561041557600080fd5b506102eb610424366004611ce4565b610db9565b34801561043557600080fd5b50610449610444366004611ce4565b610dc4565b6040516102f79190611d7f565b34801561046257600080fd5b50610362610471366004611ce4565b610df1565b34801561048257600080fd5b50610496610491366004611dc4565b610dfa565b6040516102f79190611e39565b3480156104af57600080fd5b506103426104be366004611ce4565b610ec6565b3480156104cf57600080fd5b50610315610ed1565b3480156104e457600080fd5b506102eb610ee0565b3480156104f957600080fd5b50610394610508366004611eb6565b610f05565b34801561051957600080fd5b50600054610394565b34801561052e57600080fd5b5061054261053d366004611eb6565b610f54565b6040516102f79190611ed1565b34801561055b57600080fd5b5061036261056a366004611f95565b611061565b34801561057b57600080fd5b506103156110e1565b34801561059057600080fd5b5061054261059f366004611fde565b6110f0565b3480156105b057600080fd5b50610315611284565b3480156105c557600080fd5b506103626105d4366004612021565b611312565b3480156105e557600080fd5b5061039461137e565b6103626105fc366004612054565b611388565b34801561060d57600080fd5b50610394666a94d74f43000081565b6103626113d2565b34801561063057600080fd5b506103626114d6565b34801561064557600080fd5b506103626106543660046120d0565b611544565b34801561066557600080fd5b50610449610674366004611ce4565b6115b6565b34801561068557600080fd5b50610315610694366004611ce4565b61163f565b3480156106a557600080fd5b506008546103429061010090046001600160a01b031681565b3480156106ca57600080fd5b506103946106d9366004611eb6565b6116c3565b3480156106ea57600080fd5b506103626106f9366004611ce4565b6116ee565b34801561070a57600080fd5b50610394600a5481565b34801561072057600080fd5b506102eb61072f3660046120eb565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561076957600080fd5b50610449610778366004611ce4565b61175e565b60006301ffc9a760e01b6001600160e01b0319831614806107ae57506380ac58cd60e01b6001600160e01b03198316145b806107c95750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107de90612115565b80601f016020809104026020016040519081016040528092919081815260200182805461080a90612115565b80156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b5050505050905090565b600061086c8261178b565b610889576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6108b7666a94d74f4300006005612166565b3410156108fa5760405162461bcd60e51b815260206004820152600c60248201526b09cdee88adcdeeaced08aa8960a31b60448201526064015b60405180910390fd5b610bb8610905610b62565b610910906005612185565b1061094f5760405162461bcd60e51b815260206004820152600f60248201526e4578636565644d6178537570706c7960881b60448201526064016108f1565b610957610ee0565b6109a35760405162461bcd60e51b815260206004820152601660248201527f4d696e74696e67206973206e6f7420656e61626c65640000000000000000000060448201526064016108f1565b6109ae3360056117c7565b565b60006109bb82610ec6565b9050336001600160a01b038216146109f4576109d7813361072f565b6109f4576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b666a94d74f430000341015610aae5760405162461bcd60e51b815260206004820152600c60248201526b09cdee88adcdeeaced08aa8960a31b60448201526064016108f1565b610bb8610ab9610b62565b610ac4906001612185565b10610b035760405162461bcd60e51b815260206004820152600f60248201526e4578636565644d6178537570706c7960881b60448201526064016108f1565b610b0b610ee0565b610b575760405162461bcd60e51b815260206004820152601660248201527f4d696e74696e67206973206e6f7420656e61626c65640000000000000000000060448201526064016108f1565b6109ae3360016117c7565b6000610b6d600a5490565b6001546000540303905090565b6000610b85826118be565b9050836001600160a01b0316816001600160a01b031614610bb85760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610c0557610be8863361072f565b610c0557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610c2c57604051633a954ecd60e21b815260040160405180910390fd5b8015610c3757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610cc25760018401600081815260046020526040902054610cc0576000548114610cc05760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60085461010090046001600160a01b03163314610d6a5760405162461bcd60e51b815260206004820152600960248201527f4f6e6c794f776e6572000000000000000000000000000000000000000000000060448201526064016108f1565b60405133904780156108fc02916000818181858888f19350505050158015610d96573d6000803e3d6000fd5b50565b610db483838360405180602001604052806000815250611388565b505050565b60006107c98261178b565b6040805160808101825260008082526020820181905291810182905260608101919091526107c98261192e565b610d96816119a6565b60608160008167ffffffffffffffff811115610e1857610e18611f09565b604051908082528060200260200182016040528015610e6a57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610e365790505b50905060005b828114610ebd57610e98868683818110610e8c57610e8c61219d565b905060200201356115b6565b828281518110610eaa57610eaa61219d565b6020908102919091010152600101610e70565b50949350505050565b60006107c9826118be565b6060610edb6119d4565b905090565b60085460009060ff1680610edb5750600b544210158015610edb575050600b54151590565b60006001600160a01b038216610f2e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b60606000806000610f6485610f05565b905060008167ffffffffffffffff811115610f8157610f81611f09565b604051908082528060200260200182016040528015610faa578160200160208202803683370190505b50604080516080810182526000808252602082018190529181018290526060810191909152600a54919250905b83861461105557610fe7816119e3565b9150816040015115610ff85761104d565b81516001600160a01b03161561100d57815194505b876001600160a01b0316856001600160a01b0316141561104d57808387806001019850815181106110405761104061219d565b6020026020010181815250505b600101610fd7565b50909695505050505050565b60085461010090046001600160a01b031633146110ca5760405162461bcd60e51b815260206004820152602160248201527f4f6e6c79206465706c6f7965722063616e2075706461746520626173652055526044820152604960f81b60648201526084016108f1565b80516110dd906009906020840190611bad565b5050565b6060600380546107de90612115565b606081831061111257604051631960ccad60e11b815260040160405180910390fd5b60008061111e60005490565b9050611129600a5490565b85101561113657600a5494505b80841115611142578093505b600061114d87610f05565b90508486101561116c5785850381811015611166578091505b50611170565b5060005b60008167ffffffffffffffff81111561118b5761118b611f09565b6040519080825280602002602001820160405280156111b4578160200160208202803683370190505b509050816111c757935061127d92505050565b60006111d2886115b6565b9050600081604001516111e3575080515b885b8881141580156111f55750848714155b1561127157611203816119e3565b925082604001511561121457611269565b82516001600160a01b03161561122957825191505b8a6001600160a01b0316826001600160a01b03161415611269578084888060010199508151811061125c5761125c61219d565b6020026020010181815250505b6001016111e5565b50505092835250909150505b9392505050565b6009805461129190612115565b80601f01602080910402602001604051908101604052809291908181526020018280546112bd90612115565b801561130a5780601f106112df5761010080835404028352916020019161130a565b820191906000526020600020905b8154815290600101906020018083116112ed57829003601f168201915b505050505081565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610edb611a62565b611393848484610b7a565b6001600160a01b0383163b156113cc576113af84848484611a76565b6113cc576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6113e4666a94d74f430000600a612166565b3410156114225760405162461bcd60e51b815260206004820152600c60248201526b09cdee88adcdeeaced08aa8960a31b60448201526064016108f1565b610bb861142d610b62565b61143890600a612185565b106114775760405162461bcd60e51b815260206004820152600f60248201526e4578636565644d6178537570706c7960881b60448201526064016108f1565b61147f610ee0565b6114cb5760405162461bcd60e51b815260206004820152601660248201527f4d696e74696e67206973206e6f7420656e61626c65640000000000000000000060448201526064016108f1565b6109ae33600a6117c7565b60085461010090046001600160a01b031633146115355760405162461bcd60e51b815260206004820152601d60248201527f4f6e6c79206465706c6f7965722063616e20736574206d696e74696e6700000060448201526064016108f1565b6008805460ff19166001179055565b60085461010090046001600160a01b031633146115a35760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79206465706c6f7965722063616e20746f67676c65206d696e74696e6760448201526064016108f1565b6008805460ff1916911515919091179055565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600a5483108061161057506000548310155b1561161b5792915050565b611624836119e3565b90508060400151156116365792915050565b61127d8361192e565b606061164a8261178b565b61166757604051630a14c4b560e41b815260040160405180910390fd5b60006116716119d4565b9050805160001415611692576040518060200160405280600081525061127d565b8061169c84611b5f565b6040516020016116ad9291906121b3565b6040516020818303038152906040529392505050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c166107c9565b60085461010090046001600160a01b031633146117595760405162461bcd60e51b815260206004820152602360248201527f4f6e6c79206465706c6f7965722063616e20736574206d696e74696e6720626c6044820152626f636b60e81b60648201526084016108f1565b600b55565b6040805160808101825260008082526020820181905291810182905260608101919091526107c9826119e3565b600081611797600a5490565b111580156117a6575060005482105b80156107c9575050600090815260046020526040902054600160e01b161590565b600054816117e85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461189757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161185f565b50816118b557604051622e076360e81b815260040160405180910390fd5b60005550505050565b600081806118cb600a5490565b116119155760005481101561191557600081815260046020526040902054600160e01b8116611913575b8061127d5750600019016000818152600460205260409020546118f5565b505b604051636f96cda160e11b815260040160405180910390fd5b6040805160808101825260008082526020820181905291810182905260608101919091526107c961195e836118be565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815260046020526040902054610d96576119c2816118be565b60008281526004602052604090205550565b6060600980546107de90612115565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600460205260409020546107c990604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000611a6d600a5490565b60005403905090565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611aab9033908990889088906004016121e2565b6020604051808303816000875af1925050508015611ae6575060408051601f3d908101601f19168201909252611ae39181019061221e565b60015b611b41573d808015611b14576040519150601f19603f3d011682016040523d82523d6000602084013e611b19565b606091505b508051611b39576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611b9657611b9b565b611b79565b50819003601f19909101908152919050565b828054611bb990612115565b90600052602060002090601f016020900481019282611bdb5760008555611c21565b82601f10611bf457805160ff1916838001178555611c21565b82800160010185558215611c21579182015b82811115611c21578251825591602001919060010190611c06565b50611c2d929150611c31565b5090565b5b80821115611c2d5760008155600101611c32565b6001600160e01b031981168114610d9657600080fd5b600060208284031215611c6e57600080fd5b813561127d81611c46565b60005b83811015611c94578181015183820152602001611c7c565b838111156113cc5750506000910152565b60008151808452611cbd816020860160208601611c79565b601f01601f19169290920160200192915050565b60208152600061127d6020830184611ca5565b600060208284031215611cf657600080fd5b5035919050565b80356001600160a01b0381168114611d1457600080fd5b919050565b60008060408385031215611d2c57600080fd5b611d3583611cfd565b946020939093013593505050565b600080600060608486031215611d5857600080fd5b611d6184611cfd565b9250611d6f60208501611cfd565b9150604084013590509250925092565b81516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff1690820152608081016107c9565b60008060208385031215611dd757600080fd5b823567ffffffffffffffff80821115611def57600080fd5b818501915085601f830112611e0357600080fd5b813581811115611e1257600080fd5b8660208260051b8501011115611e2757600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b8181101561105557611ea38385516001600160a01b03815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b9284019260809290920191600101611e55565b600060208284031215611ec857600080fd5b61127d82611cfd565b6020808252825182820181905260009190848201906040850190845b8181101561105557835183529284019291840191600101611eed565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611f3a57611f3a611f09565b604051601f8501601f19908116603f01168101908282118183101715611f6257611f62611f09565b81604052809350858152868686011115611f7b57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611fa757600080fd5b813567ffffffffffffffff811115611fbe57600080fd5b8201601f81018413611fcf57600080fd5b611b5784823560208401611f1f565b600080600060608486031215611ff357600080fd5b611ffc84611cfd565b95602085013595506040909401359392505050565b80358015158114611d1457600080fd5b6000806040838503121561203457600080fd5b61203d83611cfd565b915061204b60208401612011565b90509250929050565b6000806000806080858703121561206a57600080fd5b61207385611cfd565b935061208160208601611cfd565b925060408501359150606085013567ffffffffffffffff8111156120a457600080fd5b8501601f810187136120b557600080fd5b6120c487823560208401611f1f565b91505092959194509250565b6000602082840312156120e257600080fd5b61127d82612011565b600080604083850312156120fe57600080fd5b61210783611cfd565b915061204b60208401611cfd565b600181811c9082168061212957607f821691505b6020821081141561214a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561218057612180612150565b500290565b6000821982111561219857612198612150565b500190565b634e487b7160e01b600052603260045260246000fd5b600083516121c5818460208801611c79565b8351908301906121d9818360208801611c79565b01949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526122146080830184611ca5565b9695505050505050565b60006020828403121561223057600080fd5b815161127d81611c4656fea2646970667358221220fb502a1cba2f3a53ce44033c3417b1f1feda41cbfa191440c91c05343ca99edc64736f6c634300080b0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000e50736575646f204b72616b656e73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000650534555444f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f6d657461646174612e70736575646f2e74726964656e742e67616d652f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009000000000000000000000000b6a914d07553d7db7a60e4eafb4d5935cadf58eb0000000000000000000000004ec48e744916517754285e70038be83d107a695c0000000000000000000000004e2f98c96e2d595a83afa35888c4af58ac343e4400000000000000000000000075d4bdbf6593ed463e9625694272a0ff9a6d346f0000000000000000000000002293014ca33b9d3db2bf2470c2f4ee3419f2c9c80000000000000000000000004541d1fb7796604920a1633b4b80d50d00d6295a000000000000000000000000817988c5de46c66895ef071346720a36a6aaf99f000000000000000000000000bf9d7541915ae295e09c70ea341ad5a25a76f4f9000000000000000000000000154fa7ed34ecd5a9327f861824e5f26ecf730600
Deployed Bytecode
0x6080604052600436106102c65760003560e01c806375794a3c11610179578063c0335ea9116100d6578063d5f394881161008a578063e6798baa11610064578063e6798baa146106fe578063e985e9c514610714578063f25236331461075d57600080fd5b8063d5f3948814610699578063dc33e681146106be578063dda52d53146106de57600080fd5b8063c2230283116100bb578063c223028314610639578063c23dc68f14610659578063c87b56dd1461067957600080fd5b8063c0335ea91461061c578063c035e7731461062457600080fd5b80639abc83201161012d578063a2309ff811610112578063a2309ff8146105d9578063b88d4fde146105ee578063c002d23d1461060157600080fd5b80639abc8320146105a4578063a22cb465146105b957600080fd5b8063931688cb1161015e578063931688cb1461054f57806395d89b411461056f57806399a2557a1461058457600080fd5b806375794a3c1461050d5780638462151c1461052257600080fd5b80633ccfd60b116102275780635bbb2177116101db5780636c0360eb116101c05780636c0360eb146104c35780636ffd0c97146104d857806370a08231146104ed57600080fd5b80635bbb2177146104765780636352211e146104a357600080fd5b80634f558e791161020c5780634f558e791461040957806352d8a4d11461042957806353b1233d1461045657600080fd5b80633ccfd60b146103e157806342842e0e146103f657600080fd5b80631249c58b1161027e5780631bc392ae116102635780631bc392ae146103a257806323b872dd146103b857806332cb6b0c146103cb57600080fd5b80631249c58b1461037757806318160ddd1461037f57600080fd5b8063081812fc116102af578063081812fc1461032257806309327fac1461035a578063095ea7b31461036457600080fd5b806301ffc9a7146102cb57806306fdde0314610300575b600080fd5b3480156102d757600080fd5b506102eb6102e6366004611c5c565b61077d565b60405190151581526020015b60405180910390f35b34801561030c57600080fd5b506103156107cf565b6040516102f79190611cd1565b34801561032e57600080fd5b5061034261033d366004611ce4565b610861565b6040516001600160a01b0390911681526020016102f7565b6103626108a5565b005b610362610372366004611d19565b6109b0565b610362610a68565b34801561038b57600080fd5b50610394610b62565b6040519081526020016102f7565b3480156103ae57600080fd5b50610394600b5481565b6103626103c6366004611d43565b610b7a565b3480156103d757600080fd5b50610394610bb881565b3480156103ed57600080fd5b50610362610d0b565b610362610404366004611d43565b610d99565b34801561041557600080fd5b506102eb610424366004611ce4565b610db9565b34801561043557600080fd5b50610449610444366004611ce4565b610dc4565b6040516102f79190611d7f565b34801561046257600080fd5b50610362610471366004611ce4565b610df1565b34801561048257600080fd5b50610496610491366004611dc4565b610dfa565b6040516102f79190611e39565b3480156104af57600080fd5b506103426104be366004611ce4565b610ec6565b3480156104cf57600080fd5b50610315610ed1565b3480156104e457600080fd5b506102eb610ee0565b3480156104f957600080fd5b50610394610508366004611eb6565b610f05565b34801561051957600080fd5b50600054610394565b34801561052e57600080fd5b5061054261053d366004611eb6565b610f54565b6040516102f79190611ed1565b34801561055b57600080fd5b5061036261056a366004611f95565b611061565b34801561057b57600080fd5b506103156110e1565b34801561059057600080fd5b5061054261059f366004611fde565b6110f0565b3480156105b057600080fd5b50610315611284565b3480156105c557600080fd5b506103626105d4366004612021565b611312565b3480156105e557600080fd5b5061039461137e565b6103626105fc366004612054565b611388565b34801561060d57600080fd5b50610394666a94d74f43000081565b6103626113d2565b34801561063057600080fd5b506103626114d6565b34801561064557600080fd5b506103626106543660046120d0565b611544565b34801561066557600080fd5b50610449610674366004611ce4565b6115b6565b34801561068557600080fd5b50610315610694366004611ce4565b61163f565b3480156106a557600080fd5b506008546103429061010090046001600160a01b031681565b3480156106ca57600080fd5b506103946106d9366004611eb6565b6116c3565b3480156106ea57600080fd5b506103626106f9366004611ce4565b6116ee565b34801561070a57600080fd5b50610394600a5481565b34801561072057600080fd5b506102eb61072f3660046120eb565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561076957600080fd5b50610449610778366004611ce4565b61175e565b60006301ffc9a760e01b6001600160e01b0319831614806107ae57506380ac58cd60e01b6001600160e01b03198316145b806107c95750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107de90612115565b80601f016020809104026020016040519081016040528092919081815260200182805461080a90612115565b80156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b5050505050905090565b600061086c8261178b565b610889576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6108b7666a94d74f4300006005612166565b3410156108fa5760405162461bcd60e51b815260206004820152600c60248201526b09cdee88adcdeeaced08aa8960a31b60448201526064015b60405180910390fd5b610bb8610905610b62565b610910906005612185565b1061094f5760405162461bcd60e51b815260206004820152600f60248201526e4578636565644d6178537570706c7960881b60448201526064016108f1565b610957610ee0565b6109a35760405162461bcd60e51b815260206004820152601660248201527f4d696e74696e67206973206e6f7420656e61626c65640000000000000000000060448201526064016108f1565b6109ae3360056117c7565b565b60006109bb82610ec6565b9050336001600160a01b038216146109f4576109d7813361072f565b6109f4576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b666a94d74f430000341015610aae5760405162461bcd60e51b815260206004820152600c60248201526b09cdee88adcdeeaced08aa8960a31b60448201526064016108f1565b610bb8610ab9610b62565b610ac4906001612185565b10610b035760405162461bcd60e51b815260206004820152600f60248201526e4578636565644d6178537570706c7960881b60448201526064016108f1565b610b0b610ee0565b610b575760405162461bcd60e51b815260206004820152601660248201527f4d696e74696e67206973206e6f7420656e61626c65640000000000000000000060448201526064016108f1565b6109ae3360016117c7565b6000610b6d600a5490565b6001546000540303905090565b6000610b85826118be565b9050836001600160a01b0316816001600160a01b031614610bb85760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610c0557610be8863361072f565b610c0557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610c2c57604051633a954ecd60e21b815260040160405180910390fd5b8015610c3757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610cc25760018401600081815260046020526040902054610cc0576000548114610cc05760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60085461010090046001600160a01b03163314610d6a5760405162461bcd60e51b815260206004820152600960248201527f4f6e6c794f776e6572000000000000000000000000000000000000000000000060448201526064016108f1565b60405133904780156108fc02916000818181858888f19350505050158015610d96573d6000803e3d6000fd5b50565b610db483838360405180602001604052806000815250611388565b505050565b60006107c98261178b565b6040805160808101825260008082526020820181905291810182905260608101919091526107c98261192e565b610d96816119a6565b60608160008167ffffffffffffffff811115610e1857610e18611f09565b604051908082528060200260200182016040528015610e6a57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610e365790505b50905060005b828114610ebd57610e98868683818110610e8c57610e8c61219d565b905060200201356115b6565b828281518110610eaa57610eaa61219d565b6020908102919091010152600101610e70565b50949350505050565b60006107c9826118be565b6060610edb6119d4565b905090565b60085460009060ff1680610edb5750600b544210158015610edb575050600b54151590565b60006001600160a01b038216610f2e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b60606000806000610f6485610f05565b905060008167ffffffffffffffff811115610f8157610f81611f09565b604051908082528060200260200182016040528015610faa578160200160208202803683370190505b50604080516080810182526000808252602082018190529181018290526060810191909152600a54919250905b83861461105557610fe7816119e3565b9150816040015115610ff85761104d565b81516001600160a01b03161561100d57815194505b876001600160a01b0316856001600160a01b0316141561104d57808387806001019850815181106110405761104061219d565b6020026020010181815250505b600101610fd7565b50909695505050505050565b60085461010090046001600160a01b031633146110ca5760405162461bcd60e51b815260206004820152602160248201527f4f6e6c79206465706c6f7965722063616e2075706461746520626173652055526044820152604960f81b60648201526084016108f1565b80516110dd906009906020840190611bad565b5050565b6060600380546107de90612115565b606081831061111257604051631960ccad60e11b815260040160405180910390fd5b60008061111e60005490565b9050611129600a5490565b85101561113657600a5494505b80841115611142578093505b600061114d87610f05565b90508486101561116c5785850381811015611166578091505b50611170565b5060005b60008167ffffffffffffffff81111561118b5761118b611f09565b6040519080825280602002602001820160405280156111b4578160200160208202803683370190505b509050816111c757935061127d92505050565b60006111d2886115b6565b9050600081604001516111e3575080515b885b8881141580156111f55750848714155b1561127157611203816119e3565b925082604001511561121457611269565b82516001600160a01b03161561122957825191505b8a6001600160a01b0316826001600160a01b03161415611269578084888060010199508151811061125c5761125c61219d565b6020026020010181815250505b6001016111e5565b50505092835250909150505b9392505050565b6009805461129190612115565b80601f01602080910402602001604051908101604052809291908181526020018280546112bd90612115565b801561130a5780601f106112df5761010080835404028352916020019161130a565b820191906000526020600020905b8154815290600101906020018083116112ed57829003601f168201915b505050505081565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610edb611a62565b611393848484610b7a565b6001600160a01b0383163b156113cc576113af84848484611a76565b6113cc576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6113e4666a94d74f430000600a612166565b3410156114225760405162461bcd60e51b815260206004820152600c60248201526b09cdee88adcdeeaced08aa8960a31b60448201526064016108f1565b610bb861142d610b62565b61143890600a612185565b106114775760405162461bcd60e51b815260206004820152600f60248201526e4578636565644d6178537570706c7960881b60448201526064016108f1565b61147f610ee0565b6114cb5760405162461bcd60e51b815260206004820152601660248201527f4d696e74696e67206973206e6f7420656e61626c65640000000000000000000060448201526064016108f1565b6109ae33600a6117c7565b60085461010090046001600160a01b031633146115355760405162461bcd60e51b815260206004820152601d60248201527f4f6e6c79206465706c6f7965722063616e20736574206d696e74696e6700000060448201526064016108f1565b6008805460ff19166001179055565b60085461010090046001600160a01b031633146115a35760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79206465706c6f7965722063616e20746f67676c65206d696e74696e6760448201526064016108f1565b6008805460ff1916911515919091179055565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600a5483108061161057506000548310155b1561161b5792915050565b611624836119e3565b90508060400151156116365792915050565b61127d8361192e565b606061164a8261178b565b61166757604051630a14c4b560e41b815260040160405180910390fd5b60006116716119d4565b9050805160001415611692576040518060200160405280600081525061127d565b8061169c84611b5f565b6040516020016116ad9291906121b3565b6040516020818303038152906040529392505050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c166107c9565b60085461010090046001600160a01b031633146117595760405162461bcd60e51b815260206004820152602360248201527f4f6e6c79206465706c6f7965722063616e20736574206d696e74696e6720626c6044820152626f636b60e81b60648201526084016108f1565b600b55565b6040805160808101825260008082526020820181905291810182905260608101919091526107c9826119e3565b600081611797600a5490565b111580156117a6575060005482105b80156107c9575050600090815260046020526040902054600160e01b161590565b600054816117e85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461189757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161185f565b50816118b557604051622e076360e81b815260040160405180910390fd5b60005550505050565b600081806118cb600a5490565b116119155760005481101561191557600081815260046020526040902054600160e01b8116611913575b8061127d5750600019016000818152600460205260409020546118f5565b505b604051636f96cda160e11b815260040160405180910390fd5b6040805160808101825260008082526020820181905291810182905260608101919091526107c961195e836118be565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815260046020526040902054610d96576119c2816118be565b60008281526004602052604090205550565b6060600980546107de90612115565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600460205260409020546107c990604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000611a6d600a5490565b60005403905090565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611aab9033908990889088906004016121e2565b6020604051808303816000875af1925050508015611ae6575060408051601f3d908101601f19168201909252611ae39181019061221e565b60015b611b41573d808015611b14576040519150601f19603f3d011682016040523d82523d6000602084013e611b19565b606091505b508051611b39576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611b9657611b9b565b611b79565b50819003601f19909101908152919050565b828054611bb990612115565b90600052602060002090601f016020900481019282611bdb5760008555611c21565b82601f10611bf457805160ff1916838001178555611c21565b82800160010185558215611c21579182015b82811115611c21578251825591602001919060010190611c06565b50611c2d929150611c31565b5090565b5b80821115611c2d5760008155600101611c32565b6001600160e01b031981168114610d9657600080fd5b600060208284031215611c6e57600080fd5b813561127d81611c46565b60005b83811015611c94578181015183820152602001611c7c565b838111156113cc5750506000910152565b60008151808452611cbd816020860160208601611c79565b601f01601f19169290920160200192915050565b60208152600061127d6020830184611ca5565b600060208284031215611cf657600080fd5b5035919050565b80356001600160a01b0381168114611d1457600080fd5b919050565b60008060408385031215611d2c57600080fd5b611d3583611cfd565b946020939093013593505050565b600080600060608486031215611d5857600080fd5b611d6184611cfd565b9250611d6f60208501611cfd565b9150604084013590509250925092565b81516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff1690820152608081016107c9565b60008060208385031215611dd757600080fd5b823567ffffffffffffffff80821115611def57600080fd5b818501915085601f830112611e0357600080fd5b813581811115611e1257600080fd5b8660208260051b8501011115611e2757600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b8181101561105557611ea38385516001600160a01b03815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b9284019260809290920191600101611e55565b600060208284031215611ec857600080fd5b61127d82611cfd565b6020808252825182820181905260009190848201906040850190845b8181101561105557835183529284019291840191600101611eed565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611f3a57611f3a611f09565b604051601f8501601f19908116603f01168101908282118183101715611f6257611f62611f09565b81604052809350858152868686011115611f7b57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611fa757600080fd5b813567ffffffffffffffff811115611fbe57600080fd5b8201601f81018413611fcf57600080fd5b611b5784823560208401611f1f565b600080600060608486031215611ff357600080fd5b611ffc84611cfd565b95602085013595506040909401359392505050565b80358015158114611d1457600080fd5b6000806040838503121561203457600080fd5b61203d83611cfd565b915061204b60208401612011565b90509250929050565b6000806000806080858703121561206a57600080fd5b61207385611cfd565b935061208160208601611cfd565b925060408501359150606085013567ffffffffffffffff8111156120a457600080fd5b8501601f810187136120b557600080fd5b6120c487823560208401611f1f565b91505092959194509250565b6000602082840312156120e257600080fd5b61127d82612011565b600080604083850312156120fe57600080fd5b61210783611cfd565b915061204b60208401611cfd565b600181811c9082168061212957607f821691505b6020821081141561214a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561218057612180612150565b500290565b6000821982111561219857612198612150565b500190565b634e487b7160e01b600052603260045260246000fd5b600083516121c5818460208801611c79565b8351908301906121d9818360208801611c79565b01949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526122146080830184611ca5565b9695505050505050565b60006020828403121561223057600080fd5b815161127d81611c4656fea2646970667358221220fb502a1cba2f3a53ce44033c3417b1f1feda41cbfa191440c91c05343ca99edc64736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000e50736575646f204b72616b656e73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000650534555444f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f6d657461646174612e70736575646f2e74726964656e742e67616d652f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009000000000000000000000000b6a914d07553d7db7a60e4eafb4d5935cadf58eb0000000000000000000000004ec48e744916517754285e70038be83d107a695c0000000000000000000000004e2f98c96e2d595a83afa35888c4af58ac343e4400000000000000000000000075d4bdbf6593ed463e9625694272a0ff9a6d346f0000000000000000000000002293014ca33b9d3db2bf2470c2f4ee3419f2c9c80000000000000000000000004541d1fb7796604920a1633b4b80d50d00d6295a000000000000000000000000817988c5de46c66895ef071346720a36a6aaf99f000000000000000000000000bf9d7541915ae295e09c70ea341ad5a25a76f4f9000000000000000000000000154fa7ed34ecd5a9327f861824e5f26ecf730600
-----Decoded View---------------
Arg [0] : name_ (string): Pseudo Krakens
Arg [1] : symbol_ (string): PSEUDO
Arg [2] : _baseUri (string): https://metadata.pseudo.trident.game/
Arg [3] : initAddresses (address[]): 0xb6A914d07553D7Db7a60e4eAFB4d5935cAdF58eb,0x4ec48E744916517754285e70038BE83d107a695c,0x4e2f98c96e2d595a83AFa35888C4af58Ac343E44,0x75d4bdBf6593ed463e9625694272a0FF9a6D346F,0x2293014cA33B9D3dB2Bf2470c2f4Ee3419f2c9C8,0x4541d1FB7796604920A1633b4b80d50D00D6295A,0x817988c5De46c66895eF071346720a36A6AAF99F,0xBF9d7541915Ae295e09C70ea341ad5A25a76f4f9,0x154fa7ed34EcD5a9327f861824e5f26EcF730600
-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [5] : 50736575646f204b72616b656e73000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 50534555444f0000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [9] : 68747470733a2f2f6d657461646174612e70736575646f2e74726964656e742e
Arg [10] : 67616d652f000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [12] : 000000000000000000000000b6a914d07553d7db7a60e4eafb4d5935cadf58eb
Arg [13] : 0000000000000000000000004ec48e744916517754285e70038be83d107a695c
Arg [14] : 0000000000000000000000004e2f98c96e2d595a83afa35888c4af58ac343e44
Arg [15] : 00000000000000000000000075d4bdbf6593ed463e9625694272a0ff9a6d346f
Arg [16] : 0000000000000000000000002293014ca33b9d3db2bf2470c2f4ee3419f2c9c8
Arg [17] : 0000000000000000000000004541d1fb7796604920a1633b4b80d50d00d6295a
Arg [18] : 000000000000000000000000817988c5de46c66895ef071346720a36a6aaf99f
Arg [19] : 000000000000000000000000bf9d7541915ae295e09c70ea341ad5a25a76f4f9
Arg [20] : 000000000000000000000000154fa7ed34ecd5a9327f861824e5f26ecf730600
Deployed Bytecode Sourcemap
98:3888:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9155:630:0;;;;;;;;;;-1:-1:-1;9155:630:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:5;;558:22;540:41;;528:2;513:18;9155:630:0;;;;;;;;10039:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:55:5;;;1674:74;;1662:2;1647:18;16360:214:0;1528:226:5;3289:265:4;;;:::i;:::-;;15812:398:0;;;;;;:::i;:::-;;:::i;3026:257:4:-;;;:::i;5894:317:0:-;;;;;;;;;;;;;:::i;:::-;;;2365:25:5;;;2353:2;2338:18;5894:317:0;2219:177:5;368:28:4;;;;;;;;;;;;;;;;19903:2764:0;;;;;;:::i;:::-;;:::i;235:41:4:-;;;;;;;;;;;;272:4;235:41;;3833:151;;;;;;;;;;;;;:::i;22758:187:0:-;;;;;;:::i;:::-;;:::i;2551:100:4:-;;;;;;;;;;-1:-1:-1;2551:100:4;;;;;:::i;:::-;;:::i;2789:126::-;;;;;;;;;;-1:-1:-1;2789:126:4;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2921:99::-;;;;;;;;;;-1:-1:-1;2921:99:4;;;;;:::i;:::-;;:::i;1640:513:1:-;;;;;;;;;;-1:-1:-1;1640:513:1;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;11391:150:0:-;;;;;;;;;;-1:-1:-1;11391:150:0;;;;;:::i;:::-;;:::i;2145:89:4:-;;;;;;;;;;;;;:::i;1100:148::-;;;;;;;;;;;;;:::i;7045:230:0:-;;;;;;;;;;-1:-1:-1;7045:230:0;;;;;:::i;:::-;;:::i;2240:91:4:-;;;;;;;;;;-1:-1:-1;2284:7:4;5671:13:0;2240:91:4;2145:89;5416:879:1;;;;;;;;;;-1:-1:-1;5416:879:1;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1362:169:4:-;;;;;;;;;;-1:-1:-1;1362:169:4;;;;;:::i;:::-;;:::i;10208:102:0:-;;;;;;;;;;;;;:::i;2527:2454:1:-;;;;;;;;;;-1:-1:-1;2527:2454:1;;;;;:::i;:::-;;:::i;208:21:4:-;;;;;;;;;;;;;:::i;16901:231:0:-;;;;;;;;;;-1:-1:-1;16901:231:0;;;;;:::i;:::-;;:::i;2337:91:4:-;;;;;;;;;;;;;:::i;23526:396:0:-;;;;;;:::i;:::-;;:::i;282:47:4:-;;;;;;;;;;;;319:10;282:47;;3560:267;;;:::i;1706:144::-;;;;;;;;;;;;;:::i;1537:163::-;;;;;;;;;;-1:-1:-1;1537:163:4;;;;;:::i;:::-;;:::i;1069:418:1:-;;;;;;;;;;-1:-1:-1;1069:418:1;;;;;:::i;:::-;;:::i;10411:313:0:-;;;;;;;;;;-1:-1:-1;10411:313:0;;;;;:::i;:::-;;:::i;179:23:4:-;;;;;;;;;;-1:-1:-1;179:23:4;;;;;;;-1:-1:-1;;;;;179:23:4;;;2434:111;;;;;;;;;;-1:-1:-1;2434:111:4;;;;;:::i;:::-;;:::i;1856:171::-;;;;;;;;;;-1:-1:-1;1856:171:4;;;;;:::i;:::-;;:::i;335:27::-;;;;;;;;;;;;;;;;17282:162:0;;;;;;;;;;-1:-1:-1;17282:162:0;;;;;:::i;:::-;-1:-1:-1;;;;;17402:25:0;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162;2657:126:4;;;;;;;;;;-1:-1:-1;2657:126:4;;;;;:::i;:::-;;:::i;9155:630:0:-;9240:4;-1:-1:-1;;;;;;;;;9558:25:0;;;;:101;;-1:-1:-1;;;;;;;;;;9634:25:0;;;9558:101;:177;;;-1:-1:-1;;;;;;;;;;9710:25:0;;;9558:177;9539:196;9155:630;-1:-1:-1;;9155:630:0:o;10039:98::-;10093:13;10125:5;10118:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10039:98;:::o;16360:214::-;16436:7;16460:16;16468:7;16460;:16::i;:::-;16455:64;;16485:34;;-1:-1:-1;;;16485:34:0;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:0;;16360:214::o;3289:265:4:-;3357:14;319:10;3370:1;3357:14;:::i;:::-;3344:9;:27;;3336:52;;;;-1:-1:-1;;;3336:52:4;;9551:2:5;3336:52:4;;;9533:21:5;9590:2;9570:18;;;9563:30;-1:-1:-1;;;9609:18:5;;;9602:42;9661:18;;3336:52:4;;;;;;;;;272:4;3406:13;:11;:13::i;:::-;:17;;3422:1;3406:17;:::i;:::-;:30;3398:58;;;;-1:-1:-1;;;3398:58:4;;10025:2:5;3398:58:4;;;10007:21:5;10064:2;10044:18;;;10037:30;-1:-1:-1;;;10083:18:5;;;10076:45;10138:18;;3398:58:4;9823:339:5;3398:58:4;3474:16;:14;:16::i;:::-;3466:51;;;;-1:-1:-1;;;3466:51:4;;10369:2:5;3466:51:4;;;10351:21:5;10408:2;10388:18;;;10381:30;10447:24;10427:18;;;10420:52;10489:18;;3466:51:4;10167:346:5;3466:51:4;3527:20;3533:10;3545:1;3527:5;:20::i;:::-;3289:265::o;15812:398:0:-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;39523:10:0;-1:-1:-1;;;;;15947:28:0;;;15943:172;;15994:44;16011:5;39523:10;17282:162;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:0;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;;;-1:-1:-1;;;;;16125:35:0;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;3026:257:4:-;319:10;3077:9;:23;;3069:48;;;;-1:-1:-1;;;3069:48:4;;9551:2:5;3069:48:4;;;9533:21:5;9590:2;9570:18;;;9563:30;-1:-1:-1;;;9609:18:5;;;9602:42;9661:18;;3069:48:4;9349:336:5;3069:48:4;272:4;3135:13;:11;:13::i;:::-;:17;;3151:1;3135:17;:::i;:::-;:30;3127:58;;;;-1:-1:-1;;;3127:58:4;;10025:2:5;3127:58:4;;;10007:21:5;10064:2;10044:18;;;10037:30;-1:-1:-1;;;10083:18:5;;;10076:45;10138:18;;3127:58:4;9823:339:5;3127:58:4;3203:16;:14;:16::i;:::-;3195:51;;;;-1:-1:-1;;;3195:51:4;;10369:2:5;3195:51:4;;;10351:21:5;10408:2;10388:18;;;10381:30;10447:24;10427:18;;;10420:52;10489:18;;3195:51:4;10167:346:5;3195:51:4;3256:20;3262:10;3274:1;3256:5;:20::i;5894:317:0:-;5955:7;6179:15;1337:12:4;;;1254:102;6179:15:0;6164:12;;6148:13;;:28;:46;6141:53;;5894:317;:::o;19903:2764::-;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:0;20128:19;-1:-1:-1;;;;;20112:45:0;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:0;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;39523:10;18673:30;;;-1:-1:-1;;;;;18370:28:0;;18651:20;;;18648:56;20389:179;;20481:43;20498:4;39523:10;17282:162;:::i;20481:43::-;20476:92;;20533:35;;-1:-1:-1;;;20533:35:0;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:0;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:0;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:0;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:0;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:0;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:0;21654:26;;;;:17;:26;;;;;:172;-1:-1:-1;;;21943:47:0;;21939:617;;22047:1;22037:11;;22015:19;22168:30;;;:17;:30;;;;;;22164:378;;22304:13;;22289:11;:28;22285:239;;22449:30;;;;:17;:30;;;;;:52;;;22285:239;21997:559;21939:617;22600:7;22596:2;-1:-1:-1;;;;;22581:27:0;22590:4;-1:-1:-1;;;;;22581:27:0;;;;;;;;;;;20030:2637;;;19903:2764;;;:::o;3833:151:4:-;3894:8;;;;;-1:-1:-1;;;;;3894:8:4;3880:10;:22;3872:44;;;;-1:-1:-1;;;3872:44:4;;10720:2:5;3872:44:4;;;10702:21:5;10759:1;10739:18;;;10732:29;10797:11;10777:18;;;10770:39;10826:18;;3872:44:4;10518:332:5;3872:44:4;3926:51;;3934:10;;3955:21;3926:51;;;;;;;;;3955:21;3934:10;3926:51;;;;;;;;;;;;;;;;;;;;;3833:151::o;22758:187:0:-;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;:::-;22758:187;;;:::o;2551:100:4:-;2605:4;2628:16;2636:7;2628;:16::i;2789:126::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2889:19:4;2902:5;2889:12;:19::i;2921:99::-;2984:29;3007:5;2984:22;:29::i;1640:513:1:-;1779:23;1867:8;1842:22;1867:8;1933:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1933:36:1;;-1:-1:-1;;1933:36:1;;;;;;;;;;;;1896:73;;1988:9;1983:123;2004:14;1999:1;:19;1983:123;;2059:32;2079:8;;2088:1;2079:11;;;;;;;:::i;:::-;;;;;;;2059:19;:32::i;:::-;2043:10;2054:1;2043:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;2020:3;;1983:123;;;-1:-1:-1;2126:10:1;1640:513;-1:-1:-1;;;;1640:513:1:o;11391:150:0:-;11463:7;11505:27;11524:7;11505:18;:27::i;2145:89:4:-;2185:13;2217:10;:8;:10::i;:::-;2210:17;;2145:89;:::o;1100:148::-;1170:11;;1147:4;;1170:11;;;:71;;;1205:13;;1186:15;:32;;:54;;;;-1:-1:-1;;1222:13:4;;:18;;;1100:148::o;7045:230:0:-;7117:7;-1:-1:-1;;;;;7140:19:0;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:0;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:0;;;;;:18;:25;;;;;;1360:13;7213:55;;7045:230::o;5416:879:1:-;5494:16;5546:19;5579:25;5618:22;5643:16;5653:5;5643:9;:16::i;:::-;5618:41;;5673:25;5715:14;5701:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5701:29:1;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1337:12:4;;5673:57:1;;-1:-1:-1;;5789:461:1;5838:14;5823:11;:29;5789:461;;5889:15;5902:1;5889:12;:15::i;:::-;5877:27;;5926:9;:16;;;5922:71;;;5966:8;;5922:71;6014:14;;-1:-1:-1;;;;;6014:28:1;;6010:109;;6086:14;;;-1:-1:-1;6010:109:1;6161:5;-1:-1:-1;;;;;6140:26:1;:17;-1:-1:-1;;;;;6140:26:1;;6136:100;;;6216:1;6190:8;6199:13;;;;;;6190:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;6136:100;5854:3;;5789:461;;;-1:-1:-1;6270:8:1;;5416:879;-1:-1:-1;;;;;;5416:879:1:o;1362:169:4:-;1450:8;;;;;-1:-1:-1;;;;;1450:8:4;1436:10;:22;1428:68;;;;-1:-1:-1;;;1428:68:4;;11189:2:5;1428:68:4;;;11171:21:5;11228:2;11208:18;;;11201:30;11267:34;11247:18;;;11240:62;-1:-1:-1;;;11318:18:5;;;11311:31;11359:19;;1428:68:4;10987:397:5;1428:68:4;1506:18;;;;:7;;:18;;;;;:::i;:::-;;1362:169;:::o;10208:102:0:-;10264:13;10296:7;10289:14;;;;;:::i;2527:2454:1:-;2666:16;2731:4;2722:5;:13;2718:45;;2744:19;;-1:-1:-1;;;2744:19:1;;;;;;;;;;;2718:45;2777:19;2810:17;2830:14;5645:7:0;5671:13;;5590:101;2830:14:1;2810:34;;2928:15;1337:12:4;;;1254:102;2928:15:1;2920:5;:23;2916:85;;;1337:12:4;;2963:23:1;;2916:85;3075:9;3068:4;:16;3064:71;;;3111:9;3104:16;;3064:71;3148:25;3176:16;3186:5;3176:9;:16::i;:::-;3148:44;;3367:4;3359:5;:12;3355:271;;;3413:12;;;3447:31;;;3443:109;;;3522:11;3502:31;;3443:109;3373:193;3355:271;;;-1:-1:-1;3610:1:1;3355:271;3639:25;3681:17;3667:32;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3667:32:1;-1:-1:-1;3639:60:1;-1:-1:-1;3717:22:1;3713:76;;3766:8;-1:-1:-1;3759:15:1;;-1:-1:-1;;;3759:15:1;3713:76;3930:31;3964:26;3984:5;3964:19;:26::i;:::-;3930:60;;4004:25;4246:9;:16;;;4241:90;;-1:-1:-1;4302:14:1;;4241:90;4361:5;4344:467;4373:4;4368:1;:9;;:45;;;;;4396:17;4381:11;:32;;4368:45;4344:467;;;4450:15;4463:1;4450:12;:15::i;:::-;4438:27;;4487:9;:16;;;4483:71;;;4527:8;;4483:71;4575:14;;-1:-1:-1;;;;;4575:28:1;;4571:109;;4647:14;;;-1:-1:-1;4571:109:1;4722:5;-1:-1:-1;;;;;4701:26:1;:17;-1:-1:-1;;;;;4701:26:1;;4697:100;;;4777:1;4751:8;4760:13;;;;;;4751:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;4697:100;4415:3;;4344:467;;;-1:-1:-1;;;4893:29:1;;;-1:-1:-1;4900:8:1;;-1:-1:-1;;2527:2454:1;;;;;;:::o;208:21:4:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16901:231:0:-;39523:10;16995:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:0;;;;;;;;;;17070:55;;540:41:5;;;16995:49:0;;39523:10;17070:55;;513:18:5;17070:55:0;;;;;;;16901:231;;:::o;2337:91:4:-;2381:7;2407:14;:12;:14::i;23526:396:0:-;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:0;;;:19;23736:180;;23778:56;23809:4;23815:2;23819:7;23828:5;23778:30;:56::i;:::-;23773:143;;23861:40;;-1:-1:-1;;;23861:40:0;;;;;;;;;;;23773:143;23526:396;;;;:::o;3560:267:4:-;3627:15;319:10;3640:2;3627:15;:::i;:::-;3614:9;:28;;3606:53;;;;-1:-1:-1;;;3606:53:4;;9551:2:5;3606:53:4;;;9533:21:5;9590:2;9570:18;;;9563:30;-1:-1:-1;;;9609:18:5;;;9602:42;9661:18;;3606:53:4;9349:336:5;3606:53:4;272:4;3677:13;:11;:13::i;:::-;:18;;3693:2;3677:18;:::i;:::-;:31;3669:59;;;;-1:-1:-1;;;3669:59:4;;10025:2:5;3669:59:4;;;10007:21:5;10064:2;10044:18;;;10037:30;-1:-1:-1;;;10083:18:5;;;10076:45;10138:18;;3669:59:4;9823:339:5;3669:59:4;3746:16;:14;:16::i;:::-;3738:51;;;;-1:-1:-1;;;3738:51:4;;10369:2:5;3738:51:4;;;10351:21:5;10408:2;10388:18;;;10381:30;10447:24;10427:18;;;10420:52;10489:18;;3738:51:4;10167:346:5;3738:51:4;3799:21;3805:10;3817:2;3799:5;:21::i;1706:144::-;1773:8;;;;;-1:-1:-1;;;;;1773:8:4;1759:10;:22;1751:64;;;;-1:-1:-1;;;1751:64:4;;11591:2:5;1751:64:4;;;11573:21:5;11630:2;11610:18;;;11603:30;11669:31;11649:18;;;11642:59;11718:18;;1751:64:4;11389:353:5;1751:64:4;1825:11;:18;;-1:-1:-1;;1825:18:4;1839:4;1825:18;;;1706:144::o;1537:163::-;1618:8;;;;;-1:-1:-1;;;;;1618:8:4;1604:10;:22;1596:67;;;;-1:-1:-1;;;1596:67:4;;11949:2:5;1596:67:4;;;11931:21:5;;;11968:18;;;11961:30;12027:34;12007:18;;;12000:62;12079:18;;1596:67:4;11747:356:5;1596:67:4;1673:11;:20;;-1:-1:-1;;1673:20:4;;;;;;;;;;1537:163::o;1069:418:1:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1337:12:4;;1231:7:1;:25;:54;;;-1:-1:-1;5645:7:0;5671:13;1260:7:1;:25;;1231:54;1227:101;;;1308:9;1069:418;-1:-1:-1;;1069:418:1:o;1227:101::-;1349:21;1362:7;1349:12;:21::i;:::-;1337:33;;1384:9;:16;;;1380:63;;;1423:9;1069:418;-1:-1:-1;;1069:418:1:o;1380:63::-;1459:21;1472:7;1459:12;:21::i;10411:313:0:-;10484:13;10514:16;10522:7;10514;:16::i;:::-;10509:59;;10539:29;;-1:-1:-1;;;10539:29:0;;;;;;;;;;;10509:59;10579:21;10603:10;:8;:10::i;:::-;10579:34;;10636:7;10630:21;10655:1;10630:26;;:87;;;;;;;;;;;;;;;;;10683:7;10692:18;10702:7;10692:9;:18::i;:::-;10666:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;10623:94;10411:313;-1:-1:-1;;;10411:313:0:o;2434:111:4:-;-1:-1:-1;;;;;7440:25:0;;2492:7:4;7440:25:0;;;:18;:25;;1495:2;7440:25;;;;1360:13;7440:50;;7439:82;2518:20:4;7352:176:0;1856:171:4;1937:8;;;;;-1:-1:-1;;;;;1937:8:4;1923:10;:22;1915:70;;;;-1:-1:-1;;;1915:70:4;;12785:2:5;1915:70:4;;;12767:21:5;12824:2;12804:18;;;12797:30;12863:34;12843:18;;;12836:62;-1:-1:-1;;;12914:18:5;;;12907:33;12957:19;;1915:70:4;12583:399:5;1915:70:4;1995:13;:25;1856:171::o;2657:126::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2757:19:4;2770:5;2757:12;:19::i;17693:277:0:-;17758:4;17812:7;17793:15;1337:12:4;;;1254:102;17793:15:0;:26;;:65;;;;;17845:13;;17835:7;:23;17793:65;:151;;;;-1:-1:-1;;17895:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:0;:49;;17693:277::o;27091:2902::-;27163:20;27186:13;27213;27209:44;;27235:18;;-1:-1:-1;;;27235:18:0;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:0;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:0;;15097:24;15093:46;14703:11;14678:23;14674:41;14671:52;14661:63;;28035:170;;28264:23;;;;28035:31;;27728:22;;29016:25;27728:22;;28872:328;29520:1;29506:12;29502:20;29461:339;29560:3;29551:7;29548:16;29461:339;;29774:7;29764:8;29761:1;29734:25;29731:1;29728;29723:59;29612:1;29599:15;29461:339;;;-1:-1:-1;29831:13:0;29827:45;;29853:19;;-1:-1:-1;;;29853:19:0;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;22758:187:0;;;:::o;12515:1249::-;12582:7;12616;;12662:15;1337:12:4;;;1254:102;12662:15:0;:23;12658:1042;;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;-1:-1:-1;;;12855:24:0;;12851:831;;13510:111;13517:11;13510:111;;-1:-1:-1;;;13587:6:0;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:0;;;;;;;;;;;11724:164;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11834:47:0;11853:27;11872:7;11853:18;:27::i;:::-;-1:-1:-1;;;;;;;;;;;;;13967:41:0;;;;2004:3;14052:33;;;14018:68;;-1:-1:-1;;;14018:68:0;-1:-1:-1;;;14115:24:0;;:29;;-1:-1:-1;;;14096:48:0;;;;2513:3;14183:28;;;;-1:-1:-1;;;14154:58:0;-1:-1:-1;13858:361:0;12246:192;12324:24;;;;:17;:24;;;;;;12320:112;;12396:25;12415:5;12396:18;:25::i;:::-;12369:24;;;;:17;:24;;;;;:52;12246:192;:::o;2033:106:4:-;2093:13;2125:7;2118:14;;;;;:::i;11979:159:0:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12106:24:0;;;;:17;:24;;;;;;12087:44;;-1:-1:-1;;;;;;;;;;;;;13967:41:0;;;;2004:3;14052:33;;;14018:68;;-1:-1:-1;;;14018:68:0;-1:-1:-1;;;14115:24:0;;:29;;-1:-1:-1;;;14096:48:0;;;;2513:3;14183:28;;;;-1:-1:-1;;;14154:58:0;-1:-1:-1;13858:361:0;6304:290;6359:7;6562:15;1337:12:4;;;1254:102;6562:15:0;6546:13;;:31;6539:38;;6304:290;:::o;25948:697::-;26126:88;;-1:-1:-1;;;26126:88:0;;26106:4;;-1:-1:-1;;;;;26126:45:0;;;;;:88;;39523:10;;26193:4;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:0;;;;;;;;-1:-1:-1;;26126:88:0;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26404:13:0;;26400:229;;26449:40;;-1:-1:-1;;;26449:40:0;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:0;-1:-1:-1;;;26282:64:0;;-1:-1:-1;26122:517:0;25948:697;;;;;;:::o;39637:1708::-;39702:17;40130:4;40123;40117:11;40113:22;40220:1;40214:4;40207:15;40293:4;40290:1;40286:12;40279:19;;;40373:1;40368:3;40361:14;40474:3;40708:5;40690:419;40755:1;40750:3;40746:11;40739:18;;40923:2;40917:4;40913:13;40909:2;40905:22;40900:3;40892:36;41015:2;41005:13;;;41070:25;;41088:5;;41070:25;40690:419;;;-1:-1:-1;41137:13:0;;;-1:-1:-1;;41250:14:0;;;41310:19;;;41250:14;39637:1708;-1:-1:-1;39637:1708:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:5;-1:-1:-1;;;;;;88:32:5;;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:5;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:5;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:5: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:5;;1343:180;-1:-1:-1;1343:180:5:o;1759:196::-;1827:20;;-1:-1:-1;;;;;1876:54:5;;1866:65;;1856:93;;1945:1;1942;1935:12;1856:93;1759:196;;;:::o;1960:254::-;2028:6;2036;2089:2;2077:9;2068:7;2064:23;2060:32;2057:52;;;2105:1;2102;2095:12;2057:52;2128:29;2147:9;2128:29;:::i;:::-;2118:39;2204:2;2189:18;;;;2176:32;;-1:-1:-1;;;1960:254:5:o;2401:328::-;2478:6;2486;2494;2547:2;2535:9;2526:7;2522:23;2518:32;2515:52;;;2563:1;2560;2553:12;2515:52;2586:29;2605:9;2586:29;:::i;:::-;2576:39;;2634:38;2668:2;2657:9;2653:18;2634:38;:::i;:::-;2624:48;;2719:2;2708:9;2704:18;2691:32;2681:42;;2401:328;;;;;:::o;3111:268::-;2818:12;;-1:-1:-1;;;;;2814:61:5;2802:74;;2929:4;2918:16;;;2912:23;2937:18;2908:48;2892:14;;;2885:72;3020:4;3009:16;;;3003:23;2996:31;2989:39;2973:14;;;2966:63;3082:4;3071:16;;;3065:23;3090:8;3061:38;3045:14;;;3038:62;3309:3;3294:19;;3322:51;2734:372;3384:615;3470:6;3478;3531:2;3519:9;3510:7;3506:23;3502:32;3499:52;;;3547:1;3544;3537:12;3499:52;3587:9;3574:23;3616:18;3657:2;3649:6;3646:14;3643:34;;;3673:1;3670;3663:12;3643:34;3711:6;3700:9;3696:22;3686:32;;3756:7;3749:4;3745:2;3741:13;3737:27;3727:55;;3778:1;3775;3768:12;3727:55;3818:2;3805:16;3844:2;3836:6;3833:14;3830:34;;;3860:1;3857;3850:12;3830:34;3913:7;3908:2;3898:6;3895:1;3891:14;3887:2;3883:23;3879:32;3876:45;3873:65;;;3934:1;3931;3924:12;3873:65;3965:2;3957:11;;;;;3987:6;;-1:-1:-1;3384:615:5;;-1:-1:-1;;;;3384:615:5:o;4004:724::-;4239:2;4291:21;;;4361:13;;4264:18;;;4383:22;;;4210:4;;4239:2;4462:15;;;;4436:2;4421:18;;;4210:4;4505:197;4519:6;4516:1;4513:13;4505:197;;;4568:52;4616:3;4607:6;4601:13;-1:-1:-1;;;;;2824:5:5;2818:12;2814:61;2809:3;2802:74;2937:18;2929:4;2922:5;2918:16;2912:23;2908:48;2901:4;2896:3;2892:14;2885:72;3020:4;3013:5;3009:16;3003:23;2996:31;2989:39;2982:4;2977:3;2973:14;2966:63;3090:8;3082:4;3075:5;3071:16;3065:23;3061:38;3054:4;3049:3;3045:14;3038:62;;;2734:372;4568:52;4677:15;;;;4649:4;4640:14;;;;;4541:1;4534:9;4505:197;;4733:186;4792:6;4845:2;4833:9;4824:7;4820:23;4816:32;4813:52;;;4861:1;4858;4851:12;4813:52;4884:29;4903:9;4884:29;:::i;4924:632::-;5095:2;5147:21;;;5217:13;;5120:18;;;5239:22;;;5066:4;;5095:2;5318:15;;;;5292:2;5277:18;;;5066:4;5361:169;5375:6;5372:1;5369:13;5361:169;;;5436:13;;5424:26;;5505:15;;;;5470:12;;;;5397:1;5390:9;5361:169;;5561:127;5622:10;5617:3;5613:20;5610:1;5603:31;5653:4;5650:1;5643:15;5677:4;5674:1;5667:15;5693:632;5758:5;5788:18;5829:2;5821:6;5818:14;5815:40;;;5835:18;;:::i;:::-;5910:2;5904:9;5878:2;5964:15;;-1:-1:-1;;5960:24:5;;;5986:2;5956:33;5952:42;5940:55;;;6010:18;;;6030:22;;;6007:46;6004:72;;;6056:18;;:::i;:::-;6096:10;6092:2;6085:22;6125:6;6116:15;;6155:6;6147;6140:22;6195:3;6186:6;6181:3;6177:16;6174:25;6171:45;;;6212:1;6209;6202:12;6171:45;6262:6;6257:3;6250:4;6242:6;6238:17;6225:44;6317:1;6310:4;6301:6;6293;6289:19;6285:30;6278:41;;;;5693:632;;;;;:::o;6330:451::-;6399:6;6452:2;6440:9;6431:7;6427:23;6423:32;6420:52;;;6468:1;6465;6458:12;6420:52;6508:9;6495:23;6541:18;6533:6;6530:30;6527:50;;;6573:1;6570;6563:12;6527:50;6596:22;;6649:4;6641:13;;6637:27;-1:-1:-1;6627:55:5;;6678:1;6675;6668:12;6627:55;6701:74;6767:7;6762:2;6749:16;6744:2;6740;6736:11;6701:74;:::i;6786:322::-;6863:6;6871;6879;6932:2;6920:9;6911:7;6907:23;6903:32;6900:52;;;6948:1;6945;6938:12;6900:52;6971:29;6990:9;6971:29;:::i;:::-;6961:39;7047:2;7032:18;;7019:32;;-1:-1:-1;7098:2:5;7083:18;;;7070:32;;6786:322;-1:-1:-1;;;6786:322:5:o;7113:160::-;7178:20;;7234:13;;7227:21;7217:32;;7207:60;;7263:1;7260;7253:12;7278:254;7343:6;7351;7404:2;7392:9;7383:7;7379:23;7375:32;7372:52;;;7420:1;7417;7410:12;7372:52;7443:29;7462:9;7443:29;:::i;:::-;7433:39;;7491:35;7522:2;7511:9;7507:18;7491:35;:::i;:::-;7481:45;;7278:254;;;;;:::o;7537:667::-;7632:6;7640;7648;7656;7709:3;7697:9;7688:7;7684:23;7680:33;7677:53;;;7726:1;7723;7716:12;7677:53;7749:29;7768:9;7749:29;:::i;:::-;7739:39;;7797:38;7831:2;7820:9;7816:18;7797:38;:::i;:::-;7787:48;;7882:2;7871:9;7867:18;7854:32;7844:42;;7937:2;7926:9;7922:18;7909:32;7964:18;7956:6;7953:30;7950:50;;;7996:1;7993;7986:12;7950:50;8019:22;;8072:4;8064:13;;8060:27;-1:-1:-1;8050:55:5;;8101:1;8098;8091:12;8050:55;8124:74;8190:7;8185:2;8172:16;8167:2;8163;8159:11;8124:74;:::i;:::-;8114:84;;;7537:667;;;;;;;:::o;8209:180::-;8265:6;8318:2;8306:9;8297:7;8293:23;8289:32;8286:52;;;8334:1;8331;8324:12;8286:52;8357:26;8373:9;8357:26;:::i;8394:260::-;8462:6;8470;8523:2;8511:9;8502:7;8498:23;8494:32;8491:52;;;8539:1;8536;8529:12;8491:52;8562:29;8581:9;8562:29;:::i;:::-;8552:39;;8610:38;8644:2;8633:9;8629:18;8610:38;:::i;8659:380::-;8738:1;8734:12;;;;8781;;;8802:61;;8856:4;8848:6;8844:17;8834:27;;8802:61;8909:2;8901:6;8898:14;8878:18;8875:38;8872:161;;;8955:10;8950:3;8946:20;8943:1;8936:31;8990:4;8987:1;8980:15;9018:4;9015:1;9008:15;8872:161;;8659:380;;;:::o;9044:127::-;9105:10;9100:3;9096:20;9093:1;9086:31;9136:4;9133:1;9126:15;9160:4;9157:1;9150:15;9176:168;9216:7;9282:1;9278;9274:6;9270:14;9267:1;9264:21;9259:1;9252:9;9245:17;9241:45;9238:71;;;9289:18;;:::i;:::-;-1:-1:-1;9329:9:5;;9176:168::o;9690:128::-;9730:3;9761:1;9757:6;9754:1;9751:13;9748:39;;;9767:18;;:::i;:::-;-1:-1:-1;9803:9:5;;9690:128::o;10855:127::-;10916:10;10911:3;10907:20;10904:1;10897:31;10947:4;10944:1;10937:15;10971:4;10968:1;10961:15;12108:470;12287:3;12325:6;12319:13;12341:53;12387:6;12382:3;12375:4;12367:6;12363:17;12341:53;:::i;:::-;12457:13;;12416:16;;;;12479:57;12457:13;12416:16;12513:4;12501:17;;12479:57;:::i;:::-;12552:20;;12108:470;-1:-1:-1;;;;12108:470:5:o;12987:512::-;13181:4;-1:-1:-1;;;;;13291:2:5;13283:6;13279:15;13268:9;13261:34;13343:2;13335:6;13331:15;13326:2;13315:9;13311:18;13304:43;;13383:6;13378:2;13367:9;13363:18;13356:34;13426:3;13421:2;13410:9;13406:18;13399:31;13447:46;13488:3;13477:9;13473:19;13465:6;13447:46;:::i;:::-;13439:54;12987:512;-1:-1:-1;;;;;;12987:512:5:o;13504:249::-;13573:6;13626:2;13614:9;13605:7;13601:23;13597:32;13594:52;;;13642:1;13639;13632:12;13594:52;13674:9;13668:16;13693:30;13717:5;13693:30;:::i
Swarm Source
ipfs://fb502a1cba2f3a53ce44033c3417b1f1feda41cbfa191440c91c05343ca99edc
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.