ERC-721
Overview
Max Total Supply
80 DRIP
Holders
58
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 DRIPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Drip
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// Sources flattened with hardhat v2.6.4 https://hardhat.org // File @openzeppelin/contracts/utils/introspection/[email protected] // SPDX-License-Identifier: MIT 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/[email protected] 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/[email protected] 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/token/ERC721/extensions/[email protected] 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/utils/[email protected] 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; 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"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts/utils/[email protected] pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/utils/[email protected] pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File @openzeppelin/contracts/utils/introspection/[email protected] pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File @openzeppelin/contracts/token/ERC721/[email protected] pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _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 _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @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"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] 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/extensions/[email protected] pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File @openzeppelin/contracts/security/[email protected] pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File @openzeppelin/contracts/access/[email protected] 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File base64-sol/[email protected] /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides a function for encoding some bytes in base64 library Base64 { string internal constant TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { dataPtr := add(dataPtr, 3) // read 3 bytes let input := mload(dataPtr) // write 4 characters mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr( 6, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and( input, 0x3F))))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } } // File @openzeppelin/contracts/interfaces/[email protected] pragma solidity ^0.8.0; // File @openzeppelin/contracts/interfaces/[email protected] pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard */ interface IERC2981 is IERC165 { /** * @dev Called with the sale price to determine how much royalty is owed and to whom. * @param tokenId - the NFT asset queried for royalty information * @param salePrice - the sale price of the NFT asset specified by `tokenId` * @return receiver - address of who should be sent the royalty payment * @return royaltyAmount - the royalty payment amount for `salePrice` */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File contracts/drip.sol pragma solidity ^0.8.0; contract Drip is ERC721Enumerable, IERC2981, ReentrancyGuard, Ownable { uint256 public PRESALE_PRICE = 35000000000000000; // 0.035 eth uint256 public FULL_PRICE = 50000000000000000; // 0.05 ETH uint public WIDTH = 16; uint public HEIGHT = 18; uint256 public SIZE = WIDTH * HEIGHT; uint internal NEXT_TOKEN_ID = 0; // Allow for starting/pausing sale bool public MINT_ENABLED = false; bool public PRESALE_ENABLED = false; // Royalty, in basis points uint internal ROYALTY_BPS = 1000; // sell 50 @ 0.035 ETH // sell 238 @ 0.05 ETH uint internal NUM_PRESALE = 50; string internal BASE_TOKEN_URI; constructor(string memory baseURI) ERC721("Drip", "DRIP") Ownable() { BASE_TOKEN_URI = baseURI; } function setBaseURI(string memory baseURI) public onlyOwner { BASE_TOKEN_URI = baseURI; } // ERC2891 royalty function, for ERC2891-compatible platforms function royaltyInfo(uint256, uint256 _salePrice) override external view returns ( address receiver, uint256 royaltyAmount ) { return (owner(), (_salePrice * ROYALTY_BPS) / 10000); } // Update royalty rate, but unable to rug (> 30%) function updateRoyaltyBPS(uint8 newRoyaltyBPS) public onlyOwner { require(newRoyaltyBPS <= 3000, "No royalty greater than 30%"); ROYALTY_BPS = newRoyaltyBPS; } function getX(uint256 tokenId) public view returns (uint256) { // X coordinate return tokenId % WIDTH; } function getY(uint tokenId) public view returns (uint) { // Y coordinate return tokenId / WIDTH; } function tokenURI(uint256 tokenId) override public view returns (string memory) { string memory json = Base64.encode(bytes(string(abi.encodePacked('{"name": "Drip #', toString(tokenId), ': (', toString(getX(tokenId)), ', ', toString(getY(tokenId)), ')", "attributes": [{"trait_type": "X", "display_type": "number", "value": ', toString(getX(tokenId)), '}, {"trait_type": "Y", "display_type": "number", "value": ', toString(getY(tokenId)), '}], "description": "DripDAO is community powered merch.", "image": "', BASE_TOKEN_URI, toString(tokenId), '.svg"}')))); string memory output = string(abi.encodePacked('data:application/json;base64,', json)); return output; } function mint() public payable nonReentrant { require(MINT_ENABLED || PRESALE_ENABLED, "Minting is not currently enabled right now"); require(balanceOf(msg.sender) < 10, "Cannot mint more than 10 per address"); if (PRESALE_ENABLED && !MINT_ENABLED) { // Presale enabled, full sale not enabled yet // Only a certain amt can be minted require(NEXT_TOKEN_ID < NUM_PRESALE, "No more presale minting available"); require(PRESALE_PRICE <= msg.value, "Must send 0.035 ETH for mint"); } else if (MINT_ENABLED) { // Full sale now enabled // Yeehaw // If 50 still havent been minted yet, keep the prices at PRESALE_PRICE require(NEXT_TOKEN_ID < SIZE, "No more minting available"); if (NEXT_TOKEN_ID < NUM_PRESALE) { require(PRESALE_PRICE <= msg.value, "Must send 0.035 ETH for mint"); } else { require(FULL_PRICE <= msg.value, "Must send 0.05 ETH for mint"); } } _safeMint(msg.sender, NEXT_TOKEN_ID++); } function tokensOfOwner(address _owner) external view returns(uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); uint256 index; for (index = 0; index < tokenCount; index++) { result[index] = tokenOfOwnerByIndex(_owner, index); } return result; } } function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT license // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } function startPresale() public onlyOwner { require(!MINT_ENABLED, "Cannot start presale while full sale is in effect"); PRESALE_ENABLED = true; } function endPresale() public onlyOwner { PRESALE_ENABLED = false; } function startMint() public onlyOwner { require(!PRESALE_ENABLED, "Cannot start full sale while presale is in effect"); MINT_ENABLED = true; } function endMint() public onlyOwner { MINT_ENABLED = false; } function withdrawAll() external onlyOwner { // This forwards all available gas. Be sure to check the return value! (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
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":[],"name":"FULL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HEIGHT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_ENABLED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_ENABLED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WIDTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":[],"name":"startMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPresale","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newRoyaltyBPS","type":"uint8"}],"name":"updateRoyaltyBPS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052667c585087238000600c5566b1a2bc2ec50000600d556010600e556012600f55600f54600e5462000036919062000436565b60105560006011556000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff0219169083151502179055506103e860135560326014553480156200008c57600080fd5b50604051620054dd380380620054dd8339818101604052810190620000b291906200038a565b6040518060400160405280600481526020017f44726970000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f445249500000000000000000000000000000000000000000000000000000000081525081600090805190602001906200013692919062000268565b5080600190805190602001906200014f92919062000268565b5050506001600a819055506200017a6200016e6200019a60201b60201c565b620001a260201b60201c565b80601590805190602001906200019292919062000268565b50506200059a565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200027690620004d7565b90600052602060002090601f0160209004810192826200029a5760008555620002e6565b82601f10620002b557805160ff1916838001178555620002e6565b82800160010185558215620002e6579182015b82811115620002e5578251825591602001919060010190620002c8565b5b509050620002f59190620002f9565b5090565b5b8082111562000314576000816000905550600101620002fa565b5090565b60006200032f620003298462000403565b620003cf565b9050828152602081018484840111156200034857600080fd5b62000355848285620004a1565b509392505050565b600082601f8301126200036f57600080fd5b81516200038184826020860162000318565b91505092915050565b6000602082840312156200039d57600080fd5b600082015167ffffffffffffffff811115620003b857600080fd5b620003c6848285016200035d565b91505092915050565b6000604051905081810181811067ffffffffffffffff82111715620003f957620003f86200056b565b5b8060405250919050565b600067ffffffffffffffff8211156200042157620004206200056b565b5b601f19601f8301169050602081019050919050565b6000620004438262000497565b9150620004508362000497565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200048c576200048b6200050d565b5b828202905092915050565b6000819050919050565b60005b83811015620004c1578082015181840152602081019050620004a4565b83811115620004d1576000848401525b50505050565b60006002820490506001821680620004f057607f821691505b602082108114156200050757620005066200053c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614f3380620005aa6000396000f3fe6080604052600436106102255760003560e01c806370a0823111610123578063a22cb465116100ab578063d44d33941161006f578063d44d3394146107d7578063e985e9c514610802578063eef5deb11461083f578063f2fde38b14610868578063f8821a3b1461089157610225565b8063a22cb46514610706578063a43be57b1461072f578063b88d4fde14610746578063bdffd2821461076f578063c87b56dd1461079a57610225565b8063853828b6116100f2578063853828b6146106315780638da5cb5b146106485780638e5cb5f61461067357806395d89b41146106b05780639fbca28c146106db57610225565b806370a0823114610563578063715018a6146105a0578063845a4697146105b75780638462151c146105f457610225565b806323b872dd116101b15780634f6ccce7116101755780634f6ccce71461046a57806355f804b3146104a757806362dc6e21146104d05780636352211e146104fb57806369ea80d51461053857610225565b806323b872dd146103865780632a55205a146103af5780632be09561146103ed5780632f745c591461040457806342842e0e1461044157610225565b8063081812fc116101f8578063081812fc146102c0578063095ea7b3146102fd5780630b40cc99146103265780631249c58b1461035157806318160ddd1461035b57610225565b8063017043a51461022a57806301ffc9a71461024157806304c98b2b1461027e57806306fdde0314610295575b600080fd5b34801561023657600080fd5b5061023f6108bc565b005b34801561024d57600080fd5b50610268600480360381019061026391906134e0565b610955565b60405161027591906145f4565b60405180910390f35b34801561028a57600080fd5b506102936109cf565b005b3480156102a157600080fd5b506102aa610ab8565b6040516102b7919061460f565b60405180910390f35b3480156102cc57600080fd5b506102e760048036038101906102e29190613573565b610b4a565b6040516102f49190614542565b60405180910390f35b34801561030957600080fd5b50610324600480360381019061031f91906134a4565b610bcf565b005b34801561033257600080fd5b5061033b610ce7565b60405161034891906149b1565b60405180910390f35b610359610ced565b005b34801561036757600080fd5b50610370610fcd565b60405161037d91906149b1565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a8919061339e565b610fda565b005b3480156103bb57600080fd5b506103d660048036038101906103d1919061359c565b61103a565b6040516103e49291906145a9565b60405180910390f35b3480156103f957600080fd5b5061040261106b565b005b34801561041057600080fd5b5061042b600480360381019061042691906134a4565b611154565b60405161043891906149b1565b60405180910390f35b34801561044d57600080fd5b506104686004803603810190610463919061339e565b6111f9565b005b34801561047657600080fd5b50610491600480360381019061048c9190613573565b611219565b60405161049e91906149b1565b60405180910390f35b3480156104b357600080fd5b506104ce60048036038101906104c99190613532565b6112b0565b005b3480156104dc57600080fd5b506104e5611346565b6040516104f291906149b1565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d9190613573565b61134c565b60405161052f9190614542565b60405180910390f35b34801561054457600080fd5b5061054d6113fe565b60405161055a91906149b1565b60405180910390f35b34801561056f57600080fd5b5061058a60048036038101906105859190613339565b611404565b60405161059791906149b1565b60405180910390f35b3480156105ac57600080fd5b506105b56114bc565b005b3480156105c357600080fd5b506105de60048036038101906105d99190613573565b611544565b6040516105eb91906149b1565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613339565b61155b565b60405161062891906145d2565b60405180910390f35b34801561063d57600080fd5b506106466116d7565b005b34801561065457600080fd5b5061065d611802565b60405161066a9190614542565b60405180910390f35b34801561067f57600080fd5b5061069a60048036038101906106959190613573565b61182c565b6040516106a791906149b1565b60405180910390f35b3480156106bc57600080fd5b506106c5611843565b6040516106d2919061460f565b60405180910390f35b3480156106e757600080fd5b506106f06118d5565b6040516106fd91906145f4565b60405180910390f35b34801561071257600080fd5b5061072d60048036038101906107289190613468565b6118e8565b005b34801561073b57600080fd5b50610744611a69565b005b34801561075257600080fd5b5061076d600480360381019061076891906133ed565b611b02565b005b34801561077b57600080fd5b50610784611b64565b60405161079191906149b1565b60405180910390f35b3480156107a657600080fd5b506107c160048036038101906107bc9190613573565b611b6a565b6040516107ce919061460f565b60405180910390f35b3480156107e357600080fd5b506107ec611c23565b6040516107f991906149b1565b60405180910390f35b34801561080e57600080fd5b5061082960048036038101906108249190613362565b611c29565b60405161083691906145f4565b60405180910390f35b34801561084b57600080fd5b50610866600480360381019061086191906135d8565b611cbd565b005b34801561087457600080fd5b5061088f600480360381019061088a9190613339565b611d8e565b005b34801561089d57600080fd5b506108a6611e86565b6040516108b391906145f4565b60405180910390f35b6108c4611e99565b73ffffffffffffffffffffffffffffffffffffffff166108e2611802565b73ffffffffffffffffffffffffffffffffffffffff1614610938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092f90614811565b60405180910390fd5b6000601260006101000a81548160ff021916908315150217905550565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109c857506109c782611ea1565b5b9050919050565b6109d7611e99565b73ffffffffffffffffffffffffffffffffffffffff166109f5611802565b73ffffffffffffffffffffffffffffffffffffffff1614610a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4290614811565b60405180910390fd5b601260009054906101000a900460ff1615610a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9290614951565b60405180910390fd5b6001601260016101000a81548160ff021916908315150217905550565b606060008054610ac790614cd1565b80601f0160208091040260200160405190810160405280929190818152602001828054610af390614cd1565b8015610b405780601f10610b1557610100808354040283529160200191610b40565b820191906000526020600020905b815481529060010190602001808311610b2357829003601f168201915b5050505050905090565b6000610b5582611f83565b610b94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8b906147f1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bda8261134c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4290614871565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c6a611e99565b73ffffffffffffffffffffffffffffffffffffffff161480610c995750610c9881610c93611e99565b611c29565b5b610cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccf90614771565b60405180910390fd5b610ce28383611fef565b505050565b600d5481565b6002600a541415610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a90614971565b60405180910390fd5b6002600a81905550601260009054906101000a900460ff1680610d625750601260019054906101000a900460ff165b610da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9890614731565b60405180910390fd5b600a610dac33611404565b10610dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de390614991565b60405180910390fd5b601260019054906101000a900460ff168015610e155750601260009054906101000a900460ff16155b15610eaa5760145460115410610e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e57906148d1565b60405180910390fd5b34600c541115610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c90614931565b60405180910390fd5b610fa3565b601260009054906101000a900460ff1615610fa25760105460115410610f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efc906146d1565b60405180910390fd5b6014546011541015610f5b5734600c541115610f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4d90614931565b60405180910390fd5b610fa1565b34600d541115610fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9790614671565b60405180910390fd5b5b5b5b610fc33360116000815480929190610fba90614d03565b919050556120a8565b6001600a81905550565b6000600880549050905090565b610feb610fe5611e99565b826120c6565b61102a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611021906148b1565b60405180910390fd5b6110358383836121a4565b505050565b600080611045611802565b612710601354856110569190614b80565b6110609190614b4f565b915091509250929050565b611073611e99565b73ffffffffffffffffffffffffffffffffffffffff16611091611802565b73ffffffffffffffffffffffffffffffffffffffff16146110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de90614811565b60405180910390fd5b601260019054906101000a900460ff1615611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e90614911565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b600061115f83611404565b82106111a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119790614631565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61121483838360405180602001604052806000815250611b02565b505050565b6000611223610fcd565b8210611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125b906148f1565b60405180910390fd5b6008828154811061129e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6112b8611e99565b73ffffffffffffffffffffffffffffffffffffffff166112d6611802565b73ffffffffffffffffffffffffffffffffffffffff161461132c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132390614811565b60405180910390fd5b8060159080519060200190611342929190613148565b5050565b600c5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec906147b1565b60405180910390fd5b80915050919050565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146c90614791565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114c4611e99565b73ffffffffffffffffffffffffffffffffffffffff166114e2611802565b73ffffffffffffffffffffffffffffffffffffffff1614611538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152f90614811565b60405180910390fd5b6115426000612400565b565b6000600e54826115549190614b4f565b9050919050565b6060600061156883611404565b905060008114156115eb57600067ffffffffffffffff8111156115b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156115e25781602001602082028036833780820191505090505b509150506116d2565b60008167ffffffffffffffff81111561162d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561165b5781602001602082028036833780820191505090505b50905060005b828110156116cb576116738582611154565b8282815181106116ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806116c390614d03565b915050611661565b8193505050505b919050565b6116df611e99565b73ffffffffffffffffffffffffffffffffffffffff166116fd611802565b73ffffffffffffffffffffffffffffffffffffffff1614611753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174a90614811565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516117799061447b565b60006040518083038185875af1925050503d80600081146117b6576040519150601f19603f3d011682016040523d82523d6000602084013e6117bb565b606091505b50509050806117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690614891565b60405180910390fd5b50565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600e548261183c9190614d4c565b9050919050565b60606001805461185290614cd1565b80601f016020809104026020016040519081016040528092919081815260200182805461187e90614cd1565b80156118cb5780601f106118a0576101008083540402835291602001916118cb565b820191906000526020600020905b8154815290600101906020018083116118ae57829003601f168201915b5050505050905090565b601260009054906101000a900460ff1681565b6118f0611e99565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561195e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195590614711565b60405180910390fd5b806005600061196b611e99565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a18611e99565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a5d91906145f4565b60405180910390a35050565b611a71611e99565b73ffffffffffffffffffffffffffffffffffffffff16611a8f611802565b73ffffffffffffffffffffffffffffffffffffffff1614611ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adc90614811565b60405180910390fd5b6000601260016101000a81548160ff021916908315150217905550565b611b13611b0d611e99565b836120c6565b611b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b49906148b1565b60405180910390fd5b611b5e848484846124c6565b50505050565b60105481565b60606000611bf3611b7a84612522565b611b8b611b868661182c565b612522565b611b9c611b9787611544565b612522565b611bad611ba88861182c565b612522565b611bbe611bb989611544565b612522565b6015611bc98a612522565b604051602001611bdf9796959493929190614490565b6040516020818303038152906040526126cf565b9050600081604051602001611c089190614459565b60405160208183030381529060405290508092505050919050565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cc5611e99565b73ffffffffffffffffffffffffffffffffffffffff16611ce3611802565b73ffffffffffffffffffffffffffffffffffffffff1614611d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3090614811565b60405180910390fd5b610bb88160ff161115611d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7890614851565b60405180910390fd5b8060ff1660138190555050565b611d96611e99565b73ffffffffffffffffffffffffffffffffffffffff16611db4611802565b73ffffffffffffffffffffffffffffffffffffffff1614611e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0190614811565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7190614691565b60405180910390fd5b611e8381612400565b50565b601260019054906101000a900460ff1681565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f6c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f7c5750611f7b8261287a565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166120628361134c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6120c28282604051806020016040528060008152506128e4565b5050565b60006120d182611f83565b612110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210790614751565b60405180910390fd5b600061211b8361134c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061218a57508373ffffffffffffffffffffffffffffffffffffffff1661217284610b4a565b73ffffffffffffffffffffffffffffffffffffffff16145b8061219b575061219a8185611c29565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121c48261134c565b73ffffffffffffffffffffffffffffffffffffffff161461221a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221190614831565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561228a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612281906146f1565b60405180910390fd5b61229583838361293f565b6122a0600082611fef565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122f09190614bda565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123479190614af9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124d18484846121a4565b6124dd84848484612a53565b61251c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251390614651565b60405180910390fd5b50505050565b6060600082141561256a576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506126ca565b600082905060005b6000821461259c57808061258590614d03565b915050600a826125959190614b4f565b9150612572565b60008167ffffffffffffffff8111156125de577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126105781602001600182028036833780820191505090505b5090505b600085146126c3576001826126299190614bda565b9150600a856126389190614d4c565b60306126449190614af9565b60f81b818381518110612680577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126bc9190614b4f565b9450612614565b8093505050505b919050565b60606000825114156126f257604051806020016040528060008152509050612875565b6000604051806060016040528060408152602001614ebe60409139905060006003600285516127219190614af9565b61272b9190614b4f565b60046127379190614b80565b905060006020826127489190614af9565b67ffffffffffffffff811115612787577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127b95781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612834576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b8252600182019150506127cd565b60038951066001811461284e576002811461285e57612869565b613d3d60f01b6002830352612869565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128ee8383612bea565b6128fb6000848484612a53565b61293a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293190614651565b60405180910390fd5b505050565b61294a838383612db8565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561298d5761298881612dbd565b6129cc565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146129cb576129ca8382612e06565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a0f57612a0a81612f73565b612a4e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a4d57612a4c82826130b6565b5b5b505050565b6000612a748473ffffffffffffffffffffffffffffffffffffffff16613135565b15612bdd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a9d611e99565b8786866040518563ffffffff1660e01b8152600401612abf949392919061455d565b602060405180830381600087803b158015612ad957600080fd5b505af1925050508015612b0a57506040513d601f19601f82011682018060405250810190612b079190613509565b60015b612b8d573d8060008114612b3a576040519150601f19603f3d011682016040523d82523d6000602084013e612b3f565b606091505b50600081511415612b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7c90614651565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612be2565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c51906147d1565b60405180910390fd5b612c6381611f83565b15612ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9a906146b1565b60405180910390fd5b612caf6000838361293f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cff9190614af9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e1384611404565b612e1d9190614bda565b9050600060076000848152602001908152602001600020549050818114612f02576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612f879190614bda565b9050600060096000848152602001908152602001600020549050600060088381548110612fdd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613025577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061309a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130c183611404565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b82805461315490614cd1565b90600052602060002090601f01602090048101928261317657600085556131bd565b82601f1061318f57805160ff19168380011785556131bd565b828001600101855582156131bd579182015b828111156131bc5782518255916020019190600101906131a1565b5b5090506131ca91906131ce565b5090565b5b808211156131e75760008160009055506001016131cf565b5090565b60006131fe6131f9846149fd565b6149cc565b90508281526020810184848401111561321657600080fd5b613221848285614c8f565b509392505050565b600061323c61323784614a2d565b6149cc565b90508281526020810184848401111561325457600080fd5b61325f848285614c8f565b509392505050565b60008135905061327681614e4a565b92915050565b60008135905061328b81614e61565b92915050565b6000813590506132a081614e78565b92915050565b6000815190506132b581614e78565b92915050565b600082601f8301126132cc57600080fd5b81356132dc8482602086016131eb565b91505092915050565b600082601f8301126132f657600080fd5b8135613306848260208601613229565b91505092915050565b60008135905061331e81614e8f565b92915050565b60008135905061333381614ea6565b92915050565b60006020828403121561334b57600080fd5b600061335984828501613267565b91505092915050565b6000806040838503121561337557600080fd5b600061338385828601613267565b925050602061339485828601613267565b9150509250929050565b6000806000606084860312156133b357600080fd5b60006133c186828701613267565b93505060206133d286828701613267565b92505060406133e38682870161330f565b9150509250925092565b6000806000806080858703121561340357600080fd5b600061341187828801613267565b945050602061342287828801613267565b93505060406134338782880161330f565b925050606085013567ffffffffffffffff81111561345057600080fd5b61345c878288016132bb565b91505092959194509250565b6000806040838503121561347b57600080fd5b600061348985828601613267565b925050602061349a8582860161327c565b9150509250929050565b600080604083850312156134b757600080fd5b60006134c585828601613267565b92505060206134d68582860161330f565b9150509250929050565b6000602082840312156134f257600080fd5b600061350084828501613291565b91505092915050565b60006020828403121561351b57600080fd5b6000613529848285016132a6565b91505092915050565b60006020828403121561354457600080fd5b600082013567ffffffffffffffff81111561355e57600080fd5b61356a848285016132e5565b91505092915050565b60006020828403121561358557600080fd5b60006135938482850161330f565b91505092915050565b600080604083850312156135af57600080fd5b60006135bd8582860161330f565b92505060206135ce8582860161330f565b9150509250929050565b6000602082840312156135ea57600080fd5b60006135f884828501613324565b91505092915050565b600061360d838361443b565b60208301905092915050565b61362281614c0e565b82525050565b600061363382614a82565b61363d8185614ab0565b935061364883614a5d565b8060005b838110156136795781516136608882613601565b975061366b83614aa3565b92505060018101905061364c565b5085935050505092915050565b61368f81614c20565b82525050565b60006136a082614a8d565b6136aa8185614ac1565b93506136ba818560208601614c9e565b6136c381614e39565b840191505092915050565b60006136d982614a98565b6136e38185614add565b93506136f3818560208601614c9e565b6136fc81614e39565b840191505092915050565b600061371282614a98565b61371c8185614aee565b935061372c818560208601614c9e565b80840191505092915050565b6000815461374581614cd1565b61374f8186614aee565b9450600182166000811461376a576001811461377b576137ae565b60ff198316865281860193506137ae565b61378485614a6d565b60005b838110156137a657815481890152600182019150602081019050613787565b838801955050505b50505092915050565b60006137c4603a83614aee565b91507f7d2c207b2274726169745f74797065223a202259222c2022646973706c61795f60008301527f74797065223a20226e756d626572222c202276616c7565223a200000000000006020830152603a82019050919050565b600061382a604a83614aee565b91507f29222c202261747472696275746573223a205b7b2274726169745f747970652260008301527f3a202258222c2022646973706c61795f74797065223a20226e756d626572222c60208301527f202276616c7565223a20000000000000000000000000000000000000000000006040830152604a82019050919050565b60006138b6602b83614add565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b600061391c603283614add565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613982601b83614add565b91507f4d7573742073656e6420302e30352045544820666f72206d696e7400000000006000830152602082019050919050565b60006139c2600383614aee565b91507f3a202800000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b6000613a02602683614add565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a68601c83614add565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613aa8601983614add565b91507f4e6f206d6f7265206d696e74696e6720617661696c61626c65000000000000006000830152602082019050919050565b6000613ae8602483614add565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b4e601983614add565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613b8e602a83614add565b91507f4d696e74696e67206973206e6f742063757272656e746c7920656e61626c656460008301527f207269676874206e6f77000000000000000000000000000000000000000000006020830152604082019050919050565b6000613bf4602c83614add565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613c5a603883614add565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613cc0602a83614add565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d26602983614add565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d8c602083614add565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613dcc602c83614add565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613e32602083614add565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613e72602983614add565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ed8601b83614add565b91507f4e6f20726f79616c74792067726561746572207468616e2033302500000000006000830152602082019050919050565b6000613f18600683614aee565b91507f2e737667227d00000000000000000000000000000000000000000000000000006000830152600682019050919050565b6000613f58604483614aee565b91507f7d5d2c20226465736372697074696f6e223a20224472697044414f206973206360008301527f6f6d6d756e69747920706f7765726564206d657263682e222c2022696d61676560208301527f223a2022000000000000000000000000000000000000000000000000000000006040830152604482019050919050565b6000613fe4602183614add565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061404a600283614aee565b91507f2c200000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b600061408a601d83614aee565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006000830152601d82019050919050565b60006140ca600083614ad2565b9150600082019050919050565b60006140e4601083614add565b91507f5472616e73666572206661696c65642e000000000000000000000000000000006000830152602082019050919050565b6000614124603183614add565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b600061418a602183614add565b91507f4e6f206d6f72652070726573616c65206d696e74696e6720617661696c61626c60008301527f65000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006141f0602c83614add565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614256601083614aee565b91507f7b226e616d65223a2022447269702023000000000000000000000000000000006000830152601082019050919050565b6000614296603183614add565b91507f43616e6e6f742073746172742066756c6c2073616c65207768696c652070726560008301527f73616c6520697320696e206566666563740000000000000000000000000000006020830152604082019050919050565b60006142fc601c83614add565b91507f4d7573742073656e6420302e3033352045544820666f72206d696e74000000006000830152602082019050919050565b600061433c603183614add565b91507f43616e6e6f742073746172742070726573616c65207768696c652066756c6c2060008301527f73616c6520697320696e206566666563740000000000000000000000000000006020830152604082019050919050565b60006143a2601f83614add565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b60006143e2602483614add565b91507f43616e6e6f74206d696e74206d6f7265207468616e203130207065722061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b61444481614c78565b82525050565b61445381614c78565b82525050565b60006144648261407d565b91506144708284613707565b915081905092915050565b6000614486826140bd565b9150819050919050565b600061449b82614249565b91506144a7828a613707565b91506144b2826139b5565b91506144be8289613707565b91506144c98261403d565b91506144d58288613707565b91506144e08261381d565b91506144ec8287613707565b91506144f7826137b7565b91506145038286613707565b915061450e82613f4b565b915061451a8285613738565b91506145268284613707565b915061453182613f0b565b915081905098975050505050505050565b60006020820190506145576000830184613619565b92915050565b60006080820190506145726000830187613619565b61457f6020830186613619565b61458c604083018561444a565b818103606083015261459e8184613695565b905095945050505050565b60006040820190506145be6000830185613619565b6145cb602083018461444a565b9392505050565b600060208201905081810360008301526145ec8184613628565b905092915050565b60006020820190506146096000830184613686565b92915050565b6000602082019050818103600083015261462981846136ce565b905092915050565b6000602082019050818103600083015261464a816138a9565b9050919050565b6000602082019050818103600083015261466a8161390f565b9050919050565b6000602082019050818103600083015261468a81613975565b9050919050565b600060208201905081810360008301526146aa816139f5565b9050919050565b600060208201905081810360008301526146ca81613a5b565b9050919050565b600060208201905081810360008301526146ea81613a9b565b9050919050565b6000602082019050818103600083015261470a81613adb565b9050919050565b6000602082019050818103600083015261472a81613b41565b9050919050565b6000602082019050818103600083015261474a81613b81565b9050919050565b6000602082019050818103600083015261476a81613be7565b9050919050565b6000602082019050818103600083015261478a81613c4d565b9050919050565b600060208201905081810360008301526147aa81613cb3565b9050919050565b600060208201905081810360008301526147ca81613d19565b9050919050565b600060208201905081810360008301526147ea81613d7f565b9050919050565b6000602082019050818103600083015261480a81613dbf565b9050919050565b6000602082019050818103600083015261482a81613e25565b9050919050565b6000602082019050818103600083015261484a81613e65565b9050919050565b6000602082019050818103600083015261486a81613ecb565b9050919050565b6000602082019050818103600083015261488a81613fd7565b9050919050565b600060208201905081810360008301526148aa816140d7565b9050919050565b600060208201905081810360008301526148ca81614117565b9050919050565b600060208201905081810360008301526148ea8161417d565b9050919050565b6000602082019050818103600083015261490a816141e3565b9050919050565b6000602082019050818103600083015261492a81614289565b9050919050565b6000602082019050818103600083015261494a816142ef565b9050919050565b6000602082019050818103600083015261496a8161432f565b9050919050565b6000602082019050818103600083015261498a81614395565b9050919050565b600060208201905081810360008301526149aa816143d5565b9050919050565b60006020820190506149c6600083018461444a565b92915050565b6000604051905081810181811067ffffffffffffffff821117156149f3576149f2614e0a565b5b8060405250919050565b600067ffffffffffffffff821115614a1857614a17614e0a565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614a4857614a47614e0a565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b0482614c78565b9150614b0f83614c78565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b4457614b43614d7d565b5b828201905092915050565b6000614b5a82614c78565b9150614b6583614c78565b925082614b7557614b74614dac565b5b828204905092915050565b6000614b8b82614c78565b9150614b9683614c78565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bcf57614bce614d7d565b5b828202905092915050565b6000614be582614c78565b9150614bf083614c78565b925082821015614c0357614c02614d7d565b5b828203905092915050565b6000614c1982614c58565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614cbc578082015181840152602081019050614ca1565b83811115614ccb576000848401525b50505050565b60006002820490506001821680614ce957607f821691505b60208210811415614cfd57614cfc614ddb565b5b50919050565b6000614d0e82614c78565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d4157614d40614d7d565b5b600182019050919050565b6000614d5782614c78565b9150614d6283614c78565b925082614d7257614d71614dac565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614e5381614c0e565b8114614e5e57600080fd5b50565b614e6a81614c20565b8114614e7557600080fd5b50565b614e8181614c2c565b8114614e8c57600080fd5b50565b614e9881614c78565b8114614ea357600080fd5b50565b614eaf81614c82565b8114614eba57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212209974d7beb7f3b4a7ccfa5a05581da7ad731640fb919acb1b058bc9b7ee150bca64736f6c634300080000330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6472697064616f2e636f6d2f6170692f6e66742f00000000
Deployed Bytecode
0x6080604052600436106102255760003560e01c806370a0823111610123578063a22cb465116100ab578063d44d33941161006f578063d44d3394146107d7578063e985e9c514610802578063eef5deb11461083f578063f2fde38b14610868578063f8821a3b1461089157610225565b8063a22cb46514610706578063a43be57b1461072f578063b88d4fde14610746578063bdffd2821461076f578063c87b56dd1461079a57610225565b8063853828b6116100f2578063853828b6146106315780638da5cb5b146106485780638e5cb5f61461067357806395d89b41146106b05780639fbca28c146106db57610225565b806370a0823114610563578063715018a6146105a0578063845a4697146105b75780638462151c146105f457610225565b806323b872dd116101b15780634f6ccce7116101755780634f6ccce71461046a57806355f804b3146104a757806362dc6e21146104d05780636352211e146104fb57806369ea80d51461053857610225565b806323b872dd146103865780632a55205a146103af5780632be09561146103ed5780632f745c591461040457806342842e0e1461044157610225565b8063081812fc116101f8578063081812fc146102c0578063095ea7b3146102fd5780630b40cc99146103265780631249c58b1461035157806318160ddd1461035b57610225565b8063017043a51461022a57806301ffc9a71461024157806304c98b2b1461027e57806306fdde0314610295575b600080fd5b34801561023657600080fd5b5061023f6108bc565b005b34801561024d57600080fd5b50610268600480360381019061026391906134e0565b610955565b60405161027591906145f4565b60405180910390f35b34801561028a57600080fd5b506102936109cf565b005b3480156102a157600080fd5b506102aa610ab8565b6040516102b7919061460f565b60405180910390f35b3480156102cc57600080fd5b506102e760048036038101906102e29190613573565b610b4a565b6040516102f49190614542565b60405180910390f35b34801561030957600080fd5b50610324600480360381019061031f91906134a4565b610bcf565b005b34801561033257600080fd5b5061033b610ce7565b60405161034891906149b1565b60405180910390f35b610359610ced565b005b34801561036757600080fd5b50610370610fcd565b60405161037d91906149b1565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a8919061339e565b610fda565b005b3480156103bb57600080fd5b506103d660048036038101906103d1919061359c565b61103a565b6040516103e49291906145a9565b60405180910390f35b3480156103f957600080fd5b5061040261106b565b005b34801561041057600080fd5b5061042b600480360381019061042691906134a4565b611154565b60405161043891906149b1565b60405180910390f35b34801561044d57600080fd5b506104686004803603810190610463919061339e565b6111f9565b005b34801561047657600080fd5b50610491600480360381019061048c9190613573565b611219565b60405161049e91906149b1565b60405180910390f35b3480156104b357600080fd5b506104ce60048036038101906104c99190613532565b6112b0565b005b3480156104dc57600080fd5b506104e5611346565b6040516104f291906149b1565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d9190613573565b61134c565b60405161052f9190614542565b60405180910390f35b34801561054457600080fd5b5061054d6113fe565b60405161055a91906149b1565b60405180910390f35b34801561056f57600080fd5b5061058a60048036038101906105859190613339565b611404565b60405161059791906149b1565b60405180910390f35b3480156105ac57600080fd5b506105b56114bc565b005b3480156105c357600080fd5b506105de60048036038101906105d99190613573565b611544565b6040516105eb91906149b1565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613339565b61155b565b60405161062891906145d2565b60405180910390f35b34801561063d57600080fd5b506106466116d7565b005b34801561065457600080fd5b5061065d611802565b60405161066a9190614542565b60405180910390f35b34801561067f57600080fd5b5061069a60048036038101906106959190613573565b61182c565b6040516106a791906149b1565b60405180910390f35b3480156106bc57600080fd5b506106c5611843565b6040516106d2919061460f565b60405180910390f35b3480156106e757600080fd5b506106f06118d5565b6040516106fd91906145f4565b60405180910390f35b34801561071257600080fd5b5061072d60048036038101906107289190613468565b6118e8565b005b34801561073b57600080fd5b50610744611a69565b005b34801561075257600080fd5b5061076d600480360381019061076891906133ed565b611b02565b005b34801561077b57600080fd5b50610784611b64565b60405161079191906149b1565b60405180910390f35b3480156107a657600080fd5b506107c160048036038101906107bc9190613573565b611b6a565b6040516107ce919061460f565b60405180910390f35b3480156107e357600080fd5b506107ec611c23565b6040516107f991906149b1565b60405180910390f35b34801561080e57600080fd5b5061082960048036038101906108249190613362565b611c29565b60405161083691906145f4565b60405180910390f35b34801561084b57600080fd5b50610866600480360381019061086191906135d8565b611cbd565b005b34801561087457600080fd5b5061088f600480360381019061088a9190613339565b611d8e565b005b34801561089d57600080fd5b506108a6611e86565b6040516108b391906145f4565b60405180910390f35b6108c4611e99565b73ffffffffffffffffffffffffffffffffffffffff166108e2611802565b73ffffffffffffffffffffffffffffffffffffffff1614610938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092f90614811565b60405180910390fd5b6000601260006101000a81548160ff021916908315150217905550565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109c857506109c782611ea1565b5b9050919050565b6109d7611e99565b73ffffffffffffffffffffffffffffffffffffffff166109f5611802565b73ffffffffffffffffffffffffffffffffffffffff1614610a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4290614811565b60405180910390fd5b601260009054906101000a900460ff1615610a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9290614951565b60405180910390fd5b6001601260016101000a81548160ff021916908315150217905550565b606060008054610ac790614cd1565b80601f0160208091040260200160405190810160405280929190818152602001828054610af390614cd1565b8015610b405780601f10610b1557610100808354040283529160200191610b40565b820191906000526020600020905b815481529060010190602001808311610b2357829003601f168201915b5050505050905090565b6000610b5582611f83565b610b94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8b906147f1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bda8261134c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4290614871565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c6a611e99565b73ffffffffffffffffffffffffffffffffffffffff161480610c995750610c9881610c93611e99565b611c29565b5b610cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccf90614771565b60405180910390fd5b610ce28383611fef565b505050565b600d5481565b6002600a541415610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a90614971565b60405180910390fd5b6002600a81905550601260009054906101000a900460ff1680610d625750601260019054906101000a900460ff165b610da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9890614731565b60405180910390fd5b600a610dac33611404565b10610dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de390614991565b60405180910390fd5b601260019054906101000a900460ff168015610e155750601260009054906101000a900460ff16155b15610eaa5760145460115410610e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e57906148d1565b60405180910390fd5b34600c541115610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c90614931565b60405180910390fd5b610fa3565b601260009054906101000a900460ff1615610fa25760105460115410610f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efc906146d1565b60405180910390fd5b6014546011541015610f5b5734600c541115610f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4d90614931565b60405180910390fd5b610fa1565b34600d541115610fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9790614671565b60405180910390fd5b5b5b5b610fc33360116000815480929190610fba90614d03565b919050556120a8565b6001600a81905550565b6000600880549050905090565b610feb610fe5611e99565b826120c6565b61102a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611021906148b1565b60405180910390fd5b6110358383836121a4565b505050565b600080611045611802565b612710601354856110569190614b80565b6110609190614b4f565b915091509250929050565b611073611e99565b73ffffffffffffffffffffffffffffffffffffffff16611091611802565b73ffffffffffffffffffffffffffffffffffffffff16146110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de90614811565b60405180910390fd5b601260019054906101000a900460ff1615611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e90614911565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b600061115f83611404565b82106111a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119790614631565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61121483838360405180602001604052806000815250611b02565b505050565b6000611223610fcd565b8210611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125b906148f1565b60405180910390fd5b6008828154811061129e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6112b8611e99565b73ffffffffffffffffffffffffffffffffffffffff166112d6611802565b73ffffffffffffffffffffffffffffffffffffffff161461132c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132390614811565b60405180910390fd5b8060159080519060200190611342929190613148565b5050565b600c5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec906147b1565b60405180910390fd5b80915050919050565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146c90614791565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114c4611e99565b73ffffffffffffffffffffffffffffffffffffffff166114e2611802565b73ffffffffffffffffffffffffffffffffffffffff1614611538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152f90614811565b60405180910390fd5b6115426000612400565b565b6000600e54826115549190614b4f565b9050919050565b6060600061156883611404565b905060008114156115eb57600067ffffffffffffffff8111156115b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156115e25781602001602082028036833780820191505090505b509150506116d2565b60008167ffffffffffffffff81111561162d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561165b5781602001602082028036833780820191505090505b50905060005b828110156116cb576116738582611154565b8282815181106116ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806116c390614d03565b915050611661565b8193505050505b919050565b6116df611e99565b73ffffffffffffffffffffffffffffffffffffffff166116fd611802565b73ffffffffffffffffffffffffffffffffffffffff1614611753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174a90614811565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516117799061447b565b60006040518083038185875af1925050503d80600081146117b6576040519150601f19603f3d011682016040523d82523d6000602084013e6117bb565b606091505b50509050806117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690614891565b60405180910390fd5b50565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600e548261183c9190614d4c565b9050919050565b60606001805461185290614cd1565b80601f016020809104026020016040519081016040528092919081815260200182805461187e90614cd1565b80156118cb5780601f106118a0576101008083540402835291602001916118cb565b820191906000526020600020905b8154815290600101906020018083116118ae57829003601f168201915b5050505050905090565b601260009054906101000a900460ff1681565b6118f0611e99565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561195e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195590614711565b60405180910390fd5b806005600061196b611e99565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a18611e99565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a5d91906145f4565b60405180910390a35050565b611a71611e99565b73ffffffffffffffffffffffffffffffffffffffff16611a8f611802565b73ffffffffffffffffffffffffffffffffffffffff1614611ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adc90614811565b60405180910390fd5b6000601260016101000a81548160ff021916908315150217905550565b611b13611b0d611e99565b836120c6565b611b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b49906148b1565b60405180910390fd5b611b5e848484846124c6565b50505050565b60105481565b60606000611bf3611b7a84612522565b611b8b611b868661182c565b612522565b611b9c611b9787611544565b612522565b611bad611ba88861182c565b612522565b611bbe611bb989611544565b612522565b6015611bc98a612522565b604051602001611bdf9796959493929190614490565b6040516020818303038152906040526126cf565b9050600081604051602001611c089190614459565b60405160208183030381529060405290508092505050919050565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cc5611e99565b73ffffffffffffffffffffffffffffffffffffffff16611ce3611802565b73ffffffffffffffffffffffffffffffffffffffff1614611d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3090614811565b60405180910390fd5b610bb88160ff161115611d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7890614851565b60405180910390fd5b8060ff1660138190555050565b611d96611e99565b73ffffffffffffffffffffffffffffffffffffffff16611db4611802565b73ffffffffffffffffffffffffffffffffffffffff1614611e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0190614811565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7190614691565b60405180910390fd5b611e8381612400565b50565b601260019054906101000a900460ff1681565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f6c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f7c5750611f7b8261287a565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166120628361134c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6120c28282604051806020016040528060008152506128e4565b5050565b60006120d182611f83565b612110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210790614751565b60405180910390fd5b600061211b8361134c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061218a57508373ffffffffffffffffffffffffffffffffffffffff1661217284610b4a565b73ffffffffffffffffffffffffffffffffffffffff16145b8061219b575061219a8185611c29565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121c48261134c565b73ffffffffffffffffffffffffffffffffffffffff161461221a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221190614831565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561228a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612281906146f1565b60405180910390fd5b61229583838361293f565b6122a0600082611fef565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122f09190614bda565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123479190614af9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124d18484846121a4565b6124dd84848484612a53565b61251c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251390614651565b60405180910390fd5b50505050565b6060600082141561256a576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506126ca565b600082905060005b6000821461259c57808061258590614d03565b915050600a826125959190614b4f565b9150612572565b60008167ffffffffffffffff8111156125de577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126105781602001600182028036833780820191505090505b5090505b600085146126c3576001826126299190614bda565b9150600a856126389190614d4c565b60306126449190614af9565b60f81b818381518110612680577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126bc9190614b4f565b9450612614565b8093505050505b919050565b60606000825114156126f257604051806020016040528060008152509050612875565b6000604051806060016040528060408152602001614ebe60409139905060006003600285516127219190614af9565b61272b9190614b4f565b60046127379190614b80565b905060006020826127489190614af9565b67ffffffffffffffff811115612787577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127b95781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612834576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b8252600182019150506127cd565b60038951066001811461284e576002811461285e57612869565b613d3d60f01b6002830352612869565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128ee8383612bea565b6128fb6000848484612a53565b61293a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293190614651565b60405180910390fd5b505050565b61294a838383612db8565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561298d5761298881612dbd565b6129cc565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146129cb576129ca8382612e06565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a0f57612a0a81612f73565b612a4e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a4d57612a4c82826130b6565b5b5b505050565b6000612a748473ffffffffffffffffffffffffffffffffffffffff16613135565b15612bdd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a9d611e99565b8786866040518563ffffffff1660e01b8152600401612abf949392919061455d565b602060405180830381600087803b158015612ad957600080fd5b505af1925050508015612b0a57506040513d601f19601f82011682018060405250810190612b079190613509565b60015b612b8d573d8060008114612b3a576040519150601f19603f3d011682016040523d82523d6000602084013e612b3f565b606091505b50600081511415612b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7c90614651565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612be2565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c51906147d1565b60405180910390fd5b612c6381611f83565b15612ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9a906146b1565b60405180910390fd5b612caf6000838361293f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cff9190614af9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e1384611404565b612e1d9190614bda565b9050600060076000848152602001908152602001600020549050818114612f02576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612f879190614bda565b9050600060096000848152602001908152602001600020549050600060088381548110612fdd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613025577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061309a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130c183611404565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b82805461315490614cd1565b90600052602060002090601f01602090048101928261317657600085556131bd565b82601f1061318f57805160ff19168380011785556131bd565b828001600101855582156131bd579182015b828111156131bc5782518255916020019190600101906131a1565b5b5090506131ca91906131ce565b5090565b5b808211156131e75760008160009055506001016131cf565b5090565b60006131fe6131f9846149fd565b6149cc565b90508281526020810184848401111561321657600080fd5b613221848285614c8f565b509392505050565b600061323c61323784614a2d565b6149cc565b90508281526020810184848401111561325457600080fd5b61325f848285614c8f565b509392505050565b60008135905061327681614e4a565b92915050565b60008135905061328b81614e61565b92915050565b6000813590506132a081614e78565b92915050565b6000815190506132b581614e78565b92915050565b600082601f8301126132cc57600080fd5b81356132dc8482602086016131eb565b91505092915050565b600082601f8301126132f657600080fd5b8135613306848260208601613229565b91505092915050565b60008135905061331e81614e8f565b92915050565b60008135905061333381614ea6565b92915050565b60006020828403121561334b57600080fd5b600061335984828501613267565b91505092915050565b6000806040838503121561337557600080fd5b600061338385828601613267565b925050602061339485828601613267565b9150509250929050565b6000806000606084860312156133b357600080fd5b60006133c186828701613267565b93505060206133d286828701613267565b92505060406133e38682870161330f565b9150509250925092565b6000806000806080858703121561340357600080fd5b600061341187828801613267565b945050602061342287828801613267565b93505060406134338782880161330f565b925050606085013567ffffffffffffffff81111561345057600080fd5b61345c878288016132bb565b91505092959194509250565b6000806040838503121561347b57600080fd5b600061348985828601613267565b925050602061349a8582860161327c565b9150509250929050565b600080604083850312156134b757600080fd5b60006134c585828601613267565b92505060206134d68582860161330f565b9150509250929050565b6000602082840312156134f257600080fd5b600061350084828501613291565b91505092915050565b60006020828403121561351b57600080fd5b6000613529848285016132a6565b91505092915050565b60006020828403121561354457600080fd5b600082013567ffffffffffffffff81111561355e57600080fd5b61356a848285016132e5565b91505092915050565b60006020828403121561358557600080fd5b60006135938482850161330f565b91505092915050565b600080604083850312156135af57600080fd5b60006135bd8582860161330f565b92505060206135ce8582860161330f565b9150509250929050565b6000602082840312156135ea57600080fd5b60006135f884828501613324565b91505092915050565b600061360d838361443b565b60208301905092915050565b61362281614c0e565b82525050565b600061363382614a82565b61363d8185614ab0565b935061364883614a5d565b8060005b838110156136795781516136608882613601565b975061366b83614aa3565b92505060018101905061364c565b5085935050505092915050565b61368f81614c20565b82525050565b60006136a082614a8d565b6136aa8185614ac1565b93506136ba818560208601614c9e565b6136c381614e39565b840191505092915050565b60006136d982614a98565b6136e38185614add565b93506136f3818560208601614c9e565b6136fc81614e39565b840191505092915050565b600061371282614a98565b61371c8185614aee565b935061372c818560208601614c9e565b80840191505092915050565b6000815461374581614cd1565b61374f8186614aee565b9450600182166000811461376a576001811461377b576137ae565b60ff198316865281860193506137ae565b61378485614a6d565b60005b838110156137a657815481890152600182019150602081019050613787565b838801955050505b50505092915050565b60006137c4603a83614aee565b91507f7d2c207b2274726169745f74797065223a202259222c2022646973706c61795f60008301527f74797065223a20226e756d626572222c202276616c7565223a200000000000006020830152603a82019050919050565b600061382a604a83614aee565b91507f29222c202261747472696275746573223a205b7b2274726169745f747970652260008301527f3a202258222c2022646973706c61795f74797065223a20226e756d626572222c60208301527f202276616c7565223a20000000000000000000000000000000000000000000006040830152604a82019050919050565b60006138b6602b83614add565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b600061391c603283614add565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613982601b83614add565b91507f4d7573742073656e6420302e30352045544820666f72206d696e7400000000006000830152602082019050919050565b60006139c2600383614aee565b91507f3a202800000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b6000613a02602683614add565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a68601c83614add565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613aa8601983614add565b91507f4e6f206d6f7265206d696e74696e6720617661696c61626c65000000000000006000830152602082019050919050565b6000613ae8602483614add565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b4e601983614add565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613b8e602a83614add565b91507f4d696e74696e67206973206e6f742063757272656e746c7920656e61626c656460008301527f207269676874206e6f77000000000000000000000000000000000000000000006020830152604082019050919050565b6000613bf4602c83614add565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613c5a603883614add565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613cc0602a83614add565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d26602983614add565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d8c602083614add565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613dcc602c83614add565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613e32602083614add565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613e72602983614add565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ed8601b83614add565b91507f4e6f20726f79616c74792067726561746572207468616e2033302500000000006000830152602082019050919050565b6000613f18600683614aee565b91507f2e737667227d00000000000000000000000000000000000000000000000000006000830152600682019050919050565b6000613f58604483614aee565b91507f7d5d2c20226465736372697074696f6e223a20224472697044414f206973206360008301527f6f6d6d756e69747920706f7765726564206d657263682e222c2022696d61676560208301527f223a2022000000000000000000000000000000000000000000000000000000006040830152604482019050919050565b6000613fe4602183614add565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061404a600283614aee565b91507f2c200000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b600061408a601d83614aee565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006000830152601d82019050919050565b60006140ca600083614ad2565b9150600082019050919050565b60006140e4601083614add565b91507f5472616e73666572206661696c65642e000000000000000000000000000000006000830152602082019050919050565b6000614124603183614add565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b600061418a602183614add565b91507f4e6f206d6f72652070726573616c65206d696e74696e6720617661696c61626c60008301527f65000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006141f0602c83614add565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614256601083614aee565b91507f7b226e616d65223a2022447269702023000000000000000000000000000000006000830152601082019050919050565b6000614296603183614add565b91507f43616e6e6f742073746172742066756c6c2073616c65207768696c652070726560008301527f73616c6520697320696e206566666563740000000000000000000000000000006020830152604082019050919050565b60006142fc601c83614add565b91507f4d7573742073656e6420302e3033352045544820666f72206d696e74000000006000830152602082019050919050565b600061433c603183614add565b91507f43616e6e6f742073746172742070726573616c65207768696c652066756c6c2060008301527f73616c6520697320696e206566666563740000000000000000000000000000006020830152604082019050919050565b60006143a2601f83614add565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b60006143e2602483614add565b91507f43616e6e6f74206d696e74206d6f7265207468616e203130207065722061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b61444481614c78565b82525050565b61445381614c78565b82525050565b60006144648261407d565b91506144708284613707565b915081905092915050565b6000614486826140bd565b9150819050919050565b600061449b82614249565b91506144a7828a613707565b91506144b2826139b5565b91506144be8289613707565b91506144c98261403d565b91506144d58288613707565b91506144e08261381d565b91506144ec8287613707565b91506144f7826137b7565b91506145038286613707565b915061450e82613f4b565b915061451a8285613738565b91506145268284613707565b915061453182613f0b565b915081905098975050505050505050565b60006020820190506145576000830184613619565b92915050565b60006080820190506145726000830187613619565b61457f6020830186613619565b61458c604083018561444a565b818103606083015261459e8184613695565b905095945050505050565b60006040820190506145be6000830185613619565b6145cb602083018461444a565b9392505050565b600060208201905081810360008301526145ec8184613628565b905092915050565b60006020820190506146096000830184613686565b92915050565b6000602082019050818103600083015261462981846136ce565b905092915050565b6000602082019050818103600083015261464a816138a9565b9050919050565b6000602082019050818103600083015261466a8161390f565b9050919050565b6000602082019050818103600083015261468a81613975565b9050919050565b600060208201905081810360008301526146aa816139f5565b9050919050565b600060208201905081810360008301526146ca81613a5b565b9050919050565b600060208201905081810360008301526146ea81613a9b565b9050919050565b6000602082019050818103600083015261470a81613adb565b9050919050565b6000602082019050818103600083015261472a81613b41565b9050919050565b6000602082019050818103600083015261474a81613b81565b9050919050565b6000602082019050818103600083015261476a81613be7565b9050919050565b6000602082019050818103600083015261478a81613c4d565b9050919050565b600060208201905081810360008301526147aa81613cb3565b9050919050565b600060208201905081810360008301526147ca81613d19565b9050919050565b600060208201905081810360008301526147ea81613d7f565b9050919050565b6000602082019050818103600083015261480a81613dbf565b9050919050565b6000602082019050818103600083015261482a81613e25565b9050919050565b6000602082019050818103600083015261484a81613e65565b9050919050565b6000602082019050818103600083015261486a81613ecb565b9050919050565b6000602082019050818103600083015261488a81613fd7565b9050919050565b600060208201905081810360008301526148aa816140d7565b9050919050565b600060208201905081810360008301526148ca81614117565b9050919050565b600060208201905081810360008301526148ea8161417d565b9050919050565b6000602082019050818103600083015261490a816141e3565b9050919050565b6000602082019050818103600083015261492a81614289565b9050919050565b6000602082019050818103600083015261494a816142ef565b9050919050565b6000602082019050818103600083015261496a8161432f565b9050919050565b6000602082019050818103600083015261498a81614395565b9050919050565b600060208201905081810360008301526149aa816143d5565b9050919050565b60006020820190506149c6600083018461444a565b92915050565b6000604051905081810181811067ffffffffffffffff821117156149f3576149f2614e0a565b5b8060405250919050565b600067ffffffffffffffff821115614a1857614a17614e0a565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614a4857614a47614e0a565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b0482614c78565b9150614b0f83614c78565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b4457614b43614d7d565b5b828201905092915050565b6000614b5a82614c78565b9150614b6583614c78565b925082614b7557614b74614dac565b5b828204905092915050565b6000614b8b82614c78565b9150614b9683614c78565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bcf57614bce614d7d565b5b828202905092915050565b6000614be582614c78565b9150614bf083614c78565b925082821015614c0357614c02614d7d565b5b828203905092915050565b6000614c1982614c58565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614cbc578082015181840152602081019050614ca1565b83811115614ccb576000848401525b50505050565b60006002820490506001821680614ce957607f821691505b60208210811415614cfd57614cfc614ddb565b5b50919050565b6000614d0e82614c78565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d4157614d40614d7d565b5b600182019050919050565b6000614d5782614c78565b9150614d6283614c78565b925082614d7257614d71614dac565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614e5381614c0e565b8114614e5e57600080fd5b50565b614e6a81614c20565b8114614e7557600080fd5b50565b614e8181614c2c565b8114614e8c57600080fd5b50565b614e9881614c78565b8114614ea357600080fd5b50565b614eaf81614c82565b8114614eba57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212209974d7beb7f3b4a7ccfa5a05581da7ad731640fb919acb1b058bc9b7ee150bca64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6472697064616f2e636f6d2f6170692f6e66742f00000000
-----Decoded View---------------
Arg [0] : baseURI (string): https://dripdao.com/api/nft/
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [2] : 68747470733a2f2f6472697064616f2e636f6d2f6170692f6e66742f00000000
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.