ERC-721
Overview
Max Total Supply
12 NPM
Holders
5
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 NPMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NPM_Offical_Collection
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-03-15 */ // File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT 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 GSN 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 memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/introspection/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: @openzeppelin/contracts/token/ERC721/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: @openzeppelin/contracts/token/ERC721/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 view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/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: @openzeppelin/contracts/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: @openzeppelin/contracts/introspection/ERC165.sol pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor() { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 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" ); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require( set._values.length > index, "EnumerableSet: index out of bounds" ); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: @openzeppelin/contracts/utils/EnumerableMap.sol pragma solidity ^0.8.0; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping(bytes32 => uint256) _indexes; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set( Map storage map, bytes32 key, bytes32 value ) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({_key: key, _value: value})); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require( map._entries.length > index, "EnumerableMap: index out of bounds" ); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key) return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get( Map storage map, bytes32 key, string memory errorMessage ) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set( UintToAddressMap storage map, uint256 key, address value ) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get( UintToAddressMap storage map, uint256 key, string memory errorMessage ) internal view returns (address) { return address( uint160(uint256(_get(map._inner, bytes32(key), errorMessage))) ); } } // File: @openzeppelin/contracts/utils/Strings.sol pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { function toString(uint256 _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint256 j = _i; uint256 len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint256 k = len; while (_i != 0) { k = k - 1; uint8 temp = (48 + uint8(_i - (_i / 10) * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol pragma solidity ^0.8.0; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from holder address to their (enumerable) set of owned tokens mapping(address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.UintToAddressMap private _tokenOwners; // 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; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; // Base URI string private _baseURI; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @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_; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @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 _holderTokens[owner].length(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return _tokenOwners.get( tokenId, "ERC721: owner query for nonexistent token" ); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(base, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view virtual returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @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 || ERC721.isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _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 { require(operator != _msgSender(), "ERC721: approve to caller"); _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 { //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 _tokenOwners.contains(tokenId); } /** * @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 || ERC721.isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `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); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(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); // internal owner _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } _holderTokens[owner].remove(tokenId); _tokenOwners.remove(tokenId); emit Transfer(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 of token that is not own" ); // internal 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); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require( _exists(tokenId), "ERC721Metadata: URI set of nonexistent token" ); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @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()) { return true; } bytes memory returndata = to.functionCall( abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer" ); bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner } /** * @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 {} } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { 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; } } // MADE BY LOOTEX /** * @title NPM_Offical_Collection * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract NPM_Offical_Collection is ERC721, Ownable { bool BaseURIUnchangeable = false; constructor(string memory baseURI) ERC721("NPM Offical Collection", "NPM") { _setBaseURI(baseURI); } function setBaseURI(string memory baseURI) public onlyOwner { _setBaseURI(baseURI); } function lockBaseURI() external onlyOwner { require(!BaseURIUnchangeable, "Already locked"); BaseURIUnchangeable = true; } function mintByAmount(uint256 amount) public onlyOwner { for(uint i = 0; i < amount; i++) { uint256 tokenid = totalSupply(); _safeMint(msg.sender, tokenid); } } function mintByList(address [] memory address_list ) public onlyOwner { for(uint i = 0; i < address_list.length; i++) { uint256 tokenid= totalSupply(); _safeMint( address_list[i], tokenid ); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"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":[{"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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintByAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"address_list","type":"address[]"}],"name":"mintByList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a805460ff60a01b191690553480156200001e57600080fd5b50604051620025ac380380620025ac833981016040819052620000419162000291565b604080518082018252601681527f4e504d204f66666963616c20436f6c6c656374696f6e00000000000000000000602080830191909152825180840190935260038352624e504d60e81b9083015290620000a26301ffc9a760e01b62000173565b8151620000b7906006906020850190620001eb565b508051620000cd906007906020840190620001eb565b50620000e06380ac58cd60e01b62000173565b620000f2635b5e139f60e01b62000173565b6200010463780e9d6360e01b62000173565b506000905062000113620001ce565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200016c81620001d2565b50620003ea565b6001600160e01b03198082161415620001a95760405162461bcd60e51b8152600401620001a09062000360565b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b8051620001e7906009906020840190620001eb565b5050565b828054620001f99062000397565b90600052602060002090601f0160209004810192826200021d576000855562000268565b82601f106200023857805160ff191683800117855562000268565b8280016001018555821562000268579182015b82811115620002685782518255916020019190600101906200024b565b50620002769291506200027a565b5090565b5b808211156200027657600081556001016200027b565b60006020808385031215620002a4578182fd5b82516001600160401b0380821115620002bb578384fd5b818501915085601f830112620002cf578384fd5b815181811115620002e457620002e4620003d4565b604051601f8201601f19168101850183811182821017156200030a576200030a620003d4565b604052818152838201850188101562000321578586fd5b8592505b8183101562000344578383018501518184018601529184019162000325565b818311156200035557858583830101525b979650505050505050565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b600281046001821680620003ac57607f821691505b60208210811415620003ce57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6121b280620003fa6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80636c0360eb116100c3578063a22cb4651161007c578063a22cb465146102a5578063b88d4fde146102b8578063c058cede146102cb578063c87b56dd146102de578063e985e9c5146102f1578063f2fde38b1461030457610158565b80636c0360eb1461025f57806370a0823114610267578063715018a61461027a57806380c0a8de146102825780638da5cb5b1461029557806395d89b411461029d57610158565b80632f745c59116101155780632f745c59146101f857806342842e0e1461020b5780634f6ccce71461021e57806353df5c7c1461023157806355f804b3146102395780636352211e1461024c57610158565b806301ffc9a71461015d57806306fdde0314610186578063081812fc1461019b578063095ea7b3146101bb57806318160ddd146101d057806323b872dd146101e5575b600080fd5b61017061016b36600461191b565b610317565b60405161017d9190611a79565b60405180910390f35b61018e61033a565b60405161017d9190611a84565b6101ae6101a9366004611999565b6103cc565b60405161017d9190611a28565b6101ce6101c9366004611844565b610418565b005b6101d86104b0565b60405161017d9190611f97565b6101ce6101f3366004611756565b6104c1565b6101d8610206366004611844565b6104f9565b6101ce610219366004611756565b610524565b6101d861022c366004611999565b61053f565b6101ce610555565b6101ce610247366004611953565b6105d3565b6101ae61025a366004611999565b61061e565b61018e610646565b6101d861027536600461170a565b610655565b6101ce61069e565b6101ce61029036600461186d565b610727565b6101ae6107c6565b61018e6107d5565b6101ce6102b336600461180a565b6107e4565b6101ce6102c6366004611791565b6108b2565b6101ce6102d9366004611999565b6108f1565b61018e6102ec366004611999565b610964565b6101706102ff366004611724565b610aa7565b6101ce61031236600461170a565b610ad5565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60606006805461034990612089565b80601f016020809104026020016040519081016040528092919081815260200182805461037590612089565b80156103c25780601f10610397576101008083540402835291602001916103c2565b820191906000526020600020905b8154815290600101906020018083116103a557829003601f168201915b5050505050905090565b60006103d782610b96565b6103fc5760405162461bcd60e51b81526004016103f390611db5565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104238261061e565b9050806001600160a01b0316836001600160a01b031614156104575760405162461bcd60e51b81526004016103f390611ece565b806001600160a01b0316610469610ba3565b6001600160a01b031614806104855750610485816102ff610ba3565b6104a15760405162461bcd60e51b81526004016103f390611c6f565b6104ab8383610ba7565b505050565b60006104bc6002610c15565b905090565b6104d26104cc610ba3565b82610c20565b6104ee5760405162461bcd60e51b81526004016103f390611f0f565b6104ab838383610ca5565b6001600160a01b038216600090815260016020526040812061051b9083610db3565b90505b92915050565b6104ab838383604051806020016040528060008152506108b2565b60008061054d600284610dbf565b509392505050565b61055d610ba3565b6001600160a01b031661056e6107c6565b6001600160a01b0316146105945760405162461bcd60e51b81526004016103f390611e01565b600a54600160a01b900460ff16156105be5760405162461bcd60e51b81526004016103f390611d58565b600a805460ff60a01b1916600160a01b179055565b6105db610ba3565b6001600160a01b03166105ec6107c6565b6001600160a01b0316146106125760405162461bcd60e51b81526004016103f390611e01565b61061b81610ddb565b50565b600061051e826040518060600160405280602981526020016121546029913960029190610dee565b60606009805461034990612089565b60006001600160a01b03821661067d5760405162461bcd60e51b81526004016103f390611ccc565b6001600160a01b038216600090815260016020526040902061051e90610c15565b6106a6610ba3565b6001600160a01b03166106b76107c6565b6001600160a01b0316146106dd5760405162461bcd60e51b81526004016103f390611e01565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b61072f610ba3565b6001600160a01b03166107406107c6565b6001600160a01b0316146107665760405162461bcd60e51b81526004016103f390611e01565b60005b81518110156107c257600061077c6104b0565b90506107af8383815181106107a157634e487b7160e01b600052603260045260246000fd5b602002602001015182610e05565b50806107ba816120c4565b915050610769565b5050565b600a546001600160a01b031690565b60606007805461034990612089565b6107ec610ba3565b6001600160a01b0316826001600160a01b0316141561081d5760405162461bcd60e51b81526004016103f390611bec565b806005600061082a610ba3565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561086e610ba3565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516108a69190611a79565b60405180910390a35050565b6108c36108bd610ba3565b83610c20565b6108df5760405162461bcd60e51b81526004016103f390611f0f565b6108eb84848484610e1f565b50505050565b6108f9610ba3565b6001600160a01b031661090a6107c6565b6001600160a01b0316146109305760405162461bcd60e51b81526004016103f390611e01565b60005b818110156107c25760006109456104b0565b90506109513382610e05565b508061095c816120c4565b915050610933565b606061096f82610b96565b61098b5760405162461bcd60e51b81526004016103f390611e7f565b600082815260086020526040812080546109a490612089565b80601f01602080910402602001604051908101604052809291908181526020018280546109d090612089565b8015610a1d5780601f106109f257610100808354040283529160200191610a1d565b820191906000526020600020905b815481529060010190602001808311610a0057829003601f168201915b505050505090506000610a2e610646565b9050805160001415610a4257509050610335565b815115610a74578082604051602001610a5c9291906119f9565b60405160208183030381529060405292505050610335565b80610a7e85610e52565b604051602001610a8f9291906119f9565b60405160208183030381529060405292505050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610add610ba3565b6001600160a01b0316610aee6107c6565b6001600160a01b031614610b145760405162461bcd60e51b81526004016103f390611e01565b6001600160a01b038116610b3a5760405162461bcd60e51b81526004016103f390611b2b565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600061051e600283610f98565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610bdc8261061e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061051e82610fa4565b6000610c2b82610b96565b610c475760405162461bcd60e51b81526004016103f390611c23565b6000610c528361061e565b9050806001600160a01b0316846001600160a01b03161480610c8d5750836001600160a01b0316610c82846103cc565b6001600160a01b0316145b80610c9d5750610c9d8185610aa7565b949350505050565b826001600160a01b0316610cb88261061e565b6001600160a01b031614610cde5760405162461bcd60e51b81526004016103f390611e36565b6001600160a01b038216610d045760405162461bcd60e51b81526004016103f390611ba8565b610d0f8383836104ab565b610d1a600082610ba7565b6001600160a01b0383166000908152600160205260409020610d3c9082610fa8565b506001600160a01b0382166000908152600160205260409020610d5f9082610fb4565b50610d6c60028284610fc0565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061051b8383610fd6565b6000808080610dce868661102f565b9097909650945050505050565b80516107c2906009906020840190611602565b6000610dfb84848461109f565b90505b9392505050565b6107c2828260405180602001604052806000815250611116565b610e2a848484610ca5565b610e3684848484611149565b6108eb5760405162461bcd60e51b81526004016103f390611ad9565b606081610e7757506040805180820190915260018152600360fc1b6020820152610335565b8160005b8115610ea15780610e8b816120c4565b9150610e9a9050600a83612007565b9150610e7b565b60008167ffffffffffffffff811115610eca57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610ef4576020820181803683370190505b509050815b8515610f8f57610f0a600182612046565b90506000610f19600a88612007565b610f2490600a612027565b610f2e9088612046565b610f39906030611fe2565b905060008160f81b905080848481518110610f6457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350610f86600a89612007565b97505050610ef9565b50949350505050565b600061051b8383611228565b5490565b600061051b8383611240565b600061051b838361135d565b6000610dfb84846001600160a01b0385166113a7565b81546000908210610ff95760405162461bcd60e51b81526004016103f390611a97565b82600001828154811061101c57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b8154600090819083106110545760405162461bcd60e51b81526004016103f390611d16565b600084600001848154811061107957634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816110cf5760405162461bcd60e51b81526004016103f39190611a84565b50846110dc600183612046565b815481106110fa57634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101549150509392505050565b6111208383611456565b61112d6000848484611149565b6104ab5760405162461bcd60e51b81526004016103f390611ad9565b600061115d846001600160a01b031661151a565b61116957506001610c9d565b60006111f1630a85bd0160e11b61117e610ba3565b8887876040516024016111949493929190611a3c565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612122603291396001600160a01b0388169190611520565b90506000818060200190518101906112099190611937565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015611353576000611264600183612046565b855490915060009061127890600190612046565b9050600086600001828154811061129f57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050808760000184815481106112d057634e487b7160e01b600052603260045260246000fd5b6000918252602090912001556112e7836001611fca565b6000828152600189016020526040902055865487908061131757634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061051e565b600091505061051e565b60006113698383611228565b61139f5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561051e565b50600061051e565b60008281526001840160205260408120548061140c575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055610dfe565b8285611419600184612046565b8154811061143757634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101819055506000915050610dfe565b6001600160a01b03821661147c5760405162461bcd60e51b81526004016103f390611d80565b61148581610b96565b156114a25760405162461bcd60e51b81526004016103f390611b71565b6114ae600083836104ab565b6001600160a01b03821660009081526001602052604090206114d09082610fb4565b506114dd60028284610fc0565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b6060610dfb8484600085856115348561151a565b6115505760405162461bcd60e51b81526004016103f390611f60565b600080866001600160a01b0316858760405161156c91906119dd565b60006040518083038185875af1925050503d80600081146115a9576040519150601f19603f3d011682016040523d82523d6000602084013e6115ae565b606091505b50915091506115be8282866115c9565b979650505050505050565b606083156115d8575081610dfe565b8251156115e85782518084602001fd5b8160405162461bcd60e51b81526004016103f39190611a84565b82805461160e90612089565b90600052602060002090601f0160209004810192826116305760008555611676565b82601f1061164957805160ff1916838001178555611676565b82800160010185558215611676579182015b8281111561167657825182559160200191906001019061165b565b50611682929150611686565b5090565b5b808211156116825760008155600101611687565b600067ffffffffffffffff8311156116b5576116b56120f5565b6116c8601f8401601f1916602001611fa0565b90508281528383830111156116dc57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461033557600080fd5b60006020828403121561171b578081fd5b61051b826116f3565b60008060408385031215611736578081fd5b61173f836116f3565b915061174d602084016116f3565b90509250929050565b60008060006060848603121561176a578081fd5b611773846116f3565b9250611781602085016116f3565b9150604084013590509250925092565b600080600080608085870312156117a6578081fd5b6117af856116f3565b93506117bd602086016116f3565b925060408501359150606085013567ffffffffffffffff8111156117df578182fd5b8501601f810187136117ef578182fd5b6117fe8782356020840161169b565b91505092959194509250565b6000806040838503121561181c578182fd5b611825836116f3565b915060208301358015158114611839578182fd5b809150509250929050565b60008060408385031215611856578182fd5b61185f836116f3565b946020939093013593505050565b6000602080838503121561187f578182fd5b823567ffffffffffffffff80821115611896578384fd5b818501915085601f8301126118a9578384fd5b8135818111156118bb576118bb6120f5565b83810291506118cb848301611fa0565b8181528481019084860184860187018a10156118e5578788fd5b8795505b8386101561190e576118fa816116f3565b8352600195909501949186019186016118e9565b5098975050505050505050565b60006020828403121561192c578081fd5b8135610dfe8161210b565b600060208284031215611948578081fd5b8151610dfe8161210b565b600060208284031215611964578081fd5b813567ffffffffffffffff81111561197a578182fd5b8201601f8101841361198a578182fd5b610c9d8482356020840161169b565b6000602082840312156119aa578081fd5b5035919050565b600081518084526119c981602086016020860161205d565b601f01601f19169290920160200192915050565b600082516119ef81846020870161205d565b9190910192915050565b60008351611a0b81846020880161205d565b835190830190611a1f81836020880161205d565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a6f908301846119b1565b9695505050505050565b901515815260200190565b60006020825261051b60208301846119b1565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252600e908201526d105b1c9958591e481b1bd8dad95960921b604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b90815260200190565b60405181810167ffffffffffffffff81118282101715611fc257611fc26120f5565b604052919050565b60008219821115611fdd57611fdd6120df565b500190565b600060ff821660ff84168060ff03821115611fff57611fff6120df565b019392505050565b60008261202257634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612041576120416120df565b500290565b600082821015612058576120586120df565b500390565b60005b83811015612078578181015183820152602001612060565b838111156108eb5750506000910152565b60028104600182168061209d57607f821691505b602082108114156120be57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120d8576120d86120df565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461061b57600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212202dfd7aed89cf4eb837b23087b323bb0c56e237ec830c479225caa8787f0ba6da64736f6c634300080000330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005268747470733a2f2f6d696e7465722e6d7970696e6174612e636c6f75642f697066732f516d6164694879795837334d544a6b416d7a4e6434677636534d5a7a72534e6a34516133664d476a7072426e596b2f0000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c80636c0360eb116100c3578063a22cb4651161007c578063a22cb465146102a5578063b88d4fde146102b8578063c058cede146102cb578063c87b56dd146102de578063e985e9c5146102f1578063f2fde38b1461030457610158565b80636c0360eb1461025f57806370a0823114610267578063715018a61461027a57806380c0a8de146102825780638da5cb5b1461029557806395d89b411461029d57610158565b80632f745c59116101155780632f745c59146101f857806342842e0e1461020b5780634f6ccce71461021e57806353df5c7c1461023157806355f804b3146102395780636352211e1461024c57610158565b806301ffc9a71461015d57806306fdde0314610186578063081812fc1461019b578063095ea7b3146101bb57806318160ddd146101d057806323b872dd146101e5575b600080fd5b61017061016b36600461191b565b610317565b60405161017d9190611a79565b60405180910390f35b61018e61033a565b60405161017d9190611a84565b6101ae6101a9366004611999565b6103cc565b60405161017d9190611a28565b6101ce6101c9366004611844565b610418565b005b6101d86104b0565b60405161017d9190611f97565b6101ce6101f3366004611756565b6104c1565b6101d8610206366004611844565b6104f9565b6101ce610219366004611756565b610524565b6101d861022c366004611999565b61053f565b6101ce610555565b6101ce610247366004611953565b6105d3565b6101ae61025a366004611999565b61061e565b61018e610646565b6101d861027536600461170a565b610655565b6101ce61069e565b6101ce61029036600461186d565b610727565b6101ae6107c6565b61018e6107d5565b6101ce6102b336600461180a565b6107e4565b6101ce6102c6366004611791565b6108b2565b6101ce6102d9366004611999565b6108f1565b61018e6102ec366004611999565b610964565b6101706102ff366004611724565b610aa7565b6101ce61031236600461170a565b610ad5565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60606006805461034990612089565b80601f016020809104026020016040519081016040528092919081815260200182805461037590612089565b80156103c25780601f10610397576101008083540402835291602001916103c2565b820191906000526020600020905b8154815290600101906020018083116103a557829003601f168201915b5050505050905090565b60006103d782610b96565b6103fc5760405162461bcd60e51b81526004016103f390611db5565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104238261061e565b9050806001600160a01b0316836001600160a01b031614156104575760405162461bcd60e51b81526004016103f390611ece565b806001600160a01b0316610469610ba3565b6001600160a01b031614806104855750610485816102ff610ba3565b6104a15760405162461bcd60e51b81526004016103f390611c6f565b6104ab8383610ba7565b505050565b60006104bc6002610c15565b905090565b6104d26104cc610ba3565b82610c20565b6104ee5760405162461bcd60e51b81526004016103f390611f0f565b6104ab838383610ca5565b6001600160a01b038216600090815260016020526040812061051b9083610db3565b90505b92915050565b6104ab838383604051806020016040528060008152506108b2565b60008061054d600284610dbf565b509392505050565b61055d610ba3565b6001600160a01b031661056e6107c6565b6001600160a01b0316146105945760405162461bcd60e51b81526004016103f390611e01565b600a54600160a01b900460ff16156105be5760405162461bcd60e51b81526004016103f390611d58565b600a805460ff60a01b1916600160a01b179055565b6105db610ba3565b6001600160a01b03166105ec6107c6565b6001600160a01b0316146106125760405162461bcd60e51b81526004016103f390611e01565b61061b81610ddb565b50565b600061051e826040518060600160405280602981526020016121546029913960029190610dee565b60606009805461034990612089565b60006001600160a01b03821661067d5760405162461bcd60e51b81526004016103f390611ccc565b6001600160a01b038216600090815260016020526040902061051e90610c15565b6106a6610ba3565b6001600160a01b03166106b76107c6565b6001600160a01b0316146106dd5760405162461bcd60e51b81526004016103f390611e01565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b61072f610ba3565b6001600160a01b03166107406107c6565b6001600160a01b0316146107665760405162461bcd60e51b81526004016103f390611e01565b60005b81518110156107c257600061077c6104b0565b90506107af8383815181106107a157634e487b7160e01b600052603260045260246000fd5b602002602001015182610e05565b50806107ba816120c4565b915050610769565b5050565b600a546001600160a01b031690565b60606007805461034990612089565b6107ec610ba3565b6001600160a01b0316826001600160a01b0316141561081d5760405162461bcd60e51b81526004016103f390611bec565b806005600061082a610ba3565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561086e610ba3565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516108a69190611a79565b60405180910390a35050565b6108c36108bd610ba3565b83610c20565b6108df5760405162461bcd60e51b81526004016103f390611f0f565b6108eb84848484610e1f565b50505050565b6108f9610ba3565b6001600160a01b031661090a6107c6565b6001600160a01b0316146109305760405162461bcd60e51b81526004016103f390611e01565b60005b818110156107c25760006109456104b0565b90506109513382610e05565b508061095c816120c4565b915050610933565b606061096f82610b96565b61098b5760405162461bcd60e51b81526004016103f390611e7f565b600082815260086020526040812080546109a490612089565b80601f01602080910402602001604051908101604052809291908181526020018280546109d090612089565b8015610a1d5780601f106109f257610100808354040283529160200191610a1d565b820191906000526020600020905b815481529060010190602001808311610a0057829003601f168201915b505050505090506000610a2e610646565b9050805160001415610a4257509050610335565b815115610a74578082604051602001610a5c9291906119f9565b60405160208183030381529060405292505050610335565b80610a7e85610e52565b604051602001610a8f9291906119f9565b60405160208183030381529060405292505050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610add610ba3565b6001600160a01b0316610aee6107c6565b6001600160a01b031614610b145760405162461bcd60e51b81526004016103f390611e01565b6001600160a01b038116610b3a5760405162461bcd60e51b81526004016103f390611b2b565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600061051e600283610f98565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610bdc8261061e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061051e82610fa4565b6000610c2b82610b96565b610c475760405162461bcd60e51b81526004016103f390611c23565b6000610c528361061e565b9050806001600160a01b0316846001600160a01b03161480610c8d5750836001600160a01b0316610c82846103cc565b6001600160a01b0316145b80610c9d5750610c9d8185610aa7565b949350505050565b826001600160a01b0316610cb88261061e565b6001600160a01b031614610cde5760405162461bcd60e51b81526004016103f390611e36565b6001600160a01b038216610d045760405162461bcd60e51b81526004016103f390611ba8565b610d0f8383836104ab565b610d1a600082610ba7565b6001600160a01b0383166000908152600160205260409020610d3c9082610fa8565b506001600160a01b0382166000908152600160205260409020610d5f9082610fb4565b50610d6c60028284610fc0565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061051b8383610fd6565b6000808080610dce868661102f565b9097909650945050505050565b80516107c2906009906020840190611602565b6000610dfb84848461109f565b90505b9392505050565b6107c2828260405180602001604052806000815250611116565b610e2a848484610ca5565b610e3684848484611149565b6108eb5760405162461bcd60e51b81526004016103f390611ad9565b606081610e7757506040805180820190915260018152600360fc1b6020820152610335565b8160005b8115610ea15780610e8b816120c4565b9150610e9a9050600a83612007565b9150610e7b565b60008167ffffffffffffffff811115610eca57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610ef4576020820181803683370190505b509050815b8515610f8f57610f0a600182612046565b90506000610f19600a88612007565b610f2490600a612027565b610f2e9088612046565b610f39906030611fe2565b905060008160f81b905080848481518110610f6457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350610f86600a89612007565b97505050610ef9565b50949350505050565b600061051b8383611228565b5490565b600061051b8383611240565b600061051b838361135d565b6000610dfb84846001600160a01b0385166113a7565b81546000908210610ff95760405162461bcd60e51b81526004016103f390611a97565b82600001828154811061101c57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b8154600090819083106110545760405162461bcd60e51b81526004016103f390611d16565b600084600001848154811061107957634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816110cf5760405162461bcd60e51b81526004016103f39190611a84565b50846110dc600183612046565b815481106110fa57634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101549150509392505050565b6111208383611456565b61112d6000848484611149565b6104ab5760405162461bcd60e51b81526004016103f390611ad9565b600061115d846001600160a01b031661151a565b61116957506001610c9d565b60006111f1630a85bd0160e11b61117e610ba3565b8887876040516024016111949493929190611a3c565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612122603291396001600160a01b0388169190611520565b90506000818060200190518101906112099190611937565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015611353576000611264600183612046565b855490915060009061127890600190612046565b9050600086600001828154811061129f57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050808760000184815481106112d057634e487b7160e01b600052603260045260246000fd5b6000918252602090912001556112e7836001611fca565b6000828152600189016020526040902055865487908061131757634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061051e565b600091505061051e565b60006113698383611228565b61139f5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561051e565b50600061051e565b60008281526001840160205260408120548061140c575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055610dfe565b8285611419600184612046565b8154811061143757634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101819055506000915050610dfe565b6001600160a01b03821661147c5760405162461bcd60e51b81526004016103f390611d80565b61148581610b96565b156114a25760405162461bcd60e51b81526004016103f390611b71565b6114ae600083836104ab565b6001600160a01b03821660009081526001602052604090206114d09082610fb4565b506114dd60028284610fc0565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b6060610dfb8484600085856115348561151a565b6115505760405162461bcd60e51b81526004016103f390611f60565b600080866001600160a01b0316858760405161156c91906119dd565b60006040518083038185875af1925050503d80600081146115a9576040519150601f19603f3d011682016040523d82523d6000602084013e6115ae565b606091505b50915091506115be8282866115c9565b979650505050505050565b606083156115d8575081610dfe565b8251156115e85782518084602001fd5b8160405162461bcd60e51b81526004016103f39190611a84565b82805461160e90612089565b90600052602060002090601f0160209004810192826116305760008555611676565b82601f1061164957805160ff1916838001178555611676565b82800160010185558215611676579182015b8281111561167657825182559160200191906001019061165b565b50611682929150611686565b5090565b5b808211156116825760008155600101611687565b600067ffffffffffffffff8311156116b5576116b56120f5565b6116c8601f8401601f1916602001611fa0565b90508281528383830111156116dc57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461033557600080fd5b60006020828403121561171b578081fd5b61051b826116f3565b60008060408385031215611736578081fd5b61173f836116f3565b915061174d602084016116f3565b90509250929050565b60008060006060848603121561176a578081fd5b611773846116f3565b9250611781602085016116f3565b9150604084013590509250925092565b600080600080608085870312156117a6578081fd5b6117af856116f3565b93506117bd602086016116f3565b925060408501359150606085013567ffffffffffffffff8111156117df578182fd5b8501601f810187136117ef578182fd5b6117fe8782356020840161169b565b91505092959194509250565b6000806040838503121561181c578182fd5b611825836116f3565b915060208301358015158114611839578182fd5b809150509250929050565b60008060408385031215611856578182fd5b61185f836116f3565b946020939093013593505050565b6000602080838503121561187f578182fd5b823567ffffffffffffffff80821115611896578384fd5b818501915085601f8301126118a9578384fd5b8135818111156118bb576118bb6120f5565b83810291506118cb848301611fa0565b8181528481019084860184860187018a10156118e5578788fd5b8795505b8386101561190e576118fa816116f3565b8352600195909501949186019186016118e9565b5098975050505050505050565b60006020828403121561192c578081fd5b8135610dfe8161210b565b600060208284031215611948578081fd5b8151610dfe8161210b565b600060208284031215611964578081fd5b813567ffffffffffffffff81111561197a578182fd5b8201601f8101841361198a578182fd5b610c9d8482356020840161169b565b6000602082840312156119aa578081fd5b5035919050565b600081518084526119c981602086016020860161205d565b601f01601f19169290920160200192915050565b600082516119ef81846020870161205d565b9190910192915050565b60008351611a0b81846020880161205d565b835190830190611a1f81836020880161205d565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a6f908301846119b1565b9695505050505050565b901515815260200190565b60006020825261051b60208301846119b1565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252600e908201526d105b1c9958591e481b1bd8dad95960921b604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b90815260200190565b60405181810167ffffffffffffffff81118282101715611fc257611fc26120f5565b604052919050565b60008219821115611fdd57611fdd6120df565b500190565b600060ff821660ff84168060ff03821115611fff57611fff6120df565b019392505050565b60008261202257634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612041576120416120df565b500290565b600082821015612058576120586120df565b500390565b60005b83811015612078578181015183820152602001612060565b838111156108eb5750506000910152565b60028104600182168061209d57607f821691505b602082108114156120be57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120d8576120d86120df565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461061b57600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212202dfd7aed89cf4eb837b23087b323bb0c56e237ec830c479225caa8787f0ba6da64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005268747470733a2f2f6d696e7465722e6d7970696e6174612e636c6f75642f697066732f516d6164694879795837334d544a6b416d7a4e6434677636534d5a7a72534e6a34516133664d476a7072426e596b2f0000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): https://minter.mypinata.cloud/ipfs/QmadiHyyX73MTJkAmzNd4gv6SMZzrSNj4Qa3fMGjprBnYk/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000052
Arg [2] : 68747470733a2f2f6d696e7465722e6d7970696e6174612e636c6f75642f6970
Arg [3] : 66732f516d6164694879795837334d544a6b416d7a4e6434677636534d5a7a72
Arg [4] : 534e6a34516133664d476a7072426e596b2f0000000000000000000000000000
Deployed Bytecode Sourcemap
70185:1005:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10448:200;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53661:100;;;:::i;:::-;;;;;;;:::i;56669:308::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;56168:435::-;;;;;;:::i;:::-;;:::i;:::-;;55596:211;;;:::i;:::-;;;;;;;:::i;57728:376::-;;;;;;:::i;:::-;;:::i;55308:212::-;;;;;;:::i;:::-;;:::i;58175:185::-;;;;;;:::i;:::-;;:::i;55884:222::-;;;;;;:::i;:::-;;:::i;70517:145::-;;;:::i;70406:99::-;;;;;;:::i;:::-;;:::i;53305:289::-;;;;;;:::i;:::-;;:::i;55127:97::-;;;:::i;52935:308::-;;;;;;:::i;:::-;;:::i;69460:148::-;;;:::i;70919:264::-;;;;;;:::i;:::-;;:::i;68809:87::-;;;:::i;53830:104::-;;;:::i;57049:327::-;;;;;;:::i;:::-;;:::i;58431:365::-;;;;;;:::i;:::-;;:::i;70674:229::-;;;;;;:::i;:::-;;:::i;54005:879::-;;;;;;:::i;:::-;;:::i;57447:214::-;;;;;;:::i;:::-;;:::i;69763:281::-;;;;;;:::i;:::-;;:::i;10448:200::-;-1:-1:-1;;;;;;10607:33:0;;10578:4;10607:33;;;;;;;;;;;;;10448:200;;;;:::o;53661:100::-;53715:13;53748:5;53741:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53661:100;:::o;56669:308::-;56790:7;56837:16;56845:7;56837;:16::i;:::-;56815:110;;;;-1:-1:-1;;;56815:110:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;56945:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;56945:24:0;;56669:308::o;56168:435::-;56249:13;56265:23;56280:7;56265:14;:23::i;:::-;56249:39;;56313:5;-1:-1:-1;;;;;56307:11:0;:2;-1:-1:-1;;;;;56307:11:0;;;56299:57;;;;-1:-1:-1;;;56299:57:0;;;;;;;:::i;:::-;56407:5;-1:-1:-1;;;;;56391:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;56391:21:0;;:86;;;;56433:44;56457:5;56464:12;:10;:12::i;56433:44::-;56369:192;;;;-1:-1:-1;;;56369:192:0;;;;;;;:::i;:::-;56574:21;56583:2;56587:7;56574:8;:21::i;:::-;56168:435;;;:::o;55596:211::-;55657:7;55778:21;:12;:19;:21::i;:::-;55771:28;;55596:211;:::o;57728:376::-;57937:41;57956:12;:10;:12::i;:::-;57970:7;57937:18;:41::i;:::-;57915:140;;;;-1:-1:-1;;;57915:140:0;;;;;;;:::i;:::-;58068:28;58078:4;58084:2;58088:7;58068:9;:28::i;55308:212::-;-1:-1:-1;;;;;55482:20:0;;55450:7;55482:20;;;:13;:20;;;;;:30;;55506:5;55482:23;:30::i;:::-;55475:37;;55308:212;;;;;:::o;58175:185::-;58313:39;58330:4;58336:2;58340:7;58313:39;;;;;;;;;;;;:16;:39::i;55884:222::-;56004:7;;56051:22;:12;56067:5;56051:15;:22::i;:::-;-1:-1:-1;56029:44:0;55884:222;-1:-1:-1;;;55884:222:0:o;70517:145::-;69040:12;:10;:12::i;:::-;-1:-1:-1;;;;;69029:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;69029:23:0;;69021:68;;;;-1:-1:-1;;;69021:68:0;;;;;;;:::i;:::-;70579:19:::1;::::0;-1:-1:-1;;;70579:19:0;::::1;;;70578:20;70570:47;;;;-1:-1:-1::0;;;70570:47:0::1;;;;;;;:::i;:::-;70628:19;:26:::0;;-1:-1:-1;;;;70628:26:0::1;-1:-1:-1::0;;;70628:26:0::1;::::0;;70517:145::o;70406:99::-;69040:12;:10;:12::i;:::-;-1:-1:-1;;;;;69029:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;69029:23:0;;69021:68;;;;-1:-1:-1;;;69021:68:0;;;;;;;:::i;:::-;70477:20:::1;70489:7;70477:11;:20::i;:::-;70406:99:::0;:::o;53305:289::-;53422:7;53467:119;53502:7;53467:119;;;;;;;;;;;;;;;;;:12;;:119;:16;:119::i;55127:97::-;55175:13;55208:8;55201:15;;;;;:::i;52935:308::-;53052:7;-1:-1:-1;;;;;53099:19:0;;53077:111;;;;-1:-1:-1;;;53077:111:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;53206:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;69460:148::-;69040:12;:10;:12::i;:::-;-1:-1:-1;;;;;69029:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;69029:23:0;;69021:68;;;;-1:-1:-1;;;69021:68:0;;;;;;;:::i;:::-;69551:6:::1;::::0;69530:40:::1;::::0;69567:1:::1;::::0;-1:-1:-1;;;;;69551:6:0::1;::::0;69530:40:::1;::::0;69567:1;;69530:40:::1;69581:6;:19:::0;;-1:-1:-1;;;;;;69581:19:0::1;::::0;;69460:148::o;70919:264::-;69040:12;:10;:12::i;:::-;-1:-1:-1;;;;;69029:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;69029:23:0;;69021:68;;;;-1:-1:-1;;;69021:68:0;;;;;;;:::i;:::-;71012:6:::1;71008:168;71028:12;:19;71024:1;:23;71008:168;;;71081:15;71099:13;:11;:13::i;:::-;71081:31;;71127:37;71138:12;71151:1;71138:15;;;;;;-1:-1:-1::0;;;71138:15:0::1;;;;;;;;;;;;;;;71155:7;71127:9;:37::i;:::-;-1:-1:-1::0;71049:3:0;::::1;::::0;::::1;:::i;:::-;;;;71008:168;;;;70919:264:::0;:::o;68809:87::-;68882:6;;-1:-1:-1;;;;;68882:6:0;68809:87;:::o;53830:104::-;53886:13;53919:7;53912:14;;;;;:::i;57049:327::-;57196:12;:10;:12::i;:::-;-1:-1:-1;;;;;57184:24:0;:8;-1:-1:-1;;;;;57184:24:0;;;57176:62;;;;-1:-1:-1;;;57176:62:0;;;;;;;:::i;:::-;57296:8;57251:18;:32;57270:12;:10;:12::i;:::-;-1:-1:-1;;;;;57251:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;57251:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;57251:53:0;;;;;;;;;;;57335:12;:10;:12::i;:::-;-1:-1:-1;;;;;57320:48:0;;57359:8;57320:48;;;;;;:::i;:::-;;;;;;;;57049:327;;:::o;58431:365::-;58620:41;58639:12;:10;:12::i;:::-;58653:7;58620:18;:41::i;:::-;58598:140;;;;-1:-1:-1;;;58598:140:0;;;;;;;:::i;:::-;58749:39;58763:4;58769:2;58773:7;58782:5;58749:13;:39::i;:::-;58431:365;;;;:::o;70674:229::-;69040:12;:10;:12::i;:::-;-1:-1:-1;;;;;69029:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;69029:23:0;;69021:68;;;;-1:-1:-1;;;69021:68:0;;;;;;;:::i;:::-;70752:6:::1;70748:148;70768:6;70764:1;:10;70748:148;;;70808:15;70826:13;:11;:13::i;:::-;70808:31;;70854:30;70864:10;70876:7;70854:9;:30::i;:::-;-1:-1:-1::0;70776:3:0;::::1;::::0;::::1;:::i;:::-;;;;70748:148;;54005:879:::0;54123:13;54176:16;54184:7;54176;:16::i;:::-;54154:113;;;;-1:-1:-1;;;54154:113:0;;;;;;;:::i;:::-;54280:23;54306:19;;;:10;:19;;;;;54280:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54336:18;54357:9;:7;:9::i;:::-;54336:30;;54448:4;54442:18;54464:1;54442:23;54438:72;;;-1:-1:-1;54489:9:0;-1:-1:-1;54482:16:0;;54438:72;54614:23;;:27;54610:108;;54689:4;54695:9;54672:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54658:48;;;;;;54610:108;54850:4;54856:18;:7;:16;:18::i;:::-;54833:42;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54819:57;;;;54005:879;;;:::o;57447:214::-;-1:-1:-1;;;;;57618:25:0;;;57589:4;57618:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;57447:214::o;69763:281::-;69040:12;:10;:12::i;:::-;-1:-1:-1;;;;;69029:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;69029:23:0;;69021:68;;;;-1:-1:-1;;;69021:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;69866:22:0;::::1;69844:110;;;;-1:-1:-1::0;;;69844:110:0::1;;;;;;;:::i;:::-;69991:6;::::0;69970:38:::1;::::0;-1:-1:-1;;;;;69970:38:0;;::::1;::::0;69991:6:::1;::::0;69970:38:::1;::::0;69991:6:::1;::::0;69970:38:::1;70019:6;:17:::0;;-1:-1:-1;;;;;;70019:17:0::1;-1:-1:-1::0;;;;;70019:17:0;;;::::1;::::0;;;::::1;::::0;;69763:281::o;60343:127::-;60408:4;60432:30;:12;60454:7;60432:21;:30::i;659:98::-;739:10;659:98;:::o;66757:192::-;66832:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;66832:29:0;-1:-1:-1;;;;;66832:29:0;;;;;;;;:24;;66886:23;66832:24;66886:14;:23::i;:::-;-1:-1:-1;;;;;66877:46:0;;;;;;;;;;;66757:192;;:::o;46233:155::-;46329:7;46361:19;46369:3;46361:7;:19::i;60637:459::-;60766:4;60810:16;60818:7;60810;:16::i;:::-;60788:110;;;;-1:-1:-1;;;60788:110:0;;;;;;;:::i;:::-;60909:13;60925:23;60940:7;60925:14;:23::i;:::-;60909:39;;60978:5;-1:-1:-1;;;;;60967:16:0;:7;-1:-1:-1;;;;;60967:16:0;;:64;;;;61024:7;-1:-1:-1;;;;;61000:31:0;:20;61012:7;61000:11;:20::i;:::-;-1:-1:-1;;;;;61000:31:0;;60967:64;:120;;;;61048:39;61072:5;61079:7;61048:23;:39::i;:::-;60959:129;60637:459;-1:-1:-1;;;;60637:459:0:o;63948:670::-;64121:4;-1:-1:-1;;;;;64094:31:0;:23;64109:7;64094:14;:23::i;:::-;-1:-1:-1;;;;;64094:31:0;;64072:122;;;;-1:-1:-1;;;64072:122:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;64231:16:0;;64223:65;;;;-1:-1:-1;;;64223:65:0;;;;;;;:::i;:::-;64301:39;64322:4;64328:2;64332:7;64301:20;:39::i;:::-;64405:29;64422:1;64426:7;64405:8;:29::i;:::-;-1:-1:-1;;;;;64447:19:0;;;;;;:13;:19;;;;;:35;;64474:7;64447:26;:35::i;:::-;-1:-1:-1;;;;;;64493:17:0;;;;;;:13;:17;;;;;:30;;64515:7;64493:21;:30::i;:::-;-1:-1:-1;64536:29:0;:12;64553:7;64562:2;64536:16;:29::i;:::-;;64602:7;64598:2;-1:-1:-1;;;;;64583:27:0;64592:4;-1:-1:-1;;;;;64583:27:0;;;;;;;;;;;63948:670;;;:::o;37683:169::-;37781:7;37821:22;37825:3;37837:5;37821:3;:22::i;46736:268::-;46843:7;;;;46908:22;46912:3;46924:5;46908:3;:22::i;:::-;46877:53;;;;-1:-1:-1;46736:268:0;-1:-1:-1;;;;;46736:268:0:o;65279:100::-;65352:19;;;;:8;;:19;;;;;:::i;48118:292::-;48259:7;48341:44;48346:3;48366;48372:12;48341:4;:44::i;:::-;48333:53;-1:-1:-1;48118:292:0;;;;;;:::o;61439:110::-;61515:26;61525:2;61529:7;61515:26;;;;;;;;;;;;:9;:26::i;59678:352::-;59835:28;59845:4;59851:2;59855:7;59835:9;:28::i;:::-;59896:48;59919:4;59925:2;59929:7;59938:5;59896:22;:48::i;:::-;59874:148;;;;-1:-1:-1;;;59874:148:0;;;;;;;:::i;48559:621::-;48639:27;48688:7;48684:50;;-1:-1:-1;48712:10:0;;;;;;;;;;;;-1:-1:-1;;;48712:10:0;;;;;;48684:50;48756:2;48744:9;48791:69;48798:6;;48791:69;;48821:5;;;;:::i;:::-;;-1:-1:-1;48841:7:0;;-1:-1:-1;48846:2:0;48841:7;;:::i;:::-;;;48791:69;;;48870:17;48900:3;48890:14;;;;;;-1:-1:-1;;;48890:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48890:14:0;-1:-1:-1;48870:34:0;-1:-1:-1;48927:3:0;48941:202;48948:7;;48941:202;;48976:5;48980:1;48976;:5;:::i;:::-;48972:9;-1:-1:-1;48996:10:0;49027:7;49032:2;49027;:7;:::i;:::-;49026:14;;49038:2;49026:14;:::i;:::-;49021:19;;:2;:19;:::i;:::-;49010:31;;:2;:31;:::i;:::-;48996:46;;49057:9;49076:4;49069:12;;49057:24;;49106:2;49096:4;49101:1;49096:7;;;;;;-1:-1:-1;;;49096:7:0;;;;;;;;;;;;:12;-1:-1:-1;;;;;49096:12:0;;;;;;;;-1:-1:-1;49123:8:0;49129:2;49123:8;;:::i;:::-;;;48941:202;;;;;-1:-1:-1;49167:4:0;48559:621;-1:-1:-1;;;;48559:621:0:o;45962:183::-;46073:4;46102:35;46112:3;46132;46102:9;:35::i;42578:110::-;42661:19;;42578:110::o;36705:160::-;36793:4;36822:35;36830:3;36850:5;36822:7;:35::i;36398:131::-;36465:4;36489:32;36494:3;36514:5;36489:4;:32::i;45328:219::-;45451:4;45475:64;45480:3;45500;-1:-1:-1;;;;;45514:23:0;;45475:4;:64::i;32349:273::-;32490:18;;32443:7;;32490:26;-1:-1:-1;32468:110:0;;;;-1:-1:-1;;;32468:110:0;;;;;;;:::i;:::-;32596:3;:11;;32608:5;32596:18;;;;;;-1:-1:-1;;;32596:18:0;;;;;;;;;;;;;;;;;32589:25;;32349:273;;;;:::o;43053:348::-;43203:19;;43147:7;;;;43203:27;-1:-1:-1;43181:111:0;;;;-1:-1:-1;;;43181:111:0;;;;;;;:::i;:::-;43305:22;43330:3;:12;;43343:5;43330:19;;;;;;-1:-1:-1;;;43330:19:0;;;;;;;;;;;;;;;;;;;43305:44;;43368:5;:10;;;43380:5;:12;;;43360:33;;;;;43053:348;;;;;:::o;44651:353::-;44779:7;44818:17;;;:12;;;:17;;;;;;44869:12;44854:13;44846:36;;;;-1:-1:-1;;;44846:36:0;;;;;;;;:::i;:::-;-1:-1:-1;44936:3:0;44949:12;44960:1;44949:8;:12;:::i;:::-;44936:26;;;;;;-1:-1:-1;;;44936:26:0;;;;;;;;;;;;;;;;;;;:33;;;44929:40;;;44651:353;;;;;:::o;61776:321::-;61906:18;61912:2;61916:7;61906:5;:18::i;:::-;61957:54;61988:1;61992:2;61996:7;62005:5;61957:22;:54::i;:::-;61935:154;;;;-1:-1:-1;;;61935:154:0;;;;;;;:::i;65944:694::-;66099:4;66121:15;:2;-1:-1:-1;;;;;66121:13:0;;:15::i;:::-;66116:60;;-1:-1:-1;66160:4:0;66153:11;;66116:60;66186:23;66212:313;-1:-1:-1;;;66347:12:0;:10;:12::i;:::-;66378:4;66401:7;66427:5;66242:205;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;66242:205:0;;;;;;;-1:-1:-1;;;;;66242:205:0;;;;;;;;;;;66212:313;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;66212:15:0;;;:313;:15;:313::i;:::-;66186:339;;66536:13;66563:10;66552:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;66603:26:0;-1:-1:-1;;;66603:26:0;;-1:-1:-1;;;65944:694:0;;;;;;:::o;42326:157::-;42424:4;42453:17;;;:12;;;;;:17;;;;;;:22;;;42326:157::o;29996:1557::-;30062:4;30201:19;;;:12;;;:19;;;;;;30237:15;;30233:1313;;30612:21;30636:14;30649:1;30636:10;:14;:::i;:::-;30685:18;;30612:38;;-1:-1:-1;30665:17:0;;30685:22;;30706:1;;30685:22;:::i;:::-;30665:42;;30952:17;30972:3;:11;;30984:9;30972:22;;;;;;-1:-1:-1;;;30972:22:0;;;;;;;;;;;;;;;;;30952:42;;31118:9;31089:3;:11;;31101:13;31089:26;;;;;;-1:-1:-1;;;31089:26:0;;;;;;;;;;;;;;;;;;:38;31221:17;:13;31237:1;31221:17;:::i;:::-;31195:23;;;;:12;;;:23;;;;;:43;31347:17;;31195:3;;31347:17;;;-1:-1:-1;;;31347:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;31442:3;:12;;:19;31455:5;31442:19;;;;;;;;;;;31435:26;;;31485:4;31478:11;;;;;;;;30233:1313;31529:5;31522:12;;;;;29406:414;29469:4;29491:21;29501:3;29506:5;29491:9;:21::i;:::-;29486:327;;-1:-1:-1;29529:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;29712:18;;29690:19;;;:12;;;:19;;;;;;:40;;;;29745:11;;29486:327;-1:-1:-1;29796:5:0;29789:12;;39768:737;39878:4;40013:17;;;:12;;;:17;;;;;;40047:13;40043:455;;-1:-1:-1;;40145:36:0;;;;;;;;;;;;;;;;;;40127:55;;;;;;;;:12;:55;;;;;;;;;;;;;;;;;;;;;;;;40340:19;;40320:17;;;:12;;;:17;;;;;;;:39;40374:11;;40043:455;40454:5;40418:3;40431:12;40442:1;40431:8;:12;:::i;:::-;40418:26;;;;;;-1:-1:-1;;;40418:26:0;;;;;;;;;;;;;;;;;;;:33;;:41;;;;40481:5;40474:12;;;;;62433:404;-1:-1:-1;;;;;62513:16:0;;62505:61;;;;-1:-1:-1;;;62505:61:0;;;;;;;:::i;:::-;62586:16;62594:7;62586;:16::i;:::-;62585:17;62577:58;;;;-1:-1:-1;;;62577:58:0;;;;;;;:::i;:::-;62648:45;62677:1;62681:2;62685:7;62648:20;:45::i;:::-;-1:-1:-1;;;;;62706:17:0;;;;;;:13;:17;;;;;:30;;62728:7;62706:21;:30::i;:::-;-1:-1:-1;62749:29:0;:12;62766:7;62775:2;62749:16;:29::i;:::-;-1:-1:-1;62796:33:0;;62821:7;;-1:-1:-1;;;;;62796:33:0;;;62813:1;;62796:33;;62813:1;;62796:33;62433:404;;:::o;19739:444::-;20119:20;20167:8;;;19739:444::o;22776:229::-;22913:12;22945:52;22967:6;22975:4;22981:1;22984:12;22913;24324:18;24335:6;24324:10;:18::i;:::-;24316:60;;;;-1:-1:-1;;;24316:60:0;;;;;;;:::i;:::-;24450:12;24464:23;24491:6;-1:-1:-1;;;;;24491:11:0;24510:5;24531:4;24491:55;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24449:97;;;;24564:52;24582:7;24591:10;24603:12;24564:17;:52::i;:::-;24557:59;23992:632;-1:-1:-1;;;;;;;23992:632:0:o;26915:777::-;27065:12;27094:7;27090:595;;;-1:-1:-1;27125:10:0;27118:17;;27090:595;27239:17;;:21;27235:439;;27502:10;27496:17;27563:15;27550:10;27546:2;27542:19;27535:44;27450:148;27645:12;27638:20;;-1:-1:-1;;;27638:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:409:1;;114:18;106:6;103:30;100:2;;;136:18;;:::i;:::-;174:58;220:2;197:17;;-1:-1:-1;;193:31:1;226:4;189:42;174:58;:::i;:::-;165:67;;255:6;248:5;241:21;295:3;286:6;281:3;277:16;274:25;271:2;;;312:1;309;302:12;271:2;361:6;356:3;349:4;342:5;338:16;325:43;415:1;408:4;399:6;392:5;388:18;384:29;377:40;90:333;;;;;:::o;428:175::-;498:20;;-1:-1:-1;;;;;547:31:1;;537:42;;527:2;;593:1;590;583:12;608:198;;720:2;708:9;699:7;695:23;691:32;688:2;;;741:6;733;726:22;688:2;769:31;790:9;769:31;:::i;811:274::-;;;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:31;1010:9;989:31;:::i;:::-;979:41;;1039:40;1075:2;1064:9;1060:18;1039:40;:::i;:::-;1029:50;;898:187;;;;;:::o;1090:342::-;;;;1236:2;1224:9;1215:7;1211:23;1207:32;1204:2;;;1257:6;1249;1242:22;1204:2;1285:31;1306:9;1285:31;:::i;:::-;1275:41;;1335:40;1371:2;1360:9;1356:18;1335:40;:::i;:::-;1325:50;;1422:2;1411:9;1407:18;1394:32;1384:42;;1194:238;;;;;:::o;1437:702::-;;;;;1609:3;1597:9;1588:7;1584:23;1580:33;1577:2;;;1631:6;1623;1616:22;1577:2;1659:31;1680:9;1659:31;:::i;:::-;1649:41;;1709:40;1745:2;1734:9;1730:18;1709:40;:::i;:::-;1699:50;;1796:2;1785:9;1781:18;1768:32;1758:42;;1851:2;1840:9;1836:18;1823:32;1878:18;1870:6;1867:30;1864:2;;;1915:6;1907;1900:22;1864:2;1943:22;;1996:4;1988:13;;1984:27;-1:-1:-1;1974:2:1;;2030:6;2022;2015:22;1974:2;2058:75;2125:7;2120:2;2107:16;2102:2;2098;2094:11;2058:75;:::i;:::-;2048:85;;;1567:572;;;;;;;:::o;2144:369::-;;;2270:2;2258:9;2249:7;2245:23;2241:32;2238:2;;;2291:6;2283;2276:22;2238:2;2319:31;2340:9;2319:31;:::i;:::-;2309:41;;2400:2;2389:9;2385:18;2372:32;2447:5;2440:13;2433:21;2426:5;2423:32;2413:2;;2474:6;2466;2459:22;2413:2;2502:5;2492:15;;;2228:285;;;;;:::o;2518:266::-;;;2647:2;2635:9;2626:7;2622:23;2618:32;2615:2;;;2668:6;2660;2653:22;2615:2;2696:31;2717:9;2696:31;:::i;:::-;2686:41;2774:2;2759:18;;;;2746:32;;-1:-1:-1;;;2605:179:1:o;2789:1010::-;;2904:2;2947;2935:9;2926:7;2922:23;2918:32;2915:2;;;2968:6;2960;2953:22;2915:2;3013:9;3000:23;3042:18;3083:2;3075:6;3072:14;3069:2;;;3104:6;3096;3089:22;3069:2;3147:6;3136:9;3132:22;3122:32;;3192:7;3185:4;3181:2;3177:13;3173:27;3163:2;;3219:6;3211;3204:22;3163:2;3260;3247:16;3282:2;3278;3275:10;3272:2;;;3288:18;;:::i;:::-;3335:2;3331;3327:11;3317:21;;3358:27;3381:2;3377;3373:11;3358:27;:::i;:::-;3419:15;;;3450:12;;;;3482:11;;;3512;;;3508:20;;3505:33;-1:-1:-1;3502:2:1;;;3556:6;3548;3541:22;3502:2;3583:6;3574:15;;3598:171;3612:2;3609:1;3606:9;3598:171;;;3669:25;3690:3;3669:25;:::i;:::-;3657:38;;3630:1;3623:9;;;;;3715:12;;;;3747;;3598:171;;;-1:-1:-1;3788:5:1;2884:915;-1:-1:-1;;;;;;;;2884:915:1:o;3804:257::-;;3915:2;3903:9;3894:7;3890:23;3886:32;3883:2;;;3936:6;3928;3921:22;3883:2;3980:9;3967:23;3999:32;4025:5;3999:32;:::i;4066:261::-;;4188:2;4176:9;4167:7;4163:23;4159:32;4156:2;;;4209:6;4201;4194:22;4156:2;4246:9;4240:16;4265:32;4291:5;4265:32;:::i;4332:482::-;;4454:2;4442:9;4433:7;4429:23;4425:32;4422:2;;;4475:6;4467;4460:22;4422:2;4520:9;4507:23;4553:18;4545:6;4542:30;4539:2;;;4590:6;4582;4575:22;4539:2;4618:22;;4671:4;4663:13;;4659:27;-1:-1:-1;4649:2:1;;4705:6;4697;4690:22;4649:2;4733:75;4800:7;4795:2;4782:16;4777:2;4773;4769:11;4733:75;:::i;4819:190::-;;4931:2;4919:9;4910:7;4906:23;4902:32;4899:2;;;4952:6;4944;4937:22;4899:2;-1:-1:-1;4980:23:1;;4889:120;-1:-1:-1;4889:120:1:o;5014:259::-;;5095:5;5089:12;5122:6;5117:3;5110:19;5138:63;5194:6;5187:4;5182:3;5178:14;5171:4;5164:5;5160:16;5138:63;:::i;:::-;5255:2;5234:15;-1:-1:-1;;5230:29:1;5221:39;;;;5262:4;5217:50;;5065:208;-1:-1:-1;;5065:208:1:o;5278:274::-;;5445:6;5439:13;5461:53;5507:6;5502:3;5495:4;5487:6;5483:17;5461:53;:::i;:::-;5530:16;;;;;5415:137;-1:-1:-1;;5415:137:1:o;5557:470::-;;5774:6;5768:13;5790:53;5836:6;5831:3;5824:4;5816:6;5812:17;5790:53;:::i;:::-;5906:13;;5865:16;;;;5928:57;5906:13;5865:16;5962:4;5950:17;;5928:57;:::i;:::-;6001:20;;5744:283;-1:-1:-1;;;;5744:283:1:o;6032:203::-;-1:-1:-1;;;;;6196:32:1;;;;6178:51;;6166:2;6151:18;;6133:102::o;6240:490::-;-1:-1:-1;;;;;6509:15:1;;;6491:34;;6561:15;;6556:2;6541:18;;6534:43;6608:2;6593:18;;6586:34;;;6656:3;6651:2;6636:18;;6629:31;;;6240:490;;6677:47;;6704:19;;6696:6;6677:47;:::i;:::-;6669:55;6443:287;-1:-1:-1;;;;;;6443:287:1:o;6735:187::-;6900:14;;6893:22;6875:41;;6863:2;6848:18;;6830:92::o;6927:221::-;;7076:2;7065:9;7058:21;7096:46;7138:2;7127:9;7123:18;7115:6;7096:46;:::i;7153:398::-;7355:2;7337:21;;;7394:2;7374:18;;;7367:30;7433:34;7428:2;7413:18;;7406:62;-1:-1:-1;;;7499:2:1;7484:18;;7477:32;7541:3;7526:19;;7327:224::o;7556:414::-;7758:2;7740:21;;;7797:2;7777:18;;;7770:30;7836:34;7831:2;7816:18;;7809:62;-1:-1:-1;;;7902:2:1;7887:18;;7880:48;7960:3;7945:19;;7730:240::o;7975:402::-;8177:2;8159:21;;;8216:2;8196:18;;;8189:30;8255:34;8250:2;8235:18;;8228:62;-1:-1:-1;;;8321:2:1;8306:18;;8299:36;8367:3;8352:19;;8149:228::o;8382:352::-;8584:2;8566:21;;;8623:2;8603:18;;;8596:30;8662;8657:2;8642:18;;8635:58;8725:2;8710:18;;8556:178::o;8739:400::-;8941:2;8923:21;;;8980:2;8960:18;;;8953:30;9019:34;9014:2;8999:18;;8992:62;-1:-1:-1;;;9085:2:1;9070:18;;9063:34;9129:3;9114:19;;8913:226::o;9144:349::-;9346:2;9328:21;;;9385:2;9365:18;;;9358:30;9424:27;9419:2;9404:18;;9397:55;9484:2;9469:18;;9318:175::o;9905:408::-;10107:2;10089:21;;;10146:2;10126:18;;;10119:30;10185:34;10180:2;10165:18;;10158:62;-1:-1:-1;;;10251:2:1;10236:18;;10229:42;10303:3;10288:19;;10079:234::o;10318:420::-;10520:2;10502:21;;;10559:2;10539:18;;;10532:30;10598:34;10593:2;10578:18;;10571:62;10669:26;10664:2;10649:18;;10642:54;10728:3;10713:19;;10492:246::o;10743:406::-;10945:2;10927:21;;;10984:2;10964:18;;;10957:30;11023:34;11018:2;11003:18;;10996:62;-1:-1:-1;;;11089:2:1;11074:18;;11067:40;11139:3;11124:19;;10917:232::o;11154:398::-;11356:2;11338:21;;;11395:2;11375:18;;;11368:30;11434:34;11429:2;11414:18;;11407:62;-1:-1:-1;;;11500:2:1;11485:18;;11478:32;11542:3;11527:19;;11328:224::o;11557:338::-;11759:2;11741:21;;;11798:2;11778:18;;;11771:30;-1:-1:-1;;;11832:2:1;11817:18;;11810:44;11886:2;11871:18;;11731:164::o;11900:356::-;12102:2;12084:21;;;12121:18;;;12114:30;12180:34;12175:2;12160:18;;12153:62;12247:2;12232:18;;12074:182::o;12261:408::-;12463:2;12445:21;;;12502:2;12482:18;;;12475:30;12541:34;12536:2;12521:18;;12514:62;-1:-1:-1;;;12607:2:1;12592:18;;12585:42;12659:3;12644:19;;12435:234::o;12674:356::-;12876:2;12858:21;;;12895:18;;;12888:30;12954:34;12949:2;12934:18;;12927:62;13021:2;13006:18;;12848:182::o;13035:405::-;13237:2;13219:21;;;13276:2;13256:18;;;13249:30;13315:34;13310:2;13295:18;;13288:62;-1:-1:-1;;;13381:2:1;13366:18;;13359:39;13430:3;13415:19;;13209:231::o;13445:411::-;13647:2;13629:21;;;13686:2;13666:18;;;13659:30;13725:34;13720:2;13705:18;;13698:62;-1:-1:-1;;;13791:2:1;13776:18;;13769:45;13846:3;13831:19;;13619:237::o;13861:397::-;14063:2;14045:21;;;14102:2;14082:18;;;14075:30;14141:34;14136:2;14121:18;;14114:62;-1:-1:-1;;;14207:2:1;14192:18;;14185:31;14248:3;14233:19;;14035:223::o;14263:413::-;14465:2;14447:21;;;14504:2;14484:18;;;14477:30;14543:34;14538:2;14523:18;;14516:62;-1:-1:-1;;;14609:2:1;14594:18;;14587:47;14666:3;14651:19;;14437:239::o;14681:353::-;14883:2;14865:21;;;14922:2;14902:18;;;14895:30;14961:31;14956:2;14941:18;;14934:59;15025:2;15010:18;;14855:179::o;15039:177::-;15185:25;;;15173:2;15158:18;;15140:76::o;15221:251::-;15291:2;15285:9;15321:17;;;15368:18;15353:34;;15389:22;;;15350:62;15347:2;;;15415:18;;:::i;:::-;15451:2;15444:22;15265:207;;-1:-1:-1;15265:207:1:o;15477:128::-;;15548:1;15544:6;15541:1;15538:13;15535:2;;;15554:18;;:::i;:::-;-1:-1:-1;15590:9:1;;15525:80::o;15610:204::-;;15684:4;15681:1;15677:12;15716:4;15713:1;15709:12;15751:3;15745:4;15741:14;15736:3;15733:23;15730:2;;;15759:18;;:::i;:::-;15795:13;;15656:158;-1:-1:-1;;;15656:158:1:o;15819:217::-;;15885:1;15875:2;;-1:-1:-1;;;15910:31:1;;15964:4;15961:1;15954:15;15992:4;15917:1;15982:15;15875:2;-1:-1:-1;16021:9:1;;15865:171::o;16041:168::-;;16147:1;16143;16139:6;16135:14;16132:1;16129:21;16124:1;16117:9;16110:17;16106:45;16103:2;;;16154:18;;:::i;:::-;-1:-1:-1;16194:9:1;;16093:116::o;16214:125::-;;16282:1;16279;16276:8;16273:2;;;16287:18;;:::i;:::-;-1:-1:-1;16324:9:1;;16263:76::o;16344:258::-;16416:1;16426:113;16440:6;16437:1;16434:13;16426:113;;;16516:11;;;16510:18;16497:11;;;16490:39;16462:2;16455:10;16426:113;;;16557:6;16554:1;16551:13;16548:2;;;-1:-1:-1;;16592:1:1;16574:16;;16567:27;16397:205::o;16607:380::-;16692:1;16682:12;;16739:1;16729:12;;;16750:2;;16804:4;16796:6;16792:17;16782:27;;16750:2;16857;16849:6;16846:14;16826:18;16823:38;16820:2;;;16903:10;16898:3;16894:20;16891:1;16884:31;16938:4;16935:1;16928:15;16966:4;16963:1;16956:15;16820:2;;16662:325;;;:::o;16992:135::-;;-1:-1:-1;;17052:17:1;;17049:2;;;17072:18;;:::i;:::-;-1:-1:-1;17119:1:1;17108:13;;17039:88::o;17132:127::-;17193:10;17188:3;17184:20;17181:1;17174:31;17224:4;17221:1;17214:15;17248:4;17245:1;17238:15;17264:127;17325:10;17320:3;17316:20;17313:1;17306:31;17356:4;17353:1;17346:15;17380:4;17377:1;17370:15;17396:133;-1:-1:-1;;;;;;17472:32:1;;17462:43;;17452:2;;17519:1;17516;17509:12
Swarm Source
ipfs://2dfd7aed89cf4eb837b23087b323bb0c56e237ec830c479225caa8787f0ba6da
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.