Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 639 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 20331694 | 175 days ago | IN | 0 ETH | 0.00030898 | ||||
Set Approval For... | 20331694 | 175 days ago | IN | 0 ETH | 0.00031054 | ||||
Set Approval For... | 19609615 | 276 days ago | IN | 0 ETH | 0.00036452 | ||||
Transfer From | 19608475 | 276 days ago | IN | 0 ETH | 0.00023548 | ||||
Set Approval For... | 19564808 | 282 days ago | IN | 0 ETH | 0.00047837 | ||||
Transfer From | 19559125 | 283 days ago | IN | 0 ETH | 0.0011863 | ||||
Safe Transfer Fr... | 19558952 | 283 days ago | IN | 0 ETH | 0.00355906 | ||||
Safe Transfer Fr... | 19558944 | 283 days ago | IN | 0 ETH | 0.00335349 | ||||
Safe Transfer Fr... | 19558935 | 283 days ago | IN | 0 ETH | 0.00189551 | ||||
Safe Transfer Fr... | 19558928 | 283 days ago | IN | 0 ETH | 0.00855416 | ||||
Transfer From | 19558900 | 283 days ago | IN | 0 ETH | 0.01018706 | ||||
Set Approval For... | 19558762 | 283 days ago | IN | 0 ETH | 0.00078174 | ||||
Transfer From | 19558674 | 283 days ago | IN | 0 ETH | 0.00173935 | ||||
Set Approval For... | 19558420 | 283 days ago | IN | 0 ETH | 0.00088815 | ||||
Set Approval For... | 19558420 | 283 days ago | IN | 0 ETH | 0.00088977 | ||||
Set Approval For... | 19558355 | 283 days ago | IN | 0 ETH | 0.00073504 | ||||
Set Approval For... | 19558349 | 283 days ago | IN | 0 ETH | 0.0008007 | ||||
Safe Transfer Fr... | 19558327 | 283 days ago | IN | 0 ETH | 0.00077286 | ||||
Safe Transfer Fr... | 19558321 | 283 days ago | IN | 0 ETH | 0.00069976 | ||||
Safe Transfer Fr... | 19558221 | 283 days ago | IN | 0 ETH | 0.00074567 | ||||
Safe Transfer Fr... | 19558218 | 283 days ago | IN | 0 ETH | 0.00083441 | ||||
Safe Transfer Fr... | 19558164 | 283 days ago | IN | 0 ETH | 0.00082406 | ||||
Safe Transfer Fr... | 19558160 | 283 days ago | IN | 0 ETH | 0.00079007 | ||||
Set Approval For... | 19557963 | 283 days ago | IN | 0 ETH | 0.00085093 | ||||
Set Approval For... | 19557960 | 283 days ago | IN | 0 ETH | 0.00085463 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
PrimeNavigator
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-03-28 */ // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.3.0 // 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(); /** * `_sequentialUpTo()` must be greater than `_startTokenId()`. */ error SequentialUpToTooSmall(); /** * The `tokenId` of a sequential mint exceeds `_sequentialUpTo()`. */ error SequentialMintExceedsLimit(); /** * Spot minting requires a `tokenId` greater than `_sequentialUpTo()`. */ error SpotMintTokenIdTooSmall(); /** * Cannot mint over a token that already exists. */ error TokenAlreadyExists(); /** * The feature is not compatible with spot mints. */ error NotCompatibleWithSpotMints(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * The `_sequentialUpTo()` function can be overriden to enable spot mints * (i.e. non-consecutive mints) for `tokenId`s greater than `_sequentialUpTo()`. * * 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; // The amount of tokens minted above `_sequentialUpTo()`. // We call these spot mints (i.e. non-sequential mints). uint256 private _spotMinted; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); if (_sequentialUpTo() < _startTokenId()) _revert(SequentialUpToTooSmall.selector); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID for sequential mints. * * Override this function to change the starting token ID for sequential mints. * * Note: The value returned must never change after any tokens have been minted. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the maximum token ID (inclusive) for sequential mints. * * Override this function to return a value less than 2**256 - 1, * but greater than `_startTokenId()`, to enable spot (non-sequential) mints. * * Note: The value returned must never change after any tokens have been minted. */ function _sequentialUpTo() internal view virtual returns (uint256) { return type(uint256).max; } /** * @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 result) { // Counter underflow is impossible as `_burnCounter` cannot be incremented // more than `_currentIndex + _spotMinted - _startTokenId()` times. unchecked { // With spot minting, the intermediate `result` can be temporarily negative, // and the computation must be unchecked. result = _currentIndex - _burnCounter - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256 result) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { result = _currentIndex - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } /** * @dev Returns the total number of tokens that are spot-minted. */ function _totalSpotMinted() internal view virtual returns (uint256) { return _spotMinted; } // ============================================================= // 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.selector); 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.selector); 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 Returns whether the ownership slot at `index` is initialized. * An uninitialized slot does not necessarily mean that the slot has no owner. */ function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) { return _packedOwnerships[index] != 0; } /** * @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); } } /** * @dev Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; if (tokenId > _sequentialUpTo()) { if (_packedOwnershipExists(packed)) return packed; _revert(OwnerQueryForNonexistentToken.selector); } // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // 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, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; if (packed & _BITMASK_BURNED == 0) return packed; // Otherwise, the token is burned, and we must revert. // This handles the case of batch burned tokens, where only the burned bit // of the starting slot is set, and remaining slots are left uninitialized. _revert(OwnerQueryForNonexistentToken.selector); } } // Otherwise, the data exists and we can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. // If the token is not burned, return `packed`. Otherwise, revert. if (packed & _BITMASK_BURNED == 0) return packed; } _revert(OwnerQueryForNonexistentToken.selector); } /** * @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. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @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.selector); 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 result) { if (_startTokenId() <= tokenId) { if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]); if (tokenId < _currentIndex) { uint256 packed; while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId; result = packed & _BITMASK_BURNED == 0; } } } /** * @dev Returns whether `packed` represents a token that exists. */ function _packedOwnershipExists(uint256 packed) private pure returns (bool result) { assembly { // The following is equivalent to `owner != address(0) && burned == false`. // Symbolically tested. result := gt(and(packed, _BITMASK_ADDRESS), and(packed, _BITMASK_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); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (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.selector); _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; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // 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. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _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.selector); } } /** * @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.selector); } 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.selector); _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: // - `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) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; if (end - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); do { assembly { // 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`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } while (++tokenId != end); _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.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _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) ); if (startTokenId + quantity - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); 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.selector); } } while (index < end); // This prevents reentrancy to `_safeMint`. // It does not prevent reentrancy to `_safeMintSpot`. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } /** * @dev Mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * Emits a {Transfer} event for each mint. */ function _mintSpot(address to, uint256 tokenId) internal virtual { if (tokenId <= _sequentialUpTo()) _revert(SpotMintTokenIdTooSmall.selector); uint256 prevOwnershipPacked = _packedOwnerships[tokenId]; if (_packedOwnershipExists(prevOwnershipPacked)) _revert(TokenAlreadyExists.selector); _beforeTokenTransfers(address(0), to, tokenId, 1); // Overflows are incredibly unrealistic. // The `numberMinted` for `to` is incremented by 1, and has a max limit of 2**64 - 1. // `_spotMinted` is incremented by 1, and has a max limit of 2**256 - 1. unchecked { // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `true` (as `quantity == 1`). _packedOwnerships[tokenId] = _packOwnershipData( to, _nextInitializedFlag(1) | _nextExtraData(address(0), to, prevOwnershipPacked) ); // Updates: // - `balance += 1`. // - `numberMinted += 1`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += (1 << _BITPOS_NUMBER_MINTED) | 1; // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); assembly { // 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`. tokenId // `tokenId`. ) } ++_spotMinted; } _afterTokenTransfers(address(0), to, tokenId, 1); } /** * @dev Safely mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * See {_mintSpot}. * * Emits a {Transfer} event. */ function _safeMintSpot( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mintSpot(to, tokenId); unchecked { if (to.code.length != 0) { uint256 currentSpotMinted = _spotMinted; if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } // This prevents reentrancy to `_safeMintSpot`. // It does not prevent reentrancy to `_safeMint`. if (_spotMinted != currentSpotMinted) revert(); } } } /** * @dev Equivalent to `_safeMintSpot(to, tokenId, '')`. */ function _safeMintSpot(address to, uint256 tokenId) internal virtual { _safeMintSpot(to, tokenId, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // 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.selector); } _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 + _spotMinted` 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.selector); 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) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } } // File: contracts/NFTStake/NFT.sol pragma solidity ^0.8.20; contract PrimeNavigator is ERC721A { address public owner; address public miner; address public nftcaller; uint256 public mintCap; string baseurl; bool allowobliterate; mapping(uint256 => bool) allowBurnId; error NotOwnerAuthorized(); error NotNFTCallercontract(); error NotMineAuthorized(); constructor( string memory name, string memory symbol, string memory _baseurl, uint256 _mintCap, address _nftcaller, address _miner ) ERC721A(name, symbol) { owner = msg.sender; mintCap = _mintCap; nftcaller = _nftcaller; baseurl = _baseurl; miner = _miner; } modifier onlyOwner() { if (msg.sender != owner) revert NotOwnerAuthorized(); _; } modifier onlynftCaller() { if (msg.sender != nftcaller) revert NotNFTCallercontract(); _; } modifier onlyMiner() { if (msg.sender != miner) revert NotMineAuthorized(); _; } function updateOwner(address newowner) external onlyOwner { require(newowner != address(0), "Invalid Owner"); owner = newowner; } function updateMiner(address newminer) external onlyOwner { require(newminer != address(0), "Invalid miner"); miner = newminer; } function updateBaseURL(string memory _baseurl) external onlyOwner { require(bytes(_baseurl).length != 0, "Invalid baseurl"); baseurl = _baseurl; } function totalMinted() public view returns (uint256) { return _nextTokenId(); } function availMint() external view returns (uint256) { return mintCap - totalMinted(); } function updateNFTCaller(address newcaller) external onlyOwner { require(newcaller != address(0), "Invalid Owner"); nftcaller = newcaller; } function allowReconstructive(uint256 tokenId) external onlyOwner { allowBurnId[tokenId] = true; } function reconstructive(uint256 tokenId) external { require(allowBurnId[tokenId], "Not allow reconstructive"); require( totalMinted() >= mintCap, "Forbid reconstructive with remaining NFT left" ); _burn(tokenId); _mint(msg.sender, 1); } function allowObliterate() external onlyOwner { allowobliterate = true; } function obliterate(uint256 amount) external onlyOwner { require(allowobliterate, "Not allow burn"); uint256 ncount = amount + totalMinted() >= mintCap ? mintCap : amount + totalMinted(); uint256 pendingNFT = ncount - totalMinted(); uint256 mintedNFT = totalMinted(); _mint(msg.sender, pendingNFT); for (uint256 index = mintedNFT; index < ncount; index++) { _burn(index); } } function ownerMint(address[] memory receivers, uint256[] memory amounts) external onlyMiner { require(receivers.length == amounts.length, "Mismatched length"); address receiver; uint256 amount; for (uint256 i = 0; i < receivers.length; i++) { receiver = receivers[i]; amount = amounts[i]; require(totalMinted() + amount <= mintCap, "Exceed mintcap"); _mint(receiver, amount); } } function airdrop(address[] memory receivers, uint256[] memory amounts) external onlyMiner { require(receivers.length == amounts.length, "Mismatched length"); address receiver; uint256 amount; for (uint256 i = 0; i < receivers.length; i++) { receiver = receivers[i]; amount = amounts[i]; require(totalMinted() + amount <= mintCap, "Exceed mintcap"); _mint(receiver, amount); } } function _ownerMint(address receiver, uint256 amount) external onlyMiner { require(totalMinted() + amount <= mintCap, "Exceed mintcap"); _mint(receiver, amount); } function burn(uint256 tokenId) external { _burn(tokenId); } function nftcallermint(address receiver, uint256 amount) external onlynftCaller returns (bool) { require(totalMinted() + amount <= mintCap, "Exceed mintcap"); _mint(receiver, amount); return true; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); return bytes(baseurl).length != 0 ? string(abi.encodePacked(baseurl, _toString(tokenId), ".json")) : ""; } }
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":"_baseurl","type":"string"},{"internalType":"uint256","name":"_mintCap","type":"uint256"},{"internalType":"address","name":"_nftcaller","type":"address"},{"internalType":"address","name":"_miner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotCompatibleWithSpotMints","type":"error"},{"inputs":[],"name":"NotMineAuthorized","type":"error"},{"inputs":[],"name":"NotNFTCallercontract","type":"error"},{"inputs":[],"name":"NotOwnerAuthorized","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","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":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"_ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowObliterate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"allowReconstructive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"availMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"miner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCap","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":"nftcaller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"nftcallermint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"obliterate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"reconstructive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","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":"_baseurl","type":"string"}],"name":"updateBaseURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newminer","type":"address"}],"name":"updateMiner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newcaller","type":"address"}],"name":"updateNFTCaller","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newowner","type":"address"}],"name":"updateOwner","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200220d3803806200220d8339810160408190526200003491620001a7565b85856002620000448382620002f5565b506003620000538282620002f5565b50600080805550505060098054336001600160a01b031991821617909155600c849055600b80549091166001600160a01b038416179055600d620000988582620002f5565b50600a80546001600160a01b0319166001600160a01b039290921691909117905550620003c19350505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000ed57600080fd5b81516001600160401b03808211156200010a576200010a620000c5565b604051601f8301601f19908116603f01168101908282118183101715620001355762000135620000c5565b816040528381526020925086838588010111156200015257600080fd5b600091505b8382101562000176578582018301518183018401529082019062000157565b600093810190920192909252949350505050565b80516001600160a01b0381168114620001a257600080fd5b919050565b60008060008060008060c08789031215620001c157600080fd5b86516001600160401b0380821115620001d957600080fd5b620001e78a838b01620000db565b97506020890151915080821115620001fe57600080fd5b6200020c8a838b01620000db565b965060408901519150808211156200022357600080fd5b506200023289828a01620000db565b945050606087015192506200024a608088016200018a565b91506200025a60a088016200018a565b90509295509295509295565b600181811c908216806200027b57607f821691505b6020821081036200029c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002f057600081815260208120601f850160051c81016020861015620002cb5750805b601f850160051c820191505b81811015620002ec57828155600101620002d7565b5050505b505050565b81516001600160401b03811115620003115762000311620000c5565b620003298162000322845462000266565b84620002a2565b602080601f831160018114620003615760008415620003485750858301515b600019600386901b1c1916600185901b178555620002ec565b600085815260208120601f198616915b82811015620003925788860151825594840194600190910190840162000371565b5085821015620003b15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611e3c80620003d16000396000f3fe6080604052600436106101ee5760003560e01c80636c933b7f1161010d57806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd1461053d578063cb14ab1e1461055d578063e5e888bb1461057d578063e985e9c51461059d578063f1ed25bd146105e657600080fd5b806395d89b41146104e0578063a22cb465146104f5578063a2309ff814610515578063b88d4fde1461052a57600080fd5b80637f0628f3116100dc5780637f0628f314610460578063870d6f9d14610480578063880cdc31146104a05780638da5cb5b146104c057600080fd5b80636c933b7f1461040057806370a082311461041557806376c71ca1146104355780637a9cb0181461044b57600080fd5b8063349dc32911610185578063622cd68211610154578063622cd682146103805780636352211e146103a057806367243482146103c057806369f7d2f2146103e057600080fd5b8063349dc3291461030d57806342842e0e1461032d57806342966c68146103405780636219e1441461036057600080fd5b8063095ea7b3116101c1578063095ea7b3146102a457806318160ddd146102b757806323b872dd146102da5780632b16cad2146102ed57600080fd5b806301ffc9a7146101f3578063027a66f11461022857806306fdde031461024a578063081812fc1461026c575b600080fd5b3480156101ff57600080fd5b5061021361020e3660046116c9565b610606565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b506102486102433660046116ed565b610658565b005b34801561025657600080fd5b5061025f61069e565b60405161021f9190611756565b34801561027857600080fd5b5061028c6102873660046116ed565b610730565b6040516001600160a01b03909116815260200161021f565b6102486102b2366004611780565b61076b565b3480156102c357600080fd5b50600154600054035b60405190815260200161021f565b6102486102e83660046117aa565b61077b565b3480156102f957600080fd5b506102486103083660046117e6565b6108ea565b34801561031957600080fd5b50600a5461028c906001600160a01b031681565b61024861033b3660046117aa565b610982565b34801561034c57600080fd5b5061024861035b3660046116ed565b6109a2565b34801561036c57600080fd5b5061024861037b3660046116ed565b6109ae565b34801561038c57600080fd5b5061024861039b3660046117e6565b610aac565b3480156103ac57600080fd5b5061028c6103bb3660046116ed565b610b3f565b3480156103cc57600080fd5b506102486103db3660046118d7565b610b4a565b3480156103ec57600080fd5b506102486103fb3660046118d7565b610c52565b34801561040c57600080fd5b506102cc610d5a565b34801561042157600080fd5b506102cc6104303660046117e6565b610d70565b34801561044157600080fd5b506102cc600c5481565b34801561045757600080fd5b50610248610db6565b34801561046c57600080fd5b50600b5461028c906001600160a01b031681565b34801561048c57600080fd5b5061024861049b3660046119ef565b610df0565b3480156104ac57600080fd5b506102486104bb3660046117e6565b610e6a565b3480156104cc57600080fd5b5060095461028c906001600160a01b031681565b3480156104ec57600080fd5b5061025f610efd565b34801561050157600080fd5b50610248610510366004611a38565b610f0c565b34801561052157600080fd5b506000546102cc565b610248610538366004611a74565b610f78565b34801561054957600080fd5b5061025f6105583660046116ed565b610fb9565b34801561056957600080fd5b506102486105783660046116ed565b61103d565b34801561058957600080fd5b50610213610598366004611780565b611119565b3480156105a957600080fd5b506102136105b8366004611af0565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105f257600080fd5b50610248610601366004611780565b61118f565b60006301ffc9a760e01b6001600160e01b03198316148061063757506380ac58cd60e01b6001600160e01b03198316145b806106525750635b5e139f60e01b6001600160e01b03198316145b92915050565b6009546001600160a01b0316331461068357604051630f380e1b60e01b815260040160405180910390fd5b6000908152600f60205260409020805460ff19166001179055565b6060600280546106ad90611b23565b80601f01602080910402602001604051908101604052809291908181526020018280546106d990611b23565b80156107265780601f106106fb57610100808354040283529160200191610726565b820191906000526020600020905b81548152906001019060200180831161070957829003601f168201915b5050505050905090565b600061073b826111f9565b61074f5761074f6333d1c03960e21b61123e565b506000908152600660205260409020546001600160a01b031690565b61077782826001611248565b5050565b6000610786826112eb565b6001600160a01b0394851694909150811684146107ac576107ac62a1148160e81b61123e565b600082815260066020526040902080546107d88187335b6001600160a01b039081169116811491141790565b6107fa576107e686336105b8565b6107fa576107fa632ce44b5f60e11b61123e565b801561080557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610897576001840160008181526004602052604081205490036108955760005481146108955760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4806000036108e1576108e1633a954ecd60e21b61123e565b50505050505050565b6009546001600160a01b0316331461091557604051630f380e1b60e01b815260040160405180910390fd5b6001600160a01b0381166109605760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b21036b4b732b960991b60448201526064015b60405180910390fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b61099d83838360405180602001604052806000815250610f78565b505050565b6109ab81611381565b50565b6009546001600160a01b031633146109d957604051630f380e1b60e01b815260040160405180910390fd5b600e5460ff16610a1c5760405162461bcd60e51b815260206004820152600e60248201526d2737ba1030b63637bb90313ab93760911b6044820152606401610957565b6000600c54610a2a60005490565b610a349084611b73565b1015610a4c57600054610a479083611b73565b610a50565b600c545b90506000610a5d60005490565b610a679083611b86565b90506000610a7460005490565b9050610a80338361138c565b805b83811015610aa557610a9381611381565b80610a9d81611b99565b915050610a82565b5050505050565b6009546001600160a01b03163314610ad757604051630f380e1b60e01b815260040160405180910390fd5b6001600160a01b038116610b1d5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b21027bbb732b960991b6044820152606401610957565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610652826112eb565b600a546001600160a01b03163314610b755760405163bd7af81b60e01b815260040160405180910390fd5b8051825114610bba5760405162461bcd60e51b815260206004820152601160248201527009ad2e6dac2e8c6d0cac840d8cadccee8d607b1b6044820152606401610957565b60008060005b8451811015610aa557848181518110610bdb57610bdb611bb2565b60200260200101519250838181518110610bf757610bf7611bb2565b60200260200101519150600c5482610c0e60005490565b610c189190611b73565b1115610c365760405162461bcd60e51b815260040161095790611bc8565b610c40838361138c565b80610c4a81611b99565b915050610bc0565b600a546001600160a01b03163314610c7d5760405163bd7af81b60e01b815260040160405180910390fd5b8051825114610cc25760405162461bcd60e51b815260206004820152601160248201527009ad2e6dac2e8c6d0cac840d8cadccee8d607b1b6044820152606401610957565b60008060005b8451811015610aa557848181518110610ce357610ce3611bb2565b60200260200101519250838181518110610cff57610cff611bb2565b60200260200101519150600c5482610d1660005490565b610d209190611b73565b1115610d3e5760405162461bcd60e51b815260040161095790611bc8565b610d48838361138c565b80610d5281611b99565b915050610cc8565b60008054600c54610d6b9190611b86565b905090565b60006001600160a01b038216610d9057610d906323d3ad8160e21b61123e565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6009546001600160a01b03163314610de157604051630f380e1b60e01b815260040160405180910390fd5b600e805460ff19166001179055565b6009546001600160a01b03163314610e1b57604051630f380e1b60e01b815260040160405180910390fd5b8051600003610e5e5760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a590818985cd95d5c9b608a1b6044820152606401610957565b600d6107778282611c3e565b6009546001600160a01b03163314610e9557604051630f380e1b60e01b815260040160405180910390fd5b6001600160a01b038116610edb5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b21027bbb732b960991b6044820152606401610957565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6060600380546106ad90611b23565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f8384848461077b565b6001600160a01b0383163b15610fb357610f9f8484848461144b565b610fb357610fb36368d2bf6b60e11b61123e565b50505050565b6060610fc4826111f9565b610fe157604051630a14c4b560e41b815260040160405180910390fd5b600d8054610fee90611b23565b905060000361100c5760405180602001604052806000815250610652565b600d6110178361152e565b604051602001611028929190611cfe565b60405160208183030381529060405292915050565b6000818152600f602052604090205460ff1661109b5760405162461bcd60e51b815260206004820152601860248201527f4e6f7420616c6c6f77207265636f6e73747275637469766500000000000000006044820152606401610957565b600c5460005410156111055760405162461bcd60e51b815260206004820152602d60248201527f466f72626964207265636f6e73747275637469766520776974682072656d616960448201526c1b9a5b99c8139195081b19599d609a1b6064820152608401610957565b61110e81611381565b6109ab33600161138c565b600b546000906001600160a01b03163314611147576040516380edf8df60e01b815260040160405180910390fd5b600c548261115460005490565b61115e9190611b73565b111561117c5760405162461bcd60e51b815260040161095790611bc8565b611186838361138c565b50600192915050565b600a546001600160a01b031633146111ba5760405163bd7af81b60e01b815260040160405180910390fd5b600c54816111c760005490565b6111d19190611b73565b11156111ef5760405162461bcd60e51b815260040161095790611bc8565b610777828261138c565b600080548210156112395760005b506000828152600460205260408120549081900361122f5761122883611d95565b9250611207565b600160e01b161590505b919050565b8060005260046000fd5b600061125383610b3f565b905081801561126b5750336001600160a01b03821614155b1561128e5761127a81336105b8565b61128e5761128e6367d9dca160e11b61123e565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6000818152600460205260409020548060000361135e57600054821061131b5761131b636f96cda160e11b61123e565b5b5060001901600081815260046020526040902054801561131c57600160e01b811660000361134957919050565b611359636f96cda160e11b61123e565b61131c565b600160e01b811660000361137157919050565b611239636f96cda160e11b61123e565b6109ab816000611572565b60008054908290036113a8576113a863b562e8dd60e01b61123e565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361140657611406622e076360e81b61123e565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a481816001019150810361140b575060005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611480903390899088908890600401611dac565b6020604051808303816000875af19250505080156114bb575060408051601f3d908101601f191682019092526114b891810190611de9565b60015b611510573d8080156114e9576040519150601f19603f3d011682016040523d82523d6000602084013e6114ee565b606091505b508051600003611508576115086368d2bf6b60e11b61123e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806115485750819003601f19909101908152919050565b600061157d836112eb565b90508060008061159b86600090815260066020526040902080549091565b9150915084156115d2576115b08184336107c3565b6115d2576115be83336105b8565b6115d2576115d2632ce44b5f60e11b61123e565b80156115dd57600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b8516900361166b576001860160008181526004602052604081205490036116695760005481146116695760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b6001600160e01b0319811681146109ab57600080fd5b6000602082840312156116db57600080fd5b81356116e6816116b3565b9392505050565b6000602082840312156116ff57600080fd5b5035919050565b60005b83811015611721578181015183820152602001611709565b50506000910152565b60008151808452611742816020860160208601611706565b601f01601f19169290920160200192915050565b6020815260006116e6602083018461172a565b80356001600160a01b038116811461123957600080fd5b6000806040838503121561179357600080fd5b61179c83611769565b946020939093013593505050565b6000806000606084860312156117bf57600080fd5b6117c884611769565b92506117d660208501611769565b9150604084013590509250925092565b6000602082840312156117f857600080fd5b6116e682611769565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561184057611840611801565b604052919050565b600067ffffffffffffffff82111561186257611862611801565b5060051b60200190565b600082601f83011261187d57600080fd5b8135602061189261188d83611848565b611817565b82815260059290921b840181019181810190868411156118b157600080fd5b8286015b848110156118cc57803583529183019183016118b5565b509695505050505050565b600080604083850312156118ea57600080fd5b823567ffffffffffffffff8082111561190257600080fd5b818501915085601f83011261191657600080fd5b8135602061192661188d83611848565b82815260059290921b8401810191818101908984111561194557600080fd5b948201945b8386101561196a5761195b86611769565b8252948201949082019061194a565b9650508601359250508082111561198057600080fd5b5061198d8582860161186c565b9150509250929050565b600067ffffffffffffffff8311156119b1576119b1611801565b6119c4601f8401601f1916602001611817565b90508281528383830111156119d857600080fd5b828260208301376000602084830101529392505050565b600060208284031215611a0157600080fd5b813567ffffffffffffffff811115611a1857600080fd5b8201601f81018413611a2957600080fd5b61152684823560208401611997565b60008060408385031215611a4b57600080fd5b611a5483611769565b915060208301358015158114611a6957600080fd5b809150509250929050565b60008060008060808587031215611a8a57600080fd5b611a9385611769565b9350611aa160208601611769565b925060408501359150606085013567ffffffffffffffff811115611ac457600080fd5b8501601f81018713611ad557600080fd5b611ae487823560208401611997565b91505092959194509250565b60008060408385031215611b0357600080fd5b611b0c83611769565b9150611b1a60208401611769565b90509250929050565b600181811c90821680611b3757607f821691505b602082108103611b5757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561065257610652611b5d565b8181038181111561065257610652611b5d565b600060018201611bab57611bab611b5d565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6020808252600e908201526d0457863656564206d696e746361760941b604082015260600190565b601f82111561099d57600081815260208120601f850160051c81016020861015611c175750805b601f850160051c820191505b81811015611c3657828155600101611c23565b505050505050565b815167ffffffffffffffff811115611c5857611c58611801565b611c6c81611c668454611b23565b84611bf0565b602080601f831160018114611ca15760008415611c895750858301515b600019600386901b1c1916600185901b178555611c36565b600085815260208120601f198616915b82811015611cd057888601518255948401946001909101908401611cb1565b5085821015611cee5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454611d0c81611b23565b60018281168015611d245760018114611d3957611d68565b60ff1984168752821515830287019450611d68565b8860005260208060002060005b85811015611d5f5781548a820152908401908201611d46565b50505082870194505b505050508351611d7c818360208801611706565b64173539b7b760d91b9101908152600501949350505050565b600081611da457611da4611b5d565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ddf9083018461172a565b9695505050505050565b600060208284031215611dfb57600080fd5b81516116e6816116b356fea2646970667358221220b8d419a14a21bf2aced4996baaa420a7bccf0e57c176615a0c208cc7fb31934a64736f6c6343000814003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ce4000000000000000000000000b1e4fb56a4800ee9cf9642049f5075250d8c4840000000000000000000000000464868685f5ed7cc8260840a8a0e797f48b0dbd0000000000000000000000000000000000000000000000000000000000000000f5072696d65204e6176696761746f720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000450524e5600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003468747470733a2f2f6d657461646174612e73706163656e6174696f6e2e6f6e6c696e652f7072696d652d6e6176696761746f722f000000000000000000000000
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c80636c933b7f1161010d57806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd1461053d578063cb14ab1e1461055d578063e5e888bb1461057d578063e985e9c51461059d578063f1ed25bd146105e657600080fd5b806395d89b41146104e0578063a22cb465146104f5578063a2309ff814610515578063b88d4fde1461052a57600080fd5b80637f0628f3116100dc5780637f0628f314610460578063870d6f9d14610480578063880cdc31146104a05780638da5cb5b146104c057600080fd5b80636c933b7f1461040057806370a082311461041557806376c71ca1146104355780637a9cb0181461044b57600080fd5b8063349dc32911610185578063622cd68211610154578063622cd682146103805780636352211e146103a057806367243482146103c057806369f7d2f2146103e057600080fd5b8063349dc3291461030d57806342842e0e1461032d57806342966c68146103405780636219e1441461036057600080fd5b8063095ea7b3116101c1578063095ea7b3146102a457806318160ddd146102b757806323b872dd146102da5780632b16cad2146102ed57600080fd5b806301ffc9a7146101f3578063027a66f11461022857806306fdde031461024a578063081812fc1461026c575b600080fd5b3480156101ff57600080fd5b5061021361020e3660046116c9565b610606565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b506102486102433660046116ed565b610658565b005b34801561025657600080fd5b5061025f61069e565b60405161021f9190611756565b34801561027857600080fd5b5061028c6102873660046116ed565b610730565b6040516001600160a01b03909116815260200161021f565b6102486102b2366004611780565b61076b565b3480156102c357600080fd5b50600154600054035b60405190815260200161021f565b6102486102e83660046117aa565b61077b565b3480156102f957600080fd5b506102486103083660046117e6565b6108ea565b34801561031957600080fd5b50600a5461028c906001600160a01b031681565b61024861033b3660046117aa565b610982565b34801561034c57600080fd5b5061024861035b3660046116ed565b6109a2565b34801561036c57600080fd5b5061024861037b3660046116ed565b6109ae565b34801561038c57600080fd5b5061024861039b3660046117e6565b610aac565b3480156103ac57600080fd5b5061028c6103bb3660046116ed565b610b3f565b3480156103cc57600080fd5b506102486103db3660046118d7565b610b4a565b3480156103ec57600080fd5b506102486103fb3660046118d7565b610c52565b34801561040c57600080fd5b506102cc610d5a565b34801561042157600080fd5b506102cc6104303660046117e6565b610d70565b34801561044157600080fd5b506102cc600c5481565b34801561045757600080fd5b50610248610db6565b34801561046c57600080fd5b50600b5461028c906001600160a01b031681565b34801561048c57600080fd5b5061024861049b3660046119ef565b610df0565b3480156104ac57600080fd5b506102486104bb3660046117e6565b610e6a565b3480156104cc57600080fd5b5060095461028c906001600160a01b031681565b3480156104ec57600080fd5b5061025f610efd565b34801561050157600080fd5b50610248610510366004611a38565b610f0c565b34801561052157600080fd5b506000546102cc565b610248610538366004611a74565b610f78565b34801561054957600080fd5b5061025f6105583660046116ed565b610fb9565b34801561056957600080fd5b506102486105783660046116ed565b61103d565b34801561058957600080fd5b50610213610598366004611780565b611119565b3480156105a957600080fd5b506102136105b8366004611af0565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105f257600080fd5b50610248610601366004611780565b61118f565b60006301ffc9a760e01b6001600160e01b03198316148061063757506380ac58cd60e01b6001600160e01b03198316145b806106525750635b5e139f60e01b6001600160e01b03198316145b92915050565b6009546001600160a01b0316331461068357604051630f380e1b60e01b815260040160405180910390fd5b6000908152600f60205260409020805460ff19166001179055565b6060600280546106ad90611b23565b80601f01602080910402602001604051908101604052809291908181526020018280546106d990611b23565b80156107265780601f106106fb57610100808354040283529160200191610726565b820191906000526020600020905b81548152906001019060200180831161070957829003601f168201915b5050505050905090565b600061073b826111f9565b61074f5761074f6333d1c03960e21b61123e565b506000908152600660205260409020546001600160a01b031690565b61077782826001611248565b5050565b6000610786826112eb565b6001600160a01b0394851694909150811684146107ac576107ac62a1148160e81b61123e565b600082815260066020526040902080546107d88187335b6001600160a01b039081169116811491141790565b6107fa576107e686336105b8565b6107fa576107fa632ce44b5f60e11b61123e565b801561080557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610897576001840160008181526004602052604081205490036108955760005481146108955760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4806000036108e1576108e1633a954ecd60e21b61123e565b50505050505050565b6009546001600160a01b0316331461091557604051630f380e1b60e01b815260040160405180910390fd5b6001600160a01b0381166109605760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b21036b4b732b960991b60448201526064015b60405180910390fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b61099d83838360405180602001604052806000815250610f78565b505050565b6109ab81611381565b50565b6009546001600160a01b031633146109d957604051630f380e1b60e01b815260040160405180910390fd5b600e5460ff16610a1c5760405162461bcd60e51b815260206004820152600e60248201526d2737ba1030b63637bb90313ab93760911b6044820152606401610957565b6000600c54610a2a60005490565b610a349084611b73565b1015610a4c57600054610a479083611b73565b610a50565b600c545b90506000610a5d60005490565b610a679083611b86565b90506000610a7460005490565b9050610a80338361138c565b805b83811015610aa557610a9381611381565b80610a9d81611b99565b915050610a82565b5050505050565b6009546001600160a01b03163314610ad757604051630f380e1b60e01b815260040160405180910390fd5b6001600160a01b038116610b1d5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b21027bbb732b960991b6044820152606401610957565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610652826112eb565b600a546001600160a01b03163314610b755760405163bd7af81b60e01b815260040160405180910390fd5b8051825114610bba5760405162461bcd60e51b815260206004820152601160248201527009ad2e6dac2e8c6d0cac840d8cadccee8d607b1b6044820152606401610957565b60008060005b8451811015610aa557848181518110610bdb57610bdb611bb2565b60200260200101519250838181518110610bf757610bf7611bb2565b60200260200101519150600c5482610c0e60005490565b610c189190611b73565b1115610c365760405162461bcd60e51b815260040161095790611bc8565b610c40838361138c565b80610c4a81611b99565b915050610bc0565b600a546001600160a01b03163314610c7d5760405163bd7af81b60e01b815260040160405180910390fd5b8051825114610cc25760405162461bcd60e51b815260206004820152601160248201527009ad2e6dac2e8c6d0cac840d8cadccee8d607b1b6044820152606401610957565b60008060005b8451811015610aa557848181518110610ce357610ce3611bb2565b60200260200101519250838181518110610cff57610cff611bb2565b60200260200101519150600c5482610d1660005490565b610d209190611b73565b1115610d3e5760405162461bcd60e51b815260040161095790611bc8565b610d48838361138c565b80610d5281611b99565b915050610cc8565b60008054600c54610d6b9190611b86565b905090565b60006001600160a01b038216610d9057610d906323d3ad8160e21b61123e565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6009546001600160a01b03163314610de157604051630f380e1b60e01b815260040160405180910390fd5b600e805460ff19166001179055565b6009546001600160a01b03163314610e1b57604051630f380e1b60e01b815260040160405180910390fd5b8051600003610e5e5760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a590818985cd95d5c9b608a1b6044820152606401610957565b600d6107778282611c3e565b6009546001600160a01b03163314610e9557604051630f380e1b60e01b815260040160405180910390fd5b6001600160a01b038116610edb5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b21027bbb732b960991b6044820152606401610957565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6060600380546106ad90611b23565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f8384848461077b565b6001600160a01b0383163b15610fb357610f9f8484848461144b565b610fb357610fb36368d2bf6b60e11b61123e565b50505050565b6060610fc4826111f9565b610fe157604051630a14c4b560e41b815260040160405180910390fd5b600d8054610fee90611b23565b905060000361100c5760405180602001604052806000815250610652565b600d6110178361152e565b604051602001611028929190611cfe565b60405160208183030381529060405292915050565b6000818152600f602052604090205460ff1661109b5760405162461bcd60e51b815260206004820152601860248201527f4e6f7420616c6c6f77207265636f6e73747275637469766500000000000000006044820152606401610957565b600c5460005410156111055760405162461bcd60e51b815260206004820152602d60248201527f466f72626964207265636f6e73747275637469766520776974682072656d616960448201526c1b9a5b99c8139195081b19599d609a1b6064820152608401610957565b61110e81611381565b6109ab33600161138c565b600b546000906001600160a01b03163314611147576040516380edf8df60e01b815260040160405180910390fd5b600c548261115460005490565b61115e9190611b73565b111561117c5760405162461bcd60e51b815260040161095790611bc8565b611186838361138c565b50600192915050565b600a546001600160a01b031633146111ba5760405163bd7af81b60e01b815260040160405180910390fd5b600c54816111c760005490565b6111d19190611b73565b11156111ef5760405162461bcd60e51b815260040161095790611bc8565b610777828261138c565b600080548210156112395760005b506000828152600460205260408120549081900361122f5761122883611d95565b9250611207565b600160e01b161590505b919050565b8060005260046000fd5b600061125383610b3f565b905081801561126b5750336001600160a01b03821614155b1561128e5761127a81336105b8565b61128e5761128e6367d9dca160e11b61123e565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6000818152600460205260409020548060000361135e57600054821061131b5761131b636f96cda160e11b61123e565b5b5060001901600081815260046020526040902054801561131c57600160e01b811660000361134957919050565b611359636f96cda160e11b61123e565b61131c565b600160e01b811660000361137157919050565b611239636f96cda160e11b61123e565b6109ab816000611572565b60008054908290036113a8576113a863b562e8dd60e01b61123e565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361140657611406622e076360e81b61123e565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a481816001019150810361140b575060005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611480903390899088908890600401611dac565b6020604051808303816000875af19250505080156114bb575060408051601f3d908101601f191682019092526114b891810190611de9565b60015b611510573d8080156114e9576040519150601f19603f3d011682016040523d82523d6000602084013e6114ee565b606091505b508051600003611508576115086368d2bf6b60e11b61123e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806115485750819003601f19909101908152919050565b600061157d836112eb565b90508060008061159b86600090815260066020526040902080549091565b9150915084156115d2576115b08184336107c3565b6115d2576115be83336105b8565b6115d2576115d2632ce44b5f60e11b61123e565b80156115dd57600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b8516900361166b576001860160008181526004602052604081205490036116695760005481146116695760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b6001600160e01b0319811681146109ab57600080fd5b6000602082840312156116db57600080fd5b81356116e6816116b3565b9392505050565b6000602082840312156116ff57600080fd5b5035919050565b60005b83811015611721578181015183820152602001611709565b50506000910152565b60008151808452611742816020860160208601611706565b601f01601f19169290920160200192915050565b6020815260006116e6602083018461172a565b80356001600160a01b038116811461123957600080fd5b6000806040838503121561179357600080fd5b61179c83611769565b946020939093013593505050565b6000806000606084860312156117bf57600080fd5b6117c884611769565b92506117d660208501611769565b9150604084013590509250925092565b6000602082840312156117f857600080fd5b6116e682611769565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561184057611840611801565b604052919050565b600067ffffffffffffffff82111561186257611862611801565b5060051b60200190565b600082601f83011261187d57600080fd5b8135602061189261188d83611848565b611817565b82815260059290921b840181019181810190868411156118b157600080fd5b8286015b848110156118cc57803583529183019183016118b5565b509695505050505050565b600080604083850312156118ea57600080fd5b823567ffffffffffffffff8082111561190257600080fd5b818501915085601f83011261191657600080fd5b8135602061192661188d83611848565b82815260059290921b8401810191818101908984111561194557600080fd5b948201945b8386101561196a5761195b86611769565b8252948201949082019061194a565b9650508601359250508082111561198057600080fd5b5061198d8582860161186c565b9150509250929050565b600067ffffffffffffffff8311156119b1576119b1611801565b6119c4601f8401601f1916602001611817565b90508281528383830111156119d857600080fd5b828260208301376000602084830101529392505050565b600060208284031215611a0157600080fd5b813567ffffffffffffffff811115611a1857600080fd5b8201601f81018413611a2957600080fd5b61152684823560208401611997565b60008060408385031215611a4b57600080fd5b611a5483611769565b915060208301358015158114611a6957600080fd5b809150509250929050565b60008060008060808587031215611a8a57600080fd5b611a9385611769565b9350611aa160208601611769565b925060408501359150606085013567ffffffffffffffff811115611ac457600080fd5b8501601f81018713611ad557600080fd5b611ae487823560208401611997565b91505092959194509250565b60008060408385031215611b0357600080fd5b611b0c83611769565b9150611b1a60208401611769565b90509250929050565b600181811c90821680611b3757607f821691505b602082108103611b5757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561065257610652611b5d565b8181038181111561065257610652611b5d565b600060018201611bab57611bab611b5d565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6020808252600e908201526d0457863656564206d696e746361760941b604082015260600190565b601f82111561099d57600081815260208120601f850160051c81016020861015611c175750805b601f850160051c820191505b81811015611c3657828155600101611c23565b505050505050565b815167ffffffffffffffff811115611c5857611c58611801565b611c6c81611c668454611b23565b84611bf0565b602080601f831160018114611ca15760008415611c895750858301515b600019600386901b1c1916600185901b178555611c36565b600085815260208120601f198616915b82811015611cd057888601518255948401946001909101908401611cb1565b5085821015611cee5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454611d0c81611b23565b60018281168015611d245760018114611d3957611d68565b60ff1984168752821515830287019450611d68565b8860005260208060002060005b85811015611d5f5781548a820152908401908201611d46565b50505082870194505b505050508351611d7c818360208801611706565b64173539b7b760d91b9101908152600501949350505050565b600081611da457611da4611b5d565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ddf9083018461172a565b9695505050505050565b600060208284031215611dfb57600080fd5b81516116e6816116b356fea2646970667358221220b8d419a14a21bf2aced4996baaa420a7bccf0e57c176615a0c208cc7fb31934a64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000ce4000000000000000000000000b1e4fb56a4800ee9cf9642049f5075250d8c4840000000000000000000000000464868685f5ed7cc8260840a8a0e797f48b0dbd0000000000000000000000000000000000000000000000000000000000000000f5072696d65204e6176696761746f720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000450524e5600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003468747470733a2f2f6d657461646174612e73706163656e6174696f6e2e6f6e6c696e652f7072696d652d6e6176696761746f722f000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Prime Navigator
Arg [1] : symbol (string): PRNV
Arg [2] : _baseurl (string): https://metadata.spacenation.online/prime-navigator/
Arg [3] : _mintCap (uint256): 3300
Arg [4] : _nftcaller (address): 0xB1e4Fb56a4800EE9Cf9642049F5075250d8C4840
Arg [5] : _miner (address): 0x464868685F5ED7cc8260840a8a0e797F48b0Dbd0
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000ce4
Arg [4] : 000000000000000000000000b1e4fb56a4800ee9cf9642049f5075250d8c4840
Arg [5] : 000000000000000000000000464868685f5ed7cc8260840a8a0e797f48b0dbd0
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [7] : 5072696d65204e6176696761746f720000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 50524e5600000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000034
Arg [11] : 68747470733a2f2f6d657461646174612e73706163656e6174696f6e2e6f6e6c
Arg [12] : 696e652f7072696d652d6e6176696761746f722f000000000000000000000000
Deployed Bytecode Sourcemap
60862:4927:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20588:639;;;;;;;;;;-1:-1:-1;20588:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;20588:639:0;;;;;;;;62812:111;;;;;;;;;;-1:-1:-1;62812:111:0;;;;;:::i;:::-;;:::i;:::-;;21490:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28730:227::-;;;;;;;;;;-1:-1:-1;28730:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;28730:227:0;1533:203:1;28447:124:0;;;;;;:::i;:::-;;:::i;16692:573::-;;;;;;;;;;-1:-1:-1;17136:12:0;;16753:14;17120:13;:28;16692:573;;;2324:25:1;;;2312:2;2297:18;16692:573:0;2178:177:1;33002:3523:0;;;;;;:::i;:::-;;:::i;62093:152::-;;;;;;;;;;-1:-1:-1;62093:152:0;;;;;:::i;:::-;;:::i;60931:20::-;;;;;;;;;;-1:-1:-1;60931:20:0;;;;-1:-1:-1;;;;;60931:20:0;;;36621:193;;;;;;:::i;:::-;;:::i;65058:73::-;;;;;;;;;;-1:-1:-1;65058:73:0;;;;;:::i;:::-;;:::i;63346:486::-;;;;;;;;;;-1:-1:-1;63346:486:0;;;;;:::i;:::-;;:::i;62641:163::-;;;;;;;;;;-1:-1:-1;62641:163:0;;;;;:::i;:::-;;:::i;22892:152::-;;;;;;;;;;-1:-1:-1;22892:152:0;;;;;:::i;:::-;;:::i;64352:504::-;;;;;;;;;;-1:-1:-1;64352:504:0;;;;;:::i;:::-;;:::i;63840:::-;;;;;;;;;;-1:-1:-1;63840:504:0;;;;;:::i;:::-;;:::i;62531:102::-;;;;;;;;;;;;;:::i;18416:242::-;;;;;;;;;;-1:-1:-1;18416:242:0;;;;;:::i;:::-;;:::i;60989:22::-;;;;;;;;;;;;;;;;63251:87;;;;;;;;;;;;;:::i;60958:24::-;;;;;;;;;;-1:-1:-1;60958:24:0;;;;-1:-1:-1;;;;;60958:24:0;;;62253:169;;;;;;;;;;-1:-1:-1;62253:169:0;;;;;:::i;:::-;;:::i;61933:152::-;;;;;;;;;;-1:-1:-1;61933:152:0;;;;;:::i;:::-;;:::i;60904:20::-;;;;;;;;;;-1:-1:-1;60904:20:0;;;;-1:-1:-1;;;;;60904:20:0;;;21666:104;;;;;;;;;;;;;:::i;29297:234::-;;;;;;;;;;-1:-1:-1;29297:234:0;;;;;:::i;:::-;;:::i;62430:93::-;;;;;;;;;;-1:-1:-1;62474:7:0;16461:13;62430:93;62531:102;37412:416;;;;;;:::i;:::-;;:::i;65409:377::-;;;;;;;;;;-1:-1:-1;65409:377:0;;;;;:::i;:::-;;:::i;62931:312::-;;;;;;;;;;-1:-1:-1;62931:312:0;;;;;:::i;:::-;;:::i;65139:262::-;;;;;;;;;;-1:-1:-1;65139:262:0;;;;;:::i;:::-;;:::i;29688:164::-;;;;;;;;;;-1:-1:-1;29688:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;29809:25:0;;;29785:4;29809:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29688:164;64864:186;;;;;;;;;;-1:-1:-1;64864:186:0;;;;;:::i;:::-;;:::i;20588:639::-;20673:4;-1:-1:-1;;;;;;;;;20997:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;21074:25:0;;;20997:102;:179;;;-1:-1:-1;;;;;;;;;;21151:25:0;;;20997:179;20977:199;20588:639;-1:-1:-1;;20588:639:0:o;62812:111::-;61640:5;;-1:-1:-1;;;;;61640:5:0;61626:10;:19;61622:52;;61654:20;;-1:-1:-1;;;61654:20:0;;;;;;;;;;;61622:52;62888:20:::1;::::0;;;:11:::1;:20;::::0;;;;:27;;-1:-1:-1;;62888:27:0::1;62911:4;62888:27;::::0;;62812:111::o;21490:100::-;21544:13;21577:5;21570:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21490:100;:::o;28730:227::-;28806:7;28831:16;28839:7;28831;:16::i;:::-;28826:73;;28849:50;-1:-1:-1;;;28849:7:0;:50::i;:::-;-1:-1:-1;28919:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;28919:30:0;;28730:227::o;28447:124::-;28536:27;28545:2;28549:7;28558:4;28536:8;:27::i;:::-;28447:124;;:::o;33002:3523::-;33144:27;33174;33193:7;33174:18;:27::i;:::-;-1:-1:-1;;;;;33329:22:0;;;;33144:57;;-1:-1:-1;33389:45:0;;;;33385:95;;33436:44;-1:-1:-1;;;33436:7:0;:44::i;:::-;33494:27;32110:24;;;:15;:24;;;;;32338:26;;33685:68;32338:26;33727:4;58687:10;33733:19;-1:-1:-1;;;;;31584:32:0;;;31428:28;;31713:20;;31735:30;;31710:56;;31125:659;33685:68;33680:189;;33773:43;33790:4;58687:10;29688:164;:::i;33773:43::-;33768:101;;33818:51;-1:-1:-1;;;33818:7:0;:51::i;:::-;34018:15;34015:160;;;34158:1;34137:19;34130:30;34015:160;-1:-1:-1;;;;;34555:24:0;;;;;;;:18;:24;;;;;;34553:26;;-1:-1:-1;;34553:26:0;;;34624:22;;;;;;;;;34622:24;;-1:-1:-1;34622:24:0;;;27549:11;27524:23;27520:41;27507:63;-1:-1:-1;;;27507:63:0;34917:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;35212:47:0;;:52;;35208:627;;35317:1;35307:11;;35285:19;35440:30;;;:17;:30;;;;;;:35;;35436:384;;35578:13;;35563:11;:28;35559:242;;35725:30;;;;:17;:30;;;;;:52;;;35559:242;35266:569;35208:627;-1:-1:-1;;;;;35967:20:0;;36347:7;35967:20;36277:4;36219:25;35948:16;;36084:299;36408:8;36420:1;36408:13;36404:58;;36423:39;-1:-1:-1;;;36423:7:0;:39::i;:::-;33133:3392;;;;33002:3523;;;:::o;62093:152::-;61640:5;;-1:-1:-1;;;;;61640:5:0;61626:10;:19;61622:52;;61654:20;;-1:-1:-1;;;61654:20:0;;;;;;;;;;;61622:52;-1:-1:-1;;;;;62170:22:0;::::1;62162:48;;;::::0;-1:-1:-1;;;62162:48:0;;8046:2:1;62162:48:0::1;::::0;::::1;8028:21:1::0;8085:2;8065:18;;;8058:30;-1:-1:-1;;;8104:18:1;;;8097:43;8157:18;;62162:48:0::1;;;;;;;;;62221:5;:16:::0;;-1:-1:-1;;;;;;62221:16:0::1;-1:-1:-1::0;;;;;62221:16:0;;;::::1;::::0;;;::::1;::::0;;62093:152::o;36621:193::-;36767:39;36784:4;36790:2;36794:7;36767:39;;;;;;;;;;;;:16;:39::i;:::-;36621:193;;;:::o;65058:73::-;65109:14;65115:7;65109:5;:14::i;:::-;65058:73;:::o;63346:486::-;61640:5;;-1:-1:-1;;;;;61640:5:0;61626:10;:19;61622:52;;61654:20;;-1:-1:-1;;;61654:20:0;;;;;;;;;;;61622:52;63420:15:::1;::::0;::::1;;63412:42;;;::::0;-1:-1:-1;;;63412:42:0;;8388:2:1;63412:42:0::1;::::0;::::1;8370:21:1::0;8427:2;8407:18;;;8400:30;-1:-1:-1;;;8446:18:1;;;8439:44;8500:18;;63412:42:0::1;8186:338:1::0;63412:42:0::1;63465:14;63508:7;;63491:13;62474:7:::0;16461:13;;62531:102;63491:13:::1;63482:22;::::0;:6;:22:::1;:::i;:::-;:33;;:94;;62474:7:::0;16461:13;63554:22:::1;::::0;:6;:22:::1;:::i;:::-;63482:94;;;63531:7;;63482:94;63465:111;;63589:18;63619:13;62474:7:::0;16461:13;;62531:102;63619:13:::1;63610:22;::::0;:6;:22:::1;:::i;:::-;63589:43;;63643:17;63663:13;62474:7:::0;16461:13;;62531:102;63663:13:::1;63643:33;;63687:29;63693:10;63705;63687:5;:29::i;:::-;63750:9:::0;63729:96:::1;63769:6;63761:5;:14;63729:96;;;63801:12;63807:5;63801;:12::i;:::-;63777:7:::0;::::1;::::0;::::1;:::i;:::-;;;;63729:96;;;;63401:431;;;63346:486:::0;:::o;62641:163::-;61640:5;;-1:-1:-1;;;;;61640:5:0;61626:10;:19;61622:52;;61654:20;;-1:-1:-1;;;61654:20:0;;;;;;;;;;;61622:52;-1:-1:-1;;;;;62723:23:0;::::1;62715:49;;;::::0;-1:-1:-1;;;62715:49:0;;9266:2:1;62715:49:0::1;::::0;::::1;9248:21:1::0;9305:2;9285:18;;;9278:30;-1:-1:-1;;;9324:18:1;;;9317:43;9377:18;;62715:49:0::1;9064:337:1::0;62715:49:0::1;62775:9;:21:::0;;-1:-1:-1;;;;;;62775:21:0::1;-1:-1:-1::0;;;;;62775:21:0;;;::::1;::::0;;;::::1;::::0;;62641:163::o;22892:152::-;22964:7;23007:27;23026:7;23007:18;:27::i;64352:504::-;61872:5;;-1:-1:-1;;;;;61872:5:0;61858:10;:19;61854:51;;61886:19;;-1:-1:-1;;;61886:19:0;;;;;;;;;;;61854:51;64504:7:::1;:14;64484:9;:16;:34;64476:64;;;::::0;-1:-1:-1;;;64476:64:0;;9608:2:1;64476:64:0::1;::::0;::::1;9590:21:1::0;9647:2;9627:18;;;9620:30;-1:-1:-1;;;9666:18:1;;;9659:47;9723:18;;64476:64:0::1;9406:341:1::0;64476:64:0::1;64553:16;64580:14:::0;64610:9:::1;64605:244;64629:9;:16;64625:1;:20;64605:244;;;64678:9;64688:1;64678:12;;;;;;;;:::i;:::-;;;;;;;64667:23;;64714:7;64722:1;64714:10;;;;;;;;:::i;:::-;;;;;;;64705:19;;64773:7;;64763:6;64747:13;62474:7:::0;16461:13;;62531:102;64747:13:::1;:22;;;;:::i;:::-;:33;;64739:60;;;;-1:-1:-1::0;;;64739:60:0::1;;;;;;;:::i;:::-;64814:23;64820:8;64830:6;64814:5;:23::i;:::-;64647:3:::0;::::1;::::0;::::1;:::i;:::-;;;;64605:244;;63840:504:::0;61872:5;;-1:-1:-1;;;;;61872:5:0;61858:10;:19;61854:51;;61886:19;;-1:-1:-1;;;61886:19:0;;;;;;;;;;;61854:51;63994:7:::1;:14;63974:9;:16;:34;63966:64;;;::::0;-1:-1:-1;;;63966:64:0;;9608:2:1;63966:64:0::1;::::0;::::1;9590:21:1::0;9647:2;9627:18;;;9620:30;-1:-1:-1;;;9666:18:1;;;9659:47;9723:18;;63966:64:0::1;9406:341:1::0;63966:64:0::1;64041:16;64068:14:::0;64098:9:::1;64093:244;64117:9;:16;64113:1;:20;64093:244;;;64166:9;64176:1;64166:12;;;;;;;;:::i;:::-;;;;;;;64155:23;;64202:7;64210:1;64202:10;;;;;;;;:::i;:::-;;;;;;;64193:19;;64261:7;;64251:6;64235:13;62474:7:::0;16461:13;;62531:102;64235:13:::1;:22;;;;:::i;:::-;:33;;64227:60;;;;-1:-1:-1::0;;;64227:60:0::1;;;;;;;:::i;:::-;64302:23;64308:8;64318:6;64302:5;:23::i;:::-;64135:3:::0;::::1;::::0;::::1;:::i;:::-;;;;64093:244;;62531:102:::0;62575:7;16461:13;;62602:7;;:23;;;;:::i;:::-;62595:30;;62531:102;:::o;18416:242::-;18488:7;-1:-1:-1;;;;;18512:19:0;;18508:69;;18533:44;-1:-1:-1;;;18533:7:0;:44::i;:::-;-1:-1:-1;;;;;;18595:25:0;;;;;:18;:25;;;;;;11176:13;18595:55;;18416:242::o;63251:87::-;61640:5;;-1:-1:-1;;;;;61640:5:0;61626:10;:19;61622:52;;61654:20;;-1:-1:-1;;;61654:20:0;;;;;;;;;;;61622:52;63308:15:::1;:22:::0;;-1:-1:-1;;63308:22:0::1;63326:4;63308:22;::::0;;63251:87::o;62253:169::-;61640:5;;-1:-1:-1;;;;;61640:5:0;61626:10;:19;61622:52;;61654:20;;-1:-1:-1;;;61654:20:0;;;;;;;;;;;61622:52;62344:8:::1;62338:22;62364:1;62338:27:::0;62330:55:::1;;;::::0;-1:-1:-1;;;62330:55:0;;10429:2:1;62330:55:0::1;::::0;::::1;10411:21:1::0;10468:2;10448:18;;;10441:30;-1:-1:-1;;;10487:18:1;;;10480:45;10542:18;;62330:55:0::1;10227:339:1::0;62330:55:0::1;62396:7;:18;62406:8:::0;62396:7;:18:::1;:::i;61933:152::-:0;61640:5;;-1:-1:-1;;;;;61640:5:0;61626:10;:19;61622:52;;61654:20;;-1:-1:-1;;;61654:20:0;;;;;;;;;;;61622:52;-1:-1:-1;;;;;62010:22:0;::::1;62002:48;;;::::0;-1:-1:-1;;;62002:48:0;;9266:2:1;62002:48:0::1;::::0;::::1;9248:21:1::0;9305:2;9285:18;;;9278:30;-1:-1:-1;;;9324:18:1;;;9317:43;9377:18;;62002:48:0::1;9064:337:1::0;62002:48:0::1;62061:5;:16:::0;;-1:-1:-1;;;;;;62061:16:0::1;-1:-1:-1::0;;;;;62061:16:0;;;::::1;::::0;;;::::1;::::0;;61933:152::o;21666:104::-;21722:13;21755:7;21748:14;;;;;:::i;29297:234::-;58687:10;29392:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;29392:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;29392:60:0;;;;;;;;;;29468:55;;540:41:1;;;29392:49:0;;58687:10;29468:55;;513:18:1;29468:55:0;;;;;;;29297:234;;:::o;37412:416::-;37587:31;37600:4;37606:2;37610:7;37587:12;:31::i;:::-;-1:-1:-1;;;;;37633:14:0;;;:19;37629:192;;37672:56;37703:4;37709:2;37713:7;37722:5;37672:30;:56::i;:::-;37667:154;;37749:56;-1:-1:-1;;;37749:7:0;:56::i;:::-;37412:416;;;;:::o;65409:377::-;65527:13;65563:16;65571:7;65563;:16::i;:::-;65558:59;;65588:29;;-1:-1:-1;;;65588:29:0;;;;;;;;;;;65558:59;65654:7;65648:21;;;;;:::i;:::-;;;65673:1;65648:26;:130;;;;;;;;;;;;;;;;;65718:7;65727:18;65737:7;65727:9;:18::i;:::-;65701:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65628:150;65409:377;-1:-1:-1;;65409:377:0:o;62931:312::-;63000:20;;;;:11;:20;;;;;;;;62992:57;;;;-1:-1:-1;;;62992:57:0;;14169:2:1;62992:57:0;;;14151:21:1;14208:2;14188:18;;;14181:30;14247:26;14227:18;;;14220:54;14291:18;;62992:57:0;13967:348:1;62992:57:0;63099:7;;62474;16461:13;63082:24;;63060:119;;;;-1:-1:-1;;;63060:119:0;;14522:2:1;63060:119:0;;;14504:21:1;14561:2;14541:18;;;14534:30;14600:34;14580:18;;;14573:62;-1:-1:-1;;;14651:18:1;;;14644:43;14704:19;;63060:119:0;14320:409:1;63060:119:0;63190:14;63196:7;63190:5;:14::i;:::-;63215:20;63221:10;63233:1;63215:5;:20::i;65139:262::-;61754:9;;65255:4;;-1:-1:-1;;;;;61754:9:0;61740:10;:23;61736:58;;61772:22;;-1:-1:-1;;;61772:22:0;;;;;;;;;;;61736:58;65311:7:::1;;65301:6;65285:13;62474:7:::0;16461:13;;62531:102;65285:13:::1;:22;;;;:::i;:::-;:33;;65277:60;;;;-1:-1:-1::0;;;65277:60:0::1;;;;;;;:::i;:::-;65348:23;65354:8;65364:6;65348:5;:23::i;:::-;-1:-1:-1::0;65389:4:0::1;65139:262:::0;;;;:::o;64864:186::-;61872:5;;-1:-1:-1;;;;;61872:5:0;61858:10;:19;61854:51;;61886:19;;-1:-1:-1;;;61886:19:0;;;;;;;;;;;61854:51;64982:7:::1;;64972:6;64956:13;62474:7:::0;16461:13;;62531:102;64956:13:::1;:22;;;;:::i;:::-;:33;;64948:60;;;;-1:-1:-1::0;;;64948:60:0::1;;;;;;;:::i;:::-;65019:23;65025:8;65035:6;65019:5;:23::i;30110:475::-:0;30175:11;30367:13;;30357:7;:23;30353:214;;;30401:14;30434:60;-1:-1:-1;30451:26:0;;;;:17;:26;;;;;;;30441:42;;;30434:60;;30485:9;;;:::i;:::-;;;30434:60;;;-1:-1:-1;;;30522:24:0;:29;;-1:-1:-1;30353:214:0;30110:475;;;:::o;60619:165::-;60720:13;60714:4;60707:27;60761:4;60755;60748:18;52034:474;52163:13;52179:16;52187:7;52179;:16::i;:::-;52163:32;;52212:13;:45;;;;-1:-1:-1;58687:10:0;-1:-1:-1;;;;;52229:28:0;;;;52212:45;52208:201;;;52277:44;52294:5;58687:10;29688:164;:::i;52277:44::-;52272:137;;52342:51;-1:-1:-1;;;52342:7:0;:51::i;:::-;52421:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;52421:35:0;-1:-1:-1;;;;;52421:35:0;;;;;;;;;52472:28;;52421:24;;52472:28;;;;;;;52152:356;52034:474;;;:::o;24377:2213::-;24527:26;;;;:17;:26;;;;;;24854:6;24864:1;24854:11;24850:1292;;24901:13;;24890:7;:24;24886:77;;24916:47;-1:-1:-1;;;24916:7:0;:47::i;:::-;25520:607;-1:-1:-1;;;25616:9:0;25598:28;;;;:17;:28;;;;;;25672:25;;25520:607;25672:25;-1:-1:-1;;;25724:6:0;:24;25752:1;25724:29;25720:48;;24377:2213;;;:::o;25720:48::-;26060:47;-1:-1:-1;;;26060:7:0;:47::i;:::-;25520:607;;24850:1292;-1:-1:-1;;;26469:6:0;:24;26497:1;26469:29;26465:48;;24377:2213;;;:::o;26465:48::-;26535:47;-1:-1:-1;;;26535:7:0;:47::i;52775:89::-;52835:21;52841:7;52850:5;52835;:21::i;41065:2399::-;41138:20;41161:13;;;41189;;;41185:53;;41204:34;-1:-1:-1;;;41204:7:0;:34::i;:::-;41751:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;27375:28:0;;27549:11;27524:23;27520:41;27993:1;27980:15;;27954:24;27950:46;27517:52;27507:63;;41751:173;;;42142:22;;;:18;:22;;;;;:71;;42180:32;42168:45;;42142:71;;;27375:28;42403:13;;;42399:54;;42418:35;-1:-1:-1;;;42418:7:0;:35::i;:::-;42484:23;;;;42663:676;43082:7;43038:8;42993:1;42927:25;42864:1;42799;42768:358;43334:3;43321:9;;;;;;:16;42663:676;;-1:-1:-1;43355:13:0;:19;-1:-1:-1;36621:193:0;;;:::o;39912:691::-;40096:88;;-1:-1:-1;;;40096:88:0;;40075:4;;-1:-1:-1;;;;;40096:45:0;;;;;:88;;58687:10;;40163:4;;40169:7;;40178:5;;40096:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40096:88:0;;;;;;;;-1:-1:-1;;40096:88:0;;;;;;;;;;;;:::i;:::-;;;40092:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40379:6;:13;40396:1;40379:18;40375:115;;40418:56;-1:-1:-1;;;40418:7:0;:56::i;:::-;40562:6;40556:13;40547:6;40543:2;40539:15;40532:38;40092:504;-1:-1:-1;;;;;;40255:64:0;-1:-1:-1;;;40255:64:0;;-1:-1:-1;40092:504:0;39912:691;;;;;;:::o;58807:1745::-;58872:17;59306:4;59299;59293:11;59289:22;59398:1;59392:4;59385:15;59473:4;59470:1;59466:12;59459:19;;;59555:1;59550:3;59543:14;59659:3;59898:5;59880:428;59946:1;59941:3;59937:11;59930:18;;60117:2;60111:4;60107:13;60103:2;60099:22;60094:3;60086:36;60211:2;60201:13;;60268:25;59880:428;60268:25;-1:-1:-1;60338:13:0;;;-1:-1:-1;;60453:14:0;;;60515:19;;;60453:14;58807:1745;-1:-1:-1;58807:1745:0:o;53093:3108::-;53173:27;53203;53222:7;53203:18;:27::i;:::-;53173:57;-1:-1:-1;53173:57:0;53243:12;;53365:35;53392:7;31999:27;32110:24;;;:15;:24;;;;;32338:26;;32110:24;;31897:485;53365:35;53308:92;;;;53417:13;53413:325;;;53538:68;53563:15;53580:4;58687:10;53586:19;58600:105;53538:68;53533:193;;53630:43;53647:4;58687:10;29688:164;:::i;53630:43::-;53625:101;;53675:51;-1:-1:-1;;;53675:7:0;:51::i;:::-;53894:15;53891:160;;;54034:1;54013:19;54006:30;53891:160;-1:-1:-1;;;;;54653:24:0;;;;;;:18;:24;;;;;:60;;54681:32;54653:60;;;27549:11;27524:23;27520:41;27507:63;-1:-1:-1;;;27507:63:0;54951:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;55276:47:0;;:52;;55272:627;;55381:1;55371:11;;55349:19;55504:30;;;:17;:30;;;;;;:35;;55500:384;;55642:13;;55627:11;:28;55623:242;;55789:30;;;;:17;:30;;;;;:52;;;55623:242;55330:569;55272:627;55927:35;;55954:7;;55950:1;;-1:-1:-1;;;;;55927:35:0;;;;;55950:1;;55927:35;-1:-1:-1;;56168:12:0;:14;;;;;;-1:-1:-1;;;;53093:3108:0:o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:180::-;651:6;704:2;692:9;683:7;679:23;675:32;672:52;;;720:1;717;710:12;672:52;-1:-1:-1;743:23:1;;592:180;-1:-1:-1;592:180:1:o;777:250::-;862:1;872:113;886:6;883:1;880:13;872:113;;;962:11;;;956:18;943:11;;;936:39;908:2;901:10;872:113;;;-1:-1:-1;;1019:1:1;1001:16;;994:27;777:250::o;1032:271::-;1074:3;1112:5;1106:12;1139:6;1134:3;1127:19;1155:76;1224:6;1217:4;1212:3;1208:14;1201:4;1194:5;1190:16;1155:76;:::i;:::-;1285:2;1264:15;-1:-1:-1;;1260:29:1;1251:39;;;;1292:4;1247:50;;1032:271;-1:-1:-1;;1032:271:1:o;1308:220::-;1457:2;1446:9;1439:21;1420:4;1477:45;1518:2;1507:9;1503:18;1495:6;1477:45;:::i;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1919:254;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:186::-;2752:6;2805:2;2793:9;2784:7;2780:23;2776:32;2773:52;;;2821:1;2818;2811:12;2773:52;2844:29;2863:9;2844:29;:::i;2884:127::-;2945:10;2940:3;2936:20;2933:1;2926:31;2976:4;2973:1;2966:15;3000:4;2997:1;2990:15;3016:275;3087:2;3081:9;3152:2;3133:13;;-1:-1:-1;;3129:27:1;3117:40;;3187:18;3172:34;;3208:22;;;3169:62;3166:88;;;3234:18;;:::i;:::-;3270:2;3263:22;3016:275;;-1:-1:-1;3016:275:1:o;3296:183::-;3356:4;3389:18;3381:6;3378:30;3375:56;;;3411:18;;:::i;:::-;-1:-1:-1;3456:1:1;3452:14;3468:4;3448:25;;3296:183::o;3484:662::-;3538:5;3591:3;3584:4;3576:6;3572:17;3568:27;3558:55;;3609:1;3606;3599:12;3558:55;3645:6;3632:20;3671:4;3695:60;3711:43;3751:2;3711:43;:::i;:::-;3695:60;:::i;:::-;3789:15;;;3875:1;3871:10;;;;3859:23;;3855:32;;;3820:12;;;;3899:15;;;3896:35;;;3927:1;3924;3917:12;3896:35;3963:2;3955:6;3951:15;3975:142;3991:6;3986:3;3983:15;3975:142;;;4057:17;;4045:30;;4095:12;;;;4008;;3975:142;;;-1:-1:-1;4135:5:1;3484:662;-1:-1:-1;;;;;;3484:662:1:o;4151:1146::-;4269:6;4277;4330:2;4318:9;4309:7;4305:23;4301:32;4298:52;;;4346:1;4343;4336:12;4298:52;4386:9;4373:23;4415:18;4456:2;4448:6;4445:14;4442:34;;;4472:1;4469;4462:12;4442:34;4510:6;4499:9;4495:22;4485:32;;4555:7;4548:4;4544:2;4540:13;4536:27;4526:55;;4577:1;4574;4567:12;4526:55;4613:2;4600:16;4635:4;4659:60;4675:43;4715:2;4675:43;:::i;4659:60::-;4753:15;;;4835:1;4831:10;;;;4823:19;;4819:28;;;4784:12;;;;4859:19;;;4856:39;;;4891:1;4888;4881:12;4856:39;4915:11;;;;4935:148;4951:6;4946:3;4943:15;4935:148;;;5017:23;5036:3;5017:23;:::i;:::-;5005:36;;4968:12;;;;5061;;;;4935:148;;;5102:5;-1:-1:-1;;5145:18:1;;5132:32;;-1:-1:-1;;5176:16:1;;;5173:36;;;5205:1;5202;5195:12;5173:36;;5228:63;5283:7;5272:8;5261:9;5257:24;5228:63;:::i;:::-;5218:73;;;4151:1146;;;;;:::o;5302:407::-;5367:5;5401:18;5393:6;5390:30;5387:56;;;5423:18;;:::i;:::-;5461:57;5506:2;5485:15;;-1:-1:-1;;5481:29:1;5512:4;5477:40;5461:57;:::i;:::-;5452:66;;5541:6;5534:5;5527:21;5581:3;5572:6;5567:3;5563:16;5560:25;5557:45;;;5598:1;5595;5588:12;5557:45;5647:6;5642:3;5635:4;5628:5;5624:16;5611:43;5701:1;5694:4;5685:6;5678:5;5674:18;5670:29;5663:40;5302:407;;;;;:::o;5714:451::-;5783:6;5836:2;5824:9;5815:7;5811:23;5807:32;5804:52;;;5852:1;5849;5842:12;5804:52;5892:9;5879:23;5925:18;5917:6;5914:30;5911:50;;;5957:1;5954;5947:12;5911:50;5980:22;;6033:4;6025:13;;6021:27;-1:-1:-1;6011:55:1;;6062:1;6059;6052:12;6011:55;6085:74;6151:7;6146:2;6133:16;6128:2;6124;6120:11;6085:74;:::i;6170:347::-;6235:6;6243;6296:2;6284:9;6275:7;6271:23;6267:32;6264:52;;;6312:1;6309;6302:12;6264:52;6335:29;6354:9;6335:29;:::i;:::-;6325:39;;6414:2;6403:9;6399:18;6386:32;6461:5;6454:13;6447:21;6440:5;6437:32;6427:60;;6483:1;6480;6473:12;6427:60;6506:5;6496:15;;;6170:347;;;;;:::o;6522:667::-;6617:6;6625;6633;6641;6694:3;6682:9;6673:7;6669:23;6665:33;6662:53;;;6711:1;6708;6701:12;6662:53;6734:29;6753:9;6734:29;:::i;:::-;6724:39;;6782:38;6816:2;6805:9;6801:18;6782:38;:::i;:::-;6772:48;;6867:2;6856:9;6852:18;6839:32;6829:42;;6922:2;6911:9;6907:18;6894:32;6949:18;6941:6;6938:30;6935:50;;;6981:1;6978;6971:12;6935:50;7004:22;;7057:4;7049:13;;7045:27;-1:-1:-1;7035:55:1;;7086:1;7083;7076:12;7035:55;7109:74;7175:7;7170:2;7157:16;7152:2;7148;7144:11;7109:74;:::i;:::-;7099:84;;;6522:667;;;;;;;:::o;7194:260::-;7262:6;7270;7323:2;7311:9;7302:7;7298:23;7294:32;7291:52;;;7339:1;7336;7329:12;7291:52;7362:29;7381:9;7362:29;:::i;:::-;7352:39;;7410:38;7444:2;7433:9;7429:18;7410:38;:::i;:::-;7400:48;;7194:260;;;;;:::o;7459:380::-;7538:1;7534:12;;;;7581;;;7602:61;;7656:4;7648:6;7644:17;7634:27;;7602:61;7709:2;7701:6;7698:14;7678:18;7675:38;7672:161;;7755:10;7750:3;7746:20;7743:1;7736:31;7790:4;7787:1;7780:15;7818:4;7815:1;7808:15;7672:161;;7459:380;;;:::o;8529:127::-;8590:10;8585:3;8581:20;8578:1;8571:31;8621:4;8618:1;8611:15;8645:4;8642:1;8635:15;8661:125;8726:9;;;8747:10;;;8744:36;;;8760:18;;:::i;8791:128::-;8858:9;;;8879:11;;;8876:37;;;8893:18;;:::i;8924:135::-;8963:3;8984:17;;;8981:43;;9004:18;;:::i;:::-;-1:-1:-1;9051:1:1;9040:13;;8924:135::o;9752:127::-;9813:10;9808:3;9804:20;9801:1;9794:31;9844:4;9841:1;9834:15;9868:4;9865:1;9858:15;9884:338;10086:2;10068:21;;;10125:2;10105:18;;;10098:30;-1:-1:-1;;;10159:2:1;10144:18;;10137:44;10213:2;10198:18;;9884:338::o;10697:545::-;10799:2;10794:3;10791:11;10788:448;;;10835:1;10860:5;10856:2;10849:17;10905:4;10901:2;10891:19;10975:2;10963:10;10959:19;10956:1;10952:27;10946:4;10942:38;11011:4;10999:10;10996:20;10993:47;;;-1:-1:-1;11034:4:1;10993:47;11089:2;11084:3;11080:12;11077:1;11073:20;11067:4;11063:31;11053:41;;11144:82;11162:2;11155:5;11152:13;11144:82;;;11207:17;;;11188:1;11177:13;11144:82;;;11148:3;;;10697:545;;;:::o;11418:1352::-;11544:3;11538:10;11571:18;11563:6;11560:30;11557:56;;;11593:18;;:::i;:::-;11622:97;11712:6;11672:38;11704:4;11698:11;11672:38;:::i;:::-;11666:4;11622:97;:::i;:::-;11774:4;;11838:2;11827:14;;11855:1;11850:663;;;;12557:1;12574:6;12571:89;;;-1:-1:-1;12626:19:1;;;12620:26;12571:89;-1:-1:-1;;11375:1:1;11371:11;;;11367:24;11363:29;11353:40;11399:1;11395:11;;;11350:57;12673:81;;11820:944;;11850:663;10644:1;10637:14;;;10681:4;10668:18;;-1:-1:-1;;11886:20:1;;;12004:236;12018:7;12015:1;12012:14;12004:236;;;12107:19;;;12101:26;12086:42;;12199:27;;;;12167:1;12155:14;;;;12034:19;;12004:236;;;12008:3;12268:6;12259:7;12256:19;12253:201;;;12329:19;;;12323:26;-1:-1:-1;;12412:1:1;12408:14;;;12424:3;12404:24;12400:37;12396:42;12381:58;12366:74;;12253:201;-1:-1:-1;;;;;12500:1:1;12484:14;;;12480:22;12467:36;;-1:-1:-1;11418:1352:1:o;12775:1187::-;13052:3;13081:1;13114:6;13108:13;13144:36;13170:9;13144:36;:::i;:::-;13199:1;13216:18;;;13243:133;;;;13390:1;13385:356;;;;13209:532;;13243:133;-1:-1:-1;;13276:24:1;;13264:37;;13349:14;;13342:22;13330:35;;13321:45;;;-1:-1:-1;13243:133:1;;13385:356;13416:6;13413:1;13406:17;13446:4;13491:2;13488:1;13478:16;13516:1;13530:165;13544:6;13541:1;13538:13;13530:165;;;13622:14;;13609:11;;;13602:35;13665:16;;;;13559:10;;13530:165;;;13534:3;;;13724:6;13719:3;13715:16;13708:23;;13209:532;;;;;13772:6;13766:13;13788:68;13847:8;13842:3;13835:4;13827:6;13823:17;13788:68;:::i;:::-;-1:-1:-1;;;13878:18:1;;13905:22;;;13954:1;13943:13;;12775:1187;-1:-1:-1;;;;12775:1187:1:o;14734:136::-;14773:3;14801:5;14791:39;;14810:18;;:::i;:::-;-1:-1:-1;;;14846:18:1;;14734:136::o;14875:489::-;-1:-1:-1;;;;;15144:15:1;;;15126:34;;15196:15;;15191:2;15176:18;;15169:43;15243:2;15228:18;;15221:34;;;15291:3;15286:2;15271:18;;15264:31;;;15069:4;;15312:46;;15338:19;;15330:6;15312:46;:::i;:::-;15304:54;14875:489;-1:-1:-1;;;;;;14875:489:1:o;15369:249::-;15438:6;15491:2;15479:9;15470:7;15466:23;15462:32;15459:52;;;15507:1;15504;15497:12;15459:52;15539:9;15533:16;15558:30;15582:5;15558:30;:::i
Swarm Source
ipfs://b8d419a14a21bf2aced4996baaa420a7bccf0e57c176615a0c208cc7fb31934a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.