Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 805 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Base URI | 16790797 | 629 days ago | IN | 0 ETH | 0.00089706 | ||||
Withdraw | 16030942 | 736 days ago | IN | 0 ETH | 0.000383 | ||||
Set Approval For... | 15593634 | 797 days ago | IN | 0 ETH | 0.00025853 | ||||
Set Approval For... | 15593595 | 797 days ago | IN | 0 ETH | 0.00031564 | ||||
Set Approval For... | 15593067 | 797 days ago | IN | 0 ETH | 0.00034217 | ||||
Set Approval For... | 15593024 | 797 days ago | IN | 0 ETH | 0.00043888 | ||||
Mint | 15593017 | 797 days ago | IN | 0.005 ETH | 0.00173197 | ||||
Set Approval For... | 15592863 | 797 days ago | IN | 0 ETH | 0.00025951 | ||||
Set Approval For... | 15592856 | 797 days ago | IN | 0 ETH | 0.0002756 | ||||
Set Approval For... | 15592771 | 797 days ago | IN | 0 ETH | 0.00025889 | ||||
Set Approval For... | 15592748 | 797 days ago | IN | 0 ETH | 0.00024724 | ||||
Set Approval For... | 15592718 | 797 days ago | IN | 0 ETH | 0.00024506 | ||||
Withdraw | 15592700 | 797 days ago | IN | 0 ETH | 0.00020618 | ||||
Set Approval For... | 15592685 | 797 days ago | IN | 0 ETH | 0.00029725 | ||||
Set Approval For... | 15592677 | 797 days ago | IN | 0 ETH | 0.00037302 | ||||
Mint | 15592668 | 797 days ago | IN | 0.005 ETH | 0.00095769 | ||||
Set Approval For... | 15592656 | 797 days ago | IN | 0 ETH | 0.00029124 | ||||
Set Approval For... | 15592652 | 797 days ago | IN | 0 ETH | 0.00031941 | ||||
Set Approval For... | 15592645 | 797 days ago | IN | 0 ETH | 0.00034478 | ||||
Mint | 15592632 | 797 days ago | IN | 0.005 ETH | 0.00066575 | ||||
Set Approval For... | 15592632 | 797 days ago | IN | 0 ETH | 0.00035591 | ||||
Set Approval For... | 15592632 | 797 days ago | IN | 0 ETH | 0.00035591 | ||||
Set Approval For... | 15592627 | 797 days ago | IN | 0 ETH | 0.00042034 | ||||
Set Approval For... | 15592627 | 797 days ago | IN | 0 ETH | 0.0004211 | ||||
Set Approval For... | 15592624 | 797 days ago | IN | 0 ETH | 0.00036148 |
Loading...
Loading
Contract Name:
MechaPunks
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-22 */ /** █▀▄▀█ █▀▀ █▀▀ █░░█ █▀▀█ █▀▀█ █░░█ █▀▀▄ █░█ █▀▀ █░▀░█ █▀▀ █░░ █▀▀█ █▄▄█ █░░█ █░░█ █░░█ █▀▄ ▀▀█ ▀░░░▀ ▀▀▀ ▀▀▀ ▀░░▀ ▀░░▀ █▀▀▀ ░▀▀▀ ▀░░▀ ▀░▀ ▀▀▀ */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/security/ReentrancyGuard.sol /** Where am i?....... */ // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ 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; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ 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); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The 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 tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the 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 { 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; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev 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 See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @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)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev 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 { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } 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 { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_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) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev 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; } /** * @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 Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721AQueryable compliant contract. */ 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` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ 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 pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * - `extraData` = `0` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * - `extraData` = `<Extra data when token was burned>` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` * - `extraData` = `<Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } pragma solidity ^0.8.0; contract MechaPunks is ERC721A, Ownable, ReentrancyGuard { using Strings for uint; string public hiddenMetadataUri; bytes32 public merkleRoot; mapping(address => bool) public whitelistClaimed; string public baseTokenURI = "ipfs://none/"; uint256 public maxSupply = 555; uint256 public MAX_MINTS_PER_TX = 3; uint256 public PUBLIC_SALE_PRICE = 0.005 ether; uint256 public NUM_FREE_MINTS = 0; uint256 public MAX_FREE_PER_WALLET = 0; uint256 public freeNFTAlreadyMinted = 0; bool public isPublicSaleActive = false; bool public whitelistMintEnabled = false; constructor( string memory _tokenName, string memory _tokenSymbol, string memory _hiddenMetadataUri ) ERC721A(_tokenName, _tokenSymbol) { setHiddenMetadataUri(_hiddenMetadataUri); } function mint(uint256 numberOfTokens) external payable { require(isPublicSaleActive, "Public sale is not open"); require(totalSupply() + numberOfTokens < maxSupply + 1, "No more"); if(freeNFTAlreadyMinted + numberOfTokens > NUM_FREE_MINTS){ require( (PUBLIC_SALE_PRICE * numberOfTokens) <= msg.value, "Incorrect ETH value sent" ); } else { if (balanceOf(msg.sender) + numberOfTokens > MAX_FREE_PER_WALLET) { require( (PUBLIC_SALE_PRICE * numberOfTokens) <= msg.value, "Incorrect ETH value sent" ); require( numberOfTokens <= MAX_MINTS_PER_TX, "Max mints per transaction exceeded" ); } else { require( numberOfTokens <= MAX_FREE_PER_WALLET, "Max mints per transaction exceeded" ); freeNFTAlreadyMinted += numberOfTokens; } } _safeMint(msg.sender, numberOfTokens); } function setBaseURI(string memory baseURI) public onlyOwner { baseTokenURI = baseURI; } function treasuryMint(uint quantity) public onlyOwner { require( quantity > 0, "Invalid mint amount" ); require( totalSupply() + quantity <= maxSupply, "Maximum supply exceeded" ); _safeMint(msg.sender, quantity); } function withdraw() public onlyOwner nonReentrant { // This will transfer the remaining contract balance to the owner. // Do not remove this otherwise you will not be able to withdraw the funds. // ============================================================================= (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); // ============================================================================= } function tokenURI(uint _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(baseTokenURI, "/", _tokenId.toString(), ".json")); } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setIsPublicSaleActive(bool _isPublicSaleActive) external onlyOwner { isPublicSaleActive = _isPublicSaleActive; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setNumFreeMints(uint256 _numfreemints) external onlyOwner { NUM_FREE_MINTS = _numfreemints; } function setSalePrice(uint256 _price) external onlyOwner { PUBLIC_SALE_PRICE = _price; } function setMaxSupply(uint256 _maxsupply) external onlyOwner { maxSupply = _maxsupply; } function setMaxLimitPerTransaction(uint256 _limit) external onlyOwner { MAX_MINTS_PER_TX = _limit; } function setwhitelistMintEnabled(bool _wlMintEnabled) external onlyOwner { whitelistMintEnabled = _wlMintEnabled; } function Airdrop(uint8 _amountPerAddress, address[] calldata addresses) external onlyOwner { uint16 totalSupply = uint16(totalSupply()); uint totalAmount = _amountPerAddress * addresses.length; require(totalSupply + totalAmount <= maxSupply, "Excedes max supply."); for (uint256 i = 0; i < addresses.length; i++) { _safeMint(addresses[i], _amountPerAddress); } delete _amountPerAddress; delete totalSupply; } function whitelistMint(uint256 _price, bytes32[] calldata _merkleProof) public payable { // Verify whitelist requirements require(whitelistMintEnabled, 'The whitelist sale is not enabled!'); require(!whitelistClaimed[_msgSender()], 'Address already claimed!'); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!'); whitelistClaimed[_msgSender()] = true; _safeMint(_msgSender(), _price); } function setFreeLimitPerWallet(uint256 _limit) external onlyOwner { MAX_FREE_PER_WALLET = _limit; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"uint8","name":"_amountPerAddress","type":"uint8"},{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"Airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUM_FREE_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeNFTAlreadyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setFreeLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxLimitPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxsupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numfreemints","type":"uint256"}],"name":"setNumFreeMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_wlMintEnabled","type":"bool"}],"name":"setwhitelistMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"treasuryMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052600c60808190526b697066733a2f2f6e6f6e652f60a01b60a09081526200002f91600d9190620001c0565b5061022b600e556003600f556611c37937e080006010556000601181905560128190556013556014805461ffff191690553480156200006d57600080fd5b50604051620025723803806200257283398101604081905262000090916200031d565b825183908390620000a9906002906020850190620001c0565b508051620000bf906003906020840190620001c0565b50506000805550620000d133620000ea565b6001600955620000e1816200013c565b50505062000401565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001466200015f565b80516200015b90600a906020840190620001c0565b5050565b6008546001600160a01b03163314620001be5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b828054620001ce90620003ae565b90600052602060002090601f016020900481019282620001f257600085556200023d565b82601f106200020d57805160ff19168380011785556200023d565b828001600101855582156200023d579182015b828111156200023d57825182559160200191906001019062000220565b506200024b9291506200024f565b5090565b5b808211156200024b576000815560010162000250565b600082601f8301126200027857600080fd5b81516001600160401b0380821115620002955762000295620003eb565b604051601f8301601f19908116603f01168101908282118183101715620002c057620002c0620003eb565b81604052838152602092508683858801011115620002dd57600080fd5b600091505b83821015620003015785820183015181830184015290820190620002e2565b83821115620003135760008385830101525b9695505050505050565b6000806000606084860312156200033357600080fd5b83516001600160401b03808211156200034b57600080fd5b620003598783880162000266565b945060208601519150808211156200037057600080fd5b6200037e8783880162000266565b935060408601519150808211156200039557600080fd5b50620003a48682870162000266565b9150509250925092565b600181811c90821680620003c357607f821691505b60208210811415620003e557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61216180620004116000396000f3fe60806040526004361061025c5760003560e01c80636f8b44b011610144578063b88d4fde116100b6578063d547cfb71161007a578063d547cfb7146106ae578063d5abeb01146106c3578063db4bec44146106d9578063e985e9c514610709578063efdc778814610752578063f2fde38b1461077257600080fd5b8063b88d4fde14610625578063c6a91b4214610645578063c87b56dd1461065b578063cffb6e201461067b578063d2cab0561461069b57600080fd5b8063982d669e11610108578063982d669e1461059157806398710d1e146105a75780639e9fcffc146105bd578063a0712d68146105dd578063a22cb465146105f0578063a45ba8e71461061057600080fd5b80636f8b44b01461050957806370a0823114610529578063715018a6146105495780638da5cb5b1461055e57806395d89b411461057c57600080fd5b80631e84c413116101dd5780633ccfd60b116101a15780633ccfd60b1461045557806342842e0e1461046a5780634fdd43cb1461048a57806355f804b3146104aa5780636352211e146104ca5780636caede3d146104ea57600080fd5b80631e84c413146103c5578063202f298a146103df57806323b872dd146103ff57806328cad13d1461041f5780632eb4a7ab1461043f57600080fd5b8063095ea7b311610224578063095ea7b3146103365780630a00ae831461035657806318160ddd146103765780631919fed71461038f578063193ad7b4146103af57600080fd5b806301ffc9a71461026157806305480eee1461029657806306fdde03146102b857806307e89ec0146102da578063081812fc146102fe575b600080fd5b34801561026d57600080fd5b5061028161027c366004611cf6565b610792565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102b66102b1366004611cdb565b6107e4565b005b3480156102c457600080fd5b506102cd610806565b60405161028d9190611f70565b3480156102e657600080fd5b506102f060105481565b60405190815260200161028d565b34801561030a57600080fd5b5061031e610319366004611d79565b610898565b6040516001600160a01b03909116815260200161028d565b34801561034257600080fd5b506102b6610351366004611cb1565b6108dc565b34801561036257600080fd5b506102b6610371366004611d79565b61097c565b34801561038257600080fd5b50600154600054036102f0565b34801561039b57600080fd5b506102b66103aa366004611d79565b610989565b3480156103bb57600080fd5b506102f060135481565b3480156103d157600080fd5b506014546102819060ff1681565b3480156103eb57600080fd5b506102b66103fa366004611d79565b610996565b34801561040b57600080fd5b506102b661041a366004611bcf565b6109a3565b34801561042b57600080fd5b506102b661043a366004611cdb565b610b35565b34801561044b57600080fd5b506102f0600b5481565b34801561046157600080fd5b506102b6610b50565b34801561047657600080fd5b506102b6610485366004611bcf565b610c2e565b34801561049657600080fd5b506102b66104a5366004611d30565b610c4e565b3480156104b657600080fd5b506102b66104c5366004611d30565b610c6d565b3480156104d657600080fd5b5061031e6104e5366004611d79565b610c88565b3480156104f657600080fd5b5060145461028190610100900460ff1681565b34801561051557600080fd5b506102b6610524366004611d79565b610c93565b34801561053557600080fd5b506102f0610544366004611b81565b610ca0565b34801561055557600080fd5b506102b6610cef565b34801561056a57600080fd5b506008546001600160a01b031661031e565b34801561058857600080fd5b506102cd610d03565b34801561059d57600080fd5b506102f060115481565b3480156105b357600080fd5b506102f060125481565b3480156105c957600080fd5b506102b66105d8366004611d79565b610d12565b6102b66105eb366004611d79565b610d1f565b3480156105fc57600080fd5b506102b661060b366004611c87565b610f20565b34801561061c57600080fd5b506102cd610fb6565b34801561063157600080fd5b506102b6610640366004611c0b565b611044565b34801561065157600080fd5b506102f0600f5481565b34801561066757600080fd5b506102cd610676366004611d79565b61108e565b34801561068757600080fd5b506102b6610696366004611dde565b61112f565b6102b66106a9366004611d92565b6111ff565b3480156106ba57600080fd5b506102cd61139c565b3480156106cf57600080fd5b506102f0600e5481565b3480156106e557600080fd5b506102816106f4366004611b81565b600c6020526000908152604090205460ff1681565b34801561071557600080fd5b50610281610724366004611b9c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561075e57600080fd5b506102b661076d366004611d79565b6113a9565b34801561077e57600080fd5b506102b661078d366004611b81565b611460565b60006301ffc9a760e01b6001600160e01b0319831614806107c357506380ac58cd60e01b6001600160e01b03198316145b806107de5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6107ec6114d6565b601480549115156101000261ff0019909216919091179055565b60606002805461081590612053565b80601f016020809104026020016040519081016040528092919081815260200182805461084190612053565b801561088e5780601f106108635761010080835404028352916020019161088e565b820191906000526020600020905b81548152906001019060200180831161087157829003601f168201915b5050505050905090565b60006108a382611530565b6108c0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108e782610c88565b9050336001600160a01b03821614610920576109038133610724565b610920576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6109846114d6565b601155565b6109916114d6565b601055565b61099e6114d6565b601255565b60006109ae82611557565b9050836001600160a01b0316816001600160a01b0316146109e15760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610a2e57610a118633610724565b610a2e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a5557604051633a954ecd60e21b815260040160405180910390fd5b8015610a6057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610aeb5760018401600081815260046020526040902054610ae9576000548114610ae95760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610b3d6114d6565b6014805460ff1916911515919091179055565b610b586114d6565b60026009541415610bb05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026009556000610bc96008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c13576040519150601f19603f3d011682016040523d82523d6000602084013e610c18565b606091505b5050905080610c2657600080fd5b506001600955565b610c4983838360405180602001604052806000815250611044565b505050565b610c566114d6565b8051610c6990600a9060208401906119fa565b5050565b610c756114d6565b8051610c6990600d9060208401906119fa565b60006107de82611557565b610c9b6114d6565b600e55565b60006001600160a01b038216610cc9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610cf76114d6565b610d0160006115bf565b565b60606003805461081590612053565b610d1a6114d6565b600f55565b60145460ff16610d715760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e0000000000000000006044820152606401610ba7565b600e54610d7f906001611fc5565b81610d8d6001546000540390565b610d979190611fc5565b10610dce5760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610ba7565b60115481601354610ddf9190611fc5565b1115610e42573481601054610df49190611ff1565b1115610e3d5760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610ba7565b610f13565b60125481610e4f33610ca0565b610e599190611fc5565b1115610ed9573481601054610e6e9190611ff1565b1115610eb75760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610ba7565b600f54811115610e3d5760405162461bcd60e51b8152600401610ba790611f83565b601254811115610efb5760405162461bcd60e51b8152600401610ba790611f83565b8060136000828254610f0d9190611fc5565b90915550505b610f1d3382611611565b50565b6001600160a01b038216331415610f4a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a8054610fc390612053565b80601f0160208091040260200160405190810160405280929190818152602001828054610fef90612053565b801561103c5780601f106110115761010080835404028352916020019161103c565b820191906000526020600020905b81548152906001019060200180831161101f57829003601f168201915b505050505081565b61104f8484846109a3565b6001600160a01b0383163b156110885761106b8484848461162b565b611088576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061109982611530565b6110fd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610ba7565b600d61110883611723565b604051602001611119929190611e68565b6040516020818303038152906040529050919050565b6111376114d6565b60006111466001546000540390565b905060006111578360ff8716611ff1565b600e5490915061116b8261ffff8516611fc5565b11156111af5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b232b99036b0bc1039bab838363c9760691b6044820152606401610ba7565b60005b83811015610b2d576111ed8585838181106111cf576111cf6120e9565b90506020020160208101906111e49190611b81565b8760ff16611611565b806111f78161208e565b9150506111b2565b601454610100900460ff166112615760405162461bcd60e51b815260206004820152602260248201527f5468652077686974656c6973742073616c65206973206e6f7420656e61626c65604482015261642160f01b6064820152608401610ba7565b336000908152600c602052604090205460ff16156112c15760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c726561647920636c61696d65642100000000000000006044820152606401610ba7565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061133b83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b549150849050611821565b6113785760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610ba7565b336000818152600c60205260409020805460ff191660011790556110889085611611565b600d8054610fc390612053565b6113b16114d6565b600081116113f75760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610ba7565b600e54816114086001546000540390565b6114129190611fc5565b1115610f135760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20737570706c792065786365656465640000000000000000006044820152606401610ba7565b6114686114d6565b6001600160a01b0381166114cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ba7565b610f1d816115bf565b6008546001600160a01b03163314610d015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ba7565b60008054821080156107de575050600090815260046020526040902054600160e01b161590565b6000816000548110156115a657600081815260046020526040902054600160e01b81166115a4575b8061159d57506000190160008181526004602052604090205461157f565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610c69828260405180602001604052806000815250611837565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611660903390899088908890600401611f33565b602060405180830381600087803b15801561167a57600080fd5b505af19250505080156116aa575060408051601f3d908101601f191682019092526116a791810190611d13565b60015b611705573d8080156116d8576040519150601f19603f3d011682016040523d82523d6000602084013e6116dd565b606091505b5080516116fd576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816117475750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611771578061175b8161208e565b915061176a9050600a83611fdd565b915061174b565b60008167ffffffffffffffff81111561178c5761178c6120ff565b6040519080825280601f01601f1916602001820160405280156117b6576020820181803683370190505b5090505b841561171b576117cb600183612010565b91506117d8600a866120a9565b6117e3906030611fc5565b60f81b8183815181106117f8576117f86120e9565b60200101906001600160f81b031916908160001a90535061181a600a86611fdd565b94506117ba565b60008261182e85846118a4565b14949350505050565b61184183836118f1565b6001600160a01b0383163b15610c49576000548281035b61186b600086838060010194508661162b565b611888576040516368d2bf6b60e11b815260040160405180910390fd5b81811061185857816000541461189d57600080fd5b5050505050565b600081815b84518110156118e9576118d5828683815181106118c8576118c86120e9565b60200260200101516119ce565b9150806118e18161208e565b9150506118a9565b509392505050565b6000546001600160a01b03831661191a57604051622e076360e81b815260040160405180910390fd5b816119385760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106119825760005550505050565b60008183106119ea57600082815260208490526040902061159d565b5060009182526020526040902090565b828054611a0690612053565b90600052602060002090601f016020900481019282611a285760008555611a6e565b82601f10611a4157805160ff1916838001178555611a6e565b82800160010185558215611a6e579182015b82811115611a6e578251825591602001919060010190611a53565b50611a7a929150611a7e565b5090565b5b80821115611a7a5760008155600101611a7f565b600067ffffffffffffffff80841115611aae57611aae6120ff565b604051601f8501601f19908116603f01168101908282118183101715611ad657611ad66120ff565b81604052809350858152868686011115611aef57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611b2057600080fd5b919050565b60008083601f840112611b3757600080fd5b50813567ffffffffffffffff811115611b4f57600080fd5b6020830191508360208260051b8501011115611b6a57600080fd5b9250929050565b80358015158114611b2057600080fd5b600060208284031215611b9357600080fd5b61159d82611b09565b60008060408385031215611baf57600080fd5b611bb883611b09565b9150611bc660208401611b09565b90509250929050565b600080600060608486031215611be457600080fd5b611bed84611b09565b9250611bfb60208501611b09565b9150604084013590509250925092565b60008060008060808587031215611c2157600080fd5b611c2a85611b09565b9350611c3860208601611b09565b925060408501359150606085013567ffffffffffffffff811115611c5b57600080fd5b8501601f81018713611c6c57600080fd5b611c7b87823560208401611a93565b91505092959194509250565b60008060408385031215611c9a57600080fd5b611ca383611b09565b9150611bc660208401611b71565b60008060408385031215611cc457600080fd5b611ccd83611b09565b946020939093013593505050565b600060208284031215611ced57600080fd5b61159d82611b71565b600060208284031215611d0857600080fd5b813561159d81612115565b600060208284031215611d2557600080fd5b815161159d81612115565b600060208284031215611d4257600080fd5b813567ffffffffffffffff811115611d5957600080fd5b8201601f81018413611d6a57600080fd5b61171b84823560208401611a93565b600060208284031215611d8b57600080fd5b5035919050565b600080600060408486031215611da757600080fd5b83359250602084013567ffffffffffffffff811115611dc557600080fd5b611dd186828701611b25565b9497909650939450505050565b600080600060408486031215611df357600080fd5b833560ff81168114611e0457600080fd5b9250602084013567ffffffffffffffff811115611dc557600080fd5b60008151808452611e38816020860160208601612027565b601f01601f19169290920160200192915050565b60008151611e5e818560208601612027565b9290920192915050565b600080845481600182811c915080831680611e8457607f831692505b6020808410821415611ea457634e487b7160e01b86526022600452602486fd5b818015611eb85760018114611ec957611ef6565b60ff19861689528489019650611ef6565b60008b81526020902060005b86811015611eee5781548b820152908501908301611ed5565b505084890196505b505050505050611f2a611f19611f1383602f60f81b815260010190565b86611e4c565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f6690830184611e20565b9695505050505050565b60208152600061159d6020830184611e20565b60208082526022908201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604082015261195960f21b606082015260800190565b60008219821115611fd857611fd86120bd565b500190565b600082611fec57611fec6120d3565b500490565b600081600019048311821515161561200b5761200b6120bd565b500290565b600082821015612022576120226120bd565b500390565b60005b8381101561204257818101518382015260200161202a565b838111156110885750506000910152565b600181811c9082168061206757607f821691505b6020821081141561208857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120a2576120a26120bd565b5060010190565b6000826120b8576120b86120d3565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f1d57600080fdfea264697066735822122086dfa8b1ae3ae82f4d5a228c950af76afafb1c7bdc99906ad4605d4c59328d2c64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b4d656368612050756e6b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000450554e4b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046e6f6e6500000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061025c5760003560e01c80636f8b44b011610144578063b88d4fde116100b6578063d547cfb71161007a578063d547cfb7146106ae578063d5abeb01146106c3578063db4bec44146106d9578063e985e9c514610709578063efdc778814610752578063f2fde38b1461077257600080fd5b8063b88d4fde14610625578063c6a91b4214610645578063c87b56dd1461065b578063cffb6e201461067b578063d2cab0561461069b57600080fd5b8063982d669e11610108578063982d669e1461059157806398710d1e146105a75780639e9fcffc146105bd578063a0712d68146105dd578063a22cb465146105f0578063a45ba8e71461061057600080fd5b80636f8b44b01461050957806370a0823114610529578063715018a6146105495780638da5cb5b1461055e57806395d89b411461057c57600080fd5b80631e84c413116101dd5780633ccfd60b116101a15780633ccfd60b1461045557806342842e0e1461046a5780634fdd43cb1461048a57806355f804b3146104aa5780636352211e146104ca5780636caede3d146104ea57600080fd5b80631e84c413146103c5578063202f298a146103df57806323b872dd146103ff57806328cad13d1461041f5780632eb4a7ab1461043f57600080fd5b8063095ea7b311610224578063095ea7b3146103365780630a00ae831461035657806318160ddd146103765780631919fed71461038f578063193ad7b4146103af57600080fd5b806301ffc9a71461026157806305480eee1461029657806306fdde03146102b857806307e89ec0146102da578063081812fc146102fe575b600080fd5b34801561026d57600080fd5b5061028161027c366004611cf6565b610792565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102b66102b1366004611cdb565b6107e4565b005b3480156102c457600080fd5b506102cd610806565b60405161028d9190611f70565b3480156102e657600080fd5b506102f060105481565b60405190815260200161028d565b34801561030a57600080fd5b5061031e610319366004611d79565b610898565b6040516001600160a01b03909116815260200161028d565b34801561034257600080fd5b506102b6610351366004611cb1565b6108dc565b34801561036257600080fd5b506102b6610371366004611d79565b61097c565b34801561038257600080fd5b50600154600054036102f0565b34801561039b57600080fd5b506102b66103aa366004611d79565b610989565b3480156103bb57600080fd5b506102f060135481565b3480156103d157600080fd5b506014546102819060ff1681565b3480156103eb57600080fd5b506102b66103fa366004611d79565b610996565b34801561040b57600080fd5b506102b661041a366004611bcf565b6109a3565b34801561042b57600080fd5b506102b661043a366004611cdb565b610b35565b34801561044b57600080fd5b506102f0600b5481565b34801561046157600080fd5b506102b6610b50565b34801561047657600080fd5b506102b6610485366004611bcf565b610c2e565b34801561049657600080fd5b506102b66104a5366004611d30565b610c4e565b3480156104b657600080fd5b506102b66104c5366004611d30565b610c6d565b3480156104d657600080fd5b5061031e6104e5366004611d79565b610c88565b3480156104f657600080fd5b5060145461028190610100900460ff1681565b34801561051557600080fd5b506102b6610524366004611d79565b610c93565b34801561053557600080fd5b506102f0610544366004611b81565b610ca0565b34801561055557600080fd5b506102b6610cef565b34801561056a57600080fd5b506008546001600160a01b031661031e565b34801561058857600080fd5b506102cd610d03565b34801561059d57600080fd5b506102f060115481565b3480156105b357600080fd5b506102f060125481565b3480156105c957600080fd5b506102b66105d8366004611d79565b610d12565b6102b66105eb366004611d79565b610d1f565b3480156105fc57600080fd5b506102b661060b366004611c87565b610f20565b34801561061c57600080fd5b506102cd610fb6565b34801561063157600080fd5b506102b6610640366004611c0b565b611044565b34801561065157600080fd5b506102f0600f5481565b34801561066757600080fd5b506102cd610676366004611d79565b61108e565b34801561068757600080fd5b506102b6610696366004611dde565b61112f565b6102b66106a9366004611d92565b6111ff565b3480156106ba57600080fd5b506102cd61139c565b3480156106cf57600080fd5b506102f0600e5481565b3480156106e557600080fd5b506102816106f4366004611b81565b600c6020526000908152604090205460ff1681565b34801561071557600080fd5b50610281610724366004611b9c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561075e57600080fd5b506102b661076d366004611d79565b6113a9565b34801561077e57600080fd5b506102b661078d366004611b81565b611460565b60006301ffc9a760e01b6001600160e01b0319831614806107c357506380ac58cd60e01b6001600160e01b03198316145b806107de5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6107ec6114d6565b601480549115156101000261ff0019909216919091179055565b60606002805461081590612053565b80601f016020809104026020016040519081016040528092919081815260200182805461084190612053565b801561088e5780601f106108635761010080835404028352916020019161088e565b820191906000526020600020905b81548152906001019060200180831161087157829003601f168201915b5050505050905090565b60006108a382611530565b6108c0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108e782610c88565b9050336001600160a01b03821614610920576109038133610724565b610920576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6109846114d6565b601155565b6109916114d6565b601055565b61099e6114d6565b601255565b60006109ae82611557565b9050836001600160a01b0316816001600160a01b0316146109e15760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610a2e57610a118633610724565b610a2e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a5557604051633a954ecd60e21b815260040160405180910390fd5b8015610a6057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610aeb5760018401600081815260046020526040902054610ae9576000548114610ae95760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610b3d6114d6565b6014805460ff1916911515919091179055565b610b586114d6565b60026009541415610bb05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026009556000610bc96008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c13576040519150601f19603f3d011682016040523d82523d6000602084013e610c18565b606091505b5050905080610c2657600080fd5b506001600955565b610c4983838360405180602001604052806000815250611044565b505050565b610c566114d6565b8051610c6990600a9060208401906119fa565b5050565b610c756114d6565b8051610c6990600d9060208401906119fa565b60006107de82611557565b610c9b6114d6565b600e55565b60006001600160a01b038216610cc9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610cf76114d6565b610d0160006115bf565b565b60606003805461081590612053565b610d1a6114d6565b600f55565b60145460ff16610d715760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e0000000000000000006044820152606401610ba7565b600e54610d7f906001611fc5565b81610d8d6001546000540390565b610d979190611fc5565b10610dce5760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610ba7565b60115481601354610ddf9190611fc5565b1115610e42573481601054610df49190611ff1565b1115610e3d5760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610ba7565b610f13565b60125481610e4f33610ca0565b610e599190611fc5565b1115610ed9573481601054610e6e9190611ff1565b1115610eb75760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610ba7565b600f54811115610e3d5760405162461bcd60e51b8152600401610ba790611f83565b601254811115610efb5760405162461bcd60e51b8152600401610ba790611f83565b8060136000828254610f0d9190611fc5565b90915550505b610f1d3382611611565b50565b6001600160a01b038216331415610f4a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a8054610fc390612053565b80601f0160208091040260200160405190810160405280929190818152602001828054610fef90612053565b801561103c5780601f106110115761010080835404028352916020019161103c565b820191906000526020600020905b81548152906001019060200180831161101f57829003601f168201915b505050505081565b61104f8484846109a3565b6001600160a01b0383163b156110885761106b8484848461162b565b611088576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061109982611530565b6110fd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610ba7565b600d61110883611723565b604051602001611119929190611e68565b6040516020818303038152906040529050919050565b6111376114d6565b60006111466001546000540390565b905060006111578360ff8716611ff1565b600e5490915061116b8261ffff8516611fc5565b11156111af5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b232b99036b0bc1039bab838363c9760691b6044820152606401610ba7565b60005b83811015610b2d576111ed8585838181106111cf576111cf6120e9565b90506020020160208101906111e49190611b81565b8760ff16611611565b806111f78161208e565b9150506111b2565b601454610100900460ff166112615760405162461bcd60e51b815260206004820152602260248201527f5468652077686974656c6973742073616c65206973206e6f7420656e61626c65604482015261642160f01b6064820152608401610ba7565b336000908152600c602052604090205460ff16156112c15760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c726561647920636c61696d65642100000000000000006044820152606401610ba7565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061133b83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b549150849050611821565b6113785760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610ba7565b336000818152600c60205260409020805460ff191660011790556110889085611611565b600d8054610fc390612053565b6113b16114d6565b600081116113f75760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610ba7565b600e54816114086001546000540390565b6114129190611fc5565b1115610f135760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20737570706c792065786365656465640000000000000000006044820152606401610ba7565b6114686114d6565b6001600160a01b0381166114cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ba7565b610f1d816115bf565b6008546001600160a01b03163314610d015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ba7565b60008054821080156107de575050600090815260046020526040902054600160e01b161590565b6000816000548110156115a657600081815260046020526040902054600160e01b81166115a4575b8061159d57506000190160008181526004602052604090205461157f565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610c69828260405180602001604052806000815250611837565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611660903390899088908890600401611f33565b602060405180830381600087803b15801561167a57600080fd5b505af19250505080156116aa575060408051601f3d908101601f191682019092526116a791810190611d13565b60015b611705573d8080156116d8576040519150601f19603f3d011682016040523d82523d6000602084013e6116dd565b606091505b5080516116fd576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816117475750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611771578061175b8161208e565b915061176a9050600a83611fdd565b915061174b565b60008167ffffffffffffffff81111561178c5761178c6120ff565b6040519080825280601f01601f1916602001820160405280156117b6576020820181803683370190505b5090505b841561171b576117cb600183612010565b91506117d8600a866120a9565b6117e3906030611fc5565b60f81b8183815181106117f8576117f86120e9565b60200101906001600160f81b031916908160001a90535061181a600a86611fdd565b94506117ba565b60008261182e85846118a4565b14949350505050565b61184183836118f1565b6001600160a01b0383163b15610c49576000548281035b61186b600086838060010194508661162b565b611888576040516368d2bf6b60e11b815260040160405180910390fd5b81811061185857816000541461189d57600080fd5b5050505050565b600081815b84518110156118e9576118d5828683815181106118c8576118c86120e9565b60200260200101516119ce565b9150806118e18161208e565b9150506118a9565b509392505050565b6000546001600160a01b03831661191a57604051622e076360e81b815260040160405180910390fd5b816119385760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106119825760005550505050565b60008183106119ea57600082815260208490526040902061159d565b5060009182526020526040902090565b828054611a0690612053565b90600052602060002090601f016020900481019282611a285760008555611a6e565b82601f10611a4157805160ff1916838001178555611a6e565b82800160010185558215611a6e579182015b82811115611a6e578251825591602001919060010190611a53565b50611a7a929150611a7e565b5090565b5b80821115611a7a5760008155600101611a7f565b600067ffffffffffffffff80841115611aae57611aae6120ff565b604051601f8501601f19908116603f01168101908282118183101715611ad657611ad66120ff565b81604052809350858152868686011115611aef57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611b2057600080fd5b919050565b60008083601f840112611b3757600080fd5b50813567ffffffffffffffff811115611b4f57600080fd5b6020830191508360208260051b8501011115611b6a57600080fd5b9250929050565b80358015158114611b2057600080fd5b600060208284031215611b9357600080fd5b61159d82611b09565b60008060408385031215611baf57600080fd5b611bb883611b09565b9150611bc660208401611b09565b90509250929050565b600080600060608486031215611be457600080fd5b611bed84611b09565b9250611bfb60208501611b09565b9150604084013590509250925092565b60008060008060808587031215611c2157600080fd5b611c2a85611b09565b9350611c3860208601611b09565b925060408501359150606085013567ffffffffffffffff811115611c5b57600080fd5b8501601f81018713611c6c57600080fd5b611c7b87823560208401611a93565b91505092959194509250565b60008060408385031215611c9a57600080fd5b611ca383611b09565b9150611bc660208401611b71565b60008060408385031215611cc457600080fd5b611ccd83611b09565b946020939093013593505050565b600060208284031215611ced57600080fd5b61159d82611b71565b600060208284031215611d0857600080fd5b813561159d81612115565b600060208284031215611d2557600080fd5b815161159d81612115565b600060208284031215611d4257600080fd5b813567ffffffffffffffff811115611d5957600080fd5b8201601f81018413611d6a57600080fd5b61171b84823560208401611a93565b600060208284031215611d8b57600080fd5b5035919050565b600080600060408486031215611da757600080fd5b83359250602084013567ffffffffffffffff811115611dc557600080fd5b611dd186828701611b25565b9497909650939450505050565b600080600060408486031215611df357600080fd5b833560ff81168114611e0457600080fd5b9250602084013567ffffffffffffffff811115611dc557600080fd5b60008151808452611e38816020860160208601612027565b601f01601f19169290920160200192915050565b60008151611e5e818560208601612027565b9290920192915050565b600080845481600182811c915080831680611e8457607f831692505b6020808410821415611ea457634e487b7160e01b86526022600452602486fd5b818015611eb85760018114611ec957611ef6565b60ff19861689528489019650611ef6565b60008b81526020902060005b86811015611eee5781548b820152908501908301611ed5565b505084890196505b505050505050611f2a611f19611f1383602f60f81b815260010190565b86611e4c565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f6690830184611e20565b9695505050505050565b60208152600061159d6020830184611e20565b60208082526022908201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604082015261195960f21b606082015260800190565b60008219821115611fd857611fd86120bd565b500190565b600082611fec57611fec6120d3565b500490565b600081600019048311821515161561200b5761200b6120bd565b500290565b600082821015612022576120226120bd565b500390565b60005b8381101561204257818101518382015260200161202a565b838111156110885750506000910152565b600181811c9082168061206757607f821691505b6020821081141561208857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120a2576120a26120bd565b5060010190565b6000826120b8576120b86120d3565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f1d57600080fdfea264697066735822122086dfa8b1ae3ae82f4d5a228c950af76afafb1c7bdc99906ad4605d4c59328d2c64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b4d656368612050756e6b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000450554e4b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046e6f6e6500000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): Mecha Punks
Arg [1] : _tokenSymbol (string): PUNK
Arg [2] : _hiddenMetadataUri (string): none
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 4d656368612050756e6b73000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 50554e4b00000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 6e6f6e6500000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
71538:5299:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23998:615;;;;;;;;;;-1:-1:-1;23998:615:0;;;;;:::i;:::-;;:::i;:::-;;;9218:14:1;;9211:22;9193:41;;9181:2;9166:18;23998:615:0;;;;;;;;75561:142;;;;;;;;;;-1:-1:-1;75561:142:0;;;;;:::i;:::-;;:::i;:::-;;29645:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;71882:47::-;;;;;;;;;;;;;;;;;;;9391:25:1;;;9379:2;9364:18;71882:47:0;9245:177:1;31591:204:0;;;;;;;;;;-1:-1:-1;31591:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8516:32:1;;;8498:51;;8486:2;8471:18;31591:204:0;8352:203:1;31139:386:0;;;;;;;;;;-1:-1:-1;31139:386:0;;;;;:::i;:::-;;:::i;75055:129::-;;;;;;;;;;-1:-1:-1;75055:129:0;;;;;:::i;:::-;;:::i;23052:315::-;;;;;;;;;;-1:-1:-1;23318:12:0;;23105:7;23302:13;:28;23052:315;;75190:115;;;;;;;;;;-1:-1:-1;75190:115:0;;;;;:::i;:::-;;:::i;72017:39::-;;;;;;;;;;;;;;;;72061:38;;;;;;;;;;-1:-1:-1;72061:38:0;;;;;;;;76708:126;;;;;;;;;;-1:-1:-1;76708:126:0;;;;;:::i;:::-;;:::i;40856:2800::-;;;;;;;;;;-1:-1:-1;40856:2800:0;;;;;:::i;:::-;;:::i;74765:148::-;;;;;;;;;;-1:-1:-1;74765:148:0;;;;;:::i;:::-;;:::i;71669:25::-;;;;;;;;;;;;;;;;73825:475;;;;;;;;;;;;;:::i;32481:185::-;;;;;;;;;;-1:-1:-1;32481:185:0;;;;;:::i;:::-;;:::i;74917:132::-;;;;;;;;;;-1:-1:-1;74917:132:0;;;;;:::i;:::-;;:::i;73423:108::-;;;;;;;;;;-1:-1:-1;73423:108:0;;;;;:::i;:::-;;:::i;29434:144::-;;;;;;;;;;-1:-1:-1;29434:144:0;;;;;:::i;:::-;;:::i;72105:40::-;;;;;;;;;;-1:-1:-1;72105:40:0;;;;;;;;;;;75309:115;;;;;;;;;;-1:-1:-1;75309:115:0;;;;;:::i;:::-;;:::i;24677:224::-;;;;;;;;;;-1:-1:-1;24677:224:0;;;;;:::i;:::-;;:::i;8589:103::-;;;;;;;;;;;;;:::i;7941:87::-;;;;;;;;;;-1:-1:-1;8014:6:0;;-1:-1:-1;;;;;8014:6:0;7941:87;;29814:104;;;;;;;;;;;;;:::i;71934:34::-;;;;;;;;;;;;;;;;71973:39;;;;;;;;;;;;;;;;75430:127;;;;;;;;;;-1:-1:-1;75430:127:0;;;;;:::i;:::-;;:::i;72368:1049::-;;;;;;:::i;:::-;;:::i;31867:308::-;;;;;;;;;;-1:-1:-1;31867:308:0;;;;;:::i;:::-;;:::i;71632:31::-;;;;;;;;;;;;;:::i;32737:399::-;;;;;;;;;;-1:-1:-1;32737:399:0;;;;;:::i;:::-;;:::i;71841:36::-;;;;;;;;;;;;;;;;74306:312;;;;;;;;;;-1:-1:-1;74306:312:0;;;;;:::i;:::-;;:::i;75710:472::-;;;;;;;;;;-1:-1:-1;75710:472:0;;;;;:::i;:::-;;:::i;76190:512::-;;;;;;:::i;:::-;;:::i;71754:45::-;;;;;;;;;;;;;:::i;71804:32::-;;;;;;;;;;;;;;;;71699:48;;;;;;;;;;-1:-1:-1;71699:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;32246:164;;;;;;;;;;-1:-1:-1;32246:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;32367:25:0;;;32343:4;32367:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32246:164;73537:284;;;;;;;;;;-1:-1:-1;73537:284:0;;;;;:::i;:::-;;:::i;8847:201::-;;;;;;;;;;-1:-1:-1;8847:201:0;;;;;:::i;:::-;;:::i;23998:615::-;24083:4;-1:-1:-1;;;;;;;;;24383:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;24460:25:0;;;24383:102;:179;;;-1:-1:-1;;;;;;;;;;24537:25:0;;;24383:179;24363:199;23998:615;-1:-1:-1;;23998:615:0:o;75561:142::-;7827:13;:11;:13::i;:::-;75660:20:::1;:37:::0;;;::::1;;;;-1:-1:-1::0;;75660:37:0;;::::1;::::0;;;::::1;::::0;;75561:142::o;29645:100::-;29699:13;29732:5;29725:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29645:100;:::o;31591:204::-;31659:7;31684:16;31692:7;31684;:16::i;:::-;31679:64;;31709:34;;-1:-1:-1;;;31709:34:0;;;;;;;;;;;31679:64;-1:-1:-1;31763:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31763:24:0;;31591:204::o;31139:386::-;31212:13;31228:16;31236:7;31228;:16::i;:::-;31212:32;-1:-1:-1;52039:10:0;-1:-1:-1;;;;;31261:28:0;;;31257:175;;31309:44;31326:5;52039:10;32246:164;:::i;31309:44::-;31304:128;;31381:35;;-1:-1:-1;;;31381:35:0;;;;;;;;;;;31304:128;31444:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;31444:29:0;-1:-1:-1;;;;;31444:29:0;;;;;;;;;31489:28;;31444:24;;31489:28;;;;;;;31201:324;31139:386;;:::o;75055:129::-;7827:13;:11;:13::i;:::-;75148:14:::1;:30:::0;75055:129::o;75190:115::-;7827:13;:11;:13::i;:::-;75273:17:::1;:26:::0;75190:115::o;76708:126::-;7827:13;:11;:13::i;:::-;76800:19:::1;:28:::0;76708:126::o;40856:2800::-;40990:27;41020;41039:7;41020:18;:27::i;:::-;40990:57;;41105:4;-1:-1:-1;;;;;41064:45:0;41080:19;-1:-1:-1;;;;;41064:45:0;;41060:86;;41118:28;;-1:-1:-1;;;41118:28:0;;;;;;;;;;;41060:86;41160:27;39586:21;;;39413:15;39628:4;39621:36;39710:4;39694:21;;39800:26;;52039:10;40553:30;;;-1:-1:-1;;;;;40251:26:0;;40532:19;;;40529:55;41339:174;;41426:43;41443:4;52039:10;32246:164;:::i;41426:43::-;41421:92;;41478:35;;-1:-1:-1;;;41478:35:0;;;;;;;;;;;41421:92;-1:-1:-1;;;;;41530:16:0;;41526:52;;41555:23;;-1:-1:-1;;;41555:23:0;;;;;;;;;;;41526:52;41727:15;41724:160;;;41867:1;41846:19;41839:30;41724:160;-1:-1:-1;;;;;42262:24:0;;;;;;;:18;:24;;;;;;42260:26;;-1:-1:-1;;42260:26:0;;;42331:22;;;;;;;;;42329:24;;-1:-1:-1;42329:24:0;;;29333:11;29309:22;29305:40;29292:62;-1:-1:-1;;;29292:62:0;42624:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;42918:46:0;;42914:626;;43022:1;43012:11;;42990:19;43145:30;;;:17;:30;;;;;;43141:384;;43283:13;;43268:11;:28;43264:242;;43430:30;;;;:17;:30;;;;;:52;;;43264:242;42971:569;42914:626;43587:7;43583:2;-1:-1:-1;;;;;43568:27:0;43577:4;-1:-1:-1;;;;;43568:27:0;;;;;;;;;;;43606:42;40979:2677;;;40856:2800;;;:::o;74765:148::-;7827:13;:11;:13::i;:::-;74867:18:::1;:40:::0;;-1:-1:-1;;74867:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;74765:148::o;73825:475::-;7827:13;:11;:13::i;:::-;2367:1:::1;2965:7;;:19;;2957:63;;;::::0;-1:-1:-1;;;2957:63:0;;14275:2:1;2957:63:0::1;::::0;::::1;14257:21:1::0;14314:2;14294:18;;;14287:30;14353:33;14333:18;;;14326:61;14404:18;;2957:63:0::1;;;;;;;;;2367:1;3098:7;:18:::0;74122:7:::2;74143;8014:6:::0;;-1:-1:-1;;;;;8014:6:0;;7941:87;74143:7:::2;-1:-1:-1::0;;;;;74135:21:0::2;74164;74135:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74121:69;;;74205:2;74197:11;;;::::0;::::2;;-1:-1:-1::0;2323:1:0::1;3277:7;:22:::0;73825:475::o;32481:185::-;32619:39;32636:4;32642:2;32646:7;32619:39;;;;;;;;;;;;:16;:39::i;:::-;32481:185;;;:::o;74917:132::-;7827:13;:11;:13::i;:::-;75005:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;:::-;;74917:132:::0;:::o;73423:108::-;7827:13;:11;:13::i;:::-;73503:22;;::::1;::::0;:12:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;29434:144::-:0;29498:7;29541:27;29560:7;29541:18;:27::i;75309:115::-;7827:13;:11;:13::i;:::-;75396:9:::1;:22:::0;75309:115::o;24677:224::-;24741:7;-1:-1:-1;;;;;24765:19:0;;24761:60;;24793:28;;-1:-1:-1;;;24793:28:0;;;;;;;;;;;24761:60;-1:-1:-1;;;;;;24839:25:0;;;;;:18;:25;;;;;;19232:13;24839:54;;24677:224::o;8589:103::-;7827:13;:11;:13::i;:::-;8654:30:::1;8681:1;8654:18;:30::i;:::-;8589:103::o:0;29814:104::-;29870:13;29903:7;29896:14;;;;;:::i;75430:127::-;7827:13;:11;:13::i;:::-;75526:16:::1;:25:::0;75430:127::o;72368:1049::-;72456:18;;;;72448:54;;;;-1:-1:-1;;;72448:54:0;;14635:2:1;72448:54:0;;;14617:21:1;14674:2;14654:18;;;14647:30;14713:25;14693:18;;;14686:53;14756:18;;72448:54:0;14433:347:1;72448:54:0;72550:9;;:13;;72562:1;72550:13;:::i;:::-;72533:14;72517:13;23318:12;;23105:7;23302:13;:28;;23052:315;72517:13;:30;;;;:::i;:::-;:46;72509:66;;;;-1:-1:-1;;;72509:66:0;;10201:2:1;72509:66:0;;;10183:21:1;10240:1;10220:18;;;10213:29;-1:-1:-1;;;10258:18:1;;;10251:37;10305:18;;72509:66:0;9999:330:1;72509:66:0;72627:14;;72610;72587:20;;:37;;;;:::i;:::-;:54;72584:784;;;72715:9;72696:14;72676:17;;:34;;;;:::i;:::-;72675:49;;72653:123;;;;-1:-1:-1;;;72653:123:0;;13922:2:1;72653:123:0;;;13904:21:1;13961:2;13941:18;;;13934:30;-1:-1:-1;;;13980:18:1;;;13973:54;14044:18;;72653:123:0;13720:348:1;72653:123:0;72584:784;;;72846:19;;72829:14;72805:21;72815:10;72805:9;:21::i;:::-;:38;;;;:::i;:::-;:60;72801:560;;;72940:9;72921:14;72901:17;;:34;;;;:::i;:::-;72900:49;;72878:123;;;;-1:-1:-1;;;72878:123:0;;13922:2:1;72878:123:0;;;13904:21:1;13961:2;13941:18;;;13934:30;-1:-1:-1;;;13980:18:1;;;13973:54;14044:18;;72878:123:0;13720:348:1;72878:123:0;73052:16;;73034:14;:34;;73012:118;;;;-1:-1:-1;;;73012:118:0;;;;;;;:::i;72801:560::-;73207:19;;73189:14;:37;;73163:133;;;;-1:-1:-1;;;73163:133:0;;;;;;;:::i;:::-;73335:14;73311:20;;:38;;;;;;;:::i;:::-;;;;-1:-1:-1;;72801:560:0;73374:37;73384:10;73396:14;73374:9;:37::i;:::-;72368:1049;:::o;31867:308::-;-1:-1:-1;;;;;31966:31:0;;52039:10;31966:31;31962:61;;;32006:17;;-1:-1:-1;;;32006:17:0;;;;;;;;;;;31962:61;52039:10;32036:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;32036:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;32036:60:0;;;;;;;;;;32112:55;;9193:41:1;;;32036:49:0;;52039:10;32112:55;;9166:18:1;32112:55:0;;;;;;;31867:308;;:::o;71632:31::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;32737:399::-;32904:31;32917:4;32923:2;32927:7;32904:12;:31::i;:::-;-1:-1:-1;;;;;32950:14:0;;;:19;32946:183;;32989:56;33020:4;33026:2;33030:7;33039:5;32989:30;:56::i;:::-;32984:145;;33073:40;;-1:-1:-1;;;33073:40:0;;;;;;;;;;;32984:145;32737:399;;;;:::o;74306:312::-;74402:13;74443:17;74451:8;74443:7;:17::i;:::-;74427:98;;;;-1:-1:-1;;;74427:98:0;;12755:2:1;74427:98:0;;;12737:21:1;12794:2;12774:18;;;12767:30;12833:34;12813:18;;;12806:62;-1:-1:-1;;;12884:18:1;;;12877:45;12939:19;;74427:98:0;12553:411:1;74427:98:0;74563:12;74582:19;:8;:17;:19::i;:::-;74546:65;;;;;;;;;:::i;:::-;;;;;;;;;;;;;74532:80;;74306:312;;;:::o;75710:472::-;7827:13;:11;:13::i;:::-;75809:18:::1;75837:13;23318:12:::0;;23105:7;23302:13;:28;;23052:315;75837:13:::1;75809:42:::0;-1:-1:-1;75859:16:0::1;75880:36;75900:9:::0;75880:36:::1;::::0;::::1;;:::i;:::-;75960:9;::::0;75859:57;;-1:-1:-1;75931:25:0::1;75859:57:::0;75931:25:::1;::::0;::::1;;:::i;:::-;:38;;75923:70;;;::::0;-1:-1:-1;;;75923:70:0;;9853:2:1;75923:70:0::1;::::0;::::1;9835:21:1::0;9892:2;9872:18;;;9865:30;-1:-1:-1;;;9911:18:1;;;9904:49;9970:18;;75923:70:0::1;9651:343:1::0;75923:70:0::1;76006:9;76001:116;76021:20:::0;;::::1;76001:116;;;76063:42;76073:9;;76083:1;76073:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;76087:17;76063:42;;:9;:42::i;:::-;76043:3:::0;::::1;::::0;::::1;:::i;:::-;;;;76001:116;;76190:512:::0;76331:20;;;;;;;76323:67;;;;-1:-1:-1;;;76323:67:0;;13171:2:1;76323:67:0;;;13153:21:1;13210:2;13190:18;;;13183:30;13249:34;13229:18;;;13222:62;-1:-1:-1;;;13300:18:1;;;13293:32;13342:19;;76323:67:0;12969:398:1;76323:67:0;52039:10;76406:30;;;;:16;:30;;;;;;;;76405:31;76397:68;;;;-1:-1:-1;;;76397:68:0;;12402:2:1;76397:68:0;;;12384:21:1;12441:2;12421:18;;;12414:30;12480:26;12460:18;;;12453:54;12524:18;;76397:68:0;12200:348:1;76397:68:0;76497:30;;-1:-1:-1;;52039:10:0;6619:2:1;6615:15;6611:53;76497:30:0;;;6599:66:1;76472:12:0;;6681::1;;76497:30:0;;;;;;;;;;;;76487:41;;;;;;76472:56;;76543:50;76562:12;;76543:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;76576:10:0;;;-1:-1:-1;76588:4:0;;-1:-1:-1;76543:18:0;:50::i;:::-;76535:77;;;;-1:-1:-1;;;76535:77:0;;10536:2:1;76535:77:0;;;10518:21:1;10575:2;10555:18;;;10548:30;-1:-1:-1;;;10594:18:1;;;10587:44;10648:18;;76535:77:0;10334:338:1;76535:77:0;52039:10;76621:30;;;;:16;:30;;;;;:37;;-1:-1:-1;;76621:37:0;76654:4;76621:37;;;76665:31;;76689:6;76665:9;:31::i;71754:45::-;;;;;;;:::i;73537:284::-;7827:13;:11;:13::i;:::-;73638:1:::1;73627:8;:12;73611:65;;;::::0;-1:-1:-1;;;73611:65:0;;13574:2:1;73611:65:0::1;::::0;::::1;13556:21:1::0;13613:2;13593:18;;;13586:30;-1:-1:-1;;;13632:18:1;;;13625:49;13691:18;;73611:65:0::1;13372:343:1::0;73611:65:0::1;73727:9;;73715:8;73699:13;23318:12:::0;;23105:7;23302:13;:28;;23052:315;73699:13:::1;:24;;;;:::i;:::-;:37;;73683:94;;;::::0;-1:-1:-1;;;73683:94:0;;11689:2:1;73683:94:0::1;::::0;::::1;11671:21:1::0;11728:2;11708:18;;;11701:30;11767:25;11747:18;;;11740:53;11810:18;;73683:94:0::1;11487:347:1::0;8847:201:0;7827:13;:11;:13::i;:::-;-1:-1:-1;;;;;8936:22:0;::::1;8928:73;;;::::0;-1:-1:-1;;;8928:73:0;;10879:2:1;8928:73:0::1;::::0;::::1;10861:21:1::0;10918:2;10898:18;;;10891:30;10957:34;10937:18;;;10930:62;-1:-1:-1;;;11008:18:1;;;11001:36;11054:19;;8928:73:0::1;10677:402:1::0;8928:73:0::1;9012:28;9031:8;9012:18;:28::i;8106:132::-:0;8014:6;;-1:-1:-1;;;;;8014:6:0;52039:10;8170:23;8162:68;;;;-1:-1:-1;;;8162:68:0;;12041:2:1;8162:68:0;;;12023:21:1;;;12060:18;;;12053:30;12119:34;12099:18;;;12092:62;12171:18;;8162:68:0;11839:356:1;33391:273:0;33448:4;33538:13;;33528:7;:23;33485:152;;;;-1:-1:-1;;33589:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33589:43:0;:48;;33391:273::o;26351:1129::-;26418:7;26453;26555:13;;26548:4;:20;26544:869;;;26593:14;26610:23;;;:17;:23;;;;;;-1:-1:-1;;;26699:23:0;;26695:699;;27218:113;27225:11;27218:113;;-1:-1:-1;;;27296:6:0;27278:25;;;;:17;:25;;;;;;27218:113;;;27364:6;26351:1129;-1:-1:-1;;;26351:1129:0:o;26695:699::-;26570:843;26544:869;27441:31;;-1:-1:-1;;;27441:31:0;;;;;;;;;;;9208:191;9301:6;;;-1:-1:-1;;;;;9318:17:0;;;-1:-1:-1;;;;;;9318:17:0;;;;;;;9351:40;;9301:6;;;9318:17;9301:6;;9351:40;;9282:16;;9351:40;9271:128;9208:191;:::o;33748:104::-;33817:27;33827:2;33831:8;33817:27;;;;;;;;;;;;:9;:27::i;47607:716::-;47791:88;;-1:-1:-1;;;47791:88:0;;47770:4;;-1:-1:-1;;;;;47791:45:0;;;;;:88;;52039:10;;47858:4;;47864:7;;47873:5;;47791:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47791:88:0;;;;;;;;-1:-1:-1;;47791:88:0;;;;;;;;;;;;:::i;:::-;;;47787:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48074:13:0;;48070:235;;48120:40;;-1:-1:-1;;;48120:40:0;;;;;;;;;;;48070:235;48263:6;48257:13;48248:6;48244:2;48240:15;48233:38;47787:529;-1:-1:-1;;;;;;47950:64:0;-1:-1:-1;;;47950:64:0;;-1:-1:-1;47787:529:0;47607:716;;;;;;:::o;3744:723::-;3800:13;4021:10;4017:53;;-1:-1:-1;;4048:10:0;;;;;;;;;;;;-1:-1:-1;;;4048:10:0;;;;;3744:723::o;4017:53::-;4095:5;4080:12;4136:78;4143:9;;4136:78;;4169:8;;;;:::i;:::-;;-1:-1:-1;4192:10:0;;-1:-1:-1;4200:2:0;4192:10;;:::i;:::-;;;4136:78;;;4224:19;4256:6;4246:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4246:17:0;;4224:39;;4274:154;4281:10;;4274:154;;4308:11;4318:1;4308:11;;:::i;:::-;;-1:-1:-1;4377:10:0;4385:2;4377:5;:10;:::i;:::-;4364:24;;:2;:24;:::i;:::-;4351:39;;4334:6;4341;4334:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;4334:56:0;;;;;;;;-1:-1:-1;4405:11:0;4414:2;4405:11;;:::i;:::-;;;4274:154;;64005:190;64130:4;64183;64154:25;64167:5;64174:4;64154:12;:25::i;:::-;:33;;64005:190;-1:-1:-1;;;;64005:190:0:o;34268:681::-;34391:19;34397:2;34401:8;34391:5;:19::i;:::-;-1:-1:-1;;;;;34452:14:0;;;:19;34448:483;;34492:11;34506:13;34554:14;;;34587:233;34618:62;34657:1;34661:2;34665:7;;;;;;34674:5;34618:30;:62::i;:::-;34613:167;;34716:40;;-1:-1:-1;;;34716:40:0;;;;;;;;;;;34613:167;34815:3;34807:5;:11;34587:233;;34902:3;34885:13;;:20;34881:34;;34907:8;;;34881:34;34473:458;;34268:681;;;:::o;64872:296::-;64955:7;64998:4;64955:7;65013:118;65037:5;:12;65033:1;:16;65013:118;;;65086:33;65096:12;65110:5;65116:1;65110:8;;;;;;;;:::i;:::-;;;;;;;65086:9;:33::i;:::-;65071:48;-1:-1:-1;65051:3:0;;;;:::i;:::-;;;;65013:118;;;-1:-1:-1;65148:12:0;64872:296;-1:-1:-1;;;64872:296:0:o;35222:1529::-;35287:20;35310:13;-1:-1:-1;;;;;35338:16:0;;35334:48;;35363:19;;-1:-1:-1;;;35363:19:0;;;;;;;;;;;35334:48;35397:13;35393:44;;35419:18;;-1:-1:-1;;;35419:18:0;;;;;;;;;;;35393:44;-1:-1:-1;;;;;35925:22:0;;;;;;:18;:22;;19369:2;35925:22;;:70;;35963:31;35951:44;;35925:70;;;29333:11;29309:22;29305:40;-1:-1:-1;31043:15:0;;31018:23;31014:45;29302:51;29292:62;36238:31;;;;:17;:31;;;;;:173;36256:12;36487:23;;;36525:101;36552:35;;36577:9;;;;;-1:-1:-1;;;;;36552:35:0;;;36569:1;;36552:35;;36569:1;;36552:35;36621:3;36611:7;:13;36525:101;;36642:13;:19;-1:-1:-1;32481:185:0;;;:::o;71079:149::-;71142:7;71173:1;71169;:5;:51;;71304:13;71398:15;;;71434:4;71427:15;;;71481:4;71465:21;;71169:51;;;-1:-1:-1;71304:13:0;71398:15;;;71434:4;71427:15;71481:4;71465:21;;;71079:149::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;747:70;650:173;;;:::o;828:367::-;891:8;901:6;955:3;948:4;940:6;936:17;932:27;922:55;;973:1;970;963:12;922:55;-1:-1:-1;996:20:1;;1039:18;1028:30;;1025:50;;;1071:1;1068;1061:12;1025:50;1108:4;1100:6;1096:17;1084:29;;1168:3;1161:4;1151:6;1148:1;1144:14;1136:6;1132:27;1128:38;1125:47;1122:67;;;1185:1;1182;1175:12;1122:67;828:367;;;;;:::o;1200:160::-;1265:20;;1321:13;;1314:21;1304:32;;1294:60;;1350:1;1347;1340:12;1365:186;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;1516:29;1535:9;1516:29;:::i;1556:260::-;1624:6;1632;1685:2;1673:9;1664:7;1660:23;1656:32;1653:52;;;1701:1;1698;1691:12;1653:52;1724:29;1743:9;1724:29;:::i;:::-;1714:39;;1772:38;1806:2;1795:9;1791:18;1772:38;:::i;:::-;1762:48;;1556:260;;;;;:::o;1821:328::-;1898:6;1906;1914;1967:2;1955:9;1946:7;1942:23;1938:32;1935:52;;;1983:1;1980;1973:12;1935:52;2006:29;2025:9;2006:29;:::i;:::-;1996:39;;2054:38;2088:2;2077:9;2073:18;2054:38;:::i;:::-;2044:48;;2139:2;2128:9;2124:18;2111:32;2101:42;;1821:328;;;;;:::o;2154:666::-;2249:6;2257;2265;2273;2326:3;2314:9;2305:7;2301:23;2297:33;2294:53;;;2343:1;2340;2333:12;2294:53;2366:29;2385:9;2366:29;:::i;:::-;2356:39;;2414:38;2448:2;2437:9;2433:18;2414:38;:::i;:::-;2404:48;;2499:2;2488:9;2484:18;2471:32;2461:42;;2554:2;2543:9;2539:18;2526:32;2581:18;2573:6;2570:30;2567:50;;;2613:1;2610;2603:12;2567:50;2636:22;;2689:4;2681:13;;2677:27;-1:-1:-1;2667:55:1;;2718:1;2715;2708:12;2667:55;2741:73;2806:7;2801:2;2788:16;2783:2;2779;2775:11;2741:73;:::i;:::-;2731:83;;;2154:666;;;;;;;:::o;2825:254::-;2890:6;2898;2951:2;2939:9;2930:7;2926:23;2922:32;2919:52;;;2967:1;2964;2957:12;2919:52;2990:29;3009:9;2990:29;:::i;:::-;2980:39;;3038:35;3069:2;3058:9;3054:18;3038:35;:::i;3084:254::-;3152:6;3160;3213:2;3201:9;3192:7;3188:23;3184:32;3181:52;;;3229:1;3226;3219:12;3181:52;3252:29;3271:9;3252:29;:::i;:::-;3242:39;3328:2;3313:18;;;;3300:32;;-1:-1:-1;;;3084:254:1:o;3343:180::-;3399:6;3452:2;3440:9;3431:7;3427:23;3423:32;3420:52;;;3468:1;3465;3458:12;3420:52;3491:26;3507:9;3491:26;:::i;3528:245::-;3586:6;3639:2;3627:9;3618:7;3614:23;3610:32;3607:52;;;3655:1;3652;3645:12;3607:52;3694:9;3681:23;3713:30;3737:5;3713:30;:::i;3778:249::-;3847:6;3900:2;3888:9;3879:7;3875:23;3871:32;3868:52;;;3916:1;3913;3906:12;3868:52;3948:9;3942:16;3967:30;3991:5;3967:30;:::i;4032:450::-;4101:6;4154:2;4142:9;4133:7;4129:23;4125:32;4122:52;;;4170:1;4167;4160:12;4122:52;4210:9;4197:23;4243:18;4235:6;4232:30;4229:50;;;4275:1;4272;4265:12;4229:50;4298:22;;4351:4;4343:13;;4339:27;-1:-1:-1;4329:55:1;;4380:1;4377;4370:12;4329:55;4403:73;4468:7;4463:2;4450:16;4445:2;4441;4437:11;4403:73;:::i;4487:180::-;4546:6;4599:2;4587:9;4578:7;4574:23;4570:32;4567:52;;;4615:1;4612;4605:12;4567:52;-1:-1:-1;4638:23:1;;4487:180;-1:-1:-1;4487:180:1:o;4672:505::-;4767:6;4775;4783;4836:2;4824:9;4815:7;4811:23;4807:32;4804:52;;;4852:1;4849;4842:12;4804:52;4888:9;4875:23;4865:33;;4949:2;4938:9;4934:18;4921:32;4976:18;4968:6;4965:30;4962:50;;;5008:1;5005;4998:12;4962:50;5047:70;5109:7;5100:6;5089:9;5085:22;5047:70;:::i;:::-;4672:505;;5136:8;;-1:-1:-1;5021:96:1;;-1:-1:-1;;;;4672:505:1:o;5182:594::-;5275:6;5283;5291;5344:2;5332:9;5323:7;5319:23;5315:32;5312:52;;;5360:1;5357;5350:12;5312:52;5399:9;5386:23;5449:4;5442:5;5438:16;5431:5;5428:27;5418:55;;5469:1;5466;5459:12;5418:55;5492:5;-1:-1:-1;5548:2:1;5533:18;;5520:32;5575:18;5564:30;;5561:50;;;5607:1;5604;5597:12;5781:257;5822:3;5860:5;5854:12;5887:6;5882:3;5875:19;5903:63;5959:6;5952:4;5947:3;5943:14;5936:4;5929:5;5925:16;5903:63;:::i;:::-;6020:2;5999:15;-1:-1:-1;;5995:29:1;5986:39;;;;6027:4;5982:50;;5781:257;-1:-1:-1;;5781:257:1:o;6043:185::-;6085:3;6123:5;6117:12;6138:52;6183:6;6178:3;6171:4;6164:5;6160:16;6138:52;:::i;:::-;6206:16;;;;;6043:185;-1:-1:-1;;6043:185:1:o;6704:1433::-;7082:3;7111:1;7144:6;7138:13;7174:3;7196:1;7224:9;7220:2;7216:18;7206:28;;7284:2;7273:9;7269:18;7306;7296:61;;7350:4;7342:6;7338:17;7328:27;;7296:61;7376:2;7424;7416:6;7413:14;7393:18;7390:38;7387:165;;;-1:-1:-1;;;7451:33:1;;7507:4;7504:1;7497:15;7537:4;7458:3;7525:17;7387:165;7568:18;7595:104;;;;7713:1;7708:320;;;;7561:467;;7595:104;-1:-1:-1;;7628:24:1;;7616:37;;7673:16;;;;-1:-1:-1;7595:104:1;;7708:320;15040:1;15033:14;;;15077:4;15064:18;;7803:1;7817:165;7831:6;7828:1;7825:13;7817:165;;;7909:14;;7896:11;;;7889:35;7952:16;;;;7846:10;;7817:165;;;7821:3;;8011:6;8006:3;8002:16;7995:23;;7561:467;;;;;;;8044:87;8069:61;8095:34;8125:3;-1:-1:-1;;;6416:16:1;;6457:1;6448:11;;6351:114;8095:34;8087:6;8069:61;:::i;:::-;-1:-1:-1;;;6293:20:1;;6338:1;6329:11;;6233:113;8044:87;8037:94;6704:1433;-1:-1:-1;;;;;6704:1433:1:o;8560:488::-;-1:-1:-1;;;;;8829:15:1;;;8811:34;;8881:15;;8876:2;8861:18;;8854:43;8928:2;8913:18;;8906:34;;;8976:3;8971:2;8956:18;;8949:31;;;8754:4;;8997:45;;9022:19;;9014:6;8997:45;:::i;:::-;8989:53;8560:488;-1:-1:-1;;;;;;8560:488:1:o;9427:219::-;9576:2;9565:9;9558:21;9539:4;9596:44;9636:2;9625:9;9621:18;9613:6;9596:44;:::i;11084:398::-;11286:2;11268:21;;;11325:2;11305:18;;;11298:30;11364:34;11359:2;11344:18;;11337:62;-1:-1:-1;;;11430:2:1;11415:18;;11408:32;11472:3;11457:19;;11084:398::o;15093:128::-;15133:3;15164:1;15160:6;15157:1;15154:13;15151:39;;;15170:18;;:::i;:::-;-1:-1:-1;15206:9:1;;15093:128::o;15226:120::-;15266:1;15292;15282:35;;15297:18;;:::i;:::-;-1:-1:-1;15331:9:1;;15226:120::o;15351:168::-;15391:7;15457:1;15453;15449:6;15445:14;15442:1;15439:21;15434:1;15427:9;15420:17;15416:45;15413:71;;;15464:18;;:::i;:::-;-1:-1:-1;15504:9:1;;15351:168::o;15524:125::-;15564:4;15592:1;15589;15586:8;15583:34;;;15597:18;;:::i;:::-;-1:-1:-1;15634:9:1;;15524:125::o;15654:258::-;15726:1;15736:113;15750:6;15747:1;15744:13;15736:113;;;15826:11;;;15820:18;15807:11;;;15800:39;15772:2;15765:10;15736:113;;;15867:6;15864:1;15861:13;15858:48;;;-1:-1:-1;;15902:1:1;15884:16;;15877:27;15654:258::o;15917:380::-;15996:1;15992:12;;;;16039;;;16060:61;;16114:4;16106:6;16102:17;16092:27;;16060:61;16167:2;16159:6;16156:14;16136:18;16133:38;16130:161;;;16213:10;16208:3;16204:20;16201:1;16194:31;16248:4;16245:1;16238:15;16276:4;16273:1;16266:15;16130:161;;15917:380;;;:::o;16302:135::-;16341:3;-1:-1:-1;;16362:17:1;;16359:43;;;16382:18;;:::i;:::-;-1:-1:-1;16429:1:1;16418:13;;16302:135::o;16442:112::-;16474:1;16500;16490:35;;16505:18;;:::i;:::-;-1:-1:-1;16539:9:1;;16442:112::o;16559:127::-;16620:10;16615:3;16611:20;16608:1;16601:31;16651:4;16648:1;16641:15;16675:4;16672:1;16665:15;16691:127;16752:10;16747:3;16743:20;16740:1;16733:31;16783:4;16780:1;16773:15;16807:4;16804:1;16797:15;16823:127;16884:10;16879:3;16875:20;16872:1;16865:31;16915:4;16912:1;16905:15;16939:4;16936:1;16929:15;16955:127;17016:10;17011:3;17007:20;17004:1;16997:31;17047:4;17044:1;17037:15;17071:4;17068:1;17061:15;17087:131;-1:-1:-1;;;;;;17161:32:1;;17151:43;;17141:71;;17208:1;17205;17198:12
Swarm Source
ipfs://86dfa8b1ae3ae82f4d5a228c950af76afafb1c7bdc99906ad4605d4c59328d2c
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.