Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 35 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 18213814 | 445 days ago | IN | 0 ETH | 0.00054703 | ||||
Mint | 18210883 | 446 days ago | IN | 0.0258 ETH | 0.00058643 | ||||
Withdraw | 18156909 | 453 days ago | IN | 0 ETH | 0.00047368 | ||||
Mint | 18156032 | 454 days ago | IN | 0.0172 ETH | 0.00071371 | ||||
Mint | 18155550 | 454 days ago | IN | 0.0172 ETH | 0.00075278 | ||||
Mint | 18154463 | 454 days ago | IN | 0.043 ETH | 0.00077275 | ||||
Withdraw | 18146093 | 455 days ago | IN | 0 ETH | 0.0002755 | ||||
Mint | 18144592 | 455 days ago | IN | 0.043 ETH | 0.00095703 | ||||
Mint | 18144560 | 455 days ago | IN | 0.0172 ETH | 0.0010543 | ||||
Mint | 18142954 | 455 days ago | IN | 0.0086 ETH | 0.00082534 | ||||
Mint | 18141813 | 456 days ago | IN | 0.0086 ETH | 0.0014076 | ||||
Withdraw | 18135499 | 456 days ago | IN | 0 ETH | 0.00069457 | ||||
Mint | 18133027 | 457 days ago | IN | 0.043 ETH | 0.00117628 | ||||
Mint | 18132975 | 457 days ago | IN | 0.0172 ETH | 0.00097541 | ||||
Withdraw | 18130147 | 457 days ago | IN | 0 ETH | 0.00039298 | ||||
Mint | 18129687 | 457 days ago | IN | 0.0086 ETH | 0.0008425 | ||||
Mint | 18129671 | 457 days ago | IN | 0.0086 ETH | 0.00120081 | ||||
Mint | 18129390 | 457 days ago | IN | 0.043 ETH | 0.00174142 | ||||
Mint | 18128221 | 458 days ago | IN | 0.043 ETH | 0.00175093 | ||||
Mint | 18128166 | 458 days ago | IN | 0.0258 ETH | 0.00196575 | ||||
Mint | 18128156 | 458 days ago | IN | 0.043 ETH | 0.00213032 | ||||
Mint | 18128118 | 458 days ago | IN | 0.0086 ETH | 0.001282 | ||||
Mint | 18128115 | 458 days ago | IN | 0.0258 ETH | 0.00105928 | ||||
Airdrop | 18122500 | 458 days ago | IN | 0 ETH | 0.00144724 | ||||
Airdrop | 18121797 | 458 days ago | IN | 0 ETH | 0.00199926 |
Loading...
Loading
Contract Name:
StealthPad
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-09-10 */ // SPDX-License-Identifier: MIT pragma solidity =0.8.7; library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } abstract contract ReentrancyGuard { uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } interface IERC721A { error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) _revert(BalanceQueryForZeroAddress.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 Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // 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; return packed; } } // Otherwise, the data exists and is not burned. 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. 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) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); // 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; 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) ); 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); // Reentrancy protection. if (_currentIndex != end) _revert(bytes4(0)); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // 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 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) } } } abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory ownership) { if (tokenId >= _startTokenId()) { if (tokenId < _nextTokenId()) { ownership = _ownershipAt(tokenId); if (!ownership.burned) { ownership = _ownershipOf(tokenId); } } } } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { TokenOwnership[] memory ownerships; uint256 i = tokenIds.length; assembly { // Grab the free memory pointer. ownerships := mload(0x40) // Store the length. mstore(ownerships, i) // Allocate one word for the length, // `tokenIds.length` words for the pointers. i := shl(5, i) // Multiply `i` by 32. mstore(0x40, add(add(ownerships, 0x20), i)) } while (i != 0) { uint256 tokenId; assembly { i := sub(i, 0x20) tokenId := calldataload(add(tokenIds.offset, i)) } TokenOwnership memory ownership = explicitOwnershipOf(tokenId); assembly { // Store the pointer of `ownership` in the `ownerships` array. mstore(add(add(ownerships, 0x20), i), ownership) } } return ownerships; } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) _revert(InvalidQueryRange.selector); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } uint256 stopLimit = _nextTokenId(); // Set `stop = min(stop, stopLimit)`. if (stop >= stopLimit) { stop = stopLimit; } uint256[] memory tokenIds; uint256 tokenIdsMaxLength = balanceOf(owner); bool startLtStop = start < stop; assembly { // Set `tokenIdsMaxLength` to zero if `start` is less than `stop`. tokenIdsMaxLength := mul(tokenIdsMaxLength, startLtStop) } if (tokenIdsMaxLength != 0) { // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (stop - start <= tokenIdsMaxLength) { tokenIdsMaxLength = stop - start; } assembly { // Grab the free memory pointer. tokenIds := mload(0x40) // Allocate one word for the length, and `tokenIdsMaxLength` words // for the data. `shl(5, x)` is equivalent to `mul(32, x)`. mstore(0x40, add(tokenIds, shl(5, add(tokenIdsMaxLength, 1)))) } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), // initialize `currOwnershipAddr`. // `ownership.address` will not be zero, // as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } uint256 tokenIdsIdx; // Use a do-while, which is slightly more efficient for this case, // as the array will at least contain one element. do { ownership = _ownershipAt(start); assembly { // if `ownership.burned == false`. if iszero(mload(add(ownership, 0x40))) { // if `ownership.addr != address(0)`. // The `addr` already has it's upper 96 bits clearned, // since it is written to memory with regular Solidity. if mload(ownership) { currOwnershipAddr := mload(ownership) } // if `currOwnershipAddr == owner`. // The `shl(96, x)` is to make the comparison agnostic to any // dirty upper 96 bits in `owner`. if iszero(shl(96, xor(currOwnershipAddr, owner))) { tokenIdsIdx := add(tokenIdsIdx, 1) mstore(add(tokenIds, shl(5, tokenIdsIdx)), start) } } start := add(start, 1) } } while (!(start == stop || tokenIdsIdx == tokenIdsMaxLength)); // Store the length of the array. assembly { mstore(tokenIds, tokenIdsIdx) } } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds; assembly { // Grab the free memory pointer. tokenIds := mload(0x40) // Allocate one word for the length, and `tokenIdsMaxLength` words // for the data. `shl(5, x)` is equivalent to `mul(32, x)`. mstore(0x40, add(tokenIds, shl(5, add(tokenIdsLength, 1)))) // Store the length of `tokenIds`. mstore(tokenIds, tokenIdsLength) } address currOwnershipAddr; uint256 tokenIdsIdx; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ) { TokenOwnership memory ownership = _ownershipAt(i); assembly { // if `ownership.burned == false`. if iszero(mload(add(ownership, 0x40))) { // if `ownership.addr != address(0)`. // The `addr` already has it's upper 96 bits clearned, // since it is written to memory with regular Solidity. if mload(ownership) { currOwnershipAddr := mload(ownership) } // if `currOwnershipAddr == owner`. // The `shl(96, x)` is to make the comparison agnostic to any // dirty upper 96 bits in `owner`. if iszero(shl(96, xor(currOwnershipAddr, owner))) { tokenIdsIdx := add(tokenIdsIdx, 1) mstore(add(tokenIds, shl(5, tokenIdsIdx)), i) } } i := add(i, 1) } } return tokenIds; } } interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator() virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(operatorFilterRegistry).code.length > 0) { if (!operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } } contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } contract StealthPad is ERC721A, ERC721AQueryable, Ownable, ReentrancyGuard , DefaultOperatorFilterer{ using Strings for uint256; string public uriSuffix = ".json"; string public uriPrefix = ""; uint256 public maxSupply = 2678; uint256 public mintPrice = 0.0086 ether; string contractinfo; constructor(string memory info, string memory uri) ERC721A("StealthPad", "SPFP") { contractinfo = info; uriPrefix = uri; } function mint(uint256 _mintAmount) public payable { uint value = mintPrice * _mintAmount; require(_mintAmount > 0, "need to mint at least 1 NFT"); require(totalSupply() + _mintAmount <= maxSupply, "max NFT limit exceeded"); require(msg.value >= value,"Insufficient Value!"); _safeMint(msg.sender, _mintAmount); } function Airdrop(uint256 _mintAmount, address _receiver) public onlyOwner { require(_mintAmount > 0, "need to mint at least 1 NFT"); require(totalSupply() + _mintAmount <= maxSupply, "max NFT limit exceeded"); _safeMint(_receiver, _mintAmount); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId),"ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return currentBaseURI; // return // bytes(currentBaseURI).length > 0 // ? string( // abi.encodePacked( // currentBaseURI, // tokenId.toString(), // uriSuffix // ) // ) // : ""; } function setPrice(uint _amount) public onlyOwner { mintPrice = _amount; } function contractURI() public view returns (string memory) { return contractinfo; } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } function setUriPrefix(string memory _newUri) public onlyOwner { uriPrefix = _newUri; } function setUriSuffix(string memory _newSuffix) public onlyOwner { uriSuffix = _newSuffix; } function withdraw() public onlyOwner nonReentrant { (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); } // ------------------------- Opensea Royality Filter ----------------------- function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator { super.safeTransferFrom(from, to, tokenId, data); } receive() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"info","type":"string"},{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"Airdrop","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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"ownership","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"uint256","name":"_amount","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newUri","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526005608081905264173539b7b760d91b60a09081526200002891600a9190620002ed565b506040805160208101918290526000908190526200004991600b91620002ed565b50610a76600c55661e8da789118000600d553480156200006857600080fd5b5060405162002325380380620023258339810160408190526200008b916200044a565b604080518082018252600a81526914dd19585b1d1a14185960b21b6020808301918252835180850190945260048452630535046560e41b908401528151733cc6cdda760b79bafa08df41ecfa224f810dceb693600193929091620000f291600291620002ed565b50805162000108906003906020840190620002ed565b50506001600055506200011b336200029b565b60016009556daaeb6d7670e522a718067333cd4e3b1562000265578015620001b357604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200019457600080fd5b505af1158015620001a9573d6000803e3d6000fd5b5050505062000265565b6001600160a01b03821615620002045760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000179565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200024b57600080fd5b505af115801562000260573d6000803e3d6000fd5b505050505b505081516200027c90600e906020850190620002ed565b5080516200029290600b906020840190620002ed565b50505062000507565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002fb90620004b4565b90600052602060002090601f0160209004810192826200031f57600085556200036a565b82601f106200033a57805160ff19168380011785556200036a565b828001600101855582156200036a579182015b828111156200036a5782518255916020019190600101906200034d565b50620003789291506200037c565b5090565b5b808211156200037857600081556001016200037d565b600082601f830112620003a557600080fd5b81516001600160401b0380821115620003c257620003c2620004f1565b604051601f8301601f19908116603f01168101908282118183101715620003ed57620003ed620004f1565b816040528381526020925086838588010111156200040a57600080fd5b600091505b838210156200042e57858201830151818301840152908201906200040f565b83821115620004405760008385830101525b9695505050505050565b600080604083850312156200045e57600080fd5b82516001600160401b03808211156200047657600080fd5b620004848683870162000393565b935060208501519150808211156200049b57600080fd5b50620004aa8582860162000393565b9150509250929050565b600181811c90821680620004c957607f821691505b60208210811415620004eb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611e0e80620005176000396000f3fe6080604052600436106101e75760003560e01c80637871e15411610102578063a22cb46511610095578063d5abeb0111610064578063d5abeb011461054e578063e8a3d48514610564578063e985e9c514610579578063f2fde38b146105c257600080fd5b8063a22cb465146104ce578063b88d4fde146104ee578063c23dc68f14610501578063c87b56dd1461052e57600080fd5b806391b7f5ed116100d157806391b7f5ed1461046657806395d89b411461048657806399a2557a1461049b578063a0712d68146104bb57600080fd5b80637871e154146103db5780637ec4a659146103fb5780638462151c1461041b5780638da5cb5b1461044857600080fd5b806342842e0e1161017a5780636352211e116101495780636352211e146103705780636817c76c1461039057806370a08231146103a6578063715018a6146103c657600080fd5b806342842e0e146103065780635503a0e8146103195780635bbb21771461032e57806362b99ad41461035b57600080fd5b806316ba10e0116101b657806316ba10e01461029757806318160ddd146102b757806323b872dd146102de5780633ccfd60b146102f157600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b31461028257600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061021361020e366004611af5565b6105e2565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d610634565b60405161021f9190611cf5565b34801561025657600080fd5b5061026a610265366004611b78565b6106c6565b6040516001600160a01b03909116815260200161021f565b610295610290366004611a06565b610701565b005b3480156102a357600080fd5b506102956102b2366004611b2f565b610711565b3480156102c357600080fd5b5060015460005403600019015b60405190815260200161021f565b6102956102ec366004611917565b61072c565b3480156102fd57600080fd5b506102956107f9565b610295610314366004611917565b6108d2565b34801561032557600080fd5b5061023d610995565b34801561033a57600080fd5b5061034e610349366004611a63565b610a23565b60405161021f9190611c7b565b34801561036757600080fd5b5061023d610a6f565b34801561037c57600080fd5b5061026a61038b366004611b78565b610a7c565b34801561039c57600080fd5b506102d0600d5481565b3480156103b257600080fd5b506102d06103c13660046118c9565b610a87565b3480156103d257600080fd5b50610295610acd565b3480156103e757600080fd5b506102956103f6366004611b91565b610ae1565b34801561040757600080fd5b50610295610416366004611b2f565b610ba5565b34801561042757600080fd5b5061043b6104363660046118c9565b610bc0565b60405161021f9190611cbd565b34801561045457600080fd5b506008546001600160a01b031661026a565b34801561047257600080fd5b50610295610481366004611b78565b610c4b565b34801561049257600080fd5b5061023d610c58565b3480156104a757600080fd5b5061043b6104b6366004611a30565b610c67565b6102956104c9366004611b78565b610d57565b3480156104da57600080fd5b506102956104e93660046119cf565b610e6b565b6102956104fc366004611953565b610ed7565b34801561050d57600080fd5b5061052161051c366004611b78565b610fa1565b60405161021f9190611d08565b34801561053a57600080fd5b5061023d610549366004611b78565b610ff9565b34801561055a57600080fd5b506102d0600c5481565b34801561057057600080fd5b5061023d611079565b34801561058557600080fd5b506102136105943660046118e4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105ce57600080fd5b506102956105dd3660046118c9565b611088565b60006301ffc9a760e01b6001600160e01b03198316148061061357506380ac58cd60e01b6001600160e01b03198316145b8061062e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461064390611d4d565b80601f016020809104026020016040519081016040528092919081815260200182805461066f90611d4d565b80156106bc5780601f10610691576101008083540402835291602001916106bc565b820191906000526020600020905b81548152906001019060200180831161069f57829003601f168201915b5050505050905090565b60006106d182611101565b6106e5576106e56333d1c03960e21b611136565b506000908152600660205260409020546001600160a01b031690565b61070d82826001611140565b5050565b6107196111e3565b805161070d90600a9060208401906117a3565b6daaeb6d7670e522a718067333cd4e3b156107e957604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381600087803b15801561078d57600080fd5b505af11580156107a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c59190611ad8565b6107e957604051633b79c77360e21b81523360048201526024015b60405180910390fd5b6107f483838361123d565b505050565b6108016111e3565b600260095414156108545760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107e0565b6002600955600061086d6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146108b7576040519150601f19603f3d011682016040523d82523d6000602084013e6108bc565b606091505b50509050806108ca57600080fd5b506001600955565b6daaeb6d7670e522a718067333cd4e3b1561098a57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381600087803b15801561093357600080fd5b505af1158015610947573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096b9190611ad8565b61098a57604051633b79c77360e21b81523360048201526024016107e0565b6107f4838383611398565b600a80546109a290611d4d565b80601f01602080910402602001604051908101604052809291908181526020018280546109ce90611d4d565b8015610a1b5780601f106109f057610100808354040283529160200191610a1b565b820191906000526020600020905b8154815290600101906020018083116109fe57829003601f168201915b505050505081565b60408051828152600583901b8082016020019092526060915b8015610a6757601f1980820191860101356000610a5882610fa1565b8484016020015250610a3c9050565b509392505050565b600b80546109a290611d4d565b600061062e826113b3565b60006001600160a01b038216610aa757610aa76323d3ad8160e21b611136565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ad56111e3565b610adf6000611425565b565b610ae96111e3565b60008211610b395760405162461bcd60e51b815260206004820152601b60248201527f6e65656420746f206d696e74206174206c656173742031204e4654000000000060448201526064016107e0565b600c546001546000548491900360001901610b549190611d16565b1115610b9b5760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b60448201526064016107e0565b61070d8183611477565b610bad6111e3565b805161070d90600b9060208401906117a3565b60606000610bcd83610a87565b9050606060405190506001820160051b81016040528181526000806000610bf2600190565b90505b848214610c40576000610c0782611491565b90506040810151610c3757805115610c1e57805193505b87841860601b610c3757600183019250818360051b8601525b50600101610bf5565b509195945050505050565b610c536111e3565b600d55565b60606003805461064390611d4d565b6060818310610c8057610c80631960ccad60e11b611136565b6001831015610c8e57600192505b600054808310610c9c578092505b60606000610ca987610a87565b85871090810291508115610d4b578187870311610cc65786860391505b60405192506001820160051b83016040526000610ce288610fa1565b905060008160400151610cf3575080515b60005b610cff8a611491565b92506040830151610d2e57825115610d1657825191505b8a821860601b610d2e57600101600581901b86018a90525b60018a019950888a1480610d4157508481145b15610cf657855250505b50909695505050505050565b600081600d54610d679190611d2e565b905060008211610db95760405162461bcd60e51b815260206004820152601b60248201527f6e65656420746f206d696e74206174206c656173742031204e4654000000000060448201526064016107e0565b600c546001546000548491900360001901610dd49190611d16565b1115610e1b5760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b60448201526064016107e0565b80341015610e615760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742056616c75652160681b60448201526064016107e0565b61070d3383611477565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6daaeb6d7670e522a718067333cd4e3b15610f8f57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381600087803b158015610f3857600080fd5b505af1158015610f4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f709190611ad8565b610f8f57604051633b79c77360e21b81523360048201526024016107e0565b610f9b848484846114cd565b50505050565b60408051608081018252600080825260208201819052918101829052606081019190915260018210610ff457600054821015610ff457610fe082611491565b90508060400151610ff45761062e82611508565b919050565b606061100482611101565b6110685760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107e0565b600061107261153d565b9392505050565b6060600e805461064390611d4d565b6110906111e3565b6001600160a01b0381166110f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e0565b6110fe81611425565b50565b600081600111158015611115575060005482105b801561062e575050600090815260046020526040902054600160e01b161590565b8060005260046000fd5b600061114b83610a7c565b90508180156111635750336001600160a01b03821614155b15611186576111728133610594565b611186576111866367d9dca160e11b611136565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6008546001600160a01b03163314610adf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e0565b6000611248826113b3565b6001600160a01b03948516949091508116841461126e5761126e62a1148160e81b611136565b60008281526006602052604090208054338082146001600160a01b038816909114176112b25761129e8633610594565b6112b2576112b2632ce44b5f60e11b611136565b80156112bd57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661134857600184016000818152600460205260409020546113465760005481146113465760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48061138f5761138f633a954ecd60e21b611136565b50505050505050565b6107f483838360405180602001604052806000815250610ed7565b6000816001116114155750600081815260046020526040902054600160e01b81166114155780610ff45760005482106113f6576113f6636f96cda160e11b611136565b5b506000190160008181526004602052604090205480610ff4576113f7565b610ff4636f96cda160e11b611136565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61070d82826040518060200160405280600081525061154c565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461062e906115b5565b6114d884848461072c565b6001600160a01b0383163b15610f9b576114f4848484846115fd565b610f9b57610f9b6368d2bf6b60e11b611136565b60408051608081018252600080825260208201819052918101829052606081019190915261062e611538836113b3565b6115b5565b6060600b805461064390611d4d565b61155683836116ec565b6001600160a01b0383163b156107f4576000548281035b61158060008683806001019450866115fd565b611594576115946368d2bf6b60e11b611136565b81811061156d5781600054146115ae576115ae6000611136565b5050505050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611632903390899088908890600401611c3e565b602060405180830381600087803b15801561164c57600080fd5b505af192505050801561167c575060408051601f3d908101601f1916820190925261167991810190611b12565b60015b6116ce573d8080156116aa576040519150601f19603f3d011682016040523d82523d6000602084013e6116af565b606091505b5080516116c6576116c66368d2bf6b60e11b611136565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600054816117045761170463b562e8dd60e01b611136565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b178117909155808452600590925290912080546801000000000000000185020190558061176057611760622e076360e81b611136565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010180821415611765575060005550505050565b8280546117af90611d4d565b90600052602060002090601f0160209004810192826117d15760008555611817565b82601f106117ea57805160ff1916838001178555611817565b82800160010185558215611817579182015b828111156118175782518255916020019190600101906117fc565b50611823929150611827565b5090565b5b808211156118235760008155600101611828565b600067ffffffffffffffff8084111561185757611857611d9e565b604051601f8501601f19908116603f0116810190828211818310171561187f5761187f611d9e565b8160405280935085815286868601111561189857600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114610ff457600080fd5b6000602082840312156118db57600080fd5b611072826118b2565b600080604083850312156118f757600080fd5b611900836118b2565b915061190e602084016118b2565b90509250929050565b60008060006060848603121561192c57600080fd5b611935846118b2565b9250611943602085016118b2565b9150604084013590509250925092565b6000806000806080858703121561196957600080fd5b611972856118b2565b9350611980602086016118b2565b925060408501359150606085013567ffffffffffffffff8111156119a357600080fd5b8501601f810187136119b457600080fd5b6119c38782356020840161183c565b91505092959194509250565b600080604083850312156119e257600080fd5b6119eb836118b2565b915060208301356119fb81611db4565b809150509250929050565b60008060408385031215611a1957600080fd5b611a22836118b2565b946020939093013593505050565b600080600060608486031215611a4557600080fd5b611a4e846118b2565b95602085013595506040909401359392505050565b60008060208385031215611a7657600080fd5b823567ffffffffffffffff80821115611a8e57600080fd5b818501915085601f830112611aa257600080fd5b813581811115611ab157600080fd5b8660208260051b8501011115611ac657600080fd5b60209290920196919550909350505050565b600060208284031215611aea57600080fd5b815161107281611db4565b600060208284031215611b0757600080fd5b813561107281611dc2565b600060208284031215611b2457600080fd5b815161107281611dc2565b600060208284031215611b4157600080fd5b813567ffffffffffffffff811115611b5857600080fd5b8201601f81018413611b6957600080fd5b6116e48482356020840161183c565b600060208284031215611b8a57600080fd5b5035919050565b60008060408385031215611ba457600080fd5b8235915061190e602084016118b2565b6000815180845260005b81811015611bda57602081850181015186830182015201611bbe565b81811115611bec576000602083870101525b50601f01601f19169290920160200192915050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c7190830184611bb4565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610d4b57611caa838551611c01565b9284019260809290920191600101611c97565b6020808252825182820181905260009190848201906040850190845b81811015610d4b57835183529284019291840191600101611cd9565b6020815260006110726020830184611bb4565b6080810161062e8284611c01565b60008219821115611d2957611d29611d88565b500190565b6000816000190483118215151615611d4857611d48611d88565b500290565b600181811c90821680611d6157607f821691505b60208210811415611d8257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146110fe57600080fd5b6001600160e01b0319811681146110fe57600080fdfea2646970667358221220c0b8d0457c8921d72c75f529367fb43b51ffe294c7af3abfefd7e360bd8d1f0c64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d6432526f4c70336b67686a385754527073676d6d416232634d384b354a7369413762667655527a64584c774300000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d624131696b5576696a436872774a565256443336514254516a4a525575757463514e51337a796835596a46470000000000000000000000
Deployed Bytecode
0x6080604052600436106101e75760003560e01c80637871e15411610102578063a22cb46511610095578063d5abeb0111610064578063d5abeb011461054e578063e8a3d48514610564578063e985e9c514610579578063f2fde38b146105c257600080fd5b8063a22cb465146104ce578063b88d4fde146104ee578063c23dc68f14610501578063c87b56dd1461052e57600080fd5b806391b7f5ed116100d157806391b7f5ed1461046657806395d89b411461048657806399a2557a1461049b578063a0712d68146104bb57600080fd5b80637871e154146103db5780637ec4a659146103fb5780638462151c1461041b5780638da5cb5b1461044857600080fd5b806342842e0e1161017a5780636352211e116101495780636352211e146103705780636817c76c1461039057806370a08231146103a6578063715018a6146103c657600080fd5b806342842e0e146103065780635503a0e8146103195780635bbb21771461032e57806362b99ad41461035b57600080fd5b806316ba10e0116101b657806316ba10e01461029757806318160ddd146102b757806323b872dd146102de5780633ccfd60b146102f157600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b31461028257600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061021361020e366004611af5565b6105e2565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d610634565b60405161021f9190611cf5565b34801561025657600080fd5b5061026a610265366004611b78565b6106c6565b6040516001600160a01b03909116815260200161021f565b610295610290366004611a06565b610701565b005b3480156102a357600080fd5b506102956102b2366004611b2f565b610711565b3480156102c357600080fd5b5060015460005403600019015b60405190815260200161021f565b6102956102ec366004611917565b61072c565b3480156102fd57600080fd5b506102956107f9565b610295610314366004611917565b6108d2565b34801561032557600080fd5b5061023d610995565b34801561033a57600080fd5b5061034e610349366004611a63565b610a23565b60405161021f9190611c7b565b34801561036757600080fd5b5061023d610a6f565b34801561037c57600080fd5b5061026a61038b366004611b78565b610a7c565b34801561039c57600080fd5b506102d0600d5481565b3480156103b257600080fd5b506102d06103c13660046118c9565b610a87565b3480156103d257600080fd5b50610295610acd565b3480156103e757600080fd5b506102956103f6366004611b91565b610ae1565b34801561040757600080fd5b50610295610416366004611b2f565b610ba5565b34801561042757600080fd5b5061043b6104363660046118c9565b610bc0565b60405161021f9190611cbd565b34801561045457600080fd5b506008546001600160a01b031661026a565b34801561047257600080fd5b50610295610481366004611b78565b610c4b565b34801561049257600080fd5b5061023d610c58565b3480156104a757600080fd5b5061043b6104b6366004611a30565b610c67565b6102956104c9366004611b78565b610d57565b3480156104da57600080fd5b506102956104e93660046119cf565b610e6b565b6102956104fc366004611953565b610ed7565b34801561050d57600080fd5b5061052161051c366004611b78565b610fa1565b60405161021f9190611d08565b34801561053a57600080fd5b5061023d610549366004611b78565b610ff9565b34801561055a57600080fd5b506102d0600c5481565b34801561057057600080fd5b5061023d611079565b34801561058557600080fd5b506102136105943660046118e4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105ce57600080fd5b506102956105dd3660046118c9565b611088565b60006301ffc9a760e01b6001600160e01b03198316148061061357506380ac58cd60e01b6001600160e01b03198316145b8061062e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461064390611d4d565b80601f016020809104026020016040519081016040528092919081815260200182805461066f90611d4d565b80156106bc5780601f10610691576101008083540402835291602001916106bc565b820191906000526020600020905b81548152906001019060200180831161069f57829003601f168201915b5050505050905090565b60006106d182611101565b6106e5576106e56333d1c03960e21b611136565b506000908152600660205260409020546001600160a01b031690565b61070d82826001611140565b5050565b6107196111e3565b805161070d90600a9060208401906117a3565b6daaeb6d7670e522a718067333cd4e3b156107e957604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381600087803b15801561078d57600080fd5b505af11580156107a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c59190611ad8565b6107e957604051633b79c77360e21b81523360048201526024015b60405180910390fd5b6107f483838361123d565b505050565b6108016111e3565b600260095414156108545760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107e0565b6002600955600061086d6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146108b7576040519150601f19603f3d011682016040523d82523d6000602084013e6108bc565b606091505b50509050806108ca57600080fd5b506001600955565b6daaeb6d7670e522a718067333cd4e3b1561098a57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381600087803b15801561093357600080fd5b505af1158015610947573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096b9190611ad8565b61098a57604051633b79c77360e21b81523360048201526024016107e0565b6107f4838383611398565b600a80546109a290611d4d565b80601f01602080910402602001604051908101604052809291908181526020018280546109ce90611d4d565b8015610a1b5780601f106109f057610100808354040283529160200191610a1b565b820191906000526020600020905b8154815290600101906020018083116109fe57829003601f168201915b505050505081565b60408051828152600583901b8082016020019092526060915b8015610a6757601f1980820191860101356000610a5882610fa1565b8484016020015250610a3c9050565b509392505050565b600b80546109a290611d4d565b600061062e826113b3565b60006001600160a01b038216610aa757610aa76323d3ad8160e21b611136565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ad56111e3565b610adf6000611425565b565b610ae96111e3565b60008211610b395760405162461bcd60e51b815260206004820152601b60248201527f6e65656420746f206d696e74206174206c656173742031204e4654000000000060448201526064016107e0565b600c546001546000548491900360001901610b549190611d16565b1115610b9b5760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b60448201526064016107e0565b61070d8183611477565b610bad6111e3565b805161070d90600b9060208401906117a3565b60606000610bcd83610a87565b9050606060405190506001820160051b81016040528181526000806000610bf2600190565b90505b848214610c40576000610c0782611491565b90506040810151610c3757805115610c1e57805193505b87841860601b610c3757600183019250818360051b8601525b50600101610bf5565b509195945050505050565b610c536111e3565b600d55565b60606003805461064390611d4d565b6060818310610c8057610c80631960ccad60e11b611136565b6001831015610c8e57600192505b600054808310610c9c578092505b60606000610ca987610a87565b85871090810291508115610d4b578187870311610cc65786860391505b60405192506001820160051b83016040526000610ce288610fa1565b905060008160400151610cf3575080515b60005b610cff8a611491565b92506040830151610d2e57825115610d1657825191505b8a821860601b610d2e57600101600581901b86018a90525b60018a019950888a1480610d4157508481145b15610cf657855250505b50909695505050505050565b600081600d54610d679190611d2e565b905060008211610db95760405162461bcd60e51b815260206004820152601b60248201527f6e65656420746f206d696e74206174206c656173742031204e4654000000000060448201526064016107e0565b600c546001546000548491900360001901610dd49190611d16565b1115610e1b5760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b60448201526064016107e0565b80341015610e615760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742056616c75652160681b60448201526064016107e0565b61070d3383611477565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6daaeb6d7670e522a718067333cd4e3b15610f8f57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381600087803b158015610f3857600080fd5b505af1158015610f4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f709190611ad8565b610f8f57604051633b79c77360e21b81523360048201526024016107e0565b610f9b848484846114cd565b50505050565b60408051608081018252600080825260208201819052918101829052606081019190915260018210610ff457600054821015610ff457610fe082611491565b90508060400151610ff45761062e82611508565b919050565b606061100482611101565b6110685760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107e0565b600061107261153d565b9392505050565b6060600e805461064390611d4d565b6110906111e3565b6001600160a01b0381166110f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e0565b6110fe81611425565b50565b600081600111158015611115575060005482105b801561062e575050600090815260046020526040902054600160e01b161590565b8060005260046000fd5b600061114b83610a7c565b90508180156111635750336001600160a01b03821614155b15611186576111728133610594565b611186576111866367d9dca160e11b611136565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6008546001600160a01b03163314610adf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e0565b6000611248826113b3565b6001600160a01b03948516949091508116841461126e5761126e62a1148160e81b611136565b60008281526006602052604090208054338082146001600160a01b038816909114176112b25761129e8633610594565b6112b2576112b2632ce44b5f60e11b611136565b80156112bd57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661134857600184016000818152600460205260409020546113465760005481146113465760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48061138f5761138f633a954ecd60e21b611136565b50505050505050565b6107f483838360405180602001604052806000815250610ed7565b6000816001116114155750600081815260046020526040902054600160e01b81166114155780610ff45760005482106113f6576113f6636f96cda160e11b611136565b5b506000190160008181526004602052604090205480610ff4576113f7565b610ff4636f96cda160e11b611136565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61070d82826040518060200160405280600081525061154c565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461062e906115b5565b6114d884848461072c565b6001600160a01b0383163b15610f9b576114f4848484846115fd565b610f9b57610f9b6368d2bf6b60e11b611136565b60408051608081018252600080825260208201819052918101829052606081019190915261062e611538836113b3565b6115b5565b6060600b805461064390611d4d565b61155683836116ec565b6001600160a01b0383163b156107f4576000548281035b61158060008683806001019450866115fd565b611594576115946368d2bf6b60e11b611136565b81811061156d5781600054146115ae576115ae6000611136565b5050505050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611632903390899088908890600401611c3e565b602060405180830381600087803b15801561164c57600080fd5b505af192505050801561167c575060408051601f3d908101601f1916820190925261167991810190611b12565b60015b6116ce573d8080156116aa576040519150601f19603f3d011682016040523d82523d6000602084013e6116af565b606091505b5080516116c6576116c66368d2bf6b60e11b611136565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600054816117045761170463b562e8dd60e01b611136565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b178117909155808452600590925290912080546801000000000000000185020190558061176057611760622e076360e81b611136565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010180821415611765575060005550505050565b8280546117af90611d4d565b90600052602060002090601f0160209004810192826117d15760008555611817565b82601f106117ea57805160ff1916838001178555611817565b82800160010185558215611817579182015b828111156118175782518255916020019190600101906117fc565b50611823929150611827565b5090565b5b808211156118235760008155600101611828565b600067ffffffffffffffff8084111561185757611857611d9e565b604051601f8501601f19908116603f0116810190828211818310171561187f5761187f611d9e565b8160405280935085815286868601111561189857600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114610ff457600080fd5b6000602082840312156118db57600080fd5b611072826118b2565b600080604083850312156118f757600080fd5b611900836118b2565b915061190e602084016118b2565b90509250929050565b60008060006060848603121561192c57600080fd5b611935846118b2565b9250611943602085016118b2565b9150604084013590509250925092565b6000806000806080858703121561196957600080fd5b611972856118b2565b9350611980602086016118b2565b925060408501359150606085013567ffffffffffffffff8111156119a357600080fd5b8501601f810187136119b457600080fd5b6119c38782356020840161183c565b91505092959194509250565b600080604083850312156119e257600080fd5b6119eb836118b2565b915060208301356119fb81611db4565b809150509250929050565b60008060408385031215611a1957600080fd5b611a22836118b2565b946020939093013593505050565b600080600060608486031215611a4557600080fd5b611a4e846118b2565b95602085013595506040909401359392505050565b60008060208385031215611a7657600080fd5b823567ffffffffffffffff80821115611a8e57600080fd5b818501915085601f830112611aa257600080fd5b813581811115611ab157600080fd5b8660208260051b8501011115611ac657600080fd5b60209290920196919550909350505050565b600060208284031215611aea57600080fd5b815161107281611db4565b600060208284031215611b0757600080fd5b813561107281611dc2565b600060208284031215611b2457600080fd5b815161107281611dc2565b600060208284031215611b4157600080fd5b813567ffffffffffffffff811115611b5857600080fd5b8201601f81018413611b6957600080fd5b6116e48482356020840161183c565b600060208284031215611b8a57600080fd5b5035919050565b60008060408385031215611ba457600080fd5b8235915061190e602084016118b2565b6000815180845260005b81811015611bda57602081850181015186830182015201611bbe565b81811115611bec576000602083870101525b50601f01601f19169290920160200192915050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c7190830184611bb4565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610d4b57611caa838551611c01565b9284019260809290920191600101611c97565b6020808252825182820181905260009190848201906040850190845b81811015610d4b57835183529284019291840191600101611cd9565b6020815260006110726020830184611bb4565b6080810161062e8284611c01565b60008219821115611d2957611d29611d88565b500190565b6000816000190483118215151615611d4857611d48611d88565b500290565b600181811c90821680611d6157607f821691505b60208210811415611d8257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146110fe57600080fd5b6001600160e01b0319811681146110fe57600080fdfea2646970667358221220c0b8d0457c8921d72c75f529367fb43b51ffe294c7af3abfefd7e360bd8d1f0c64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d6432526f4c70336b67686a385754527073676d6d416232634d384b354a7369413762667655527a64584c774300000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d624131696b5576696a436872774a565256443336514254516a4a525575757463514e51337a796835596a46470000000000000000000000
-----Decoded View---------------
Arg [0] : info (string): ipfs://Qmd2RoLp3kghj8WTRpsgmmAb2cM8K5JsiA7bfvURzdXLwC
Arg [1] : uri (string): ipfs://QmbA1ikUvijChrwJVRVD36QBTQjJRUuutcQNQ3zyh5YjFG
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [3] : 697066733a2f2f516d6432526f4c70336b67686a385754527073676d6d416232
Arg [4] : 634d384b354a7369413762667655527a64584c77430000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [6] : 697066733a2f2f516d624131696b5576696a436872774a565256443336514254
Arg [7] : 516a4a525575757463514e51337a796835596a46470000000000000000000000
Deployed Bytecode Sourcemap
72821:3327:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25134:639;;;;;;;;;;-1:-1:-1;25134:639:0;;;;;:::i;:::-;;:::i;:::-;;;9046:14:1;;9039:22;9021:41;;9009:2;8994:18;25134:639:0;;;;;;;;26036:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32463:227::-;;;;;;;;;;-1:-1:-1;32463:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6671:32:1;;;6653:51;;6641:2;6626:18;32463:227:0;6507:203:1;32180:124:0;;;;;;:::i;:::-;;:::i;:::-;;75141:106;;;;;;;;;;-1:-1:-1;75141:106:0;;;;;:::i;:::-;;:::i;21778:323::-;;;;;;;;;;-1:-1:-1;74071:1:0;22052:12;21839:7;22036:13;:28;-1:-1:-1;;22036:46:0;21778:323;;;12313:25:1;;;12301:2;12286:18;21778:323:0;12167:177:1;75513:165:0;;;;;;:::i;:::-;;:::i;75259:160::-;;;;;;;;;;;;;:::i;75686:173::-;;;;;;:::i;:::-;;:::i;72969:33::-;;;;;;;;;;;;;:::i;61152:1163::-;;;;;;;;;;-1:-1:-1;61152:1163:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;73009:28::-;;;;;;;;;;;;;:::i;27438:152::-;;;;;;;;;;-1:-1:-1;27438:152:0;;;;;:::i;:::-;;:::i;73088:39::-;;;;;;;;;;;;;;;;22962:242;;;;;;;;;;-1:-1:-1;22962:242:0;;;;;:::i;:::-;;:::i;4530:103::-;;;;;;;;;;;;;:::i;73695:272::-;;;;;;;;;;-1:-1:-1;73695:272:0;;;;;:::i;:::-;;:::i;75033:100::-;;;;;;;;;;-1:-1:-1;75033:100:0;;;;;:::i;:::-;;:::i;67139:1835::-;;;;;;;;;;-1:-1:-1;67139:1835:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3882:87::-;;;;;;;;;;-1:-1:-1;3955:6:0;;-1:-1:-1;;;;;3955:6:0;3882:87;;74711;;;;;;;;;;-1:-1:-1;74711:87:0;;;;;:::i;:::-;;:::i;26212:104::-;;;;;;;;;;;;;:::i;62703:3989::-;;;;;;;;;;-1:-1:-1;62703:3989:0;;;;;:::i;:::-;;:::i;73317:370::-;;;;;;:::i;:::-;;:::i;33030:234::-;;;;;;;;;;-1:-1:-1;33030:234:0;;;;;:::i;:::-;;:::i;75867:239::-;;;;;;:::i;:::-;;:::i;60535:458::-;;;;;;;;;;-1:-1:-1;60535:458:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;74089:614::-;;;;;;;;;;-1:-1:-1;74089:614:0;;;;;:::i;:::-;;:::i;73050:31::-;;;;;;;;;;;;;;;;74806:97;;;;;;;;;;;;;:::i;33421:164::-;;;;;;;;;;-1:-1:-1;33421:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;33542:25:0;;;33518:4;33542:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33421:164;4788:201;;;;;;;;;;-1:-1:-1;4788:201:0;;;;;:::i;:::-;;:::i;25134:639::-;25219:4;-1:-1:-1;;;;;;;;;25543:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;25620:25:0;;;25543:102;:179;;;-1:-1:-1;;;;;;;;;;25697:25:0;;;25543:179;25523:199;25134:639;-1:-1:-1;;25134:639:0:o;26036:100::-;26090:13;26123:5;26116:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26036:100;:::o;32463:227::-;32539:7;32564:16;32572:7;32564;:16::i;:::-;32559:73;;32582:50;-1:-1:-1;;;32582:7:0;:50::i;:::-;-1:-1:-1;32652:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;32652:30:0;;32463:227::o;32180:124::-;32269:27;32278:2;32282:7;32291:4;32269:8;:27::i;:::-;32180:124;;:::o;75141:106::-;3768:13;:11;:13::i;:::-;75217:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;75513:165::-:0;71218:42;72346:43;:47;72342:225;;72415:67;;-1:-1:-1;;;72415:67:0;;72464:4;72415:67;;;6927:34:1;72471:10:0;6977:18:1;;;6970:43;71218:42:0;;72415:40;;6862:18:1;;72415:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;72410:146;;72510:30;;-1:-1:-1;;;72510:30:0;;72529:10;72510:30;;;6653:51:1;6626:18;;72510:30:0;;;;;;;;72410:146;75633:37:::1;75652:4;75658:2;75662:7;75633:18;:37::i;:::-;75513:165:::0;;;:::o;75259:160::-;3768:13;:11;:13::i;:::-;2496:1:::1;2716:7;;:19;;2708:63;;;::::0;-1:-1:-1;;;2708:63:0;;11382:2:1;2708:63:0::1;::::0;::::1;11364:21:1::0;11421:2;11401:18;;;11394:30;11460:33;11440:18;;;11433:61;11511:18;;2708:63:0::1;11180:355:1::0;2708:63:0::1;2496:1;2849:7;:18:::0;75321:7:::2;75342;3955:6:::0;;-1:-1:-1;;;;;3955:6:0;;3882:87;75342:7:::2;-1:-1:-1::0;;;;;75334:21:0::2;75363;75334:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75320:69;;;75408:2;75400:11;;;::::0;::::2;;-1:-1:-1::0;2452:1:0::1;3028:7;:22:::0;75259:160::o;75686:173::-;71218:42;72346:43;:47;72342:225;;72415:67;;-1:-1:-1;;;72415:67:0;;72464:4;72415:67;;;6927:34:1;72471:10:0;6977:18:1;;;6970:43;71218:42:0;;72415:40;;6862:18:1;;72415:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;72410:146;;72510:30;;-1:-1:-1;;;72510:30:0;;72529:10;72510:30;;;6653:51:1;6626:18;;72510:30:0;6507:203:1;72410:146:0;75810:41:::1;75833:4;75839:2;75843:7;75810:22;:41::i;72969:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;61152:1163::-;61510:4;61504:11;;61563:21;;;61715:1;61711:9;;;61770:29;;;61790:4;61770:29;61757:43;;;61296:23;;61821:459;61828:6;;61821:459;;-1:-1:-1;;61914:12:0;;;;61968:23;;;61955:37;61851:15;62055:28;61955:37;62055:19;:28::i;:::-;62213:29;;;62233:4;62213:29;62206:48;-1:-1:-1;61821:459:0;;-1:-1:-1;61821:459:0;;-1:-1:-1;62297:10:0;61152:1163;-1:-1:-1;;;61152:1163:0:o;73009:28::-;;;;;;;:::i;27438:152::-;27510:7;27553:27;27572:7;27553:18;:27::i;22962:242::-;23034:7;-1:-1:-1;;;;;23058:19:0;;23054:69;;23079:44;-1:-1:-1;;;23079:7:0;:44::i;:::-;-1:-1:-1;;;;;;23141:25:0;;;;;:18;:25;;;;;;17121:13;23141:55;;22962:242::o;4530:103::-;3768:13;:11;:13::i;:::-;4595:30:::1;4622:1;4595:18;:30::i;:::-;4530:103::o:0;73695:272::-;3768:13;:11;:13::i;:::-;73799:1:::1;73785:11;:15;73777:55;;;::::0;-1:-1:-1;;;73777:55:0;;11742:2:1;73777:55:0::1;::::0;::::1;11724:21:1::0;11781:2;11761:18;;;11754:30;11820:29;11800:18;;;11793:57;11867:18;;73777:55:0::1;11540:351:1::0;73777:55:0::1;73879:9;::::0;74071:1;22052:12;21839:7;22036:13;73864:11;;22036:28;;-1:-1:-1;;22036:46:0;73848:27:::1;;;;:::i;:::-;:40;;73840:75;;;::::0;-1:-1:-1;;;73840:75:0;;9906:2:1;73840:75:0::1;::::0;::::1;9888:21:1::0;9945:2;9925:18;;;9918:30;-1:-1:-1;;;9964:18:1;;;9957:52;10026:18;;73840:75:0::1;9704:346:1::0;73840:75:0::1;73926:33;73936:9;73947:11;73926:9;:33::i;75033:100::-:0;3768:13;:11;:13::i;:::-;75106:19;;::::1;::::0;:9:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;67139:1835::-:0;67217:16;67246:22;67271:16;67281:5;67271:9;:16::i;:::-;67246:41;;67298:25;67422:4;67416:11;67404:23;;67648:1;67632:14;67628:22;67625:1;67621:30;67611:8;67607:45;67601:4;67594:59;67732:14;67722:8;67715:32;67768:25;67804:19;67839:9;67851:15;74071:1;;73979:101;67851:15;67839:27;;67834:1107;67883:14;67868:11;:29;67834:1107;;67916:31;67950:15;67963:1;67950:12;:15::i;:::-;67916:49;;68091:4;68080:9;68076:20;68070:27;68060:823;;68343:9;68337:16;68334:107;;;68408:9;68402:16;68381:37;;68334:107;68700:5;68681:17;68677:29;68673:2;68669:38;68659:205;;68768:1;68755:11;68751:19;68736:34;;68839:1;68824:11;68821:1;68817:19;68807:8;68803:34;68796:45;68659:205;-1:-1:-1;68913:1:0;68906:9;67834:1107;;;-1:-1:-1;68958:8:0;;67139:1835;-1:-1:-1;;;;;67139:1835:0:o;74711:87::-;3768:13;:11;:13::i;:::-;74771:9:::1;:19:::0;74711:87::o;26212:104::-;26268:13;26301:7;26294:14;;;;;:::i;62703:3989::-;62846:16;62913:4;62904:5;:13;62900:54;;62919:35;-1:-1:-1;;;62919:7:0;:35::i;:::-;74071:1;63032:5;:23;63028:87;;;74071:1;63076:23;;63028:87;63129:17;21547:13;63233:17;;;63229:74;;63278:9;63271:16;;63229:74;63317:25;63357;63385:16;63395:5;63385:9;:16::i;:::-;63435:12;;;63595:35;;;;-1:-1:-1;63663:22:0;;63659:2985;;63885:17;63876:5;63869:4;:12;:33;63865:114;;63954:5;63947:4;:12;63927:32;;63865:114;64101:4;64095:11;64083:23;;64354:1;64335:17;64331:25;64328:1;64324:33;64314:8;64310:48;64304:4;64297:62;64534:31;64568:26;64588:5;64568:19;:26::i;:::-;64534:60;;64613:25;64910:9;:16;;;64905:100;;-1:-1:-1;64971:14:0;;64905:100;65023:19;65213:1267;65251:19;65264:5;65251:12;:19::i;:::-;65239:31;;65420:4;65409:9;65405:20;65399:27;65389:939;;65704:9;65698:16;65695:123;;;65777:9;65771:16;65750:37;;65695:123;66109:5;66090:17;66086:29;66082:2;66078:38;66068:233;;66185:1;66168:19;66246:1;66242:19;;;66228:34;;66221:49;;;66068:233;66374:1;66367:5;66363:13;66354:22;;66437:4;66428:5;:13;:49;;;;66460:17;66445:11;:32;66428:49;66426:52;65213:1267;;66581:29;;-1:-1:-1;;63659:2985:0;-1:-1:-1;66665:8:0;;62703:3989;-1:-1:-1;;;;;;62703:3989:0:o;73317:370::-;73386:10;73411:11;73399:9;;:23;;;;:::i;:::-;73386:36;;73455:1;73441:11;:15;73433:55;;;;-1:-1:-1;;;73433:55:0;;11742:2:1;73433:55:0;;;11724:21:1;11781:2;11761:18;;;11754:30;11820:29;11800:18;;;11793:57;11867:18;;73433:55:0;11540:351:1;73433:55:0;73538:9;;74071:1;22052:12;21839:7;22036:13;73523:11;;22036:28;;-1:-1:-1;;22036:46:0;73507:27;;;;:::i;:::-;:40;;73499:75;;;;-1:-1:-1;;;73499:75:0;;9906:2:1;73499:75:0;;;9888:21:1;9945:2;9925:18;;;9918:30;-1:-1:-1;;;9964:18:1;;;9957:52;10026:18;;73499:75:0;9704:346:1;73499:75:0;73606:5;73593:9;:18;;73585:49;;;;-1:-1:-1;;;73585:49:0;;11034:2:1;73585:49:0;;;11016:21:1;11073:2;11053:18;;;11046:30;-1:-1:-1;;;11092:18:1;;;11085:49;11151:18;;73585:49:0;10832:343:1;73585:49:0;73645:34;73655:10;73667:11;73645:9;:34::i;33030:234::-;57603:10;33125:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;33125:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;33125:60:0;;;;;;;;;;33201:55;;9021:41:1;;;33125:49:0;;57603:10;33201:55;;8994:18:1;33201:55:0;;;;;;;33030:234;;:::o;75867:239::-;71218:42;72346:43;:47;72342:225;;72415:67;;-1:-1:-1;;;72415:67:0;;72464:4;72415:67;;;6927:34:1;72471:10:0;6977:18:1;;;6970:43;71218:42:0;;72415:40;;6862:18:1;;72415:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;72410:146;;72510:30;;-1:-1:-1;;;72510:30:0;;72529:10;72510:30;;;6653:51:1;6626:18;;72510:30:0;6507:203:1;72410:146:0;76051:47:::1;76074:4;76080:2;76084:7;76093:4;76051:22;:47::i;:::-;75867:239:::0;;;;:::o;60535:458::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74071:1:0;60717:7;:26;60713:273;;21520:7;21547:13;60764:7;:24;60760:215;;;60821:21;60834:7;60821:12;:21::i;:::-;60809:33;;60866:9;:16;;;60861:99;;60919:21;60932:7;60919:12;:21::i;60861:99::-;60535:458;;;:::o;74089:614::-;74162:13;74197:16;74205:7;74197;:16::i;:::-;74189:76;;;;-1:-1:-1;;;74189:76:0;;10618:2:1;74189:76:0;;;10600:21:1;10657:2;10637:18;;;10630:30;10696:34;10676:18;;;10669:62;-1:-1:-1;;;10747:18:1;;;10740:45;10802:19;;74189:76:0;10416:411:1;74189:76:0;74278:28;74309:10;:8;:10::i;:::-;74278:41;74089:614;-1:-1:-1;;;74089:614:0:o;74806:97::-;74850:13;74883:12;74876:19;;;;;:::i;4788:201::-;3768:13;:11;:13::i;:::-;-1:-1:-1;;;;;4877:22:0;::::1;4869:73;;;::::0;-1:-1:-1;;;4869:73:0;;9499:2:1;4869:73:0::1;::::0;::::1;9481:21:1::0;9538:2;9518:18;;;9511:30;9577:34;9557:18;;;9550:62;-1:-1:-1;;;9628:18:1;;;9621:36;9674:19;;4869:73:0::1;9297:402:1::0;4869:73:0::1;4953:28;4972:8;4953:18;:28::i;:::-;4788:201:::0;:::o;33843:282::-;33908:4;33964:7;74071:1;33945:26;;:66;;;;;33998:13;;33988:7;:23;33945:66;:153;;;;-1:-1:-1;;34049:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;34049:44:0;:49;;33843:282::o;59535:165::-;59636:13;59630:4;59623:27;59677:4;59671;59664:18;50968:474;51097:13;51113:16;51121:7;51113;:16::i;:::-;51097:32;;51146:13;:45;;;;-1:-1:-1;57603:10:0;-1:-1:-1;;;;;51163:28:0;;;;51146:45;51142:201;;;51211:44;51228:5;57603:10;33421:164;:::i;51211:44::-;51206:137;;51276:51;-1:-1:-1;;;51276:7:0;:51::i;:::-;51355:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;51355:35:0;-1:-1:-1;;;;;51355:35:0;;;;;;;;;51406:28;;51355:24;;51406:28;;;;;;;51086:356;50968:474;;;:::o;4047:132::-;3955:6;;-1:-1:-1;;;;;3955:6:0;57603:10;4111:23;4103:68;;;;-1:-1:-1;;;4103:68:0;;10257:2:1;4103:68:0;;;10239:21:1;;;10276:18;;;10269:30;10335:34;10315:18;;;10308:62;10387:18;;4103:68:0;10055:356:1;36111:3523:0;36253:27;36283;36302:7;36283:18;:27::i;:::-;-1:-1:-1;;;;;36438:22:0;;;;36253:57;;-1:-1:-1;36498:45:0;;;;36494:95;;36545:44;-1:-1:-1;;;36545:7:0;:44::i;:::-;36603:27;35219:24;;;:15;:24;;;;;35447:26;;57603:10;34844:30;;;-1:-1:-1;;;;;34537:28:0;;34822:20;;;34819:56;36789:189;;36882:43;36899:4;57603:10;33421:164;:::i;36882:43::-;36877:101;;36927:51;-1:-1:-1;;;36927:7:0;:51::i;:::-;37127:15;37124:160;;;37267:1;37246:19;37239:30;37124:160;-1:-1:-1;;;;;37664:24:0;;;;;;;:18;:24;;;;;;37662:26;;-1:-1:-1;;37662:26:0;;;37733:22;;;;;;;;;37731:24;;-1:-1:-1;37731:24:0;;;31282:11;31257:23;31253:41;31240:63;-1:-1:-1;;;31240:63:0;38026:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;38321:47:0;;38317:627;;38426:1;38416:11;;38394:19;38549:30;;;:17;:30;;;;;;38545:384;;38687:13;;38672:11;:28;38668:242;;38834:30;;;;:17;:30;;;;;:52;;;38668:242;38375:569;38317:627;-1:-1:-1;;;;;39076:20:0;;39456:7;39076:20;39386:4;39328:25;39057:16;;39193:299;39517:13;39513:58;;39532:39;-1:-1:-1;;;39532:7:0;:39::i;:::-;36242:3392;;;;36111:3523;;;:::o;39730:193::-;39876:39;39893:4;39899:2;39903:7;39876:39;;;;;;;;;;;;:16;:39::i;28593:1730::-;28660:14;28710:7;74071:1;28691:26;28687:1571;;-1:-1:-1;28743:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;28819:24:0;;28815:1432;;28958:11;28954:990;;29009:13;;28998:7;:24;28994:77;;29024:47;-1:-1:-1;;;29024:7:0;:47::i;:::-;29668:257;-1:-1:-1;;;29772:9:0;29754:28;;;;:17;:28;;;;;;29840:11;29836:25;;29668:257;;28815:1432;30268:47;-1:-1:-1;;;30268:7:0;:47::i;5149:191::-;5242:6;;;-1:-1:-1;;;;;5259:17:0;;;-1:-1:-1;;;;;;5259:17:0;;;;;;;5292:40;;5242:6;;;5259:17;5242:6;;5292:40;;5223:16;;5292:40;5212:128;5149:191;:::o;50050:112::-;50127:27;50137:2;50141:8;50127:27;;;;;;;;;;;;:9;:27::i;28041:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28169:24:0;;;;:17;:24;;;;;;28150:44;;:18;:44::i;40521:416::-;40696:31;40709:4;40715:2;40719:7;40696:12;:31::i;:::-;-1:-1:-1;;;;;40742:14:0;;;:19;40738:192;;40781:56;40812:4;40818:2;40822:7;40831:5;40781:30;:56::i;:::-;40776:154;;40858:56;-1:-1:-1;;;40858:7:0;:56::i;27779:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27890:47:0;27909:27;27928:7;27909:18;:27::i;:::-;27890:18;:47::i;74915:110::-;74975:13;75008:9;75001:16;;;;;:::i;49258:708::-;49389:19;49395:2;49399:8;49389:5;:19::i;:::-;-1:-1:-1;;;;;49450:14:0;;;:19;49446:502;;49490:11;49504:13;49552:14;;;49585:242;49616:62;49655:1;49659:2;49663:7;;;;;;49672:5;49616:30;:62::i;:::-;49611:176;;49707:56;-1:-1:-1;;;49707:7:0;:56::i;:::-;49822:3;49814:5;:11;49585:242;;49909:3;49892:13;;:20;49888:44;;49914:18;49929:1;49914:7;:18::i;:::-;49471:477;;49258:708;;;:::o;30422:366::-;-1:-1:-1;;;;;;;;;;;;;30532:41:0;;;;17780:3;30618:33;;;30584:68;;-1:-1:-1;;;30584:68:0;-1:-1:-1;;;30682:24:0;;:29;;-1:-1:-1;;;30663:48:0;;;;18301:3;30751:28;;;;-1:-1:-1;;;30722:58:0;-1:-1:-1;30422:366:0:o;43021:691::-;43205:88;;-1:-1:-1;;;43205:88:0;;43184:4;;-1:-1:-1;;;;;43205:45:0;;;;;:88;;57603:10;;43272:4;;43278:7;;43287:5;;43205:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43205:88:0;;;;;;;;-1:-1:-1;;43205:88:0;;;;;;;;;;;;:::i;:::-;;;43201:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43488:13:0;;43484:115;;43527:56;-1:-1:-1;;;43527:7:0;:56::i;:::-;43671:6;43665:13;43656:6;43652:2;43648:15;43641:38;43201:504;-1:-1:-1;;;;;;43364:64:0;-1:-1:-1;;;43364:64:0;;-1:-1:-1;43201:504:0;43021:691;;;;;;:::o;44174:2305::-;44247:20;44270:13;44298;44294:53;;44313:34;-1:-1:-1;;;44313:7:0;:34::i;:::-;44860:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;31108:28:0;;31282:11;31257:23;31253:41;31726:1;31713:15;;31687:24;31683:46;31250:52;31240:63;;44860:173;;;45251:22;;;:18;:22;;;;;;:71;;45289:32;45277:45;;45251:71;;;31108:28;45508:54;;45527:35;-1:-1:-1;;;45527:7:0;:35::i;:::-;45593:23;;;:12;45678:676;46097:7;46053:8;46008:1;45942:25;45879:1;45814;45783:358;46336:9;;:16;;;;45678:676;;-1:-1:-1;46370:13:0;:19;-1:-1:-1;75513:165:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;828:186;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:315::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2545:28;2567:5;2545:28;:::i;:::-;2592:5;2582:15;;;2288:315;;;;;:::o;2608:254::-;2676:6;2684;2737:2;2725:9;2716:7;2712:23;2708:32;2705:52;;;2753:1;2750;2743:12;2705:52;2776:29;2795:9;2776:29;:::i;:::-;2766:39;2852:2;2837:18;;;;2824:32;;-1:-1:-1;;;2608:254:1:o;2867:322::-;2944:6;2952;2960;3013:2;3001:9;2992:7;2988:23;2984:32;2981:52;;;3029:1;3026;3019:12;2981:52;3052:29;3071:9;3052:29;:::i;:::-;3042:39;3128:2;3113:18;;3100:32;;-1:-1:-1;3179:2:1;3164:18;;;3151:32;;2867:322;-1:-1:-1;;;2867:322:1:o;3194:615::-;3280:6;3288;3341:2;3329:9;3320:7;3316:23;3312:32;3309:52;;;3357:1;3354;3347:12;3309:52;3397:9;3384:23;3426:18;3467:2;3459:6;3456:14;3453:34;;;3483:1;3480;3473:12;3453:34;3521:6;3510:9;3506:22;3496:32;;3566:7;3559:4;3555:2;3551:13;3547:27;3537:55;;3588:1;3585;3578:12;3537:55;3628:2;3615:16;3654:2;3646:6;3643:14;3640:34;;;3670:1;3667;3660:12;3640:34;3723:7;3718:2;3708:6;3705:1;3701:14;3697:2;3693:23;3689:32;3686:45;3683:65;;;3744:1;3741;3734:12;3683:65;3775:2;3767:11;;;;;3797:6;;-1:-1:-1;3194:615:1;;-1:-1:-1;;;;3194:615:1:o;3814:245::-;3881:6;3934:2;3922:9;3913:7;3909:23;3905:32;3902:52;;;3950:1;3947;3940:12;3902:52;3982:9;3976:16;4001:28;4023:5;4001:28;:::i;4064:245::-;4122:6;4175:2;4163:9;4154:7;4150:23;4146:32;4143:52;;;4191:1;4188;4181:12;4143:52;4230:9;4217:23;4249:30;4273:5;4249:30;:::i;4314:249::-;4383:6;4436:2;4424:9;4415:7;4411:23;4407:32;4404:52;;;4452:1;4449;4442:12;4404:52;4484:9;4478:16;4503:30;4527:5;4503:30;:::i;4568:450::-;4637:6;4690:2;4678:9;4669:7;4665:23;4661:32;4658:52;;;4706:1;4703;4696:12;4658:52;4746:9;4733:23;4779:18;4771:6;4768:30;4765:50;;;4811:1;4808;4801:12;4765:50;4834:22;;4887:4;4879:13;;4875:27;-1:-1:-1;4865:55:1;;4916:1;4913;4906:12;4865:55;4939:73;5004:7;4999:2;4986:16;4981:2;4977;4973:11;4939:73;:::i;5023:180::-;5082:6;5135:2;5123:9;5114:7;5110:23;5106:32;5103:52;;;5151:1;5148;5141:12;5103:52;-1:-1:-1;5174:23:1;;5023:180;-1:-1:-1;5023:180:1:o;5208:254::-;5276:6;5284;5337:2;5325:9;5316:7;5312:23;5308:32;5305:52;;;5353:1;5350;5343:12;5305:52;5389:9;5376:23;5366:33;;5418:38;5452:2;5441:9;5437:18;5418:38;:::i;5467:471::-;5508:3;5546:5;5540:12;5573:6;5568:3;5561:19;5598:1;5608:162;5622:6;5619:1;5616:13;5608:162;;;5684:4;5740:13;;;5736:22;;5730:29;5712:11;;;5708:20;;5701:59;5637:12;5608:162;;;5788:6;5785:1;5782:13;5779:87;;;5854:1;5847:4;5838:6;5833:3;5829:16;5825:27;5818:38;5779:87;-1:-1:-1;5920:2:1;5899:15;-1:-1:-1;;5895:29:1;5886:39;;;;5927:4;5882:50;;5467:471;-1:-1:-1;;5467:471:1:o;5943:349::-;6027:12;;-1:-1:-1;;;;;6023:38:1;6011:51;;6115:4;6104:16;;;6098:23;6123:18;6094:48;6078:14;;;6071:72;6206:4;6195:16;;;6189:23;6182:31;6175:39;6159:14;;;6152:63;6268:4;6257:16;;;6251:23;6276:8;6247:38;6231:14;;6224:62;5943:349::o;7024:488::-;-1:-1:-1;;;;;7293:15:1;;;7275:34;;7345:15;;7340:2;7325:18;;7318:43;7392:2;7377:18;;7370:34;;;7440:3;7435:2;7420:18;;7413:31;;;7218:4;;7461:45;;7486:19;;7478:6;7461:45;:::i;:::-;7453:53;7024:488;-1:-1:-1;;;;;;7024:488:1:o;7517:722::-;7750:2;7802:21;;;7872:13;;7775:18;;;7894:22;;;7721:4;;7750:2;7973:15;;;;7947:2;7932:18;;;7721:4;8016:197;8030:6;8027:1;8024:13;8016:197;;;8079:52;8127:3;8118:6;8112:13;8079:52;:::i;:::-;8188:15;;;;8160:4;8151:14;;;;;8052:1;8045:9;8016:197;;8244:632;8415:2;8467:21;;;8537:13;;8440:18;;;8559:22;;;8386:4;;8415:2;8638:15;;;;8612:2;8597:18;;;8386:4;8681:169;8695:6;8692:1;8689:13;8681:169;;;8756:13;;8744:26;;8825:15;;;;8790:12;;;;8717:1;8710:9;8681:169;;9073:219;9222:2;9211:9;9204:21;9185:4;9242:44;9282:2;9271:9;9267:18;9259:6;9242:44;:::i;11896:266::-;12092:3;12077:19;;12105:51;12081:9;12138:6;12105:51;:::i;12349:128::-;12389:3;12420:1;12416:6;12413:1;12410:13;12407:39;;;12426:18;;:::i;:::-;-1:-1:-1;12462:9:1;;12349:128::o;12482:168::-;12522:7;12588:1;12584;12580:6;12576:14;12573:1;12570:21;12565:1;12558:9;12551:17;12547:45;12544:71;;;12595:18;;:::i;:::-;-1:-1:-1;12635:9:1;;12482:168::o;12655:380::-;12734:1;12730:12;;;;12777;;;12798:61;;12852:4;12844:6;12840:17;12830:27;;12798:61;12905:2;12897:6;12894:14;12874:18;12871:38;12868:161;;;12951:10;12946:3;12942:20;12939:1;12932:31;12986:4;12983:1;12976:15;13014:4;13011:1;13004:15;12868:161;;12655:380;;;:::o;13040:127::-;13101:10;13096:3;13092:20;13089:1;13082:31;13132:4;13129:1;13122:15;13156:4;13153:1;13146:15;13172:127;13233:10;13228:3;13224:20;13221:1;13214:31;13264:4;13261:1;13254:15;13288:4;13285:1;13278:15;13304:118;13390:5;13383:13;13376:21;13369:5;13366:32;13356:60;;13412:1;13409;13402:12;13427:131;-1:-1:-1;;;;;;13501:32:1;;13491:43;;13481:71;;13548:1;13545;13538:12
Swarm Source
ipfs://c0b8d0457c8921d72c75f529367fb43b51ffe294c7af3abfefd7e360bd8d1f0c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.