Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,598 MH
Holders
49
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
54 MHLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MonsterHuntress
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-25 */ // SPDX-License-Identifier: MIT // File: contracts/automint.sol // File 1: Address.sol // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // FILE 2: Context.sol pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File 3: Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ 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); } } // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File 4: Ownable.sol pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File 5: IERC165.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface 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); } // File 6: IERC721.sol pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; } // File 7: IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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 returns (string memory); } // File 8: ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File 9: ERC721.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @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 virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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 overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); if (to.isContract()) { revert ("Token transfer to contract address is not allowed."); } else { _approve(to, tokenId); } // _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), 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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File 10: IERC721Enumerable.sol pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File 11: ERC721Enumerable.sol pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File 12: IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File 13: ERC721A.sol pragma solidity ^0.8.0; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 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 Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable, Ownable { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. 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; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; } // The tokenId of the next token to be minted. uint256 internal _currentIndex = 1; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; //Allow all tokens to transfer to contract bool public allowedToContract = false; function setAllowToContract() external onlyOwner { allowedToContract = !allowedToContract; } // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; // Mapping token to allow to transfer to contract mapping(uint256 => bool) public _transferToContract; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; function setAllowTokenToContract(uint256 _tokenId, bool _allow) external onlyOwner { _transferToContract[_tokenId] = _allow; } constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex times unchecked { return _currentIndex - _burnCounter; } } /** * @dev See {IERC721Enumerable-tokenByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenByIndex(uint256 index) public view override returns (uint256) { uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (!ownership.burned) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } revert TokenIndexOutOfBounds(); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds(); uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } // Execution should never reach this point. revert(); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * 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) { uint256 curr = tokenId; unchecked { if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // 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. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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 virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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 See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } if(!allowedToContract && !_transferToContract[tokenId]){ if (to.isContract()) { revert ("Token transfer to contract address is not allowed."); } else { _approve(to, tokenId, owner); } } else { _approve(to, tokenId, owner); } } /** * @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 override { if (operator == _msgSender()) revert ApproveToCaller(); if(!allowedToContract){ if (operator.isContract()) { revert ("Token transfer to contract address is not allowed."); } else { _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } } else { _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), 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 (!_checkOnERC721Received(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) { require(tokenId > 0, "Invalid TokenId"); return tokenId < _currentIndex && !_ownerships[tokenId].burned; } 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 { _mint(to, quantity, _data, true); } /** * @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, bytes memory _data, bool safe ) 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 { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) { revert TransferToNonERC721ReceiverImplementer(); } updatedIndex++; } _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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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 { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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 { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if(!allowedToContract && !_transferToContract[tokenId]){ if (to.isContract()) { revert ("Token transfer to contract address is not allowed."); } else { return true; } } else { return true; } } /** * @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 {} } // FILE 14: T12.sol contract MonsterHuntress is ERC721A { using Strings for uint256; uint256 public cost; uint256 public maxSupply; string private BASE_URI; uint256 public MAX_MINT_AMOUNT_PER_TX; bool public IS_SALE_ACTIVE; constructor( uint256 price, uint256 max_Supply, string memory baseUri, uint256 maxMintPerTx, bool isSaleActive ) ERC721A("Monster Huntress", "MH") { cost = price; maxSupply = max_Supply; BASE_URI = baseUri; MAX_MINT_AMOUNT_PER_TX = maxMintPerTx; IS_SALE_ACTIVE = isSaleActive; } /** GETTERS **/ function _baseURI() internal view virtual override returns (string memory) { return BASE_URI; } /** SETTERS **/ function setPrice(uint256 customPrice) external onlyOwner { cost = customPrice; } function lowerMaxSupply(uint256 newMaxSupply) external onlyOwner { require(newMaxSupply >= _currentIndex, "Invalid new max supply"); maxSupply = newMaxSupply; } function setBaseURI(string memory customBaseURI_) external onlyOwner { BASE_URI = customBaseURI_; } function setMaxMintPerTx(uint256 maxMintPerTx) external onlyOwner { MAX_MINT_AMOUNT_PER_TX = maxMintPerTx; } function setSaleActive(bool saleIsActive) external onlyOwner { IS_SALE_ACTIVE = saleIsActive; } /** MINT **/ modifier mintCompliance(uint256 _mintAmount) { require( _mintAmount > 0 && _mintAmount <= MAX_MINT_AMOUNT_PER_TX, "Invalid mint amount!" ); require( _currentIndex + _mintAmount <= maxSupply, "Max supply exceeded!" ); _; } function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) { require(IS_SALE_ACTIVE, "Sale is not active!"); uint256 price = cost * _mintAmount; require(msg.value >= price, "Insufficient funds!"); _safeMint(msg.sender, _mintAmount); } function godMint(address _to, uint256 _mintAmount) public mintCompliance(_mintAmount) onlyOwner { _safeMint(_to, _mintAmount); } /** PAYOUT **/ function withdraw() external onlyOwner { (bool success, ) = payable(msg.sender).call{value: address(this).balance}(""); require(success, "Transfer failed."); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"max_Supply","type":"uint256"},{"internalType":"string","name":"baseUri","type":"string"},{"internalType":"uint256","name":"maxMintPerTx","type":"uint256"},{"internalType":"bool","name":"isSaleActive","type":"bool"}],"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":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","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":"IS_SALE_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_AMOUNT_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_transferToContract","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowedToContract","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_to","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"godMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"lowerMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setAllowToContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bool","name":"_allow","type":"bool"}],"name":"setAllowTokenToContract","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":"customBaseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMintPerTx","type":"uint256"}],"name":"setMaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"customPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"saleIsActive","type":"bool"}],"name":"setSaleActive","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600180556005805460ff191690553480156200001f57600080fd5b506040516200230938038062002309833981016040819052620000429162000211565b6040518060400160405280601081526020016f4d6f6e737465722048756e747265737360801b8152506040518060400160405280600281526020016109a960f31b8152506000620000986200015160201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000f790600390602085019062000155565b5080516200010d90600490602084019062000155565b505050600d859055600e84905582516200012f90600f90602086019062000155565b506010919091556011805460ff19169115159190911790555062000374915050565b3390565b828054620001639062000321565b90600052602060002090601f016020900481019282620001875760008555620001d2565b82601f10620001a257805160ff1916838001178555620001d2565b82800160010185558215620001d2579182015b82811115620001d2578251825591602001919060010190620001b5565b50620001e0929150620001e4565b5090565b5b80821115620001e05760008155600101620001e5565b805180151581146200020c57600080fd5b919050565b600080600080600060a086880312156200022a57600080fd5b855160208088015160408901519297509550906001600160401b03808211156200025357600080fd5b818901915089601f8301126200026857600080fd5b8151818111156200027d576200027d6200035e565b604051601f8201601f19908116603f01168101908382118183101715620002a857620002a86200035e565b816040528281528c86848701011115620002c157600080fd5b600093505b82841015620002e55784840186015181850187015292850192620002c6565b82841115620002f75760008684830101525b809850505050505050606086015191506200031560808701620001fb565b90509295509295909350565b600181811c908216806200033657607f821691505b602082108114156200035857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611f8580620003846000396000f3fe6080604052600436106102045760003560e01c80636352211e11610118578063a0712d68116100a0578063c4e9374d1161006f578063c4e9374d146105b6578063c87b56dd146105d6578063d5abeb01146105f6578063e985e9c51461060c578063f2fde38b1461065557600080fd5b8063a0712d6814610533578063a22cb46514610546578063b88d4fde14610566578063c08051971461058657600080fd5b8063801fe59b116100e7578063801fe59b146104ab578063841718a6146104c05780638da5cb5b146104e057806391b7f5ed146104fe57806395d89b411461051e57600080fd5b80636352211e1461043c57806370a082311461045c578063715018a61461047c57806376d02b711461049157600080fd5b80632f745c591161019b5780634aaf78f11161016a5780634aaf78f1146103a25780634f6ccce7146103bc57806355a55465146103dc57806355f804b3146103fc578063616cdb1e1461041c57600080fd5b80632f745c591461032d5780633ccfd60b1461034d57806341f4a21e1461036257806342842e0e1461038257600080fd5b806309ef6527116101d757806309ef6527146102ba57806313faede6146102de57806318160ddd146102f457806323b872dd1461030d57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004611c67565b610675565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b506102536106e2565b6040516102359190611d45565b34801561026c57600080fd5b5061028061027b366004611cda565b610774565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b3366004611c22565b6107b8565b005b3480156102c657600080fd5b506102d060105481565b604051908152602001610235565b3480156102ea57600080fd5b506102d0600d5481565b34801561030057600080fd5b50600254600154036102d0565b34801561031957600080fd5b506102b8610328366004611b40565b61089e565b34801561033957600080fd5b506102d0610348366004611c22565b6108a9565b34801561035957600080fd5b506102b861099d565b34801561036e57600080fd5b506102b861037d366004611c22565b610a55565b34801561038e57600080fd5b506102b861039d366004611b40565b610b35565b3480156103ae57600080fd5b506005546102299060ff1681565b3480156103c857600080fd5b506102d06103d7366004611cda565b610b50565b3480156103e857600080fd5b506102b86103f7366004611cf3565b610bf4565b34801561040857600080fd5b506102b8610417366004611c91565b610c3e565b34801561042857600080fd5b506102b8610437366004611cda565b610c7f565b34801561044857600080fd5b50610280610457366004611cda565b610cae565b34801561046857600080fd5b506102d0610477366004611af2565b610cc0565b34801561048857600080fd5b506102b8610d0f565b34801561049d57600080fd5b506011546102299060ff1681565b3480156104b757600080fd5b506102b8610d83565b3480156104cc57600080fd5b506102b86104db366004611c4c565b610dc1565b3480156104ec57600080fd5b506000546001600160a01b0316610280565b34801561050a57600080fd5b506102b8610519366004611cda565b610dfe565b34801561052a57600080fd5b50610253610e2d565b6102b8610541366004611cda565b610e3c565b34801561055257600080fd5b506102b8610561366004611bf8565b610f92565b34801561057257600080fd5b506102b8610581366004611b7c565b61105a565b34801561059257600080fd5b506102296105a1366004611cda565b600a6020526000908152604090205460ff1681565b3480156105c257600080fd5b506102b86105d1366004611cda565b611094565b3480156105e257600080fd5b506102536105f1366004611cda565b61110e565b34801561060257600080fd5b506102d0600e5481565b34801561061857600080fd5b50610229610627366004611b0d565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b34801561066157600080fd5b506102b8610670366004611af2565b6111d9565b60006001600160e01b031982166380ac58cd60e01b14806106a657506001600160e01b03198216635b5e139f60e01b145b806106c157506001600160e01b0319821663780e9d6360e01b145b806106dc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546106f190611e8d565b80601f016020809104026020016040519081016040528092919081815260200182805461071d90611e8d565b801561076a5780601f1061073f5761010080835404028352916020019161076a565b820191906000526020600020905b81548152906001019060200180831161074d57829003601f168201915b5050505050905090565b600061077f826112c3565b61079c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006107c382610cae565b9050806001600160a01b0316836001600160a01b031614156107f85760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061081857506108168133610627565b155b15610836576040516367d9dca160e11b815260040160405180910390fd5b60055460ff1615801561085857506000828152600a602052604090205460ff16155b1561088e576001600160a01b0383163b1561088e5760405162461bcd60e51b815260040161088590611d78565b60405180910390fd5b610899838383611330565b505050565b61089983838361138c565b60006108b483610cc0565b82106108d3576040516306ed618760e11b815260040160405180910390fd5b600154600080805b8381101561099757600081815260066020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161580159282019290925290610943575061098f565b80516001600160a01b03161561095857805192505b876001600160a01b0316836001600160a01b0316141561098d5786841415610986575093506106dc92505050565b6001909301925b505b6001016108db565b50600080fd5b6000546001600160a01b031633146109c75760405162461bcd60e51b815260040161088590611dca565b604051600090339047908381818185875af1925050503d8060008114610a09576040519150601f19603f3d011682016040523d82523d6000602084013e610a0e565b606091505b5050905080610a525760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610885565b50565b80600081118015610a6857506010548111155b610aab5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610885565b600e5481600154610abc9190611dff565b1115610b015760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610885565b6000546001600160a01b03163314610b2b5760405162461bcd60e51b815260040161088590611dca565b61089983836115a2565b6108998383836040518060200160405280600081525061105a565b60015460009081805b82811015610bda57600081815260066020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610bd15785831415610bca5750949350505050565b6001909201915b50600101610b59565b506040516329c8c00760e21b815260040160405180910390fd5b6000546001600160a01b03163314610c1e5760405162461bcd60e51b815260040161088590611dca565b6000918252600a6020526040909120805460ff1916911515919091179055565b6000546001600160a01b03163314610c685760405162461bcd60e51b815260040161088590611dca565b8051610c7b90600f9060208401906119b7565b5050565b6000546001600160a01b03163314610ca95760405162461bcd60e51b815260040161088590611dca565b601055565b6000610cb9826115bc565b5192915050565b60006001600160a01b038216610ce9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314610d395760405162461bcd60e51b815260040161088590611dca565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610dad5760405162461bcd60e51b815260040161088590611dca565b6005805460ff19811660ff90911615179055565b6000546001600160a01b03163314610deb5760405162461bcd60e51b815260040161088590611dca565b6011805460ff1916911515919091179055565b6000546001600160a01b03163314610e285760405162461bcd60e51b815260040161088590611dca565b600d55565b6060600480546106f190611e8d565b80600081118015610e4f57506010548111155b610e925760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610885565b600e5481600154610ea39190611dff565b1115610ee85760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610885565b60115460ff16610f305760405162461bcd60e51b815260206004820152601360248201527253616c65206973206e6f74206163746976652160681b6044820152606401610885565b600082600d54610f409190611e2b565b905080341015610f885760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610885565b61089933846115a2565b6001600160a01b038216331415610fbc5760405163b06307db60e01b815260040160405180910390fd5b60055460ff16610fee576001600160a01b0382163b15610fee5760405162461bcd60e51b815260040161088590611d78565b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61106584848461138c565b611071848484846116d9565b61108e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b031633146110be5760405162461bcd60e51b815260040161088590611dca565b6001548110156111095760405162461bcd60e51b8152602060048201526016602482015275496e76616c6964206e6577206d617820737570706c7960501b6044820152606401610885565b600e55565b6060611119826112c3565b61117d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610885565b6000611187611737565b905060008151116111a757604051806020016040528060008152506111d2565b806111b184611746565b6040516020016111c2929190611d16565b6040516020818303038152906040525b9392505050565b6000546001600160a01b031633146112035760405162461bcd60e51b815260040161088590611dca565b6001600160a01b0381166112685760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610885565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008082116113065760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a5908151bdad95b9259608a1b6044820152606401610885565b600154821080156106dc575050600090815260066020526040902054600160e01b900460ff161590565b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611397826115bc565b80519091506000906001600160a01b0316336001600160a01b031614806113c5575081516113c59033610627565b806113e05750336113d584610774565b6001600160a01b0316145b90508061140057604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146114355760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661145c57604051633a954ecd60e21b815260040160405180910390fd5b61146c6000848460000151611330565b6001600160a01b038581166000908152600760209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600690945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661155857600154811015611558578251600082815260066020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b610c7b828260405180602001604052806000815250611844565b604080516060810182526000808252602082018190529181019190915260015482908110156116c057600081815260066020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906116be5780516001600160a01b031615611654579392505050565b5060001901600081815260066020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156116b9579392505050565b611654565b505b604051636f96cda160e11b815260040160405180910390fd5b60055460009060ff161580156116fe57506000838152600a602052604090205460ff16155b1561172b576001600160a01b0384163b1561172b5760405162461bcd60e51b815260040161088590611d78565b5060015b949350505050565b6060600f80546106f190611e8d565b60608161176a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611794578061177e81611ec8565b915061178d9050600a83611e17565b915061176e565b60008167ffffffffffffffff8111156117af576117af611f39565b6040519080825280601f01601f1916602001820160405280156117d9576020820181803683370190505b5090505b841561172f576117ee600183611e4a565b91506117fb600a86611ee3565b611806906030611dff565b60f81b81838151811061181b5761181b611f23565b60200101906001600160f81b031916908160001a90535061183d600a86611e17565b94506117dd565b610899838383600180546001600160a01b03851661187457604051622e076360e81b815260040160405180910390fd5b836118925760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260076020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526006909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b858110156119ae5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015611984575061198260008884886116d9565b155b156119a2576040516368d2bf6b60e11b815260040160405180910390fd5b6001918201910161192d565b5060015561159b565b8280546119c390611e8d565b90600052602060002090601f0160209004810192826119e55760008555611a2b565b82601f106119fe57805160ff1916838001178555611a2b565b82800160010185558215611a2b579182015b82811115611a2b578251825591602001919060010190611a10565b50611a37929150611a3b565b5090565b5b80821115611a375760008155600101611a3c565b600067ffffffffffffffff80841115611a6b57611a6b611f39565b604051601f8501601f19908116603f01168101908282118183101715611a9357611a93611f39565b81604052809350858152868686011115611aac57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611add57600080fd5b919050565b80358015158114611add57600080fd5b600060208284031215611b0457600080fd5b6111d282611ac6565b60008060408385031215611b2057600080fd5b611b2983611ac6565b9150611b3760208401611ac6565b90509250929050565b600080600060608486031215611b5557600080fd5b611b5e84611ac6565b9250611b6c60208501611ac6565b9150604084013590509250925092565b60008060008060808587031215611b9257600080fd5b611b9b85611ac6565b9350611ba960208601611ac6565b925060408501359150606085013567ffffffffffffffff811115611bcc57600080fd5b8501601f81018713611bdd57600080fd5b611bec87823560208401611a50565b91505092959194509250565b60008060408385031215611c0b57600080fd5b611c1483611ac6565b9150611b3760208401611ae2565b60008060408385031215611c3557600080fd5b611c3e83611ac6565b946020939093013593505050565b600060208284031215611c5e57600080fd5b6111d282611ae2565b600060208284031215611c7957600080fd5b81356001600160e01b0319811681146111d257600080fd5b600060208284031215611ca357600080fd5b813567ffffffffffffffff811115611cba57600080fd5b8201601f81018413611ccb57600080fd5b61172f84823560208401611a50565b600060208284031215611cec57600080fd5b5035919050565b60008060408385031215611d0657600080fd5b82359150611b3760208401611ae2565b60008351611d28818460208801611e61565b835190830190611d3c818360208801611e61565b01949350505050565b6020815260008251806020840152611d64816040850160208701611e61565b601f01601f19169190910160400192915050565b60208082526032908201527f546f6b656e207472616e7366657220746f20636f6e747261637420616464726560408201527139b99034b9903737ba1030b63637bbb2b21760711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611e1257611e12611ef7565b500190565b600082611e2657611e26611f0d565b500490565b6000816000190483118215151615611e4557611e45611ef7565b500290565b600082821015611e5c57611e5c611ef7565b500390565b60005b83811015611e7c578181015183820152602001611e64565b8381111561108e5750506000910152565b600181811c90821680611ea157607f821691505b60208210811415611ec257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611edc57611edc611ef7565b5060010190565b600082611ef257611ef2611f0d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212205778d99c7fb17b4953a98f9471450bd935037c7fc60cda2f499f9cf0a8ac67ae64736f6c634300080700330000000000000000000000000000000000000000000000000001c6bf52634000000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f67616d65726964732e636f6d2f6d6574615f68756e7465722f6a736f6e2f0000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102045760003560e01c80636352211e11610118578063a0712d68116100a0578063c4e9374d1161006f578063c4e9374d146105b6578063c87b56dd146105d6578063d5abeb01146105f6578063e985e9c51461060c578063f2fde38b1461065557600080fd5b8063a0712d6814610533578063a22cb46514610546578063b88d4fde14610566578063c08051971461058657600080fd5b8063801fe59b116100e7578063801fe59b146104ab578063841718a6146104c05780638da5cb5b146104e057806391b7f5ed146104fe57806395d89b411461051e57600080fd5b80636352211e1461043c57806370a082311461045c578063715018a61461047c57806376d02b711461049157600080fd5b80632f745c591161019b5780634aaf78f11161016a5780634aaf78f1146103a25780634f6ccce7146103bc57806355a55465146103dc57806355f804b3146103fc578063616cdb1e1461041c57600080fd5b80632f745c591461032d5780633ccfd60b1461034d57806341f4a21e1461036257806342842e0e1461038257600080fd5b806309ef6527116101d757806309ef6527146102ba57806313faede6146102de57806318160ddd146102f457806323b872dd1461030d57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004611c67565b610675565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b506102536106e2565b6040516102359190611d45565b34801561026c57600080fd5b5061028061027b366004611cda565b610774565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b3366004611c22565b6107b8565b005b3480156102c657600080fd5b506102d060105481565b604051908152602001610235565b3480156102ea57600080fd5b506102d0600d5481565b34801561030057600080fd5b50600254600154036102d0565b34801561031957600080fd5b506102b8610328366004611b40565b61089e565b34801561033957600080fd5b506102d0610348366004611c22565b6108a9565b34801561035957600080fd5b506102b861099d565b34801561036e57600080fd5b506102b861037d366004611c22565b610a55565b34801561038e57600080fd5b506102b861039d366004611b40565b610b35565b3480156103ae57600080fd5b506005546102299060ff1681565b3480156103c857600080fd5b506102d06103d7366004611cda565b610b50565b3480156103e857600080fd5b506102b86103f7366004611cf3565b610bf4565b34801561040857600080fd5b506102b8610417366004611c91565b610c3e565b34801561042857600080fd5b506102b8610437366004611cda565b610c7f565b34801561044857600080fd5b50610280610457366004611cda565b610cae565b34801561046857600080fd5b506102d0610477366004611af2565b610cc0565b34801561048857600080fd5b506102b8610d0f565b34801561049d57600080fd5b506011546102299060ff1681565b3480156104b757600080fd5b506102b8610d83565b3480156104cc57600080fd5b506102b86104db366004611c4c565b610dc1565b3480156104ec57600080fd5b506000546001600160a01b0316610280565b34801561050a57600080fd5b506102b8610519366004611cda565b610dfe565b34801561052a57600080fd5b50610253610e2d565b6102b8610541366004611cda565b610e3c565b34801561055257600080fd5b506102b8610561366004611bf8565b610f92565b34801561057257600080fd5b506102b8610581366004611b7c565b61105a565b34801561059257600080fd5b506102296105a1366004611cda565b600a6020526000908152604090205460ff1681565b3480156105c257600080fd5b506102b86105d1366004611cda565b611094565b3480156105e257600080fd5b506102536105f1366004611cda565b61110e565b34801561060257600080fd5b506102d0600e5481565b34801561061857600080fd5b50610229610627366004611b0d565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b34801561066157600080fd5b506102b8610670366004611af2565b6111d9565b60006001600160e01b031982166380ac58cd60e01b14806106a657506001600160e01b03198216635b5e139f60e01b145b806106c157506001600160e01b0319821663780e9d6360e01b145b806106dc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546106f190611e8d565b80601f016020809104026020016040519081016040528092919081815260200182805461071d90611e8d565b801561076a5780601f1061073f5761010080835404028352916020019161076a565b820191906000526020600020905b81548152906001019060200180831161074d57829003601f168201915b5050505050905090565b600061077f826112c3565b61079c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006107c382610cae565b9050806001600160a01b0316836001600160a01b031614156107f85760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061081857506108168133610627565b155b15610836576040516367d9dca160e11b815260040160405180910390fd5b60055460ff1615801561085857506000828152600a602052604090205460ff16155b1561088e576001600160a01b0383163b1561088e5760405162461bcd60e51b815260040161088590611d78565b60405180910390fd5b610899838383611330565b505050565b61089983838361138c565b60006108b483610cc0565b82106108d3576040516306ed618760e11b815260040160405180910390fd5b600154600080805b8381101561099757600081815260066020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161580159282019290925290610943575061098f565b80516001600160a01b03161561095857805192505b876001600160a01b0316836001600160a01b0316141561098d5786841415610986575093506106dc92505050565b6001909301925b505b6001016108db565b50600080fd5b6000546001600160a01b031633146109c75760405162461bcd60e51b815260040161088590611dca565b604051600090339047908381818185875af1925050503d8060008114610a09576040519150601f19603f3d011682016040523d82523d6000602084013e610a0e565b606091505b5050905080610a525760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610885565b50565b80600081118015610a6857506010548111155b610aab5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610885565b600e5481600154610abc9190611dff565b1115610b015760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610885565b6000546001600160a01b03163314610b2b5760405162461bcd60e51b815260040161088590611dca565b61089983836115a2565b6108998383836040518060200160405280600081525061105a565b60015460009081805b82811015610bda57600081815260066020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610bd15785831415610bca5750949350505050565b6001909201915b50600101610b59565b506040516329c8c00760e21b815260040160405180910390fd5b6000546001600160a01b03163314610c1e5760405162461bcd60e51b815260040161088590611dca565b6000918252600a6020526040909120805460ff1916911515919091179055565b6000546001600160a01b03163314610c685760405162461bcd60e51b815260040161088590611dca565b8051610c7b90600f9060208401906119b7565b5050565b6000546001600160a01b03163314610ca95760405162461bcd60e51b815260040161088590611dca565b601055565b6000610cb9826115bc565b5192915050565b60006001600160a01b038216610ce9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314610d395760405162461bcd60e51b815260040161088590611dca565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610dad5760405162461bcd60e51b815260040161088590611dca565b6005805460ff19811660ff90911615179055565b6000546001600160a01b03163314610deb5760405162461bcd60e51b815260040161088590611dca565b6011805460ff1916911515919091179055565b6000546001600160a01b03163314610e285760405162461bcd60e51b815260040161088590611dca565b600d55565b6060600480546106f190611e8d565b80600081118015610e4f57506010548111155b610e925760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610885565b600e5481600154610ea39190611dff565b1115610ee85760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610885565b60115460ff16610f305760405162461bcd60e51b815260206004820152601360248201527253616c65206973206e6f74206163746976652160681b6044820152606401610885565b600082600d54610f409190611e2b565b905080341015610f885760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610885565b61089933846115a2565b6001600160a01b038216331415610fbc5760405163b06307db60e01b815260040160405180910390fd5b60055460ff16610fee576001600160a01b0382163b15610fee5760405162461bcd60e51b815260040161088590611d78565b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61106584848461138c565b611071848484846116d9565b61108e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b031633146110be5760405162461bcd60e51b815260040161088590611dca565b6001548110156111095760405162461bcd60e51b8152602060048201526016602482015275496e76616c6964206e6577206d617820737570706c7960501b6044820152606401610885565b600e55565b6060611119826112c3565b61117d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610885565b6000611187611737565b905060008151116111a757604051806020016040528060008152506111d2565b806111b184611746565b6040516020016111c2929190611d16565b6040516020818303038152906040525b9392505050565b6000546001600160a01b031633146112035760405162461bcd60e51b815260040161088590611dca565b6001600160a01b0381166112685760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610885565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008082116113065760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a5908151bdad95b9259608a1b6044820152606401610885565b600154821080156106dc575050600090815260066020526040902054600160e01b900460ff161590565b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611397826115bc565b80519091506000906001600160a01b0316336001600160a01b031614806113c5575081516113c59033610627565b806113e05750336113d584610774565b6001600160a01b0316145b90508061140057604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146114355760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661145c57604051633a954ecd60e21b815260040160405180910390fd5b61146c6000848460000151611330565b6001600160a01b038581166000908152600760209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600690945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661155857600154811015611558578251600082815260066020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b610c7b828260405180602001604052806000815250611844565b604080516060810182526000808252602082018190529181019190915260015482908110156116c057600081815260066020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906116be5780516001600160a01b031615611654579392505050565b5060001901600081815260066020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156116b9579392505050565b611654565b505b604051636f96cda160e11b815260040160405180910390fd5b60055460009060ff161580156116fe57506000838152600a602052604090205460ff16155b1561172b576001600160a01b0384163b1561172b5760405162461bcd60e51b815260040161088590611d78565b5060015b949350505050565b6060600f80546106f190611e8d565b60608161176a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611794578061177e81611ec8565b915061178d9050600a83611e17565b915061176e565b60008167ffffffffffffffff8111156117af576117af611f39565b6040519080825280601f01601f1916602001820160405280156117d9576020820181803683370190505b5090505b841561172f576117ee600183611e4a565b91506117fb600a86611ee3565b611806906030611dff565b60f81b81838151811061181b5761181b611f23565b60200101906001600160f81b031916908160001a90535061183d600a86611e17565b94506117dd565b610899838383600180546001600160a01b03851661187457604051622e076360e81b815260040160405180910390fd5b836118925760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260076020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526006909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b858110156119ae5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015611984575061198260008884886116d9565b155b156119a2576040516368d2bf6b60e11b815260040160405180910390fd5b6001918201910161192d565b5060015561159b565b8280546119c390611e8d565b90600052602060002090601f0160209004810192826119e55760008555611a2b565b82601f106119fe57805160ff1916838001178555611a2b565b82800160010185558215611a2b579182015b82811115611a2b578251825591602001919060010190611a10565b50611a37929150611a3b565b5090565b5b80821115611a375760008155600101611a3c565b600067ffffffffffffffff80841115611a6b57611a6b611f39565b604051601f8501601f19908116603f01168101908282118183101715611a9357611a93611f39565b81604052809350858152868686011115611aac57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611add57600080fd5b919050565b80358015158114611add57600080fd5b600060208284031215611b0457600080fd5b6111d282611ac6565b60008060408385031215611b2057600080fd5b611b2983611ac6565b9150611b3760208401611ac6565b90509250929050565b600080600060608486031215611b5557600080fd5b611b5e84611ac6565b9250611b6c60208501611ac6565b9150604084013590509250925092565b60008060008060808587031215611b9257600080fd5b611b9b85611ac6565b9350611ba960208601611ac6565b925060408501359150606085013567ffffffffffffffff811115611bcc57600080fd5b8501601f81018713611bdd57600080fd5b611bec87823560208401611a50565b91505092959194509250565b60008060408385031215611c0b57600080fd5b611c1483611ac6565b9150611b3760208401611ae2565b60008060408385031215611c3557600080fd5b611c3e83611ac6565b946020939093013593505050565b600060208284031215611c5e57600080fd5b6111d282611ae2565b600060208284031215611c7957600080fd5b81356001600160e01b0319811681146111d257600080fd5b600060208284031215611ca357600080fd5b813567ffffffffffffffff811115611cba57600080fd5b8201601f81018413611ccb57600080fd5b61172f84823560208401611a50565b600060208284031215611cec57600080fd5b5035919050565b60008060408385031215611d0657600080fd5b82359150611b3760208401611ae2565b60008351611d28818460208801611e61565b835190830190611d3c818360208801611e61565b01949350505050565b6020815260008251806020840152611d64816040850160208701611e61565b601f01601f19169190910160400192915050565b60208082526032908201527f546f6b656e207472616e7366657220746f20636f6e747261637420616464726560408201527139b99034b9903737ba1030b63637bbb2b21760711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611e1257611e12611ef7565b500190565b600082611e2657611e26611f0d565b500490565b6000816000190483118215151615611e4557611e45611ef7565b500290565b600082821015611e5c57611e5c611ef7565b500390565b60005b83811015611e7c578181015183820152602001611e64565b8381111561108e5750506000910152565b600181811c90821680611ea157607f821691505b60208210811415611ec257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611edc57611edc611ef7565b5060010190565b600082611ef257611ef2611f0d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212205778d99c7fb17b4953a98f9471450bd935037c7fc60cda2f499f9cf0a8ac67ae64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000001c6bf52634000000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f67616d65726964732e636f6d2f6d6574615f68756e7465722f6a736f6e2f0000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : price (uint256): 500000000000000
Arg [1] : max_Supply (uint256): 5000
Arg [2] : baseUri (string): https://gamerids.com/meta_hunter/json/
Arg [3] : maxMintPerTx (uint256): 66
Arg [4] : isSaleActive (bool): False
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000001c6bf52634000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000001388
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000026
Arg [6] : 68747470733a2f2f67616d65726964732e636f6d2f6d6574615f68756e746572
Arg [7] : 2f6a736f6e2f0000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
69598:2549:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52699:372;;;;;;;;;;-1:-1:-1;52699:372:0;;;;;:::i;:::-;;:::i;:::-;;;5398:14:1;;5391:22;5373:41;;5361:2;5346:18;52699:372:0;;;;;;;;55309:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;57120:204::-;;;;;;;;;;-1:-1:-1;57120:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5189:32:1;;;5171:51;;5159:2;5144:18;57120:204:0;5025:203:1;56386:668:0;;;;;;;;;;-1:-1:-1;56386:668:0;;;;;:::i;:::-;;:::i;:::-;;69760:37;;;;;;;;;;;;;;;;;;;9996:25:1;;;9984:2;9969:18;69760:37:0;9850:177:1;69673:19:0;;;;;;;;;;;;;;;;49928:288;;;;;;;;;;-1:-1:-1;50181:12:0;;50165:13;;:28;49928:288;;58358:170;;;;;;;;;;-1:-1:-1;58358:170:0;;;;;:::i;:::-;;:::i;51522:1105::-;;;;;;;;;;-1:-1:-1;51522:1105:0;;;;;:::i;:::-;;:::i;71960:182::-;;;;;;;;;;;;;:::i;71756:174::-;;;;;;;;;;-1:-1:-1;71756:174:0;;;;;:::i;:::-;;:::i;58599:185::-;;;;;;;;;;-1:-1:-1;58599:185:0;;;;;:::i;:::-;;:::i;48528:37::-;;;;;;;;;;-1:-1:-1;48528:37:0;;;;;;;;50509:713;;;;;;;;;;-1:-1:-1;50509:713:0;;;;;:::i;:::-;;:::i;49588:140::-;;;;;;;;;;-1:-1:-1;49588:140:0;;;;;:::i;:::-;;:::i;70688:113::-;;;;;;;;;;-1:-1:-1;70688:113:0;;;;;:::i;:::-;;:::i;70816:122::-;;;;;;;;;;-1:-1:-1;70816:122:0;;;;;:::i;:::-;;:::i;55118:124::-;;;;;;;;;;-1:-1:-1;55118:124:0;;;;;:::i;:::-;;:::i;53135:206::-;;;;;;;;;;-1:-1:-1;53135:206:0;;;;;:::i;:::-;;:::i;14747:148::-;;;;;;;;;;;;;:::i;69804:26::-;;;;;;;;;;-1:-1:-1;69804:26:0;;;;;;;;48574:106;;;;;;;;;;;;;:::i;70946:109::-;;;;;;;;;;-1:-1:-1;70946:109:0;;;;;:::i;:::-;;:::i;14096:87::-;;;;;;;;;;-1:-1:-1;14142:7:0;14169:6;-1:-1:-1;;;;;14169:6:0;14096:87;;70392:95;;;;;;;;;;-1:-1:-1;70392:95:0;;;;;:::i;:::-;;:::i;55478:104::-;;;;;;;;;;;;;:::i;71416:332::-;;;;;;:::i;:::-;;:::i;57396:660::-;;;;;;;;;;-1:-1:-1;57396:660:0;;;;;:::i;:::-;;:::i;58855:342::-;;;;;;;;;;-1:-1:-1;58855:342:0;;;;;:::i;:::-;;:::i;49326:51::-;;;;;;;;;;-1:-1:-1;49326:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;70497:183;;;;;;;;;;-1:-1:-1;70497:183:0;;;;;:::i;:::-;;:::i;55653:329::-;;;;;;;;;;-1:-1:-1;55653:329:0;;;;;:::i;:::-;;:::i;69699:24::-;;;;;;;;;;;;;;;;58127:164;;;;;;;;;;-1:-1:-1;58127:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;58248:25:0;;;58224:4;58248:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;58127:164;15050:244;;;;;;;;;;-1:-1:-1;15050:244:0;;;;;:::i;:::-;;:::i;52699:372::-;52801:4;-1:-1:-1;;;;;;52838:40:0;;-1:-1:-1;;;52838:40:0;;:105;;-1:-1:-1;;;;;;;52895:48:0;;-1:-1:-1;;;52895:48:0;52838:105;:172;;;-1:-1:-1;;;;;;;52960:50:0;;-1:-1:-1;;;52960:50:0;52838:172;:225;;;-1:-1:-1;;;;;;;;;;22479:40:0;;;53027:36;52818:245;52699:372;-1:-1:-1;;52699:372:0:o;55309:100::-;55363:13;55396:5;55389:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55309:100;:::o;57120:204::-;57188:7;57213:16;57221:7;57213;:16::i;:::-;57208:64;;57238:34;;-1:-1:-1;;;57238:34:0;;;;;;;;;;;57208:64;-1:-1:-1;57292:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;57292:24:0;;57120:204::o;56386:668::-;56459:13;56475:24;56491:7;56475:15;:24::i;:::-;56459:40;;56520:5;-1:-1:-1;;;;;56514:11:0;:2;-1:-1:-1;;;;;56514:11:0;;56510:48;;;56534:24;;-1:-1:-1;;;56534:24:0;;;;;;;;;;;56510:48;9202:10;-1:-1:-1;;;;;56575:21:0;;;;;;:63;;-1:-1:-1;56601:37:0;56618:5;9202:10;58127:164;:::i;56601:37::-;56600:38;56575:63;56571:138;;;56662:35;;-1:-1:-1;;;56662:35:0;;;;;;;;;;;56571:138;56723:17;;;;56722:18;:51;;;;-1:-1:-1;56745:28:0;;;;:19;:28;;;;;;;;56744:29;56722:51;56719:328;;;-1:-1:-1;;;;;56793:13:0;;1555:19;:23;56789:186;;56829:61;;-1:-1:-1;;;56829:61:0;;;;;;;:::i;:::-;;;;;;;;56789:186;56931:28;56940:2;56944:7;56953:5;56931:8;:28::i;:::-;56448:606;56386:668;;:::o;58358:170::-;58492:28;58502:4;58508:2;58512:7;58492:9;:28::i;51522:1105::-;51611:7;51644:16;51654:5;51644:9;:16::i;:::-;51635:5;:25;51631:61;;51669:23;;-1:-1:-1;;;51669:23:0;;;;;;;;;;;51631:61;51728:13;;51703:22;;;51978:557;51998:14;51994:1;:18;51978:557;;;52038:31;52072:14;;;:11;:14;;;;;;;;;52038:48;;;;;;;;;-1:-1:-1;;;;;52038:48:0;;;;-1:-1:-1;;;52038:48:0;;;;;;;;;;;-1:-1:-1;;;52038:48:0;;;;;;;;;;;;;;;;52105:73;;52150:8;;;52105:73;52200:14;;-1:-1:-1;;;;;52200:28:0;;52196:111;;52273:14;;;-1:-1:-1;52196:111:0;52350:5;-1:-1:-1;;;;;52329:26:0;:17;-1:-1:-1;;;;;52329:26:0;;52325:195;;;52399:5;52384:11;:20;52380:85;;;-1:-1:-1;52440:1:0;-1:-1:-1;52433:8:0;;-1:-1:-1;;;52433:8:0;52380:85;52487:13;;;;;52325:195;52019:516;51978:557;52014:3;;51978:557;;;;52611:8;;;71960:182;14142:7;14169:6;-1:-1:-1;;;;;14169:6:0;9202:10;14316:23;14308:68;;;;-1:-1:-1;;;14308:68:0;;;;;;;:::i;:::-;72029:58:::1;::::0;72011:12:::1;::::0;72037:10:::1;::::0;72061:21:::1;::::0;72011:12;72029:58;72011:12;72029:58;72061:21;72037:10;72029:58:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72010:77;;;72106:7;72098:36;;;::::0;-1:-1:-1;;;72098:36:0;;9359:2:1;72098:36:0::1;::::0;::::1;9341:21:1::0;9398:2;9378:18;;;9371:30;-1:-1:-1;;;9417:18:1;;;9410:46;9473:18;;72098:36:0::1;9157:340:1::0;72098:36:0::1;71999:143;71960:182::o:0;71756:174::-;71847:11;71177:1;71163:11;:15;:56;;;;;71197:22;;71182:11;:37;;71163:56;71141:126;;;;-1:-1:-1;;;71141:126:0;;6422:2:1;71141:126:0;;;6404:21:1;6461:2;6441:18;;;6434:30;-1:-1:-1;;;6480:18:1;;;6473:50;6540:18;;71141:126:0;6220:344:1;71141:126:0;71331:9;;71316:11;71300:13;;:27;;;;:::i;:::-;:40;;71278:110;;;;-1:-1:-1;;;71278:110:0;;9010:2:1;71278:110:0;;;8992:21:1;9049:2;9029:18;;;9022:30;-1:-1:-1;;;9068:18:1;;;9061:50;9128:18;;71278:110:0;8808:344:1;71278:110:0;14142:7;14169:6;-1:-1:-1;;;;;14169:6:0;9202:10;14316:23:::1;14308:68;;;;-1:-1:-1::0;;;14308:68:0::1;;;;;;;:::i;:::-;71895:27:::2;71905:3;71910:11;71895:9;:27::i;58599:185::-:0;58737:39;58754:4;58760:2;58764:7;58737:39;;;;;;;;;;;;:16;:39::i;50509:713::-;50621:13;;50576:7;;;;50835:328;50855:14;50851:1;:18;50835:328;;;50895:31;50929:14;;;:11;:14;;;;;;;;;50895:48;;;;;;;;;-1:-1:-1;;;;;50895:48:0;;;;-1:-1:-1;;;50895:48:0;;;;;;;;;;;-1:-1:-1;;;50895:48:0;;;;;;;;;;;;;;50962:186;;51027:5;51012:11;:20;51008:85;;;-1:-1:-1;51068:1:0;50509:713;-1:-1:-1;;;;50509:713:0:o;51008:85::-;51115:13;;;;;50962:186;-1:-1:-1;50871:3:0;;50835:328;;;;51191:23;;-1:-1:-1;;;51191:23:0;;;;;;;;;;;49588:140;14142:7;14169:6;-1:-1:-1;;;;;14169:6:0;9202:10;14316:23;14308:68;;;;-1:-1:-1;;;14308:68:0;;;;;;;:::i;:::-;49682:29:::1;::::0;;;:19:::1;:29;::::0;;;;;:38;;-1:-1:-1;;49682:38:0::1;::::0;::::1;;::::0;;;::::1;::::0;;49588:140::o;70688:113::-;14142:7;14169:6;-1:-1:-1;;;;;14169:6:0;9202:10;14316:23;14308:68;;;;-1:-1:-1;;;14308:68:0;;;;;;;:::i;:::-;70768:25;;::::1;::::0;:8:::1;::::0;:25:::1;::::0;::::1;::::0;::::1;:::i;:::-;;70688:113:::0;:::o;70816:122::-;14142:7;14169:6;-1:-1:-1;;;;;14169:6:0;9202:10;14316:23;14308:68;;;;-1:-1:-1;;;14308:68:0;;;;;;;:::i;:::-;70893:22:::1;:37:::0;70816:122::o;55118:124::-;55182:7;55209:20;55221:7;55209:11;:20::i;:::-;:25;;55118:124;-1:-1:-1;;55118:124:0:o;53135:206::-;53199:7;-1:-1:-1;;;;;53223:19:0;;53219:60;;53251:28;;-1:-1:-1;;;53251:28:0;;;;;;;;;;;53219:60;-1:-1:-1;;;;;;53305:19:0;;;;;:12;:19;;;;;:27;;;;53135:206::o;14747:148::-;14142:7;14169:6;-1:-1:-1;;;;;14169:6:0;9202:10;14316:23;14308:68;;;;-1:-1:-1;;;14308:68:0;;;;;;;:::i;:::-;14854:1:::1;14838:6:::0;;14817:40:::1;::::0;-1:-1:-1;;;;;14838:6:0;;::::1;::::0;14817:40:::1;::::0;14854:1;;14817:40:::1;14885:1;14868:19:::0;;-1:-1:-1;;;;;;14868:19:0::1;::::0;;14747:148::o;48574:106::-;14142:7;14169:6;-1:-1:-1;;;;;14169:6:0;9202:10;14316:23;14308:68;;;;-1:-1:-1;;;14308:68:0;;;;;;;:::i;:::-;48655:17:::1;::::0;;-1:-1:-1;;48634:38:0;::::1;48655:17;::::0;;::::1;48654:18;48634:38;::::0;;48574:106::o;70946:109::-;14142:7;14169:6;-1:-1:-1;;;;;14169:6:0;9202:10;14316:23;14308:68;;;;-1:-1:-1;;;14308:68:0;;;;;;;:::i;:::-;71018:14:::1;:29:::0;;-1:-1:-1;;71018:29:0::1;::::0;::::1;;::::0;;;::::1;::::0;;70946:109::o;70392:95::-;14142:7;14169:6;-1:-1:-1;;;;;14169:6:0;9202:10;14316:23;14308:68;;;;-1:-1:-1;;;14308:68:0;;;;;;;:::i;:::-;70461:4:::1;:18:::0;70392:95::o;55478:104::-;55534:13;55567:7;55560:14;;;;;:::i;71416:332::-;71508:11;71177:1;71163:11;:15;:56;;;;;71197:22;;71182:11;:37;;71163:56;71141:126;;;;-1:-1:-1;;;71141:126:0;;6422:2:1;71141:126:0;;;6404:21:1;6461:2;6441:18;;;6434:30;-1:-1:-1;;;6480:18:1;;;6473:50;6540:18;;71141:126:0;6220:344:1;71141:126:0;71331:9;;71316:11;71300:13;;:27;;;;:::i;:::-;:40;;71278:110;;;;-1:-1:-1;;;71278:110:0;;9010:2:1;71278:110:0;;;8992:21:1;9049:2;9029:18;;;9022:30;-1:-1:-1;;;9068:18:1;;;9061:50;9128:18;;71278:110:0;8808:344:1;71278:110:0;71545:14:::1;::::0;::::1;;71537:46;;;::::0;-1:-1:-1;;;71537:46:0;;8311:2:1;71537:46:0::1;::::0;::::1;8293:21:1::0;8350:2;8330:18;;;8323:30;-1:-1:-1;;;8369:18:1;;;8362:49;8428:18;;71537:46:0::1;8109:343:1::0;71537:46:0::1;71596:13;71619:11;71612:4;;:18;;;;:::i;:::-;71596:34;;71664:5;71651:9;:18;;71643:50;;;::::0;-1:-1:-1;;;71643:50:0;;9704:2:1;71643:50:0::1;::::0;::::1;9686:21:1::0;9743:2;9723:18;;;9716:30;-1:-1:-1;;;9762:18:1;;;9755:49;9821:18;;71643:50:0::1;9502:343:1::0;71643:50:0::1;71706:34;71716:10;71728:11;71706:9;:34::i;57396:660::-:0;-1:-1:-1;;;;;57487:24:0;;9202:10;57487:24;57483:54;;;57520:17;;-1:-1:-1;;;57520:17:0;;;;;;;;;;;57483:54;57562:17;;;;57558:491;;-1:-1:-1;;;;;57599:19:0;;1555;:23;57595:289;;57641:61;;-1:-1:-1;;;57641:61:0;;;;;;;:::i;57595:289::-;9202:10;57743:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;57743:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;57743:53:0;;;;;;;;;;57820:48;;5373:41:1;;;57743:42:0;;9202:10;57820:48;;5346:18:1;57820:48:0;;;;;;;70768:25:::1;70688:113:::0;:::o;58855:342::-;59022:28;59032:4;59038:2;59042:7;59022:9;:28::i;:::-;59066:48;59089:4;59095:2;59099:7;59108:5;59066:22;:48::i;:::-;59061:129;;59138:40;;-1:-1:-1;;;59138:40:0;;;;;;;;;;;59061:129;58855:342;;;;:::o;70497:183::-;14142:7;14169:6;-1:-1:-1;;;;;14169:6:0;9202:10;14316:23;14308:68;;;;-1:-1:-1;;;14308:68:0;;;;;;;:::i;:::-;70597:13:::1;;70581:12;:29;;70573:64;;;::::0;-1:-1:-1;;;70573:64:0;;8659:2:1;70573:64:0::1;::::0;::::1;8641:21:1::0;8698:2;8678:18;;;8671:30;-1:-1:-1;;;8717:18:1;;;8710:52;8779:18;;70573:64:0::1;8457:346:1::0;70573:64:0::1;70648:9;:24:::0;70497:183::o;55653:329::-;55721:13;55755:16;55763:7;55755;:16::i;:::-;55747:76;;;;-1:-1:-1;;;55747:76:0;;7895:2:1;55747:76:0;;;7877:21:1;7934:2;7914:18;;;7907:30;7973:34;7953:18;;;7946:62;-1:-1:-1;;;8024:18:1;;;8017:45;8079:19;;55747:76:0;7693:411:1;55747:76:0;55836:21;55860:10;:8;:10::i;:::-;55836:34;;55912:1;55894:7;55888:21;:25;:86;;;;;;;;;;;;;;;;;55940:7;55949:18;:7;:16;:18::i;:::-;55923:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;55888:86;55881:93;55653:329;-1:-1:-1;;;55653:329:0:o;15050:244::-;14142:7;14169:6;-1:-1:-1;;;;;14169:6:0;9202:10;14316:23;14308:68;;;;-1:-1:-1;;;14308:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;15139:22:0;::::1;15131:73;;;::::0;-1:-1:-1;;;15131:73:0;;6015:2:1;15131:73:0::1;::::0;::::1;5997:21:1::0;6054:2;6034:18;;;6027:30;6093:34;6073:18;;;6066:62;-1:-1:-1;;;6144:18:1;;;6137:36;6190:19;;15131:73:0::1;5813:402:1::0;15131:73:0::1;15241:6;::::0;;15220:38:::1;::::0;-1:-1:-1;;;;;15220:38:0;;::::1;::::0;15241:6;::::1;::::0;15220:38:::1;::::0;::::1;15269:6;:17:::0;;-1:-1:-1;;;;;;15269:17:0::1;-1:-1:-1::0;;;;;15269:17:0;;;::::1;::::0;;;::::1;::::0;;15050:244::o;59452:194::-;59509:4;59544:1;59534:7;:11;59526:39;;;;-1:-1:-1;;;59526:39:0;;7190:2:1;59526:39:0;;;7172:21:1;7229:2;7209:18;;;7202:30;-1:-1:-1;;;7248:18:1;;;7241:45;7303:18;;59526:39:0;6988:339:1;59526:39:0;59593:13;;59583:7;:23;:55;;;;-1:-1:-1;;59611:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;59611:27:0;;;;59610:28;;59452:194::o;66708:196::-;66823:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;66823:29:0;-1:-1:-1;;;;;66823:29:0;;;;;;;;;66868:28;;66823:24;;66868:28;;;;;;;66708:196;;;:::o;62209:2112::-;62324:35;62362:20;62374:7;62362:11;:20::i;:::-;62437:18;;62324:58;;-1:-1:-1;62395:22:0;;-1:-1:-1;;;;;62421:34:0;9202:10;-1:-1:-1;;;;;62421:34:0;;:101;;;-1:-1:-1;62489:18:0;;62472:50;;9202:10;58127:164;:::i;62472:50::-;62421:154;;;-1:-1:-1;9202:10:0;62539:20;62551:7;62539:11;:20::i;:::-;-1:-1:-1;;;;;62539:36:0;;62421:154;62395:181;;62594:17;62589:66;;62620:35;;-1:-1:-1;;;62620:35:0;;;;;;;;;;;62589:66;62692:4;-1:-1:-1;;;;;62670:26:0;:13;:18;;;-1:-1:-1;;;;;62670:26:0;;62666:67;;62705:28;;-1:-1:-1;;;62705:28:0;;;;;;;;;;;62666:67;-1:-1:-1;;;;;62748:16:0;;62744:52;;62773:23;;-1:-1:-1;;;62773:23:0;;;;;;;;;;;62744:52;62917:49;62934:1;62938:7;62947:13;:18;;;62917:8;:49::i;:::-;-1:-1:-1;;;;;63262:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;63262:31:0;;;;;;;-1:-1:-1;;63262:31:0;;;;;;;63308:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;63308:29:0;;;;;;;;;;;63354:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;63399:61:0;;;;-1:-1:-1;;;63444:15:0;63399:61;;;;;;;;;;;63734:11;;;63764:24;;;;;:29;63734:11;;63764:29;63760:445;;63989:13;;63975:11;:27;63971:219;;;64059:18;;;64027:24;;;:11;:24;;;;;;;;:50;;64142:28;;;;64100:70;;-1:-1:-1;;;64100:70:0;-1:-1:-1;;;;;;64100:70:0;;;-1:-1:-1;;;;;64027:50:0;;;64100:70;;;;;;;63971:219;63237:979;64252:7;64248:2;-1:-1:-1;;;;;64233:27:0;64242:4;-1:-1:-1;;;;;64233:27:0;;;;;;;;;;;64271:42;62313:2008;;62209:2112;;;:::o;59654:104::-;59723:27;59733:2;59737:8;59723:27;;;;;;;;;;;;:9;:27::i;53973:1083::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;54139:13:0;;54083:7;;54132:20;;54128:861;;;54173:31;54207:17;;;:11;:17;;;;;;;;;54173:51;;;;;;;;;-1:-1:-1;;;;;54173:51:0;;;;-1:-1:-1;;;54173:51:0;;;;;;;;;;;-1:-1:-1;;;54173:51:0;;;;;;;;;;;;;;54243:731;;54293:14;;-1:-1:-1;;;;;54293:28:0;;54289:101;;54357:9;53973:1083;-1:-1:-1;;;53973:1083:0:o;54289:101::-;-1:-1:-1;;;54734:6:0;54779:17;;;;:11;:17;;;;;;;;;54767:29;;;;;;;;;-1:-1:-1;;;;;54767:29:0;;;;;-1:-1:-1;;;54767:29:0;;;;;;;;;;;-1:-1:-1;;;54767:29:0;;;;;;;;;;;;;54827:28;54823:109;;54895:9;53973:1083;-1:-1:-1;;;53973:1083:0:o;54823:109::-;54694:261;;;54154:835;54128:861;55017:31;;-1:-1:-1;;;55017:31:0;;;;;;;;;;;67469:473;67645:17;;67624:4;;67645:17;;67644:18;:51;;;;-1:-1:-1;67667:28:0;;;;:19;:28;;;;;;;;67666:29;67644:51;67641:294;;;-1:-1:-1;;;;;67715:13:0;;1555:19;:23;67711:169;;67751:61;;-1:-1:-1;;;67751:61:0;;;;;;;:::i;67711:169::-;-1:-1:-1;67860:4:0;67641:294;67469:473;;;;;;:::o;70252:109::-;70312:13;70345:8;70338:15;;;;;:::i;9805:723::-;9861:13;10082:10;10078:53;;-1:-1:-1;;10109:10:0;;;;;;;;;;;;-1:-1:-1;;;10109:10:0;;;;;9805:723::o;10078:53::-;10156:5;10141:12;10197:78;10204:9;;10197:78;;10230:8;;;;:::i;:::-;;-1:-1:-1;10253:10:0;;-1:-1:-1;10261:2:0;10253:10;;:::i;:::-;;;10197:78;;;10285:19;10317:6;10307:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10307:17:0;;10285:39;;10335:154;10342:10;;10335:154;;10369:11;10379:1;10369:11;;:::i;:::-;;-1:-1:-1;10438:10:0;10446:2;10438:5;:10;:::i;:::-;10425:24;;:2;:24;:::i;:::-;10412:39;;10395:6;10402;10395:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;10395:56:0;;;;;;;;-1:-1:-1;10466:11:0;10475:2;10466:11;;:::i;:::-;;;10335:154;;60121:163;60244:32;60250:2;60254:8;60264:5;60271:4;60705:13;;-1:-1:-1;;;;;60733:16:0;;60729:48;;60758:19;;-1:-1:-1;;;60758:19:0;;;;;;;;;;;60729:48;60792:13;60788:44;;60814:18;;-1:-1:-1;;;60814:18:0;;;;;;;;;;;60788:44;-1:-1:-1;;;;;61183:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;61242:49:0;;61183:44;;;;;;;;61242:49;;;;-1:-1:-1;;61183:44:0;;;;;;61242:49;;;;;;;;;;;;;;;;61308:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;61358:66:0;;;;-1:-1:-1;;;61408:15:0;61358:66;;;;;;;;;;;61308:25;;61493:328;61513:8;61509:1;:12;61493:328;;;61552:38;;61577:12;;-1:-1:-1;;;;;61552:38:0;;;61569:1;;61552:38;;61569:1;;61552:38;61613:4;:68;;;;;61622:59;61653:1;61657:2;61661:12;61675:5;61622:22;:59::i;:::-;61621:60;61613:68;61609:164;;;61713:40;;-1:-1:-1;;;61713:40:0;;;;;;;;;;;61609:164;61791:14;;;;;61523:3;61493:328;;;-1:-1:-1;61837:13:0;:28;61887:60;58855:342;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:286::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3309:23;;-1:-1:-1;;;;;;3361:32:1;;3351:43;;3341:71;;3408:1;3405;3398:12;3447:450;3516:6;3569:2;3557:9;3548:7;3544:23;3540:32;3537:52;;;3585:1;3582;3575:12;3537:52;3625:9;3612:23;3658:18;3650:6;3647:30;3644:50;;;3690:1;3687;3680:12;3644:50;3713:22;;3766:4;3758:13;;3754:27;-1:-1:-1;3744:55:1;;3795:1;3792;3785:12;3744:55;3818:73;3883:7;3878:2;3865:16;3860:2;3856;3852:11;3818:73;:::i;3902:180::-;3961:6;4014:2;4002:9;3993:7;3989:23;3985:32;3982:52;;;4030:1;4027;4020:12;3982:52;-1:-1:-1;4053:23:1;;3902:180;-1:-1:-1;3902:180:1:o;4087:248::-;4152:6;4160;4213:2;4201:9;4192:7;4188:23;4184:32;4181:52;;;4229:1;4226;4219:12;4181:52;4265:9;4252:23;4242:33;;4294:35;4325:2;4314:9;4310:18;4294:35;:::i;4340:470::-;4519:3;4557:6;4551:13;4573:53;4619:6;4614:3;4607:4;4599:6;4595:17;4573:53;:::i;:::-;4689:13;;4648:16;;;;4711:57;4689:13;4648:16;4745:4;4733:17;;4711:57;:::i;:::-;4784:20;;4340:470;-1:-1:-1;;;;4340:470:1:o;5425:383::-;5574:2;5563:9;5556:21;5537:4;5606:6;5600:13;5649:6;5644:2;5633:9;5629:18;5622:34;5665:66;5724:6;5719:2;5708:9;5704:18;5699:2;5691:6;5687:15;5665:66;:::i;:::-;5792:2;5771:15;-1:-1:-1;;5767:29:1;5752:45;;;;5799:2;5748:54;;5425:383;-1:-1:-1;;5425:383:1:o;6569:414::-;6771:2;6753:21;;;6810:2;6790:18;;;6783:30;6849:34;6844:2;6829:18;;6822:62;-1:-1:-1;;;6915:2:1;6900:18;;6893:48;6973:3;6958:19;;6569:414::o;7332:356::-;7534:2;7516:21;;;7553:18;;;7546:30;7612:34;7607:2;7592:18;;7585:62;7679:2;7664:18;;7332:356::o;10032:128::-;10072:3;10103:1;10099:6;10096:1;10093:13;10090:39;;;10109:18;;:::i;:::-;-1:-1:-1;10145:9:1;;10032:128::o;10165:120::-;10205:1;10231;10221:35;;10236:18;;:::i;:::-;-1:-1:-1;10270:9:1;;10165:120::o;10290:168::-;10330:7;10396:1;10392;10388:6;10384:14;10381:1;10378:21;10373:1;10366:9;10359:17;10355:45;10352:71;;;10403:18;;:::i;:::-;-1:-1:-1;10443:9:1;;10290:168::o;10463:125::-;10503:4;10531:1;10528;10525:8;10522:34;;;10536:18;;:::i;:::-;-1:-1:-1;10573:9:1;;10463:125::o;10593:258::-;10665:1;10675:113;10689:6;10686:1;10683:13;10675:113;;;10765:11;;;10759:18;10746:11;;;10739:39;10711:2;10704:10;10675:113;;;10806:6;10803:1;10800:13;10797:48;;;-1:-1:-1;;10841:1:1;10823:16;;10816:27;10593:258::o;10856:380::-;10935:1;10931:12;;;;10978;;;10999:61;;11053:4;11045:6;11041:17;11031:27;;10999:61;11106:2;11098:6;11095:14;11075:18;11072:38;11069:161;;;11152:10;11147:3;11143:20;11140:1;11133:31;11187:4;11184:1;11177:15;11215:4;11212:1;11205:15;11069:161;;10856:380;;;:::o;11241:135::-;11280:3;-1:-1:-1;;11301:17:1;;11298:43;;;11321:18;;:::i;:::-;-1:-1:-1;11368:1:1;11357:13;;11241:135::o;11381:112::-;11413:1;11439;11429:35;;11444:18;;:::i;:::-;-1:-1:-1;11478:9:1;;11381:112::o;11498:127::-;11559:10;11554:3;11550:20;11547:1;11540:31;11590:4;11587:1;11580:15;11614:4;11611:1;11604:15;11630:127;11691:10;11686:3;11682:20;11679:1;11672:31;11722:4;11719:1;11712:15;11746:4;11743:1;11736:15;11762:127;11823:10;11818:3;11814:20;11811:1;11804:31;11854:4;11851:1;11844:15;11878:4;11875:1;11868:15;11894:127;11955:10;11950:3;11946:20;11943:1;11936:31;11986:4;11983:1;11976:15;12010:4;12007:1;12000:15
Swarm Source
ipfs://5778d99c7fb17b4953a98f9471450bd935037c7fc60cda2f499f9cf0a8ac67ae
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.