Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,360 Cosmos
Holders
76
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
20 CosmosLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ProjectCosmos
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.4; library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @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); } } pragma solidity ^0.8.4; /** * @dev These functions deal with verification of Merkle Trees 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. */ 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 Returns the rebuilt hash obtained by traversing a Merklee 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++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } } pragma solidity ^0.8.4; library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.4; /** * @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/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.4; /** * @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 v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.4; /** * @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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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.0.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(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * 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(); 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; } /** * @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); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.0.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 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` 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 auxillary 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 auxillary 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; assembly { // Cast aux without masking. 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; } /** * 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 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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); 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-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @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 { _transfer(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. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) 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 or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @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. */ 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 or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @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 _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // 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)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // 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 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) } } } pragma solidity >=0.8.0 <0.9.0; contract ProjectCosmos is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; string public _baseTokenURI; bytes32 public merkleRoot = 0xa381791bb88bcb343981f3a7d380fa4c39bcc2b41073fae7bce5374e8b1300b5; uint256 public cost = 0.02 ether; uint256 public maxSupply = 3333; uint256 public maxMintAmountPerTx = 10; bool public paused = false; bool public whitelistPaused = false; mapping(address => uint256) public minted; constructor( ) ERC721A("Cosmos", "Cosmos") { } address private wallet1 = 0x7B9C55b39Dc41C0e7F2B088060587eC6fEf852a9; address private wallet2 = 0xB994b97786F95d4df3cB94c1dB1b4AAA233C5F7c; function mint(uint256 _mintAmount) public payable nonReentrant { require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!"); require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!"); require(!paused, "The contract is paused!"); require(msg.value >= cost * _mintAmount, "Insufficient funds!"); _safeMint(_msgSender(), _mintAmount); } function whitelistMint(uint256 _mintAmount, bytes32[] calldata _proof) public payable nonReentrant { require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!"); require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!"); require(MerkleProof.verify(_proof,merkleRoot,keccak256(abi.encodePacked(msg.sender))),"Invalid proof."); require(!whitelistPaused, "The contract is paused!"); require(msg.value >= cost * _mintAmount, "Insufficient funds!"); _safeMint(_msgSender(), _mintAmount); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setWhitelistPaused(bool _state) public onlyOwner { whitelistPaused = _state; } function setMerkleRoot(bytes32 _root) public onlyOwner { merkleRoot = _root; } function withdraw() public onlyOwner nonReentrant { uint256 teamBal = address(this).balance; uint256 p1= SafeMath.div(SafeMath.mul(teamBal,50), 100); uint256 p2 = SafeMath.div(SafeMath.mul(teamBal,50), 100); payable(wallet1).transfer(p1); payable(wallet2).transfer(p2); payable(owner()).transfer(address(this).balance); } function setBaseURI(string calldata baseURI) public onlyOwner { _baseTokenURI = baseURI; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI does not exist!"); return string(abi.encodePacked(_baseURI(), _tokenId.toString(), ".json")); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"cost","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":[{"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":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setWhitelistPaused","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":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040527fa381791bb88bcb343981f3a7d380fa4c39bcc2b41073fae7bce5374e8b1300b560001b600b5566470de4df820000600c55610d05600d55600a600e556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff021916908315150217905550737b9c55b39dc41c0e7f2b088060587ec6fef852a9601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073b994b97786f95d4df3cb94c1db1b4aaa233c5f7c601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200012e57600080fd5b506040518060400160405280600681526020017f436f736d6f7300000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f436f736d6f7300000000000000000000000000000000000000000000000000008152508160029080519060200190620001b3929190620002ea565b508060039080519060200190620001cc929190620002ea565b50620001dd6200021360201b60201c565b600081905550505062000205620001f96200021c60201b60201c565b6200022460201b60201c565b6001600981905550620003ff565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002f8906200039a565b90600052602060002090601f0160209004810192826200031c576000855562000368565b82601f106200033757805160ff191683800117855562000368565b8280016001018555821562000368579182015b82811115620003675782518255916020019190600101906200034a565b5b5090506200037791906200037b565b5090565b5b80821115620003965760008160009055506001016200037c565b5090565b60006002820490506001821680620003b357607f821691505b60208210811415620003ca57620003c9620003d0565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b613a4f806200040f6000396000f3fe6080604052600436106101f95760003560e01c806370a082311161010d578063b071401b116100a0578063cfc86f7b1161006f578063cfc86f7b146106fc578063d2cab05614610727578063d5abeb0114610743578063e985e9c51461076e578063f2fde38b146107ab576101f9565b8063b071401b14610644578063b7203b8f1461066d578063b88d4fde14610696578063c87b56dd146106bf576101f9565b806394354fd0116100dc57806394354fd0146105a957806395d89b41146105d4578063a0712d68146105ff578063a22cb4651461061b576101f9565b806370a0823114610501578063715018a61461053e5780637cb64759146105555780638da5cb5b1461057e576101f9565b806323b872dd1161019057806344a0d68a1161015f57806344a0d68a1461041c57806355f804b3146104455780635c975abb1461046e57806361e61a25146104995780636352211e146104c4576101f9565b806323b872dd146103885780632eb4a7ab146103b15780633ccfd60b146103dc57806342842e0e146103f3576101f9565b806313faede6116101cc57806313faede6146102cc57806316c38b3c146102f757806318160ddd146103205780631e7269c51461034b576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190612d37565b6107d4565b60405161023291906131b3565b60405180910390f35b34801561024757600080fd5b50610250610866565b60405161025d91906131e9565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190612dde565b6108f8565b60405161029a919061314c565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190612c9d565b610974565b005b3480156102d857600080fd5b506102e1610b1b565b6040516102ee919061332b565b60405180910390f35b34801561030357600080fd5b5061031e60048036038101906103199190612cdd565b610b21565b005b34801561032c57600080fd5b50610335610bba565b604051610342919061332b565b60405180910390f35b34801561035757600080fd5b50610372600480360381019061036d9190612b1a565b610bd1565b60405161037f919061332b565b60405180910390f35b34801561039457600080fd5b506103af60048036038101906103aa9190612b87565b610be9565b005b3480156103bd57600080fd5b506103c6610bf9565b6040516103d391906131ce565b60405180910390f35b3480156103e857600080fd5b506103f1610bff565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190612b87565b610e2d565b005b34801561042857600080fd5b50610443600480360381019061043e9190612dde565b610e4d565b005b34801561045157600080fd5b5061046c60048036038101906104679190612d91565b610ed3565b005b34801561047a57600080fd5b50610483610f65565b60405161049091906131b3565b60405180910390f35b3480156104a557600080fd5b506104ae610f78565b6040516104bb91906131b3565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e69190612dde565b610f8b565b6040516104f8919061314c565b60405180910390f35b34801561050d57600080fd5b5061052860048036038101906105239190612b1a565b610f9d565b604051610535919061332b565b60405180910390f35b34801561054a57600080fd5b50610553611056565b005b34801561056157600080fd5b5061057c60048036038101906105779190612d0a565b6110de565b005b34801561058a57600080fd5b50610593611164565b6040516105a0919061314c565b60405180910390f35b3480156105b557600080fd5b506105be61118e565b6040516105cb919061332b565b60405180910390f35b3480156105e057600080fd5b506105e9611194565b6040516105f691906131e9565b60405180910390f35b61061960048036038101906106149190612dde565b611226565b005b34801561062757600080fd5b50610642600480360381019061063d9190612c5d565b6113d8565b005b34801561065057600080fd5b5061066b60048036038101906106669190612dde565b611550565b005b34801561067957600080fd5b50610694600480360381019061068f9190612cdd565b6115d6565b005b3480156106a257600080fd5b506106bd60048036038101906106b89190612bda565b61166f565b005b3480156106cb57600080fd5b506106e660048036038101906106e19190612dde565b6116e2565b6040516106f391906131e9565b60405180910390f35b34801561070857600080fd5b50610711611764565b60405161071e91906131e9565b60405180910390f35b610741600480360381019061073c9190612e0b565b6117f2565b005b34801561074f57600080fd5b50610758611a59565b604051610765919061332b565b60405180910390f35b34801561077a57600080fd5b5061079560048036038101906107909190612b47565b611a5f565b6040516107a291906131b3565b60405180910390f35b3480156107b757600080fd5b506107d260048036038101906107cd9190612b1a565b611af3565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061082f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061085f5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610875906135b4565b80601f01602080910402602001604051908101604052809291908181526020018280546108a1906135b4565b80156108ee5780601f106108c3576101008083540402835291602001916108ee565b820191906000526020600020905b8154815290600101906020018083116108d157829003601f168201915b5050505050905090565b600061090382611beb565b610939576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097f82611c4a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109e7576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a06611d18565b73ffffffffffffffffffffffffffffffffffffffff1614610a6957610a3281610a2d611d18565b611a5f565b610a68576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600c5481565b610b29611d20565b73ffffffffffffffffffffffffffffffffffffffff16610b47611164565b73ffffffffffffffffffffffffffffffffffffffff1614610b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b949061324b565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b6000610bc4611d28565b6001546000540303905090565b60106020528060005260406000206000915090505481565b610bf4838383611d31565b505050565b600b5481565b610c07611d20565b73ffffffffffffffffffffffffffffffffffffffff16610c25611164565b73ffffffffffffffffffffffffffffffffffffffff1614610c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c729061324b565b60405180910390fd5b60026009541415610cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb8906132cb565b60405180910390fd5b600260098190555060004790506000610ce5610cde8360326120db565b60646120f1565b90506000610cfe610cf78460326120db565b60646120f1565b9050601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610d68573d6000803e3d6000fd5b50601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610dd1573d6000803e3d6000fd5b50610dda611164565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e1f573d6000803e3d6000fd5b505050506001600981905550565b610e488383836040518060200160405280600081525061166f565b505050565b610e55611d20565b73ffffffffffffffffffffffffffffffffffffffff16610e73611164565b73ffffffffffffffffffffffffffffffffffffffff1614610ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec09061324b565b60405180910390fd5b80600c8190555050565b610edb611d20565b73ffffffffffffffffffffffffffffffffffffffff16610ef9611164565b73ffffffffffffffffffffffffffffffffffffffff1614610f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f469061324b565b60405180910390fd5b8181600a9190610f609291906128dd565b505050565b600f60009054906101000a900460ff1681565b600f60019054906101000a900460ff1681565b6000610f9682611c4a565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611005576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61105e611d20565b73ffffffffffffffffffffffffffffffffffffffff1661107c611164565b73ffffffffffffffffffffffffffffffffffffffff16146110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c99061324b565b60405180910390fd5b6110dc6000612107565b565b6110e6611d20565b73ffffffffffffffffffffffffffffffffffffffff16611104611164565b73ffffffffffffffffffffffffffffffffffffffff161461115a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111519061324b565b60405180910390fd5b80600b8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e5481565b6060600380546111a3906135b4565b80601f01602080910402602001604051908101604052809291908181526020018280546111cf906135b4565b801561121c5780601f106111f15761010080835404028352916020019161121c565b820191906000526020600020905b8154815290600101906020018083116111ff57829003601f168201915b5050505050905090565b6002600954141561126c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611263906132cb565b60405180910390fd5b60026009819055506000811180156112865750600e548111155b6112c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bc9061322b565b60405180910390fd5b600d54816112d1610bba565b6112db91906133df565b111561131c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113139061328b565b60405180910390fd5b600f60009054906101000a900460ff161561136c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113639061326b565b60405180910390fd5b80600c5461137a9190613466565b3410156113bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b39061330b565b60405180910390fd5b6113cd6113c7611d20565b826121cd565b600160098190555050565b6113e0611d18565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611445576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611452611d18565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114ff611d18565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161154491906131b3565b60405180910390a35050565b611558611d20565b73ffffffffffffffffffffffffffffffffffffffff16611576611164565b73ffffffffffffffffffffffffffffffffffffffff16146115cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c39061324b565b60405180910390fd5b80600e8190555050565b6115de611d20565b73ffffffffffffffffffffffffffffffffffffffff166115fc611164565b73ffffffffffffffffffffffffffffffffffffffff1614611652576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116499061324b565b60405180910390fd5b80600f60016101000a81548160ff02191690831515021790555050565b61167a848484611d31565b60008373ffffffffffffffffffffffffffffffffffffffff163b146116dc576116a5848484846121eb565b6116db576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606116ed82611beb565b61172c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611723906132eb565b60405180910390fd5b61173461234b565b61173d836123dd565b60405160200161174e92919061311d565b6040516020818303038152906040529050919050565b600a8054611771906135b4565b80601f016020809104026020016040519081016040528092919081815260200182805461179d906135b4565b80156117ea5780601f106117bf576101008083540402835291602001916117ea565b820191906000526020600020905b8154815290600101906020018083116117cd57829003601f168201915b505050505081565b60026009541415611838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182f906132cb565b60405180910390fd5b60026009819055506000831180156118525750600e548311155b611891576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118889061322b565b60405180910390fd5b600d548361189d610bba565b6118a791906133df565b11156118e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118df9061328b565b60405180910390fd5b61195c828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b543360405160200161194191906130d6565b6040516020818303038152906040528051906020012061253e565b61199b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611992906132ab565b60405180910390fd5b600f60019054906101000a900460ff16156119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e29061326b565b60405180910390fd5b82600c546119f99190613466565b341015611a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a329061330b565b60405180910390fd5b611a4c611a46611d20565b846121cd565b6001600981905550505050565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611afb611d20565b73ffffffffffffffffffffffffffffffffffffffff16611b19611164565b73ffffffffffffffffffffffffffffffffffffffff1614611b6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b669061324b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd69061320b565b60405180910390fd5b611be881612107565b50565b600081611bf6611d28565b11158015611c05575060005482105b8015611c43575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080611c59611d28565b11611ce157600054811015611ce05760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611cde575b6000811415611cd4576004600083600190039350838152602001908152602001600020549050611ca9565b8092505050611d13565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b60006001905090565b6000611d3c82611c4a565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611da3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611dc4611d18565b73ffffffffffffffffffffffffffffffffffffffff161480611df35750611df285611ded611d18565b611a5f565b5b80611e385750611e01611d18565b73ffffffffffffffffffffffffffffffffffffffff16611e20846108f8565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611e71576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ed8576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611ee58585856001612555565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611fe28661255b565b1717600460008581526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008316141561206c57600060018401905060006004600083815260200190815260200160002054141561206a576000548114612069578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120d48585856001612565565b5050505050565b600081836120e99190613466565b905092915050565b600081836120ff9190613435565b905092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6121e782826040518060200160405280600081525061256b565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612211611d18565b8786866040518563ffffffff1660e01b81526004016122339493929190613167565b602060405180830381600087803b15801561224d57600080fd5b505af192505050801561227e57506040513d601f19601f8201168201806040525081019061227b9190612d64565b60015b6122f8573d80600081146122ae576040519150601f19603f3d011682016040523d82523d6000602084013e6122b3565b606091505b506000815114156122f0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461235a906135b4565b80601f0160208091040260200160405190810160405280929190818152602001828054612386906135b4565b80156123d35780601f106123a8576101008083540402835291602001916123d3565b820191906000526020600020905b8154815290600101906020018083116123b657829003601f168201915b5050505050905090565b60606000821415612425576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612539565b600082905060005b6000821461245757808061244090613617565b915050600a826124509190613435565b915061242d565b60008167ffffffffffffffff8111156124735761247261377b565b5b6040519080825280601f01601f1916602001820160405280156124a55781602001600182028036833780820191505090505b5090505b60008514612532576001826124be91906134c0565b9150600a856124cd919061368e565b60306124d991906133df565b60f81b8183815181106124ef576124ee61374c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561252b9190613435565b94506124a9565b8093505050505b919050565b60008261254b8584612820565b1490509392505050565b50505050565b6000819050919050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125d8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415612613576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126206000858386612555565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612685600185146128d3565b901b60a042901b6126958661255b565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14612799575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461274960008784806001019550876121eb565b61277f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106126da57826000541461279457600080fd5b612804565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061279a575b81600081905550505061281a6000858386612565565b50505050565b60008082905060005b84518110156128c85760008582815181106128475761284661374c565b5b6020026020010151905080831161288857828160405160200161286b9291906130f1565b6040516020818303038152906040528051906020012092506128b4565b808360405160200161289b9291906130f1565b6040516020818303038152906040528051906020012092505b5080806128c090613617565b915050612829565b508091505092915050565b6000819050919050565b8280546128e9906135b4565b90600052602060002090601f01602090048101928261290b5760008555612952565b82601f1061292457803560ff1916838001178555612952565b82800160010185558215612952579182015b82811115612951578235825591602001919060010190612936565b5b50905061295f9190612963565b5090565b5b8082111561297c576000816000905550600101612964565b5090565b600061299361298e8461336b565b613346565b9050828152602081018484840111156129af576129ae6137b9565b5b6129ba848285613572565b509392505050565b6000813590506129d1816139a6565b92915050565b60008083601f8401126129ed576129ec6137af565b5b8235905067ffffffffffffffff811115612a0a57612a096137aa565b5b602083019150836020820283011115612a2657612a256137b4565b5b9250929050565b600081359050612a3c816139bd565b92915050565b600081359050612a51816139d4565b92915050565b600081359050612a66816139eb565b92915050565b600081519050612a7b816139eb565b92915050565b600082601f830112612a9657612a956137af565b5b8135612aa6848260208601612980565b91505092915050565b60008083601f840112612ac557612ac46137af565b5b8235905067ffffffffffffffff811115612ae257612ae16137aa565b5b602083019150836001820283011115612afe57612afd6137b4565b5b9250929050565b600081359050612b1481613a02565b92915050565b600060208284031215612b3057612b2f6137c3565b5b6000612b3e848285016129c2565b91505092915050565b60008060408385031215612b5e57612b5d6137c3565b5b6000612b6c858286016129c2565b9250506020612b7d858286016129c2565b9150509250929050565b600080600060608486031215612ba057612b9f6137c3565b5b6000612bae868287016129c2565b9350506020612bbf868287016129c2565b9250506040612bd086828701612b05565b9150509250925092565b60008060008060808587031215612bf457612bf36137c3565b5b6000612c02878288016129c2565b9450506020612c13878288016129c2565b9350506040612c2487828801612b05565b925050606085013567ffffffffffffffff811115612c4557612c446137be565b5b612c5187828801612a81565b91505092959194509250565b60008060408385031215612c7457612c736137c3565b5b6000612c82858286016129c2565b9250506020612c9385828601612a2d565b9150509250929050565b60008060408385031215612cb457612cb36137c3565b5b6000612cc2858286016129c2565b9250506020612cd385828601612b05565b9150509250929050565b600060208284031215612cf357612cf26137c3565b5b6000612d0184828501612a2d565b91505092915050565b600060208284031215612d2057612d1f6137c3565b5b6000612d2e84828501612a42565b91505092915050565b600060208284031215612d4d57612d4c6137c3565b5b6000612d5b84828501612a57565b91505092915050565b600060208284031215612d7a57612d796137c3565b5b6000612d8884828501612a6c565b91505092915050565b60008060208385031215612da857612da76137c3565b5b600083013567ffffffffffffffff811115612dc657612dc56137be565b5b612dd285828601612aaf565b92509250509250929050565b600060208284031215612df457612df36137c3565b5b6000612e0284828501612b05565b91505092915050565b600080600060408486031215612e2457612e236137c3565b5b6000612e3286828701612b05565b935050602084013567ffffffffffffffff811115612e5357612e526137be565b5b612e5f868287016129d7565b92509250509250925092565b612e74816134f4565b82525050565b612e8b612e86826134f4565b613660565b82525050565b612e9a81613506565b82525050565b612ea981613512565b82525050565b612ec0612ebb82613512565b613672565b82525050565b6000612ed18261339c565b612edb81856133b2565b9350612eeb818560208601613581565b612ef4816137c8565b840191505092915050565b6000612f0a826133a7565b612f1481856133c3565b9350612f24818560208601613581565b612f2d816137c8565b840191505092915050565b6000612f43826133a7565b612f4d81856133d4565b9350612f5d818560208601613581565b80840191505092915050565b6000612f766026836133c3565b9150612f81826137e6565b604082019050919050565b6000612f996014836133c3565b9150612fa482613835565b602082019050919050565b6000612fbc6005836133d4565b9150612fc78261385e565b600582019050919050565b6000612fdf6020836133c3565b9150612fea82613887565b602082019050919050565b60006130026017836133c3565b915061300d826138b0565b602082019050919050565b60006130256014836133c3565b9150613030826138d9565b602082019050919050565b6000613048600e836133c3565b915061305382613902565b602082019050919050565b600061306b601f836133c3565b91506130768261392b565b602082019050919050565b600061308e6013836133c3565b915061309982613954565b602082019050919050565b60006130b16013836133c3565b91506130bc8261397d565b602082019050919050565b6130d081613568565b82525050565b60006130e28284612e7a565b60148201915081905092915050565b60006130fd8285612eaf565b60208201915061310d8284612eaf565b6020820191508190509392505050565b60006131298285612f38565b91506131358284612f38565b915061314082612faf565b91508190509392505050565b60006020820190506131616000830184612e6b565b92915050565b600060808201905061317c6000830187612e6b565b6131896020830186612e6b565b61319660408301856130c7565b81810360608301526131a88184612ec6565b905095945050505050565b60006020820190506131c86000830184612e91565b92915050565b60006020820190506131e36000830184612ea0565b92915050565b600060208201905081810360008301526132038184612eff565b905092915050565b6000602082019050818103600083015261322481612f69565b9050919050565b6000602082019050818103600083015261324481612f8c565b9050919050565b6000602082019050818103600083015261326481612fd2565b9050919050565b6000602082019050818103600083015261328481612ff5565b9050919050565b600060208201905081810360008301526132a481613018565b9050919050565b600060208201905081810360008301526132c48161303b565b9050919050565b600060208201905081810360008301526132e48161305e565b9050919050565b6000602082019050818103600083015261330481613081565b9050919050565b60006020820190508181036000830152613324816130a4565b9050919050565b600060208201905061334060008301846130c7565b92915050565b6000613350613361565b905061335c82826135e6565b919050565b6000604051905090565b600067ffffffffffffffff8211156133865761338561377b565b5b61338f826137c8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006133ea82613568565b91506133f583613568565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561342a576134296136bf565b5b828201905092915050565b600061344082613568565b915061344b83613568565b92508261345b5761345a6136ee565b5b828204905092915050565b600061347182613568565b915061347c83613568565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134b5576134b46136bf565b5b828202905092915050565b60006134cb82613568565b91506134d683613568565b9250828210156134e9576134e86136bf565b5b828203905092915050565b60006134ff82613548565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561359f578082015181840152602081019050613584565b838111156135ae576000848401525b50505050565b600060028204905060018216806135cc57607f821691505b602082108114156135e0576135df61371d565b5b50919050565b6135ef826137c8565b810181811067ffffffffffffffff8211171561360e5761360d61377b565b5b80604052505050565b600061362282613568565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613655576136546136bf565b5b600182019050919050565b600061366b8261367c565b9050919050565b6000819050919050565b6000613687826137d9565b9050919050565b600061369982613568565b91506136a483613568565b9250826136b4576136b36136ee565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f496e76616c69642070726f6f662e000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f55524920646f6573206e6f742065786973742100000000000000000000000000600082015250565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6139af816134f4565b81146139ba57600080fd5b50565b6139c681613506565b81146139d157600080fd5b50565b6139dd81613512565b81146139e857600080fd5b50565b6139f48161351c565b81146139ff57600080fd5b50565b613a0b81613568565b8114613a1657600080fd5b5056fea26469706673582212204033d86d28693e9abe0142a18b6b89a122e93ad3f77d91e37fd471848fe79b3664736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101f95760003560e01c806370a082311161010d578063b071401b116100a0578063cfc86f7b1161006f578063cfc86f7b146106fc578063d2cab05614610727578063d5abeb0114610743578063e985e9c51461076e578063f2fde38b146107ab576101f9565b8063b071401b14610644578063b7203b8f1461066d578063b88d4fde14610696578063c87b56dd146106bf576101f9565b806394354fd0116100dc57806394354fd0146105a957806395d89b41146105d4578063a0712d68146105ff578063a22cb4651461061b576101f9565b806370a0823114610501578063715018a61461053e5780637cb64759146105555780638da5cb5b1461057e576101f9565b806323b872dd1161019057806344a0d68a1161015f57806344a0d68a1461041c57806355f804b3146104455780635c975abb1461046e57806361e61a25146104995780636352211e146104c4576101f9565b806323b872dd146103885780632eb4a7ab146103b15780633ccfd60b146103dc57806342842e0e146103f3576101f9565b806313faede6116101cc57806313faede6146102cc57806316c38b3c146102f757806318160ddd146103205780631e7269c51461034b576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190612d37565b6107d4565b60405161023291906131b3565b60405180910390f35b34801561024757600080fd5b50610250610866565b60405161025d91906131e9565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190612dde565b6108f8565b60405161029a919061314c565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190612c9d565b610974565b005b3480156102d857600080fd5b506102e1610b1b565b6040516102ee919061332b565b60405180910390f35b34801561030357600080fd5b5061031e60048036038101906103199190612cdd565b610b21565b005b34801561032c57600080fd5b50610335610bba565b604051610342919061332b565b60405180910390f35b34801561035757600080fd5b50610372600480360381019061036d9190612b1a565b610bd1565b60405161037f919061332b565b60405180910390f35b34801561039457600080fd5b506103af60048036038101906103aa9190612b87565b610be9565b005b3480156103bd57600080fd5b506103c6610bf9565b6040516103d391906131ce565b60405180910390f35b3480156103e857600080fd5b506103f1610bff565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190612b87565b610e2d565b005b34801561042857600080fd5b50610443600480360381019061043e9190612dde565b610e4d565b005b34801561045157600080fd5b5061046c60048036038101906104679190612d91565b610ed3565b005b34801561047a57600080fd5b50610483610f65565b60405161049091906131b3565b60405180910390f35b3480156104a557600080fd5b506104ae610f78565b6040516104bb91906131b3565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e69190612dde565b610f8b565b6040516104f8919061314c565b60405180910390f35b34801561050d57600080fd5b5061052860048036038101906105239190612b1a565b610f9d565b604051610535919061332b565b60405180910390f35b34801561054a57600080fd5b50610553611056565b005b34801561056157600080fd5b5061057c60048036038101906105779190612d0a565b6110de565b005b34801561058a57600080fd5b50610593611164565b6040516105a0919061314c565b60405180910390f35b3480156105b557600080fd5b506105be61118e565b6040516105cb919061332b565b60405180910390f35b3480156105e057600080fd5b506105e9611194565b6040516105f691906131e9565b60405180910390f35b61061960048036038101906106149190612dde565b611226565b005b34801561062757600080fd5b50610642600480360381019061063d9190612c5d565b6113d8565b005b34801561065057600080fd5b5061066b60048036038101906106669190612dde565b611550565b005b34801561067957600080fd5b50610694600480360381019061068f9190612cdd565b6115d6565b005b3480156106a257600080fd5b506106bd60048036038101906106b89190612bda565b61166f565b005b3480156106cb57600080fd5b506106e660048036038101906106e19190612dde565b6116e2565b6040516106f391906131e9565b60405180910390f35b34801561070857600080fd5b50610711611764565b60405161071e91906131e9565b60405180910390f35b610741600480360381019061073c9190612e0b565b6117f2565b005b34801561074f57600080fd5b50610758611a59565b604051610765919061332b565b60405180910390f35b34801561077a57600080fd5b5061079560048036038101906107909190612b47565b611a5f565b6040516107a291906131b3565b60405180910390f35b3480156107b757600080fd5b506107d260048036038101906107cd9190612b1a565b611af3565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061082f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061085f5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610875906135b4565b80601f01602080910402602001604051908101604052809291908181526020018280546108a1906135b4565b80156108ee5780601f106108c3576101008083540402835291602001916108ee565b820191906000526020600020905b8154815290600101906020018083116108d157829003601f168201915b5050505050905090565b600061090382611beb565b610939576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097f82611c4a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109e7576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a06611d18565b73ffffffffffffffffffffffffffffffffffffffff1614610a6957610a3281610a2d611d18565b611a5f565b610a68576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600c5481565b610b29611d20565b73ffffffffffffffffffffffffffffffffffffffff16610b47611164565b73ffffffffffffffffffffffffffffffffffffffff1614610b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b949061324b565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b6000610bc4611d28565b6001546000540303905090565b60106020528060005260406000206000915090505481565b610bf4838383611d31565b505050565b600b5481565b610c07611d20565b73ffffffffffffffffffffffffffffffffffffffff16610c25611164565b73ffffffffffffffffffffffffffffffffffffffff1614610c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c729061324b565b60405180910390fd5b60026009541415610cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb8906132cb565b60405180910390fd5b600260098190555060004790506000610ce5610cde8360326120db565b60646120f1565b90506000610cfe610cf78460326120db565b60646120f1565b9050601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610d68573d6000803e3d6000fd5b50601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610dd1573d6000803e3d6000fd5b50610dda611164565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e1f573d6000803e3d6000fd5b505050506001600981905550565b610e488383836040518060200160405280600081525061166f565b505050565b610e55611d20565b73ffffffffffffffffffffffffffffffffffffffff16610e73611164565b73ffffffffffffffffffffffffffffffffffffffff1614610ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec09061324b565b60405180910390fd5b80600c8190555050565b610edb611d20565b73ffffffffffffffffffffffffffffffffffffffff16610ef9611164565b73ffffffffffffffffffffffffffffffffffffffff1614610f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f469061324b565b60405180910390fd5b8181600a9190610f609291906128dd565b505050565b600f60009054906101000a900460ff1681565b600f60019054906101000a900460ff1681565b6000610f9682611c4a565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611005576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61105e611d20565b73ffffffffffffffffffffffffffffffffffffffff1661107c611164565b73ffffffffffffffffffffffffffffffffffffffff16146110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c99061324b565b60405180910390fd5b6110dc6000612107565b565b6110e6611d20565b73ffffffffffffffffffffffffffffffffffffffff16611104611164565b73ffffffffffffffffffffffffffffffffffffffff161461115a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111519061324b565b60405180910390fd5b80600b8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e5481565b6060600380546111a3906135b4565b80601f01602080910402602001604051908101604052809291908181526020018280546111cf906135b4565b801561121c5780601f106111f15761010080835404028352916020019161121c565b820191906000526020600020905b8154815290600101906020018083116111ff57829003601f168201915b5050505050905090565b6002600954141561126c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611263906132cb565b60405180910390fd5b60026009819055506000811180156112865750600e548111155b6112c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bc9061322b565b60405180910390fd5b600d54816112d1610bba565b6112db91906133df565b111561131c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113139061328b565b60405180910390fd5b600f60009054906101000a900460ff161561136c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113639061326b565b60405180910390fd5b80600c5461137a9190613466565b3410156113bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b39061330b565b60405180910390fd5b6113cd6113c7611d20565b826121cd565b600160098190555050565b6113e0611d18565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611445576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611452611d18565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114ff611d18565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161154491906131b3565b60405180910390a35050565b611558611d20565b73ffffffffffffffffffffffffffffffffffffffff16611576611164565b73ffffffffffffffffffffffffffffffffffffffff16146115cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c39061324b565b60405180910390fd5b80600e8190555050565b6115de611d20565b73ffffffffffffffffffffffffffffffffffffffff166115fc611164565b73ffffffffffffffffffffffffffffffffffffffff1614611652576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116499061324b565b60405180910390fd5b80600f60016101000a81548160ff02191690831515021790555050565b61167a848484611d31565b60008373ffffffffffffffffffffffffffffffffffffffff163b146116dc576116a5848484846121eb565b6116db576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606116ed82611beb565b61172c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611723906132eb565b60405180910390fd5b61173461234b565b61173d836123dd565b60405160200161174e92919061311d565b6040516020818303038152906040529050919050565b600a8054611771906135b4565b80601f016020809104026020016040519081016040528092919081815260200182805461179d906135b4565b80156117ea5780601f106117bf576101008083540402835291602001916117ea565b820191906000526020600020905b8154815290600101906020018083116117cd57829003601f168201915b505050505081565b60026009541415611838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182f906132cb565b60405180910390fd5b60026009819055506000831180156118525750600e548311155b611891576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118889061322b565b60405180910390fd5b600d548361189d610bba565b6118a791906133df565b11156118e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118df9061328b565b60405180910390fd5b61195c828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b543360405160200161194191906130d6565b6040516020818303038152906040528051906020012061253e565b61199b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611992906132ab565b60405180910390fd5b600f60019054906101000a900460ff16156119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e29061326b565b60405180910390fd5b82600c546119f99190613466565b341015611a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a329061330b565b60405180910390fd5b611a4c611a46611d20565b846121cd565b6001600981905550505050565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611afb611d20565b73ffffffffffffffffffffffffffffffffffffffff16611b19611164565b73ffffffffffffffffffffffffffffffffffffffff1614611b6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b669061324b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd69061320b565b60405180910390fd5b611be881612107565b50565b600081611bf6611d28565b11158015611c05575060005482105b8015611c43575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080611c59611d28565b11611ce157600054811015611ce05760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611cde575b6000811415611cd4576004600083600190039350838152602001908152602001600020549050611ca9565b8092505050611d13565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b60006001905090565b6000611d3c82611c4a565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611da3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611dc4611d18565b73ffffffffffffffffffffffffffffffffffffffff161480611df35750611df285611ded611d18565b611a5f565b5b80611e385750611e01611d18565b73ffffffffffffffffffffffffffffffffffffffff16611e20846108f8565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611e71576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ed8576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611ee58585856001612555565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611fe28661255b565b1717600460008581526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008316141561206c57600060018401905060006004600083815260200190815260200160002054141561206a576000548114612069578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120d48585856001612565565b5050505050565b600081836120e99190613466565b905092915050565b600081836120ff9190613435565b905092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6121e782826040518060200160405280600081525061256b565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612211611d18565b8786866040518563ffffffff1660e01b81526004016122339493929190613167565b602060405180830381600087803b15801561224d57600080fd5b505af192505050801561227e57506040513d601f19601f8201168201806040525081019061227b9190612d64565b60015b6122f8573d80600081146122ae576040519150601f19603f3d011682016040523d82523d6000602084013e6122b3565b606091505b506000815114156122f0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461235a906135b4565b80601f0160208091040260200160405190810160405280929190818152602001828054612386906135b4565b80156123d35780601f106123a8576101008083540402835291602001916123d3565b820191906000526020600020905b8154815290600101906020018083116123b657829003601f168201915b5050505050905090565b60606000821415612425576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612539565b600082905060005b6000821461245757808061244090613617565b915050600a826124509190613435565b915061242d565b60008167ffffffffffffffff8111156124735761247261377b565b5b6040519080825280601f01601f1916602001820160405280156124a55781602001600182028036833780820191505090505b5090505b60008514612532576001826124be91906134c0565b9150600a856124cd919061368e565b60306124d991906133df565b60f81b8183815181106124ef576124ee61374c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561252b9190613435565b94506124a9565b8093505050505b919050565b60008261254b8584612820565b1490509392505050565b50505050565b6000819050919050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125d8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415612613576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126206000858386612555565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612685600185146128d3565b901b60a042901b6126958661255b565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14612799575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461274960008784806001019550876121eb565b61277f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106126da57826000541461279457600080fd5b612804565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061279a575b81600081905550505061281a6000858386612565565b50505050565b60008082905060005b84518110156128c85760008582815181106128475761284661374c565b5b6020026020010151905080831161288857828160405160200161286b9291906130f1565b6040516020818303038152906040528051906020012092506128b4565b808360405160200161289b9291906130f1565b6040516020818303038152906040528051906020012092505b5080806128c090613617565b915050612829565b508091505092915050565b6000819050919050565b8280546128e9906135b4565b90600052602060002090601f01602090048101928261290b5760008555612952565b82601f1061292457803560ff1916838001178555612952565b82800160010185558215612952579182015b82811115612951578235825591602001919060010190612936565b5b50905061295f9190612963565b5090565b5b8082111561297c576000816000905550600101612964565b5090565b600061299361298e8461336b565b613346565b9050828152602081018484840111156129af576129ae6137b9565b5b6129ba848285613572565b509392505050565b6000813590506129d1816139a6565b92915050565b60008083601f8401126129ed576129ec6137af565b5b8235905067ffffffffffffffff811115612a0a57612a096137aa565b5b602083019150836020820283011115612a2657612a256137b4565b5b9250929050565b600081359050612a3c816139bd565b92915050565b600081359050612a51816139d4565b92915050565b600081359050612a66816139eb565b92915050565b600081519050612a7b816139eb565b92915050565b600082601f830112612a9657612a956137af565b5b8135612aa6848260208601612980565b91505092915050565b60008083601f840112612ac557612ac46137af565b5b8235905067ffffffffffffffff811115612ae257612ae16137aa565b5b602083019150836001820283011115612afe57612afd6137b4565b5b9250929050565b600081359050612b1481613a02565b92915050565b600060208284031215612b3057612b2f6137c3565b5b6000612b3e848285016129c2565b91505092915050565b60008060408385031215612b5e57612b5d6137c3565b5b6000612b6c858286016129c2565b9250506020612b7d858286016129c2565b9150509250929050565b600080600060608486031215612ba057612b9f6137c3565b5b6000612bae868287016129c2565b9350506020612bbf868287016129c2565b9250506040612bd086828701612b05565b9150509250925092565b60008060008060808587031215612bf457612bf36137c3565b5b6000612c02878288016129c2565b9450506020612c13878288016129c2565b9350506040612c2487828801612b05565b925050606085013567ffffffffffffffff811115612c4557612c446137be565b5b612c5187828801612a81565b91505092959194509250565b60008060408385031215612c7457612c736137c3565b5b6000612c82858286016129c2565b9250506020612c9385828601612a2d565b9150509250929050565b60008060408385031215612cb457612cb36137c3565b5b6000612cc2858286016129c2565b9250506020612cd385828601612b05565b9150509250929050565b600060208284031215612cf357612cf26137c3565b5b6000612d0184828501612a2d565b91505092915050565b600060208284031215612d2057612d1f6137c3565b5b6000612d2e84828501612a42565b91505092915050565b600060208284031215612d4d57612d4c6137c3565b5b6000612d5b84828501612a57565b91505092915050565b600060208284031215612d7a57612d796137c3565b5b6000612d8884828501612a6c565b91505092915050565b60008060208385031215612da857612da76137c3565b5b600083013567ffffffffffffffff811115612dc657612dc56137be565b5b612dd285828601612aaf565b92509250509250929050565b600060208284031215612df457612df36137c3565b5b6000612e0284828501612b05565b91505092915050565b600080600060408486031215612e2457612e236137c3565b5b6000612e3286828701612b05565b935050602084013567ffffffffffffffff811115612e5357612e526137be565b5b612e5f868287016129d7565b92509250509250925092565b612e74816134f4565b82525050565b612e8b612e86826134f4565b613660565b82525050565b612e9a81613506565b82525050565b612ea981613512565b82525050565b612ec0612ebb82613512565b613672565b82525050565b6000612ed18261339c565b612edb81856133b2565b9350612eeb818560208601613581565b612ef4816137c8565b840191505092915050565b6000612f0a826133a7565b612f1481856133c3565b9350612f24818560208601613581565b612f2d816137c8565b840191505092915050565b6000612f43826133a7565b612f4d81856133d4565b9350612f5d818560208601613581565b80840191505092915050565b6000612f766026836133c3565b9150612f81826137e6565b604082019050919050565b6000612f996014836133c3565b9150612fa482613835565b602082019050919050565b6000612fbc6005836133d4565b9150612fc78261385e565b600582019050919050565b6000612fdf6020836133c3565b9150612fea82613887565b602082019050919050565b60006130026017836133c3565b915061300d826138b0565b602082019050919050565b60006130256014836133c3565b9150613030826138d9565b602082019050919050565b6000613048600e836133c3565b915061305382613902565b602082019050919050565b600061306b601f836133c3565b91506130768261392b565b602082019050919050565b600061308e6013836133c3565b915061309982613954565b602082019050919050565b60006130b16013836133c3565b91506130bc8261397d565b602082019050919050565b6130d081613568565b82525050565b60006130e28284612e7a565b60148201915081905092915050565b60006130fd8285612eaf565b60208201915061310d8284612eaf565b6020820191508190509392505050565b60006131298285612f38565b91506131358284612f38565b915061314082612faf565b91508190509392505050565b60006020820190506131616000830184612e6b565b92915050565b600060808201905061317c6000830187612e6b565b6131896020830186612e6b565b61319660408301856130c7565b81810360608301526131a88184612ec6565b905095945050505050565b60006020820190506131c86000830184612e91565b92915050565b60006020820190506131e36000830184612ea0565b92915050565b600060208201905081810360008301526132038184612eff565b905092915050565b6000602082019050818103600083015261322481612f69565b9050919050565b6000602082019050818103600083015261324481612f8c565b9050919050565b6000602082019050818103600083015261326481612fd2565b9050919050565b6000602082019050818103600083015261328481612ff5565b9050919050565b600060208201905081810360008301526132a481613018565b9050919050565b600060208201905081810360008301526132c48161303b565b9050919050565b600060208201905081810360008301526132e48161305e565b9050919050565b6000602082019050818103600083015261330481613081565b9050919050565b60006020820190508181036000830152613324816130a4565b9050919050565b600060208201905061334060008301846130c7565b92915050565b6000613350613361565b905061335c82826135e6565b919050565b6000604051905090565b600067ffffffffffffffff8211156133865761338561377b565b5b61338f826137c8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006133ea82613568565b91506133f583613568565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561342a576134296136bf565b5b828201905092915050565b600061344082613568565b915061344b83613568565b92508261345b5761345a6136ee565b5b828204905092915050565b600061347182613568565b915061347c83613568565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134b5576134b46136bf565b5b828202905092915050565b60006134cb82613568565b91506134d683613568565b9250828210156134e9576134e86136bf565b5b828203905092915050565b60006134ff82613548565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561359f578082015181840152602081019050613584565b838111156135ae576000848401525b50505050565b600060028204905060018216806135cc57607f821691505b602082108114156135e0576135df61371d565b5b50919050565b6135ef826137c8565b810181811067ffffffffffffffff8211171561360e5761360d61377b565b5b80604052505050565b600061362282613568565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613655576136546136bf565b5b600182019050919050565b600061366b8261367c565b9050919050565b6000819050919050565b6000613687826137d9565b9050919050565b600061369982613568565b91506136a483613568565b9250826136b4576136b36136ee565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f496e76616c69642070726f6f662e000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f55524920646f6573206e6f742065786973742100000000000000000000000000600082015250565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6139af816134f4565b81146139ba57600080fd5b50565b6139c681613506565b81146139d157600080fd5b50565b6139dd81613512565b81146139e857600080fd5b50565b6139f48161351c565b81146139ff57600080fd5b50565b613a0b81613568565b8114613a1657600080fd5b5056fea26469706673582212204033d86d28693e9abe0142a18b6b89a122e93ad3f77d91e37fd471848fe79b3664736f6c63430008070033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.