Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
RocketshipPassEco
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity)
/** *Submitted for verification at Nova.Arbiscan.io on 2024-12-11 */ // 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: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/RocketshipPassEco.sol pragma solidity ^0.8.26; contract RocketshipPassEco is ERC721A, Ownable { // config constructor(address initialOwner) ERC721A("Rocketship Pass Eco Class", "ECOPASS") Ownable(initialOwner) { } uint256 public MAX_MINT_PER_WALLET = 5; uint256 public START_ID = 1; bool public mintEnabled = false; string public baseURI = "https://boredtopia.github.io/rocketship-pass/eco.json"; // start token id function _startTokenId() internal view virtual override returns (uint256) { return START_ID; } // metadata function setBaseURI(string calldata _newBaseURI) external onlyOwner { baseURI = _newBaseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { return baseURI; } // toggle sale function toggleSale() external onlyOwner { mintEnabled = !mintEnabled; } // mint function mint(uint quantity, bytes32[] calldata _merkleProof) external { require(mintEnabled, "Sale is not enabled"); require(_numberMinted(msg.sender) + quantity <= MAX_MINT_PER_WALLET, "Over wallet limit"); _mint(msg.sender, quantity); } function adminMint(uint quantity) external onlyOwner { _mint(msg.sender, quantity); } // aliases function numberMinted(address owner) external view returns (uint256) { return _numberMinted(owner); } function remainingSupply() external pure returns (uint256) { return 0; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"initialOwner","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"adminMint","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","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":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526005600a556001600b555f600c5f6101000a81548160ff021916908315150217905550604051806060016040528060358152602001612c1560359139600d908161004e9190610512565b5034801561005a575f80fd5b50604051612c4a380380612c4a833981810160405281019061007c919061063f565b806040518060400160405280601981526020017f526f636b65747368697020506173732045636f20436c617373000000000000008152506040518060400160405280600781526020017f45434f504153530000000000000000000000000000000000000000000000000081525081600290816100f89190610512565b5080600390816101089190610512565b506101176101dd60201b60201c565b5f8190555061012a6101dd60201b60201c565b6101386101e660201b60201c565b10156101555761015463fed8210f60e01b61020d60201b60201c565b5b50505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101c7575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101be9190610679565b60405180910390fd5b6101d68161021560201b60201c565b5050610692565b5f600b54905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b805f5260045ffd5b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061035357607f821691505b6020821081036103665761036561030f565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026103c87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261038d565b6103d2868361038d565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61041661041161040c846103ea565b6103f3565b6103ea565b9050919050565b5f819050919050565b61042f836103fc565b61044361043b8261041d565b848454610399565b825550505050565b5f90565b61045761044b565b610462818484610426565b505050565b5b818110156104855761047a5f8261044f565b600181019050610468565b5050565b601f8211156104ca5761049b8161036c565b6104a48461037e565b810160208510156104b3578190505b6104c76104bf8561037e565b830182610467565b50505b505050565b5f82821c905092915050565b5f6104ea5f19846008026104cf565b1980831691505092915050565b5f61050283836104db565b9150826002028217905092915050565b61051b826102d8565b67ffffffffffffffff811115610534576105336102e2565b5b61053e825461033c565b610549828285610489565b5f60209050601f83116001811461057a575f8415610568578287015190505b61057285826104f7565b8655506105d9565b601f1984166105888661036c565b5f5b828110156105af5784890151825560018201915060208501945060208101905061058a565b868310156105cc57848901516105c8601f8916826104db565b8355505b6001600288020188555050505b505050505050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61060e826105e5565b9050919050565b61061e81610604565b8114610628575f80fd5b50565b5f8151905061063981610615565b92915050565b5f60208284031215610654576106536105e1565b5b5f6106618482850161062b565b91505092915050565b61067381610604565b82525050565b5f60208201905061068c5f83018461066a565b92915050565b6125768061069f5f395ff3fe60806040526004361061019b575f3560e01c80638da5cb5b116100eb578063c1f2612311610089578063da0239a611610063578063da0239a614610557578063dc33e68114610581578063e985e9c5146105bd578063f2fde38b146105f95761019b565b8063c1f26123146104c9578063c87b56dd146104f1578063d12397301461052d5761019b565b8063aa39fbbe116100c5578063aa39fbbe14610431578063b19960e61461045b578063b88d4fde14610485578063ba41b0c6146104a15761019b565b80638da5cb5b146103b557806395d89b41146103df578063a22cb465146104095761019b565b806342842e0e116101585780636c0360eb116101325780636c0360eb1461032357806370a082311461034d578063715018a6146103895780637d8966e41461039f5761019b565b806342842e0e146102a357806355f804b3146102bf5780636352211e146102e75761019b565b806301ffc9a71461019f57806306fdde03146101db578063081812fc14610205578063095ea7b31461024157806318160ddd1461025d57806323b872dd14610287575b5f80fd5b3480156101aa575f80fd5b506101c560048036038101906101c091906119e2565b610621565b6040516101d29190611a27565b60405180910390f35b3480156101e6575f80fd5b506101ef6106b2565b6040516101fc9190611ab0565b60405180910390f35b348015610210575f80fd5b5061022b60048036038101906102269190611b03565b610742565b6040516102389190611b6d565b60405180910390f35b61025b60048036038101906102569190611bb0565b61079b565b005b348015610268575f80fd5b506102716107ab565b60405161027e9190611bfd565b60405180910390f35b6102a1600480360381019061029c9190611c16565b6107f6565b005b6102bd60048036038101906102b89190611c16565b610aa1565b005b3480156102ca575f80fd5b506102e560048036038101906102e09190611cc7565b610ac0565b005b3480156102f2575f80fd5b5061030d60048036038101906103089190611b03565b610ade565b60405161031a9190611b6d565b60405180910390f35b34801561032e575f80fd5b50610337610aef565b6040516103449190611ab0565b60405180910390f35b348015610358575f80fd5b50610373600480360381019061036e9190611d12565b610b7b565b6040516103809190611bfd565b60405180910390f35b348015610394575f80fd5b5061039d610c0f565b005b3480156103aa575f80fd5b506103b3610c22565b005b3480156103c0575f80fd5b506103c9610c54565b6040516103d69190611b6d565b60405180910390f35b3480156103ea575f80fd5b506103f3610c7c565b6040516104009190611ab0565b60405180910390f35b348015610414575f80fd5b5061042f600480360381019061042a9190611d67565b610d0c565b005b34801561043c575f80fd5b50610445610e12565b6040516104529190611bfd565b60405180910390f35b348015610466575f80fd5b5061046f610e18565b60405161047c9190611bfd565b60405180910390f35b61049f600480360381019061049a9190611ecd565b610e1e565b005b3480156104ac575f80fd5b506104c760048036038101906104c29190611fa2565b610e6f565b005b3480156104d4575f80fd5b506104ef60048036038101906104ea9190611b03565b610f24565b005b3480156104fc575f80fd5b5061051760048036038101906105129190611b03565b610f39565b6040516105249190611ab0565b60405180910390f35b348015610538575f80fd5b50610541610fcb565b60405161054e9190611a27565b60405180910390f35b348015610562575f80fd5b5061056b610fdd565b6040516105789190611bfd565b60405180910390f35b34801561058c575f80fd5b506105a760048036038101906105a29190611d12565b610fe1565b6040516105b49190611bfd565b60405180910390f35b3480156105c8575f80fd5b506105e360048036038101906105de9190611fff565b610ff2565b6040516105f09190611a27565b60405180910390f35b348015610604575f80fd5b5061061f600480360381019061061a9190611d12565b611080565b005b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061067b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106ab5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546106c19061206a565b80601f01602080910402602001604051908101604052809291908181526020018280546106ed9061206a565b80156107385780601f1061070f57610100808354040283529160200191610738565b820191905f5260205f20905b81548152906001019060200180831161071b57829003601f168201915b5050505050905090565b5f61074c82611104565b6107615761076063cf4700e460e01b6111a7565b5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6107a7828260016111af565b5050565b5f6107b46112d9565b6001545f54030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6107e66112e2565b146107f357600854810190505b90565b5f61080082611309565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108755761087463a114810060e01b6111a7565b5b5f8061088084611418565b91509150610896818761089161143b565b611442565b6108c1576108ab866108a661143b565b610ff2565b6108c0576108bf6359c896be60e01b6111a7565b5b5b6108ce8686866001611485565b80156108d8575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600101919050819055506109a08561097c88888761148b565b7c0200000000000000000000000000000000000000000000000000000000176114b2565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610a1c575f6001850190505f60045f8381526020019081526020015f205403610a1a575f548114610a19578360045f8381526020019081526020015f20819055505b5b505b5f73ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45f8103610a8b57610a8a63ea553b3460e01b6111a7565b5b610a9887878760016114dc565b50505050505050565b610abb83838360405180602001604052805f815250610e1e565b505050565b610ac86114e2565b8181600d9182610ad9929190612241565b505050565b5f610ae882611309565b9050919050565b600d8054610afc9061206a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b289061206a565b8015610b735780601f10610b4a57610100808354040283529160200191610b73565b820191905f5260205f20905b815481529060010190602001808311610b5657829003601f168201915b505050505081565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bc057610bbf638f4eb60460e01b6111a7565b5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610c176114e2565b610c205f611569565b565b610c2a6114e2565b600c5f9054906101000a900460ff1615600c5f6101000a81548160ff021916908315150217905550565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610c8b9061206a565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb79061206a565b8015610d025780601f10610cd957610100808354040283529160200191610d02565b820191905f5260205f20905b815481529060010190602001808311610ce557829003601f168201915b5050505050905090565b8060075f610d1861143b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610dc161143b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e069190611a27565b60405180910390a35050565b600b5481565b600a5481565b610e298484846107f6565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14610e6957610e538484848461162c565b610e6857610e6763d1a57ed660e01b6111a7565b5b5b50505050565b600c5f9054906101000a900460ff16610ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb490612358565b60405180910390fd5b600a5483610eca33611756565b610ed491906123a3565b1115610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c90612420565b60405180910390fd5b610f1f33846117aa565b505050565b610f2c6114e2565b610f3633826117aa565b50565b6060600d8054610f489061206a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f749061206a565b8015610fbf5780601f10610f9657610100808354040283529160200191610fbf565b820191905f5260205f20905b815481529060010190602001808311610fa257829003601f168201915b50505050509050919050565b600c5f9054906101000a900460ff1681565b5f90565b5f610feb82611756565b9050919050565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6110886114e2565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036110f8575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016110ef9190611b6d565b60405180910390fd5b61110181611569565b50565b5f8161110e6112d9565b116111a15761111b6112e2565b8211156111435761113c60045f8481526020019081526020015f205461191e565b90506111a2565b5f548210156111a0575f5b5f60045f8581526020019081526020015f20549150810361117a57826111739061243e565b925061114e565b5f7c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b805f5260045ffd5b5f6111b983610ade565b90508180156111fb57508073ffffffffffffffffffffffffffffffffffffffff166111e261143b565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611227576112118161120c61143b565b610ff2565b6112265761122563cfb3b94260e01b6111a7565b5b5b8360065f8581526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b5f600b54905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b5f816113136112d9565b116114025760045f8381526020019081526020015f205490506113346112e2565b821115611359576113448161191e565b6114135761135863df2d9b4260e01b6111a7565b5b5f81036113da575f5482106113795761137863df2d9b4260e01b6111a7565b5b5b60045f836001900393508381526020019081526020015f205490505f8103156113d5575f7c010000000000000000000000000000000000000000000000000000000082160315611413576113d463df2d9b4260e01b6111a7565b5b61137a565b5f7c010000000000000000000000000000000000000000000000000000000082160315611413575b61141263df2d9b4260e01b6111a7565b5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e86114a186868461195e565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6114ea611966565b73ffffffffffffffffffffffffffffffffffffffff16611508610c54565b73ffffffffffffffffffffffffffffffffffffffff16146115675761152b611966565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161155e9190611b6d565b60405180910390fd5b565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261165161143b565b8786866040518563ffffffff1660e01b815260040161167394939291906124b7565b6020604051808303815f875af19250505080156116ae57506040513d601f19601f820116820180604052508101906116ab9190612515565b60015b611703573d805f81146116dc576040519150601f19603f3d011682016040523d82523d5f602084013e6116e1565b606091505b505f8151036116fb576116fa63d1a57ed660e01b6111a7565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b5f67ffffffffffffffff604060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054901c169050919050565b5f805490505f82036117c7576117c663b562e8dd60e01b6111a7565b5b6117d35f848385611485565b6117f1836117e25f865f61148b565b6117eb8561196d565b176114b2565b60045f8381526020019081526020015f2081905550600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f73ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690505f81036118a2576118a1632e07630060e01b6111a7565b5b5f83830190505f8390506118b46112e2565b6001830311156118cf576118ce6381647e3a60e01b6111a7565b5b5b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a48181600101915081036118d057815f819055505050506119195f8483856114dc565b505050565b5f7c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b5f9392505050565b5f33905090565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6119c18161198d565b81146119cb575f80fd5b50565b5f813590506119dc816119b8565b92915050565b5f602082840312156119f7576119f6611985565b5b5f611a04848285016119ce565b91505092915050565b5f8115159050919050565b611a2181611a0d565b82525050565b5f602082019050611a3a5f830184611a18565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611a8282611a40565b611a8c8185611a4a565b9350611a9c818560208601611a5a565b611aa581611a68565b840191505092915050565b5f6020820190508181035f830152611ac88184611a78565b905092915050565b5f819050919050565b611ae281611ad0565b8114611aec575f80fd5b50565b5f81359050611afd81611ad9565b92915050565b5f60208284031215611b1857611b17611985565b5b5f611b2584828501611aef565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611b5782611b2e565b9050919050565b611b6781611b4d565b82525050565b5f602082019050611b805f830184611b5e565b92915050565b611b8f81611b4d565b8114611b99575f80fd5b50565b5f81359050611baa81611b86565b92915050565b5f8060408385031215611bc657611bc5611985565b5b5f611bd385828601611b9c565b9250506020611be485828601611aef565b9150509250929050565b611bf781611ad0565b82525050565b5f602082019050611c105f830184611bee565b92915050565b5f805f60608486031215611c2d57611c2c611985565b5b5f611c3a86828701611b9c565b9350506020611c4b86828701611b9c565b9250506040611c5c86828701611aef565b9150509250925092565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112611c8757611c86611c66565b5b8235905067ffffffffffffffff811115611ca457611ca3611c6a565b5b602083019150836001820283011115611cc057611cbf611c6e565b5b9250929050565b5f8060208385031215611cdd57611cdc611985565b5b5f83013567ffffffffffffffff811115611cfa57611cf9611989565b5b611d0685828601611c72565b92509250509250929050565b5f60208284031215611d2757611d26611985565b5b5f611d3484828501611b9c565b91505092915050565b611d4681611a0d565b8114611d50575f80fd5b50565b5f81359050611d6181611d3d565b92915050565b5f8060408385031215611d7d57611d7c611985565b5b5f611d8a85828601611b9c565b9250506020611d9b85828601611d53565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611ddf82611a68565b810181811067ffffffffffffffff82111715611dfe57611dfd611da9565b5b80604052505050565b5f611e1061197c565b9050611e1c8282611dd6565b919050565b5f67ffffffffffffffff821115611e3b57611e3a611da9565b5b611e4482611a68565b9050602081019050919050565b828183375f83830152505050565b5f611e71611e6c84611e21565b611e07565b905082815260208101848484011115611e8d57611e8c611da5565b5b611e98848285611e51565b509392505050565b5f82601f830112611eb457611eb3611c66565b5b8135611ec4848260208601611e5f565b91505092915050565b5f805f8060808587031215611ee557611ee4611985565b5b5f611ef287828801611b9c565b9450506020611f0387828801611b9c565b9350506040611f1487828801611aef565b925050606085013567ffffffffffffffff811115611f3557611f34611989565b5b611f4187828801611ea0565b91505092959194509250565b5f8083601f840112611f6257611f61611c66565b5b8235905067ffffffffffffffff811115611f7f57611f7e611c6a565b5b602083019150836020820283011115611f9b57611f9a611c6e565b5b9250929050565b5f805f60408486031215611fb957611fb8611985565b5b5f611fc686828701611aef565b935050602084013567ffffffffffffffff811115611fe757611fe6611989565b5b611ff386828701611f4d565b92509250509250925092565b5f806040838503121561201557612014611985565b5b5f61202285828601611b9c565b925050602061203385828601611b9c565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061208157607f821691505b6020821081036120945761209361203d565b5b50919050565b5f82905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026121007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826120c5565b61210a86836120c5565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61214561214061213b84611ad0565b612122565b611ad0565b9050919050565b5f819050919050565b61215e8361212b565b61217261216a8261214c565b8484546120d1565b825550505050565b5f90565b61218661217a565b612191818484612155565b505050565b5b818110156121b4576121a95f8261217e565b600181019050612197565b5050565b601f8211156121f9576121ca816120a4565b6121d3846120b6565b810160208510156121e2578190505b6121f66121ee856120b6565b830182612196565b50505b505050565b5f82821c905092915050565b5f6122195f19846008026121fe565b1980831691505092915050565b5f612231838361220a565b9150826002028217905092915050565b61224b838361209a565b67ffffffffffffffff81111561226457612263611da9565b5b61226e825461206a565b6122798282856121b8565b5f601f8311600181146122a6575f8415612294578287013590505b61229e8582612226565b865550612305565b601f1984166122b4866120a4565b5f5b828110156122db578489013582556001820191506020850194506020810190506122b6565b868310156122f857848901356122f4601f89168261220a565b8355505b6001600288020188555050505b50505050505050565b7f53616c65206973206e6f7420656e61626c6564000000000000000000000000005f82015250565b5f612342601383611a4a565b915061234d8261230e565b602082019050919050565b5f6020820190508181035f83015261236f81612336565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6123ad82611ad0565b91506123b883611ad0565b92508282019050808211156123d0576123cf612376565b5b92915050565b7f4f7665722077616c6c6574206c696d69740000000000000000000000000000005f82015250565b5f61240a601183611a4a565b9150612415826123d6565b602082019050919050565b5f6020820190508181035f830152612437816123fe565b9050919050565b5f61244882611ad0565b91505f820361245a57612459612376565b5b600182039050919050565b5f81519050919050565b5f82825260208201905092915050565b5f61248982612465565b612493818561246f565b93506124a3818560208601611a5a565b6124ac81611a68565b840191505092915050565b5f6080820190506124ca5f830187611b5e565b6124d76020830186611b5e565b6124e46040830185611bee565b81810360608301526124f6818461247f565b905095945050505050565b5f8151905061250f816119b8565b92915050565b5f6020828403121561252a57612529611985565b5b5f61253784828501612501565b9150509291505056fea2646970667358221220cf471b0138523bf2555b2b2ab3e1bf7c0753e60ceb1e9b1482da51071564d36c64736f6c634300081a003368747470733a2f2f626f726564746f7069612e6769746875622e696f2f726f636b6574736869702d706173732f65636f2e6a736f6e00000000000000000000000053873925c5156c505e65a73542cec125edd3e8a1
Deployed Bytecode
0x60806040526004361061019b575f3560e01c80638da5cb5b116100eb578063c1f2612311610089578063da0239a611610063578063da0239a614610557578063dc33e68114610581578063e985e9c5146105bd578063f2fde38b146105f95761019b565b8063c1f26123146104c9578063c87b56dd146104f1578063d12397301461052d5761019b565b8063aa39fbbe116100c5578063aa39fbbe14610431578063b19960e61461045b578063b88d4fde14610485578063ba41b0c6146104a15761019b565b80638da5cb5b146103b557806395d89b41146103df578063a22cb465146104095761019b565b806342842e0e116101585780636c0360eb116101325780636c0360eb1461032357806370a082311461034d578063715018a6146103895780637d8966e41461039f5761019b565b806342842e0e146102a357806355f804b3146102bf5780636352211e146102e75761019b565b806301ffc9a71461019f57806306fdde03146101db578063081812fc14610205578063095ea7b31461024157806318160ddd1461025d57806323b872dd14610287575b5f80fd5b3480156101aa575f80fd5b506101c560048036038101906101c091906119e2565b610621565b6040516101d29190611a27565b60405180910390f35b3480156101e6575f80fd5b506101ef6106b2565b6040516101fc9190611ab0565b60405180910390f35b348015610210575f80fd5b5061022b60048036038101906102269190611b03565b610742565b6040516102389190611b6d565b60405180910390f35b61025b60048036038101906102569190611bb0565b61079b565b005b348015610268575f80fd5b506102716107ab565b60405161027e9190611bfd565b60405180910390f35b6102a1600480360381019061029c9190611c16565b6107f6565b005b6102bd60048036038101906102b89190611c16565b610aa1565b005b3480156102ca575f80fd5b506102e560048036038101906102e09190611cc7565b610ac0565b005b3480156102f2575f80fd5b5061030d60048036038101906103089190611b03565b610ade565b60405161031a9190611b6d565b60405180910390f35b34801561032e575f80fd5b50610337610aef565b6040516103449190611ab0565b60405180910390f35b348015610358575f80fd5b50610373600480360381019061036e9190611d12565b610b7b565b6040516103809190611bfd565b60405180910390f35b348015610394575f80fd5b5061039d610c0f565b005b3480156103aa575f80fd5b506103b3610c22565b005b3480156103c0575f80fd5b506103c9610c54565b6040516103d69190611b6d565b60405180910390f35b3480156103ea575f80fd5b506103f3610c7c565b6040516104009190611ab0565b60405180910390f35b348015610414575f80fd5b5061042f600480360381019061042a9190611d67565b610d0c565b005b34801561043c575f80fd5b50610445610e12565b6040516104529190611bfd565b60405180910390f35b348015610466575f80fd5b5061046f610e18565b60405161047c9190611bfd565b60405180910390f35b61049f600480360381019061049a9190611ecd565b610e1e565b005b3480156104ac575f80fd5b506104c760048036038101906104c29190611fa2565b610e6f565b005b3480156104d4575f80fd5b506104ef60048036038101906104ea9190611b03565b610f24565b005b3480156104fc575f80fd5b5061051760048036038101906105129190611b03565b610f39565b6040516105249190611ab0565b60405180910390f35b348015610538575f80fd5b50610541610fcb565b60405161054e9190611a27565b60405180910390f35b348015610562575f80fd5b5061056b610fdd565b6040516105789190611bfd565b60405180910390f35b34801561058c575f80fd5b506105a760048036038101906105a29190611d12565b610fe1565b6040516105b49190611bfd565b60405180910390f35b3480156105c8575f80fd5b506105e360048036038101906105de9190611fff565b610ff2565b6040516105f09190611a27565b60405180910390f35b348015610604575f80fd5b5061061f600480360381019061061a9190611d12565b611080565b005b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061067b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106ab5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546106c19061206a565b80601f01602080910402602001604051908101604052809291908181526020018280546106ed9061206a565b80156107385780601f1061070f57610100808354040283529160200191610738565b820191905f5260205f20905b81548152906001019060200180831161071b57829003601f168201915b5050505050905090565b5f61074c82611104565b6107615761076063cf4700e460e01b6111a7565b5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6107a7828260016111af565b5050565b5f6107b46112d9565b6001545f54030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6107e66112e2565b146107f357600854810190505b90565b5f61080082611309565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108755761087463a114810060e01b6111a7565b5b5f8061088084611418565b91509150610896818761089161143b565b611442565b6108c1576108ab866108a661143b565b610ff2565b6108c0576108bf6359c896be60e01b6111a7565b5b5b6108ce8686866001611485565b80156108d8575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600101919050819055506109a08561097c88888761148b565b7c0200000000000000000000000000000000000000000000000000000000176114b2565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610a1c575f6001850190505f60045f8381526020019081526020015f205403610a1a575f548114610a19578360045f8381526020019081526020015f20819055505b5b505b5f73ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45f8103610a8b57610a8a63ea553b3460e01b6111a7565b5b610a9887878760016114dc565b50505050505050565b610abb83838360405180602001604052805f815250610e1e565b505050565b610ac86114e2565b8181600d9182610ad9929190612241565b505050565b5f610ae882611309565b9050919050565b600d8054610afc9061206a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b289061206a565b8015610b735780601f10610b4a57610100808354040283529160200191610b73565b820191905f5260205f20905b815481529060010190602001808311610b5657829003601f168201915b505050505081565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bc057610bbf638f4eb60460e01b6111a7565b5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610c176114e2565b610c205f611569565b565b610c2a6114e2565b600c5f9054906101000a900460ff1615600c5f6101000a81548160ff021916908315150217905550565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610c8b9061206a565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb79061206a565b8015610d025780601f10610cd957610100808354040283529160200191610d02565b820191905f5260205f20905b815481529060010190602001808311610ce557829003601f168201915b5050505050905090565b8060075f610d1861143b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610dc161143b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e069190611a27565b60405180910390a35050565b600b5481565b600a5481565b610e298484846107f6565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14610e6957610e538484848461162c565b610e6857610e6763d1a57ed660e01b6111a7565b5b5b50505050565b600c5f9054906101000a900460ff16610ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb490612358565b60405180910390fd5b600a5483610eca33611756565b610ed491906123a3565b1115610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c90612420565b60405180910390fd5b610f1f33846117aa565b505050565b610f2c6114e2565b610f3633826117aa565b50565b6060600d8054610f489061206a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f749061206a565b8015610fbf5780601f10610f9657610100808354040283529160200191610fbf565b820191905f5260205f20905b815481529060010190602001808311610fa257829003601f168201915b50505050509050919050565b600c5f9054906101000a900460ff1681565b5f90565b5f610feb82611756565b9050919050565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6110886114e2565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036110f8575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016110ef9190611b6d565b60405180910390fd5b61110181611569565b50565b5f8161110e6112d9565b116111a15761111b6112e2565b8211156111435761113c60045f8481526020019081526020015f205461191e565b90506111a2565b5f548210156111a0575f5b5f60045f8581526020019081526020015f20549150810361117a57826111739061243e565b925061114e565b5f7c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b805f5260045ffd5b5f6111b983610ade565b90508180156111fb57508073ffffffffffffffffffffffffffffffffffffffff166111e261143b565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611227576112118161120c61143b565b610ff2565b6112265761122563cfb3b94260e01b6111a7565b5b5b8360065f8581526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b5f600b54905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b5f816113136112d9565b116114025760045f8381526020019081526020015f205490506113346112e2565b821115611359576113448161191e565b6114135761135863df2d9b4260e01b6111a7565b5b5f81036113da575f5482106113795761137863df2d9b4260e01b6111a7565b5b5b60045f836001900393508381526020019081526020015f205490505f8103156113d5575f7c010000000000000000000000000000000000000000000000000000000082160315611413576113d463df2d9b4260e01b6111a7565b5b61137a565b5f7c010000000000000000000000000000000000000000000000000000000082160315611413575b61141263df2d9b4260e01b6111a7565b5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e86114a186868461195e565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6114ea611966565b73ffffffffffffffffffffffffffffffffffffffff16611508610c54565b73ffffffffffffffffffffffffffffffffffffffff16146115675761152b611966565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161155e9190611b6d565b60405180910390fd5b565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261165161143b565b8786866040518563ffffffff1660e01b815260040161167394939291906124b7565b6020604051808303815f875af19250505080156116ae57506040513d601f19601f820116820180604052508101906116ab9190612515565b60015b611703573d805f81146116dc576040519150601f19603f3d011682016040523d82523d5f602084013e6116e1565b606091505b505f8151036116fb576116fa63d1a57ed660e01b6111a7565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b5f67ffffffffffffffff604060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054901c169050919050565b5f805490505f82036117c7576117c663b562e8dd60e01b6111a7565b5b6117d35f848385611485565b6117f1836117e25f865f61148b565b6117eb8561196d565b176114b2565b60045f8381526020019081526020015f2081905550600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f73ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690505f81036118a2576118a1632e07630060e01b6111a7565b5b5f83830190505f8390506118b46112e2565b6001830311156118cf576118ce6381647e3a60e01b6111a7565b5b5b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a48181600101915081036118d057815f819055505050506119195f8483856114dc565b505050565b5f7c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b5f9392505050565b5f33905090565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6119c18161198d565b81146119cb575f80fd5b50565b5f813590506119dc816119b8565b92915050565b5f602082840312156119f7576119f6611985565b5b5f611a04848285016119ce565b91505092915050565b5f8115159050919050565b611a2181611a0d565b82525050565b5f602082019050611a3a5f830184611a18565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611a8282611a40565b611a8c8185611a4a565b9350611a9c818560208601611a5a565b611aa581611a68565b840191505092915050565b5f6020820190508181035f830152611ac88184611a78565b905092915050565b5f819050919050565b611ae281611ad0565b8114611aec575f80fd5b50565b5f81359050611afd81611ad9565b92915050565b5f60208284031215611b1857611b17611985565b5b5f611b2584828501611aef565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611b5782611b2e565b9050919050565b611b6781611b4d565b82525050565b5f602082019050611b805f830184611b5e565b92915050565b611b8f81611b4d565b8114611b99575f80fd5b50565b5f81359050611baa81611b86565b92915050565b5f8060408385031215611bc657611bc5611985565b5b5f611bd385828601611b9c565b9250506020611be485828601611aef565b9150509250929050565b611bf781611ad0565b82525050565b5f602082019050611c105f830184611bee565b92915050565b5f805f60608486031215611c2d57611c2c611985565b5b5f611c3a86828701611b9c565b9350506020611c4b86828701611b9c565b9250506040611c5c86828701611aef565b9150509250925092565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112611c8757611c86611c66565b5b8235905067ffffffffffffffff811115611ca457611ca3611c6a565b5b602083019150836001820283011115611cc057611cbf611c6e565b5b9250929050565b5f8060208385031215611cdd57611cdc611985565b5b5f83013567ffffffffffffffff811115611cfa57611cf9611989565b5b611d0685828601611c72565b92509250509250929050565b5f60208284031215611d2757611d26611985565b5b5f611d3484828501611b9c565b91505092915050565b611d4681611a0d565b8114611d50575f80fd5b50565b5f81359050611d6181611d3d565b92915050565b5f8060408385031215611d7d57611d7c611985565b5b5f611d8a85828601611b9c565b9250506020611d9b85828601611d53565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611ddf82611a68565b810181811067ffffffffffffffff82111715611dfe57611dfd611da9565b5b80604052505050565b5f611e1061197c565b9050611e1c8282611dd6565b919050565b5f67ffffffffffffffff821115611e3b57611e3a611da9565b5b611e4482611a68565b9050602081019050919050565b828183375f83830152505050565b5f611e71611e6c84611e21565b611e07565b905082815260208101848484011115611e8d57611e8c611da5565b5b611e98848285611e51565b509392505050565b5f82601f830112611eb457611eb3611c66565b5b8135611ec4848260208601611e5f565b91505092915050565b5f805f8060808587031215611ee557611ee4611985565b5b5f611ef287828801611b9c565b9450506020611f0387828801611b9c565b9350506040611f1487828801611aef565b925050606085013567ffffffffffffffff811115611f3557611f34611989565b5b611f4187828801611ea0565b91505092959194509250565b5f8083601f840112611f6257611f61611c66565b5b8235905067ffffffffffffffff811115611f7f57611f7e611c6a565b5b602083019150836020820283011115611f9b57611f9a611c6e565b5b9250929050565b5f805f60408486031215611fb957611fb8611985565b5b5f611fc686828701611aef565b935050602084013567ffffffffffffffff811115611fe757611fe6611989565b5b611ff386828701611f4d565b92509250509250925092565b5f806040838503121561201557612014611985565b5b5f61202285828601611b9c565b925050602061203385828601611b9c565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061208157607f821691505b6020821081036120945761209361203d565b5b50919050565b5f82905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026121007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826120c5565b61210a86836120c5565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61214561214061213b84611ad0565b612122565b611ad0565b9050919050565b5f819050919050565b61215e8361212b565b61217261216a8261214c565b8484546120d1565b825550505050565b5f90565b61218661217a565b612191818484612155565b505050565b5b818110156121b4576121a95f8261217e565b600181019050612197565b5050565b601f8211156121f9576121ca816120a4565b6121d3846120b6565b810160208510156121e2578190505b6121f66121ee856120b6565b830182612196565b50505b505050565b5f82821c905092915050565b5f6122195f19846008026121fe565b1980831691505092915050565b5f612231838361220a565b9150826002028217905092915050565b61224b838361209a565b67ffffffffffffffff81111561226457612263611da9565b5b61226e825461206a565b6122798282856121b8565b5f601f8311600181146122a6575f8415612294578287013590505b61229e8582612226565b865550612305565b601f1984166122b4866120a4565b5f5b828110156122db578489013582556001820191506020850194506020810190506122b6565b868310156122f857848901356122f4601f89168261220a565b8355505b6001600288020188555050505b50505050505050565b7f53616c65206973206e6f7420656e61626c6564000000000000000000000000005f82015250565b5f612342601383611a4a565b915061234d8261230e565b602082019050919050565b5f6020820190508181035f83015261236f81612336565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6123ad82611ad0565b91506123b883611ad0565b92508282019050808211156123d0576123cf612376565b5b92915050565b7f4f7665722077616c6c6574206c696d69740000000000000000000000000000005f82015250565b5f61240a601183611a4a565b9150612415826123d6565b602082019050919050565b5f6020820190508181035f830152612437816123fe565b9050919050565b5f61244882611ad0565b91505f820361245a57612459612376565b5b600182039050919050565b5f81519050919050565b5f82825260208201905092915050565b5f61248982612465565b612493818561246f565b93506124a3818560208601611a5a565b6124ac81611a68565b840191505092915050565b5f6080820190506124ca5f830187611b5e565b6124d76020830186611b5e565b6124e46040830185611bee565b81810360608301526124f6818461247f565b905095945050505050565b5f8151905061250f816119b8565b92915050565b5f6020828403121561252a57612529611985565b5b5f61253784828501612501565b9150509291505056fea2646970667358221220cf471b0138523bf2555b2b2ab3e1bf7c0753e60ceb1e9b1482da51071564d36c64736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000053873925c5156c505e65a73542cec125edd3e8a1
-----Decoded View---------------
Arg [0] : initialOwner (address): 0x53873925c5156C505E65A73542CEc125eDD3E8A1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000053873925c5156c505e65a73542cec125edd3e8a1
Deployed Bytecode Sourcemap
65066:1562:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20588:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21490:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28730:227;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28447:124;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;16692:573;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;33002:3523;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;36621:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;65636:108;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;22892:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;65392:79;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18416:242;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;64152:103;;;;;;;;;;;;;:::i;:::-;;65899:86;;;;;;;;;;;;;:::i;:::-;;63477:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21666:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29297:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;65318:27;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;65273:38;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;37412:416;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;66006:281;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;66293:99;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;65750:121;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;65354:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66537:86;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66416:115;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29688:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;64410:220;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;20588:639;20673:4;21012:10;20997:25;;:11;:25;;;;:102;;;;21089:10;21074:25;;:11;:25;;;;20997:102;:179;;;;21166:10;21151:25;;:11;:25;;;;20997:179;20977:199;;20588:639;;;:::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;28857:41;;;28849:7;:50::i;:::-;28826:73;28919:15;:24;28935:7;28919:24;;;;;;;;;;;:30;;;;;;;;;;;;28912:37;;28730:227;;;:::o;28447:124::-;28536:27;28545:2;28549:7;28558:4;28536:8;:27::i;:::-;28447:124;;:::o;16692:573::-;16753:14;17151:15;:13;:15::i;:::-;17136:12;;17120:13;;:28;:46;17111:55;;17206:17;17185;:15;:17::i;:::-;:38;17181:65;;17235:11;;17225:21;;;;17181:65;16692:573;:::o;33002:3523::-;33144:27;33174;33193:7;33174:18;:27::i;:::-;33144:57;;12634:14;33345:4;33329:22;;:41;33306:66;;33430:4;33389:45;;33405:19;33389:45;;;33385:95;;33436:44;33444:35;;;33436:7;:44::i;:::-;33385:95;33494:27;33523:23;33550:35;33577:7;33550:26;:35::i;:::-;33493:92;;;;33685:68;33710:15;33727:4;33733:19;:17;:19::i;:::-;33685:24;:68::i;:::-;33680:189;;33773:43;33790:4;33796:19;:17;:19::i;:::-;33773:16;:43::i;:::-;33768:101;;33818:51;33826:42;;;33818:7;:51::i;:::-;33768:101;33680:189;33882:43;33904:4;33910:2;33914:7;33923:1;33882:21;:43::i;:::-;34018:15;34015:160;;;34158:1;34137:19;34130:30;34015:160;34555:18;:24;34574:4;34555:24;;;;;;;;;;;;;;;;34553:26;;;;;;;;;;;;34624:18;:22;34643:2;34624:22;;;;;;;;;;;;;;;;34622:24;;;;;;;;;;;34946:146;34983:2;35032:45;35047:4;35053:2;35057:19;35032:14;:45::i;:::-;12232:8;35004:73;34946:18;:146::i;:::-;34917:17;:26;34935:7;34917:26;;;;;;;;;;;:175;;;;35263:1;12232:8;35212:19;:47;:52;35208:627;;35285:19;35317:1;35307:7;:11;35285:33;;35474:1;35440:17;:30;35458:11;35440:30;;;;;;;;;;;;:35;35436:384;;35578:13;;35563:11;:28;35559:242;;35758:19;35725:17;:30;35743:11;35725:30;;;;;;;;;;;:52;;;;35559:242;35436:384;35266:569;35208:627;35948:16;12634:14;35983:2;35967:20;;:39;35948:58;;36347:7;36311:8;36277:4;36219:25;36164:1;36107;36084:299;36420:1;36408:8;:13;36404:58;;36423:39;36431:30;;;36423:7;:39::i;:::-;36404:58;36475:42;36496:4;36502:2;36506:7;36515:1;36475:20;:42::i;:::-;33133:3392;;;;33002:3523;;;:::o;36621:193::-;36767:39;36784:4;36790:2;36794:7;36767:39;;;;;;;;;;;;:16;:39::i;:::-;36621:193;;;:::o;65636:108::-;63363:13;:11;:13::i;:::-;65725:11:::1;;65715:7;:21;;;;;;;:::i;:::-;;65636:108:::0;;:::o;22892:152::-;22964:7;23007:27;23026:7;23007:18;:27::i;:::-;22984:52;;22892:152;;;:::o;65392:79::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;18416:242::-;18488:7;18529:1;18512:19;;:5;:19;;;18508:69;;18533:44;18541:35;;;18533:7;:44::i;:::-;18508:69;11176:13;18595:18;:25;18614:5;18595:25;;;;;;;;;;;;;;;;:55;18588:62;;18416:242;;;:::o;64152:103::-;63363:13;:11;:13::i;:::-;64217:30:::1;64244:1;64217:18;:30::i;:::-;64152:103::o:0;65899:86::-;63363:13;:11;:13::i;:::-;65966:11:::1;;;;;;;;;;;65965:12;65951:11;;:26;;;;;;;;;;;;;;;;;;65899:86::o:0;63477:87::-;63523:7;63550:6;;;;;;;;;;;63543:13;;63477:87;:::o;21666:104::-;21722:13;21755:7;21748:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21666:104;:::o;29297:234::-;29444:8;29392:18;:39;29411:19;:17;:19::i;:::-;29392:39;;;;;;;;;;;;;;;:49;29432:8;29392:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;29504:8;29468:55;;29483:19;:17;:19::i;:::-;29468:55;;;29514:8;29468:55;;;;;;:::i;:::-;;;;;;;;29297:234;;:::o;65318:27::-;;;;:::o;65273:38::-;;;;:::o;37412:416::-;37587:31;37600:4;37606:2;37610:7;37587:12;:31::i;:::-;37651:1;37633:2;:14;;;:19;37629:192;;37672:56;37703:4;37709:2;37713:7;37722:5;37672:30;:56::i;:::-;37667:154;;37749:56;37757:47;;;37749:7;:56::i;:::-;37667:154;37629:192;37412:416;;;;:::o;66006:281::-;66096:11;;;;;;;;;;;66088:43;;;;;;;;;;;;:::i;:::-;;;;;;;;;66190:19;;66178:8;66150:25;66164:10;66150:13;:25::i;:::-;:36;;;;:::i;:::-;:59;;66142:89;;;;;;;;;;;;:::i;:::-;;;;;;;;;66252:27;66258:10;66270:8;66252:5;:27::i;:::-;66006:281;;;:::o;66293:99::-;63363:13;:11;:13::i;:::-;66357:27:::1;66363:10;66375:8;66357:5;:27::i;:::-;66293:99:::0;:::o;65750:121::-;65823:13;65856:7;65849:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65750:121;;;:::o;65354:31::-;;;;;;;;;;;;;:::o;66537:86::-;66587:7;66537:86;:::o;66416:115::-;66476:7;66503:20;66517:5;66503:13;:20::i;:::-;66496:27;;66416:115;;;:::o;29688:164::-;29785:4;29809:18;:25;29828:5;29809:25;;;;;;;;;;;;;;;:35;29835:8;29809:35;;;;;;;;;;;;;;;;;;;;;;;;;29802:42;;29688:164;;;;:::o;64410:220::-;63363:13;:11;:13::i;:::-;64515:1:::1;64495:22;;:8;:22;;::::0;64491:93:::1;;64569:1;64541:31;;;;;;;;;;;:::i;:::-;;;;;;;;64491:93;64594:28;64613:8;64594:18;:28::i;:::-;64410:220:::0;:::o;30110:475::-;30175:11;30222:7;30203:15;:13;:15::i;:::-;:26;30199:379;;30260:17;:15;:17::i;:::-;30250:7;:27;30246:90;;;30286:50;30309:17;:26;30327:7;30309:26;;;;;;;;;;;;30286:22;:50::i;:::-;30279:57;;;;30246:90;30367:13;;30357:7;:23;30353:214;;;30401:14;30434:60;30482:1;30451:17;:26;30469:7;30451:26;;;;;;;;;;;;30442:35;;;30441:42;30434:60;;30485:9;;;;:::i;:::-;;;30434:60;;;30550:1;11952:8;30522:6;:24;:29;30513:38;;30382:185;30353:214;30199:379;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;;;;;52252:5;52229:28;;:19;:17;:19::i;:::-;:28;;;;52212:45;52208:201;;;52277:44;52294:5;52301:19;:17;:19::i;:::-;52277:16;:44::i;:::-;52272:137;;52342:51;52350:42;;;52342:7;:51::i;:::-;52272:137;52208:201;52454:2;52421:15;:24;52437:7;52421:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;52492:7;52488:2;52472:28;;52481:5;52472:28;;;;;;;;;;;;52152:356;52034:474;;;:::o;65503:108::-;65568:7;65595:8;;65588:15;;65503:108;:::o;16190:110::-;16248:7;16275:17;16268:24;;16190:110;:::o;24377:2213::-;24444:14;24494:7;24475:15;:13;:15::i;:::-;:26;24471:2054;;24527:17;:26;24545:7;24527:26;;;;;;;;;;;;24518:35;;24584:17;:15;:17::i;:::-;24574:7;:27;24570:183;;;24626:30;24649:6;24626:22;:30::i;:::-;24658:13;24622:49;24690:47;24698:38;;;24690:7;:47::i;:::-;24570:183;24864:1;24854:6;:11;24850:1292;;24901:13;;24890:7;:24;24886:77;;24916:47;24924:38;;;24916:7;:47::i;:::-;24886:77;25520:607;25598:17;:28;25616:9;;;;;;;25598:28;;;;;;;;;;;;25589:37;;25686:1;25676:6;:11;25672:25;25689:8;25672:25;25752:1;11952:8;25724:6;:24;:29;25720:48;25755:13;25720:48;26060:47;26068:38;;;26060:7;:47::i;:::-;25520:607;;;24850:1292;26497:1;11952:8;26469:6;:24;:29;26465:48;26500:13;26465:48;24471:2054;26535:47;26543:38;;;26535:7;:47::i;:::-;24377:2213;;;;:::o;31897:485::-;31999:27;32028:23;32069:38;32110:15;:24;32126:7;32110:24;;;;;;;;;;;32069:65;;32287:18;32264:41;;32344:19;32338:26;32319:45;;32249:126;31897:485;;;:::o;58600:105::-;58660:7;58687:10;58680:17;;58600:105;:::o;31125:659::-;31274:11;31439:16;31432:5;31428:28;31419:37;;31599:16;31588:9;31584:32;31571:45;;31749:15;31738:9;31735:30;31727:5;31716:9;31713:20;31710:56;31700:66;;31125:659;;;;;:::o;38490:159::-;;;;;:::o;57909:311::-;58044:7;58064:16;12356:3;58090:19;:41;;58064:68;;12356:3;58158:31;58169:4;58175:2;58179:9;58158:10;:31::i;:::-;58150:40;;:62;;58143:69;;;57909:311;;;;;:::o;27138:450::-;27218:14;27386:16;27379:5;27375:28;27366:37;;27563:5;27549:11;27524:23;27520:41;27517:52;27510:5;27507:63;27497:73;;27138:450;;;;:::o;39314:158::-;;;;;:::o;63642:166::-;63713:12;:10;:12::i;:::-;63702:23;;:7;:5;:7::i;:::-;:23;;;63698:103;;63776:12;:10;:12::i;:::-;63749:40;;;;;;;;;;;:::i;:::-;;;;;;;;63698:103;63642:166::o;64790:191::-;64864:16;64883:6;;;;;;;;;;;64864:25;;64909:8;64900:6;;:17;;;;;;;;;;;;;;;;;;64964:8;64933:40;;64954:8;64933:40;;;;;;;;;;;;64853:128;64790:191;:::o;39912:691::-;40075:4;40121:2;40096:45;;;40142:19;:17;:19::i;:::-;40163:4;40169:7;40178:5;40096:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;40092:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40396:1;40379:6;:13;:18;40375:115;;40418:56;40426:47;;;40418:7;:56::i;:::-;40375:115;40562:6;40556:13;40547:6;40543:2;40539:15;40532:38;40092:504;40265:54;;;40255:64;;;:6;:64;;;;40248:71;;;39912:691;;;;;;:::o;18740:178::-;18801:7;11176:13;11314:2;18829:18;:25;18848:5;18829:25;;;;;;;;;;;;;;;;:50;;18828:82;18821:89;;18740:178;;;:::o;41065:2399::-;41138:20;41161:13;;41138:36;;41201:1;41189:8;:13;41185:53;;41204:34;41212:25;;;41204:7;:34::i;:::-;41185:53;41251:61;41281:1;41285:2;41289:12;41303:8;41251:21;:61::i;:::-;41785:139;41822:2;41876:33;41899:1;41903:2;41907:1;41876:14;:33::i;:::-;41843:30;41864:8;41843:20;:30::i;:::-;:66;41785:18;:139::i;:::-;41751:17;:31;41769:12;41751:31;;;;;;;;;;;:173;;;;42211:1;11314:2;42181:1;:26;;42180:32;42168:8;:45;42142:18;:22;42161:2;42142:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;42324:16;12634:14;42359:2;42343:20;;:39;42324:58;;42415:1;42403:8;:13;42399:54;;42418:35;42426:26;;;42418:7;:35::i;:::-;42399:54;42470:11;42499:8;42484:12;:23;42470:37;;42522:15;42540:12;42522:30;;42583:17;:15;:17::i;:::-;42579:1;42573:3;:7;:27;42569:77;;;42602:44;42610:35;;;42602:7;:44::i;:::-;42569:77;42663:676;43082:7;43038:8;42993:1;42927:25;42864:1;42799;42768:358;43334:3;43321:9;;;;;;:16;42663:676;;43371:3;43355:13;:19;;;;41500:1886;;;43396:60;43425:1;43429:2;43433:12;43447:8;43396:20;:60::i;:::-;41127:2337;41065:2399;;:::o;30681:335::-;30751:11;30981:15;30973:6;30969:28;30950:16;30942:6;30938:29;30935:63;30925:73;;30681:335;;;:::o;57610:147::-;57747:6;57610:147;;;;;:::o;61486:98::-;61539:7;61566:10;61559:17;;61486:98;:::o;27690:324::-;27760:14;27993:1;27983:8;27980:15;27954:24;27950:46;27940:56;;27690:324;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:139::-;1887:6;1882:3;1877;1871:23;1928:1;1919:6;1914:3;1910:16;1903:27;1798:139;;;:::o;1943:102::-;1984:6;2035:2;2031:7;2026:2;2019:5;2015:14;2011:28;2001:38;;1943:102;;;:::o;2051:377::-;2139:3;2167:39;2200:5;2167:39;:::i;:::-;2222:71;2286:6;2281:3;2222:71;:::i;:::-;2215:78;;2302:65;2360:6;2355:3;2348:4;2341:5;2337:16;2302:65;:::i;:::-;2392:29;2414:6;2392:29;:::i;:::-;2387:3;2383:39;2376:46;;2143:285;2051:377;;;;:::o;2434:313::-;2547:4;2585:2;2574:9;2570:18;2562:26;;2634:9;2628:4;2624:20;2620:1;2609:9;2605:17;2598:47;2662:78;2735:4;2726:6;2662:78;:::i;:::-;2654:86;;2434:313;;;;:::o;2753:77::-;2790:7;2819:5;2808:16;;2753:77;;;:::o;2836:122::-;2909:24;2927:5;2909:24;:::i;:::-;2902:5;2899:35;2889:63;;2948:1;2945;2938:12;2889:63;2836:122;:::o;2964:139::-;3010:5;3048:6;3035:20;3026:29;;3064:33;3091:5;3064:33;:::i;:::-;2964:139;;;;:::o;3109:329::-;3168:6;3217:2;3205:9;3196:7;3192:23;3188:32;3185:119;;;3223:79;;:::i;:::-;3185:119;3343:1;3368:53;3413:7;3404:6;3393:9;3389:22;3368:53;:::i;:::-;3358:63;;3314:117;3109:329;;;;:::o;3444:126::-;3481:7;3521:42;3514:5;3510:54;3499:65;;3444:126;;;:::o;3576:96::-;3613:7;3642:24;3660:5;3642:24;:::i;:::-;3631:35;;3576:96;;;:::o;3678:118::-;3765:24;3783:5;3765:24;:::i;:::-;3760:3;3753:37;3678:118;;:::o;3802:222::-;3895:4;3933:2;3922:9;3918:18;3910:26;;3946:71;4014:1;4003:9;3999:17;3990:6;3946:71;:::i;:::-;3802:222;;;;:::o;4030:122::-;4103:24;4121:5;4103:24;:::i;:::-;4096:5;4093:35;4083:63;;4142:1;4139;4132:12;4083:63;4030:122;:::o;4158:139::-;4204:5;4242:6;4229:20;4220:29;;4258:33;4285:5;4258:33;:::i;:::-;4158:139;;;;:::o;4303:474::-;4371:6;4379;4428:2;4416:9;4407:7;4403:23;4399:32;4396:119;;;4434:79;;:::i;:::-;4396:119;4554:1;4579:53;4624:7;4615:6;4604:9;4600:22;4579:53;:::i;:::-;4569:63;;4525:117;4681:2;4707:53;4752:7;4743:6;4732:9;4728:22;4707:53;:::i;:::-;4697:63;;4652:118;4303:474;;;;;:::o;4783:118::-;4870:24;4888:5;4870:24;:::i;:::-;4865:3;4858:37;4783:118;;:::o;4907:222::-;5000:4;5038:2;5027:9;5023:18;5015:26;;5051:71;5119:1;5108:9;5104:17;5095:6;5051:71;:::i;:::-;4907:222;;;;:::o;5135:619::-;5212:6;5220;5228;5277:2;5265:9;5256:7;5252:23;5248:32;5245:119;;;5283:79;;:::i;:::-;5245:119;5403:1;5428:53;5473:7;5464:6;5453:9;5449:22;5428:53;:::i;:::-;5418:63;;5374:117;5530:2;5556:53;5601:7;5592:6;5581:9;5577:22;5556:53;:::i;:::-;5546:63;;5501:118;5658:2;5684:53;5729:7;5720:6;5709:9;5705:22;5684:53;:::i;:::-;5674:63;;5629:118;5135:619;;;;;:::o;5760:117::-;5869:1;5866;5859:12;5883:117;5992:1;5989;5982:12;6006:117;6115:1;6112;6105:12;6143:553;6201:8;6211:6;6261:3;6254:4;6246:6;6242:17;6238:27;6228:122;;6269:79;;:::i;:::-;6228:122;6382:6;6369:20;6359:30;;6412:18;6404:6;6401:30;6398:117;;;6434:79;;:::i;:::-;6398:117;6548:4;6540:6;6536:17;6524:29;;6602:3;6594:4;6586:6;6582:17;6572:8;6568:32;6565:41;6562:128;;;6609:79;;:::i;:::-;6562:128;6143:553;;;;;:::o;6702:529::-;6773:6;6781;6830:2;6818:9;6809:7;6805:23;6801:32;6798:119;;;6836:79;;:::i;:::-;6798:119;6984:1;6973:9;6969:17;6956:31;7014:18;7006:6;7003:30;7000:117;;;7036:79;;:::i;:::-;7000:117;7149:65;7206:7;7197:6;7186:9;7182:22;7149:65;:::i;:::-;7131:83;;;;6927:297;6702:529;;;;;:::o;7237:329::-;7296:6;7345:2;7333:9;7324:7;7320:23;7316:32;7313:119;;;7351:79;;:::i;:::-;7313:119;7471:1;7496:53;7541:7;7532:6;7521:9;7517:22;7496:53;:::i;:::-;7486:63;;7442:117;7237:329;;;;:::o;7572:116::-;7642:21;7657:5;7642:21;:::i;:::-;7635:5;7632:32;7622:60;;7678:1;7675;7668:12;7622:60;7572:116;:::o;7694:133::-;7737:5;7775:6;7762:20;7753:29;;7791:30;7815:5;7791:30;:::i;:::-;7694:133;;;;:::o;7833:468::-;7898:6;7906;7955:2;7943:9;7934:7;7930:23;7926:32;7923:119;;;7961:79;;:::i;:::-;7923:119;8081:1;8106:53;8151:7;8142:6;8131:9;8127:22;8106:53;:::i;:::-;8096:63;;8052:117;8208:2;8234:50;8276:7;8267:6;8256:9;8252:22;8234:50;:::i;:::-;8224:60;;8179:115;7833:468;;;;;:::o;8307:117::-;8416:1;8413;8406:12;8430:180;8478:77;8475:1;8468:88;8575:4;8572:1;8565:15;8599:4;8596:1;8589:15;8616:281;8699:27;8721:4;8699:27;:::i;:::-;8691:6;8687:40;8829:6;8817:10;8814:22;8793:18;8781:10;8778:34;8775:62;8772:88;;;8840:18;;:::i;:::-;8772:88;8880:10;8876:2;8869:22;8659:238;8616:281;;:::o;8903:129::-;8937:6;8964:20;;:::i;:::-;8954:30;;8993:33;9021:4;9013:6;8993:33;:::i;:::-;8903:129;;;:::o;9038:307::-;9099:4;9189:18;9181:6;9178:30;9175:56;;;9211:18;;:::i;:::-;9175:56;9249:29;9271:6;9249:29;:::i;:::-;9241:37;;9333:4;9327;9323:15;9315:23;;9038:307;;;:::o;9351:148::-;9449:6;9444:3;9439;9426:30;9490:1;9481:6;9476:3;9472:16;9465:27;9351:148;;;:::o;9505:423::-;9582:5;9607:65;9623:48;9664:6;9623:48;:::i;:::-;9607:65;:::i;:::-;9598:74;;9695:6;9688:5;9681:21;9733:4;9726:5;9722:16;9771:3;9762:6;9757:3;9753:16;9750:25;9747:112;;;9778:79;;:::i;:::-;9747:112;9868:54;9915:6;9910:3;9905;9868:54;:::i;:::-;9588:340;9505:423;;;;;:::o;9947:338::-;10002:5;10051:3;10044:4;10036:6;10032:17;10028:27;10018:122;;10059:79;;:::i;:::-;10018:122;10176:6;10163:20;10201:78;10275:3;10267:6;10260:4;10252:6;10248:17;10201:78;:::i;:::-;10192:87;;10008:277;9947:338;;;;:::o;10291:943::-;10386:6;10394;10402;10410;10459:3;10447:9;10438:7;10434:23;10430:33;10427:120;;;10466:79;;:::i;:::-;10427:120;10586:1;10611:53;10656:7;10647:6;10636:9;10632:22;10611:53;:::i;:::-;10601:63;;10557:117;10713:2;10739:53;10784:7;10775:6;10764:9;10760:22;10739:53;:::i;:::-;10729:63;;10684:118;10841:2;10867:53;10912:7;10903:6;10892:9;10888:22;10867:53;:::i;:::-;10857:63;;10812:118;10997:2;10986:9;10982:18;10969:32;11028:18;11020:6;11017:30;11014:117;;;11050:79;;:::i;:::-;11014:117;11155:62;11209:7;11200:6;11189:9;11185:22;11155:62;:::i;:::-;11145:72;;10940:287;10291:943;;;;;;;:::o;11257:568::-;11330:8;11340:6;11390:3;11383:4;11375:6;11371:17;11367:27;11357:122;;11398:79;;:::i;:::-;11357:122;11511:6;11498:20;11488:30;;11541:18;11533:6;11530:30;11527:117;;;11563:79;;:::i;:::-;11527:117;11677:4;11669:6;11665:17;11653:29;;11731:3;11723:4;11715:6;11711:17;11701:8;11697:32;11694:41;11691:128;;;11738:79;;:::i;:::-;11691:128;11257:568;;;;;:::o;11831:704::-;11926:6;11934;11942;11991:2;11979:9;11970:7;11966:23;11962:32;11959:119;;;11997:79;;:::i;:::-;11959:119;12117:1;12142:53;12187:7;12178:6;12167:9;12163:22;12142:53;:::i;:::-;12132:63;;12088:117;12272:2;12261:9;12257:18;12244:32;12303:18;12295:6;12292:30;12289:117;;;12325:79;;:::i;:::-;12289:117;12438:80;12510:7;12501:6;12490:9;12486:22;12438:80;:::i;:::-;12420:98;;;;12215:313;11831:704;;;;;:::o;12541:474::-;12609:6;12617;12666:2;12654:9;12645:7;12641:23;12637:32;12634:119;;;12672:79;;:::i;:::-;12634:119;12792:1;12817:53;12862:7;12853:6;12842:9;12838:22;12817:53;:::i;:::-;12807:63;;12763:117;12919:2;12945:53;12990:7;12981:6;12970:9;12966:22;12945:53;:::i;:::-;12935:63;;12890:118;12541:474;;;;;:::o;13021:180::-;13069:77;13066:1;13059:88;13166:4;13163:1;13156:15;13190:4;13187:1;13180:15;13207:320;13251:6;13288:1;13282:4;13278:12;13268:22;;13335:1;13329:4;13325:12;13356:18;13346:81;;13412:4;13404:6;13400:17;13390:27;;13346:81;13474:2;13466:6;13463:14;13443:18;13440:38;13437:84;;13493:18;;:::i;:::-;13437:84;13258:269;13207:320;;;:::o;13533:97::-;13592:6;13620:3;13610:13;;13533:97;;;;:::o;13636:141::-;13685:4;13708:3;13700:11;;13731:3;13728:1;13721:14;13765:4;13762:1;13752:18;13744:26;;13636:141;;;:::o;13783:93::-;13820:6;13867:2;13862;13855:5;13851:14;13847:23;13837:33;;13783:93;;;:::o;13882:107::-;13926:8;13976:5;13970:4;13966:16;13945:37;;13882:107;;;;:::o;13995:393::-;14064:6;14114:1;14102:10;14098:18;14137:97;14167:66;14156:9;14137:97;:::i;:::-;14255:39;14285:8;14274:9;14255:39;:::i;:::-;14243:51;;14327:4;14323:9;14316:5;14312:21;14303:30;;14376:4;14366:8;14362:19;14355:5;14352:30;14342:40;;14071:317;;13995:393;;;;;:::o;14394:60::-;14422:3;14443:5;14436:12;;14394:60;;;:::o;14460:142::-;14510:9;14543:53;14561:34;14570:24;14588:5;14570:24;:::i;:::-;14561:34;:::i;:::-;14543:53;:::i;:::-;14530:66;;14460:142;;;:::o;14608:75::-;14651:3;14672:5;14665:12;;14608:75;;;:::o;14689:269::-;14799:39;14830:7;14799:39;:::i;:::-;14860:91;14909:41;14933:16;14909:41;:::i;:::-;14901:6;14894:4;14888:11;14860:91;:::i;:::-;14854:4;14847:105;14765:193;14689:269;;;:::o;14964:73::-;15009:3;14964:73;:::o;15043:189::-;15120:32;;:::i;:::-;15161:65;15219:6;15211;15205:4;15161:65;:::i;:::-;15096:136;15043:189;;:::o;15238:186::-;15298:120;15315:3;15308:5;15305:14;15298:120;;;15369:39;15406:1;15399:5;15369:39;:::i;:::-;15342:1;15335:5;15331:13;15322:22;;15298:120;;;15238:186;;:::o;15430:543::-;15531:2;15526:3;15523:11;15520:446;;;15565:38;15597:5;15565:38;:::i;:::-;15649:29;15667:10;15649:29;:::i;:::-;15639:8;15635:44;15832:2;15820:10;15817:18;15814:49;;;15853:8;15838:23;;15814:49;15876:80;15932:22;15950:3;15932:22;:::i;:::-;15922:8;15918:37;15905:11;15876:80;:::i;:::-;15535:431;;15520:446;15430:543;;;:::o;15979:117::-;16033:8;16083:5;16077:4;16073:16;16052:37;;15979:117;;;;:::o;16102:169::-;16146:6;16179:51;16227:1;16223:6;16215:5;16212:1;16208:13;16179:51;:::i;:::-;16175:56;16260:4;16254;16250:15;16240:25;;16153:118;16102:169;;;;:::o;16276:295::-;16352:4;16498:29;16523:3;16517:4;16498:29;:::i;:::-;16490:37;;16560:3;16557:1;16553:11;16547:4;16544:21;16536:29;;16276:295;;;;:::o;16576:1403::-;16700:44;16740:3;16735;16700:44;:::i;:::-;16809:18;16801:6;16798:30;16795:56;;;16831:18;;:::i;:::-;16795:56;16875:38;16907:4;16901:11;16875:38;:::i;:::-;16960:67;17020:6;17012;17006:4;16960:67;:::i;:::-;17054:1;17083:2;17075:6;17072:14;17100:1;17095:632;;;;17771:1;17788:6;17785:84;;;17844:9;17839:3;17835:19;17822:33;17813:42;;17785:84;17895:67;17955:6;17948:5;17895:67;:::i;:::-;17889:4;17882:81;17744:229;17065:908;;17095:632;17147:4;17143:9;17135:6;17131:22;17181:37;17213:4;17181:37;:::i;:::-;17240:1;17254:215;17268:7;17265:1;17262:14;17254:215;;;17354:9;17349:3;17345:19;17332:33;17324:6;17317:49;17405:1;17397:6;17393:14;17383:24;;17452:2;17441:9;17437:18;17424:31;;17291:4;17288:1;17284:12;17279:17;;17254:215;;;17497:6;17488:7;17485:19;17482:186;;;17562:9;17557:3;17553:19;17540:33;17605:48;17647:4;17639:6;17635:17;17624:9;17605:48;:::i;:::-;17597:6;17590:64;17505:163;17482:186;17714:1;17710;17702:6;17698:14;17694:22;17688:4;17681:36;17102:625;;;17065:908;;16675:1304;;;16576:1403;;;:::o;17985:169::-;18125:21;18121:1;18113:6;18109:14;18102:45;17985:169;:::o;18160:366::-;18302:3;18323:67;18387:2;18382:3;18323:67;:::i;:::-;18316:74;;18399:93;18488:3;18399:93;:::i;:::-;18517:2;18512:3;18508:12;18501:19;;18160:366;;;:::o;18532:419::-;18698:4;18736:2;18725:9;18721:18;18713:26;;18785:9;18779:4;18775:20;18771:1;18760:9;18756:17;18749:47;18813:131;18939:4;18813:131;:::i;:::-;18805:139;;18532:419;;;:::o;18957:180::-;19005:77;19002:1;18995:88;19102:4;19099:1;19092:15;19126:4;19123:1;19116:15;19143:191;19183:3;19202:20;19220:1;19202:20;:::i;:::-;19197:25;;19236:20;19254:1;19236:20;:::i;:::-;19231:25;;19279:1;19276;19272:9;19265:16;;19300:3;19297:1;19294:10;19291:36;;;19307:18;;:::i;:::-;19291:36;19143:191;;;;:::o;19340:167::-;19480:19;19476:1;19468:6;19464:14;19457:43;19340:167;:::o;19513:366::-;19655:3;19676:67;19740:2;19735:3;19676:67;:::i;:::-;19669:74;;19752:93;19841:3;19752:93;:::i;:::-;19870:2;19865:3;19861:12;19854:19;;19513:366;;;:::o;19885:419::-;20051:4;20089:2;20078:9;20074:18;20066:26;;20138:9;20132:4;20128:20;20124:1;20113:9;20109:17;20102:47;20166:131;20292:4;20166:131;:::i;:::-;20158:139;;19885:419;;;:::o;20310:171::-;20349:3;20372:24;20390:5;20372:24;:::i;:::-;20363:33;;20418:4;20411:5;20408:15;20405:41;;20426:18;;:::i;:::-;20405:41;20473:1;20466:5;20462:13;20455:20;;20310:171;;;:::o;20487:98::-;20538:6;20572:5;20566:12;20556:22;;20487:98;;;:::o;20591:168::-;20674:11;20708:6;20703:3;20696:19;20748:4;20743:3;20739:14;20724:29;;20591:168;;;;:::o;20765:373::-;20851:3;20879:38;20911:5;20879:38;:::i;:::-;20933:70;20996:6;20991:3;20933:70;:::i;:::-;20926:77;;21012:65;21070:6;21065:3;21058:4;21051:5;21047:16;21012:65;:::i;:::-;21102:29;21124:6;21102:29;:::i;:::-;21097:3;21093:39;21086:46;;20855:283;20765:373;;;;:::o;21144:640::-;21339:4;21377:3;21366:9;21362:19;21354:27;;21391:71;21459:1;21448:9;21444:17;21435:6;21391:71;:::i;:::-;21472:72;21540:2;21529:9;21525:18;21516:6;21472:72;:::i;:::-;21554;21622:2;21611:9;21607:18;21598:6;21554:72;:::i;:::-;21673:9;21667:4;21663:20;21658:2;21647:9;21643:18;21636:48;21701:76;21772:4;21763:6;21701:76;:::i;:::-;21693:84;;21144:640;;;;;;;:::o;21790:141::-;21846:5;21877:6;21871:13;21862:22;;21893:32;21919:5;21893:32;:::i;:::-;21790:141;;;;:::o;21937:349::-;22006:6;22055:2;22043:9;22034:7;22030:23;22026:32;22023:119;;;22061:79;;:::i;:::-;22023:119;22181:1;22206:63;22261:7;22252:6;22241:9;22237:22;22206:63;:::i;:::-;22196:73;;22152:127;21937:349;;;;:::o
Swarm Source
ipfs://cf471b0138523bf2555b2b2ab3e1bf7c0753e60ceb1e9b1482da51071564d36c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
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.