ERC-721
Overview
Max Total Supply
9,851 DWEL
Holders
3,441
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 DWELLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BasementDwellers
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract BasementDwellers is ERC721, Ownable { string public baseURI; uint256 public constant MAX_SUPPLY = 10000; uint256 public totalSupply; address public bdStore; event SetBDStore(address bdStore); event SetBaseURI(string baseURI); constructor( string memory __name, string memory __symbol, string memory __baseURI ) ERC721(__name, __symbol) { baseURI = __baseURI; } modifier onlyOwnerOrStore() { require( bdStore == msg.sender || owner() == msg.sender, "caller is neither ursStore nor owner" ); _; } function setBDStore(address _bdStore) external onlyOwner { bdStore = _bdStore; emit SetBDStore(_bdStore); } function setBaseURI(string memory __baseURI) external onlyOwner { baseURI = __baseURI; emit SetBaseURI(__baseURI); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function mint(address to) public onlyOwnerOrStore { require(totalSupply < MAX_SUPPLY, "Exceeds max supply"); _mint(to, totalSupply); totalSupply += 1; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @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 {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @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); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @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; }
// SPDX-License-Identifier: MIT 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @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); }
// SPDX-License-Identifier: MIT 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); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with 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; } }
// SPDX-License-Identifier: MIT 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); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @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; } }
// 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"__name","type":"string"},{"internalType":"string","name":"__symbol","type":"string"},{"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":false,"internalType":"address","name":"bdStore","type":"address"}],"name":"SetBDStore","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"baseURI","type":"string"}],"name":"SetBaseURI","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":"MAX_SUPPLY","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bdStore","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bdStore","type":"address"}],"name":"setBDStore","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620036bd380380620036bd83398181016040528101906200003791906200029f565b82828160009080519060200190620000519291906200017d565b5080600190805190602001906200006a9291906200017d565b5050506200008d62000081620000af60201b60201c565b620000b760201b60201c565b8060079080519060200190620000a59291906200017d565b50505050620004b0565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200018b90620003d5565b90600052602060002090601f016020900481019282620001af5760008555620001fb565b82601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b5b80821115620002295760008160009055506001016200020f565b5090565b6000620002446200023e8462000369565b62000340565b9050828152602081018484840111156200025d57600080fd5b6200026a8482856200039f565b509392505050565b600082601f8301126200028457600080fd5b8151620002968482602086016200022d565b91505092915050565b600080600060608486031215620002b557600080fd5b600084015167ffffffffffffffff811115620002d057600080fd5b620002de8682870162000272565b935050602084015167ffffffffffffffff811115620002fc57600080fd5b6200030a8682870162000272565b925050604084015167ffffffffffffffff8111156200032857600080fd5b620003368682870162000272565b9150509250925092565b60006200034c6200035f565b90506200035a82826200040b565b919050565b6000604051905090565b600067ffffffffffffffff82111562000387576200038662000470565b5b62000392826200049f565b9050602081019050919050565b60005b83811015620003bf578082015181840152602081019050620003a2565b83811115620003cf576000848401525b50505050565b60006002820490506001821680620003ee57607f821691505b6020821081141562000405576200040462000441565b5b50919050565b62000416826200049f565b810181811067ffffffffffffffff8211171562000438576200043762000470565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6131fd80620004c06000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80636a627842116100c3578063a22cb4651161007c578063a22cb46514610378578063b88d4fde14610394578063c87b56dd146103b0578063e985e9c5146103e0578063f2fde38b14610410578063f78eaa321461042c5761014d565b80636a627842146102c85780636c0360eb146102e457806370a0823114610302578063715018a6146103325780638da5cb5b1461033c57806395d89b411461035a5761014d565b806318160ddd1161011557806318160ddd1461020857806323b872dd1461022657806332cb6b0c1461024257806342842e0e1461026057806355f804b31461027c5780636352211e146102985761014d565b806301ffc9a7146101525780630575c9df1461018257806306fdde031461019e578063081812fc146101bc578063095ea7b3146101ec575b600080fd5b61016c60048036038101906101679190612191565b61044a565b604051610179919061261e565b60405180910390f35b61019c60048036038101906101979190611fea565b61052c565b005b6101a6610623565b6040516101b39190612639565b60405180910390f35b6101d660048036038101906101d19190612224565b6106b5565b6040516101e391906125b7565b60405180910390f35b61020660048036038101906102019190612155565b61073a565b005b610210610852565b60405161021d919061289b565b60405180910390f35b610240600480360381019061023b919061204f565b610858565b005b61024a6108b8565b604051610257919061289b565b60405180910390f35b61027a6004803603810190610275919061204f565b6108be565b005b610296600480360381019061029191906121e3565b6108de565b005b6102b260048036038101906102ad9190612224565b6109ab565b6040516102bf91906125b7565b60405180910390f35b6102e260048036038101906102dd9190611fea565b610a5d565b005b6102ec610b99565b6040516102f99190612639565b60405180910390f35b61031c60048036038101906103179190611fea565b610c27565b604051610329919061289b565b60405180910390f35b61033a610cdf565b005b610344610d67565b60405161035191906125b7565b60405180910390f35b610362610d91565b60405161036f9190612639565b60405180910390f35b610392600480360381019061038d9190612119565b610e23565b005b6103ae60048036038101906103a9919061209e565b610fa4565b005b6103ca60048036038101906103c59190612224565b611006565b6040516103d79190612639565b60405180910390f35b6103fa60048036038101906103f59190612013565b6110ad565b604051610407919061261e565b60405180910390f35b61042a60048036038101906104259190611fea565b611141565b005b610434611239565b60405161044191906125b7565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061051557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061052557506105248261125f565b5b9050919050565b6105346112c9565b73ffffffffffffffffffffffffffffffffffffffff16610552610d67565b73ffffffffffffffffffffffffffffffffffffffff16146105a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059f906127fb565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fc9b2870b83ae2a5a3fcd8f8a339fb9cff5eb787faeb16acc7a11d7dafd8947628160405161061891906125b7565b60405180910390a150565b60606000805461063290612af1565b80601f016020809104026020016040519081016040528092919081815260200182805461065e90612af1565b80156106ab5780601f10610680576101008083540402835291602001916106ab565b820191906000526020600020905b81548152906001019060200180831161068e57829003601f168201915b5050505050905090565b60006106c0826112d1565b6106ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f6906127db565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610745826109ab565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ad9061285b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107d56112c9565b73ffffffffffffffffffffffffffffffffffffffff1614806108045750610803816107fe6112c9565b6110ad565b5b610843576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083a9061273b565b60405180910390fd5b61084d838361133d565b505050565b60085481565b6108696108636112c9565b826113f6565b6108a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089f9061287b565b60405180910390fd5b6108b38383836114d4565b505050565b61271081565b6108d983838360405180602001604052806000815250610fa4565b505050565b6108e66112c9565b73ffffffffffffffffffffffffffffffffffffffff16610904610d67565b73ffffffffffffffffffffffffffffffffffffffff161461095a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610951906127fb565b60405180910390fd5b8060079080519060200190610970929190611e0e565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa816040516109a09190612639565b60405180910390a150565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b9061277b565b60405180910390fd5b80915050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480610aeb57503373ffffffffffffffffffffffffffffffffffffffff16610ad3610d67565b73ffffffffffffffffffffffffffffffffffffffff16145b610b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b21906126bb565b60405180910390fd5b61271060085410610b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b679061279b565b60405180910390fd5b610b7c81600854611730565b600160086000828254610b8f9190612980565b9250508190555050565b60078054610ba690612af1565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd290612af1565b8015610c1f5780601f10610bf457610100808354040283529160200191610c1f565b820191906000526020600020905b815481529060010190602001808311610c0257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8f9061275b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ce76112c9565b73ffffffffffffffffffffffffffffffffffffffff16610d05610d67565b73ffffffffffffffffffffffffffffffffffffffff1614610d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d52906127fb565b60405180910390fd5b610d6560006118fe565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610da090612af1565b80601f0160208091040260200160405190810160405280929190818152602001828054610dcc90612af1565b8015610e195780601f10610dee57610100808354040283529160200191610e19565b820191906000526020600020905b815481529060010190602001808311610dfc57829003601f168201915b5050505050905090565b610e2b6112c9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e90906126fb565b60405180910390fd5b8060056000610ea66112c9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610f536112c9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f98919061261e565b60405180910390a35050565b610fb5610faf6112c9565b836113f6565b610ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610feb9061287b565b60405180910390fd5b611000848484846119c4565b50505050565b6060611011826112d1565b611050576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110479061283b565b60405180910390fd5b600061105a611a20565b9050600081511161107a57604051806020016040528060008152506110a5565b8061108484611ab2565b604051602001611095929190612593565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6111496112c9565b73ffffffffffffffffffffffffffffffffffffffff16611167610d67565b73ffffffffffffffffffffffffffffffffffffffff16146111bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b4906127fb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561122d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112249061267b565b60405180910390fd5b611236816118fe565b50565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166113b0836109ab565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611401826112d1565b611440576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114379061271b565b60405180910390fd5b600061144b836109ab565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806114ba57508373ffffffffffffffffffffffffffffffffffffffff166114a2846106b5565b73ffffffffffffffffffffffffffffffffffffffff16145b806114cb57506114ca81856110ad565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166114f4826109ab565b73ffffffffffffffffffffffffffffffffffffffff161461154a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115419061281b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b1906126db565b60405180910390fd5b6115c5838383611c5f565b6115d060008261133d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116209190612a07565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116779190612980565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611797906127bb565b60405180910390fd5b6117a9816112d1565b156117e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e09061269b565b60405180910390fd5b6117f560008383611c5f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118459190612980565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6119cf8484846114d4565b6119db84848484611c64565b611a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a119061265b565b60405180910390fd5b50505050565b606060078054611a2f90612af1565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5b90612af1565b8015611aa85780601f10611a7d57610100808354040283529160200191611aa8565b820191906000526020600020905b815481529060010190602001808311611a8b57829003601f168201915b5050505050905090565b60606000821415611afa576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c5a565b600082905060005b60008214611b2c578080611b1590612b54565b915050600a82611b2591906129d6565b9150611b02565b60008167ffffffffffffffff811115611b6e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611ba05781602001600182028036833780820191505090505b5090505b60008514611c5357600182611bb99190612a07565b9150600a85611bc89190612b9d565b6030611bd49190612980565b60f81b818381518110611c10577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c4c91906129d6565b9450611ba4565b8093505050505b919050565b505050565b6000611c858473ffffffffffffffffffffffffffffffffffffffff16611dfb565b15611dee578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611cae6112c9565b8786866040518563ffffffff1660e01b8152600401611cd094939291906125d2565b602060405180830381600087803b158015611cea57600080fd5b505af1925050508015611d1b57506040513d601f19601f82011682018060405250810190611d1891906121ba565b60015b611d9e573d8060008114611d4b576040519150601f19603f3d011682016040523d82523d6000602084013e611d50565b606091505b50600081511415611d96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8d9061265b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611df3565b600190505b949350505050565b600080823b905060008111915050919050565b828054611e1a90612af1565b90600052602060002090601f016020900481019282611e3c5760008555611e83565b82601f10611e5557805160ff1916838001178555611e83565b82800160010185558215611e83579182015b82811115611e82578251825591602001919060010190611e67565b5b509050611e909190611e94565b5090565b5b80821115611ead576000816000905550600101611e95565b5090565b6000611ec4611ebf846128db565b6128b6565b905082815260208101848484011115611edc57600080fd5b611ee7848285612aaf565b509392505050565b6000611f02611efd8461290c565b6128b6565b905082815260208101848484011115611f1a57600080fd5b611f25848285612aaf565b509392505050565b600081359050611f3c8161316b565b92915050565b600081359050611f5181613182565b92915050565b600081359050611f6681613199565b92915050565b600081519050611f7b81613199565b92915050565b600082601f830112611f9257600080fd5b8135611fa2848260208601611eb1565b91505092915050565b600082601f830112611fbc57600080fd5b8135611fcc848260208601611eef565b91505092915050565b600081359050611fe4816131b0565b92915050565b600060208284031215611ffc57600080fd5b600061200a84828501611f2d565b91505092915050565b6000806040838503121561202657600080fd5b600061203485828601611f2d565b925050602061204585828601611f2d565b9150509250929050565b60008060006060848603121561206457600080fd5b600061207286828701611f2d565b935050602061208386828701611f2d565b925050604061209486828701611fd5565b9150509250925092565b600080600080608085870312156120b457600080fd5b60006120c287828801611f2d565b94505060206120d387828801611f2d565b93505060406120e487828801611fd5565b925050606085013567ffffffffffffffff81111561210157600080fd5b61210d87828801611f81565b91505092959194509250565b6000806040838503121561212c57600080fd5b600061213a85828601611f2d565b925050602061214b85828601611f42565b9150509250929050565b6000806040838503121561216857600080fd5b600061217685828601611f2d565b925050602061218785828601611fd5565b9150509250929050565b6000602082840312156121a357600080fd5b60006121b184828501611f57565b91505092915050565b6000602082840312156121cc57600080fd5b60006121da84828501611f6c565b91505092915050565b6000602082840312156121f557600080fd5b600082013567ffffffffffffffff81111561220f57600080fd5b61221b84828501611fab565b91505092915050565b60006020828403121561223657600080fd5b600061224484828501611fd5565b91505092915050565b61225681612a3b565b82525050565b61226581612a4d565b82525050565b60006122768261293d565b6122808185612953565b9350612290818560208601612abe565b61229981612c8a565b840191505092915050565b60006122af82612948565b6122b98185612964565b93506122c9818560208601612abe565b6122d281612c8a565b840191505092915050565b60006122e882612948565b6122f28185612975565b9350612302818560208601612abe565b80840191505092915050565b600061231b603283612964565b915061232682612c9b565b604082019050919050565b600061233e602683612964565b915061234982612cea565b604082019050919050565b6000612361601c83612964565b915061236c82612d39565b602082019050919050565b6000612384602483612964565b915061238f82612d62565b604082019050919050565b60006123a7602483612964565b91506123b282612db1565b604082019050919050565b60006123ca601983612964565b91506123d582612e00565b602082019050919050565b60006123ed602c83612964565b91506123f882612e29565b604082019050919050565b6000612410603883612964565b915061241b82612e78565b604082019050919050565b6000612433602a83612964565b915061243e82612ec7565b604082019050919050565b6000612456602983612964565b915061246182612f16565b604082019050919050565b6000612479601283612964565b915061248482612f65565b602082019050919050565b600061249c602083612964565b91506124a782612f8e565b602082019050919050565b60006124bf602c83612964565b91506124ca82612fb7565b604082019050919050565b60006124e2602083612964565b91506124ed82613006565b602082019050919050565b6000612505602983612964565b91506125108261302f565b604082019050919050565b6000612528602f83612964565b91506125338261307e565b604082019050919050565b600061254b602183612964565b9150612556826130cd565b604082019050919050565b600061256e603183612964565b91506125798261311c565b604082019050919050565b61258d81612aa5565b82525050565b600061259f82856122dd565b91506125ab82846122dd565b91508190509392505050565b60006020820190506125cc600083018461224d565b92915050565b60006080820190506125e7600083018761224d565b6125f4602083018661224d565b6126016040830185612584565b8181036060830152612613818461226b565b905095945050505050565b6000602082019050612633600083018461225c565b92915050565b6000602082019050818103600083015261265381846122a4565b905092915050565b600060208201905081810360008301526126748161230e565b9050919050565b6000602082019050818103600083015261269481612331565b9050919050565b600060208201905081810360008301526126b481612354565b9050919050565b600060208201905081810360008301526126d481612377565b9050919050565b600060208201905081810360008301526126f48161239a565b9050919050565b60006020820190508181036000830152612714816123bd565b9050919050565b60006020820190508181036000830152612734816123e0565b9050919050565b6000602082019050818103600083015261275481612403565b9050919050565b6000602082019050818103600083015261277481612426565b9050919050565b6000602082019050818103600083015261279481612449565b9050919050565b600060208201905081810360008301526127b48161246c565b9050919050565b600060208201905081810360008301526127d48161248f565b9050919050565b600060208201905081810360008301526127f4816124b2565b9050919050565b60006020820190508181036000830152612814816124d5565b9050919050565b60006020820190508181036000830152612834816124f8565b9050919050565b600060208201905081810360008301526128548161251b565b9050919050565b600060208201905081810360008301526128748161253e565b9050919050565b6000602082019050818103600083015261289481612561565b9050919050565b60006020820190506128b06000830184612584565b92915050565b60006128c06128d1565b90506128cc8282612b23565b919050565b6000604051905090565b600067ffffffffffffffff8211156128f6576128f5612c5b565b5b6128ff82612c8a565b9050602081019050919050565b600067ffffffffffffffff82111561292757612926612c5b565b5b61293082612c8a565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061298b82612aa5565b915061299683612aa5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156129cb576129ca612bce565b5b828201905092915050565b60006129e182612aa5565b91506129ec83612aa5565b9250826129fc576129fb612bfd565b5b828204905092915050565b6000612a1282612aa5565b9150612a1d83612aa5565b925082821015612a3057612a2f612bce565b5b828203905092915050565b6000612a4682612a85565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612adc578082015181840152602081019050612ac1565b83811115612aeb576000848401525b50505050565b60006002820490506001821680612b0957607f821691505b60208210811415612b1d57612b1c612c2c565b5b50919050565b612b2c82612c8a565b810181811067ffffffffffffffff82111715612b4b57612b4a612c5b565b5b80604052505050565b6000612b5f82612aa5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612b9257612b91612bce565b5b600182019050919050565b6000612ba882612aa5565b9150612bb383612aa5565b925082612bc357612bc2612bfd565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f63616c6c6572206973206e6569746865722075727353746f7265206e6f72206f60008201527f776e657200000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b61317481612a3b565b811461317f57600080fd5b50565b61318b81612a4d565b811461319657600080fd5b50565b6131a281612a59565b81146131ad57600080fd5b50565b6131b981612aa5565b81146131c457600080fd5b5056fea2646970667358221220cd9c7665cc8ae32dbe94a236214e41a0a591df79948ad01062dcb2b67dc8feb364736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000010426173656d656e744477656c6c6572730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044457454c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f636f6d706c6574656a756e6b2e636f6d2f6162692f300000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061014d5760003560e01c80636a627842116100c3578063a22cb4651161007c578063a22cb46514610378578063b88d4fde14610394578063c87b56dd146103b0578063e985e9c5146103e0578063f2fde38b14610410578063f78eaa321461042c5761014d565b80636a627842146102c85780636c0360eb146102e457806370a0823114610302578063715018a6146103325780638da5cb5b1461033c57806395d89b411461035a5761014d565b806318160ddd1161011557806318160ddd1461020857806323b872dd1461022657806332cb6b0c1461024257806342842e0e1461026057806355f804b31461027c5780636352211e146102985761014d565b806301ffc9a7146101525780630575c9df1461018257806306fdde031461019e578063081812fc146101bc578063095ea7b3146101ec575b600080fd5b61016c60048036038101906101679190612191565b61044a565b604051610179919061261e565b60405180910390f35b61019c60048036038101906101979190611fea565b61052c565b005b6101a6610623565b6040516101b39190612639565b60405180910390f35b6101d660048036038101906101d19190612224565b6106b5565b6040516101e391906125b7565b60405180910390f35b61020660048036038101906102019190612155565b61073a565b005b610210610852565b60405161021d919061289b565b60405180910390f35b610240600480360381019061023b919061204f565b610858565b005b61024a6108b8565b604051610257919061289b565b60405180910390f35b61027a6004803603810190610275919061204f565b6108be565b005b610296600480360381019061029191906121e3565b6108de565b005b6102b260048036038101906102ad9190612224565b6109ab565b6040516102bf91906125b7565b60405180910390f35b6102e260048036038101906102dd9190611fea565b610a5d565b005b6102ec610b99565b6040516102f99190612639565b60405180910390f35b61031c60048036038101906103179190611fea565b610c27565b604051610329919061289b565b60405180910390f35b61033a610cdf565b005b610344610d67565b60405161035191906125b7565b60405180910390f35b610362610d91565b60405161036f9190612639565b60405180910390f35b610392600480360381019061038d9190612119565b610e23565b005b6103ae60048036038101906103a9919061209e565b610fa4565b005b6103ca60048036038101906103c59190612224565b611006565b6040516103d79190612639565b60405180910390f35b6103fa60048036038101906103f59190612013565b6110ad565b604051610407919061261e565b60405180910390f35b61042a60048036038101906104259190611fea565b611141565b005b610434611239565b60405161044191906125b7565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061051557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061052557506105248261125f565b5b9050919050565b6105346112c9565b73ffffffffffffffffffffffffffffffffffffffff16610552610d67565b73ffffffffffffffffffffffffffffffffffffffff16146105a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059f906127fb565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fc9b2870b83ae2a5a3fcd8f8a339fb9cff5eb787faeb16acc7a11d7dafd8947628160405161061891906125b7565b60405180910390a150565b60606000805461063290612af1565b80601f016020809104026020016040519081016040528092919081815260200182805461065e90612af1565b80156106ab5780601f10610680576101008083540402835291602001916106ab565b820191906000526020600020905b81548152906001019060200180831161068e57829003601f168201915b5050505050905090565b60006106c0826112d1565b6106ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f6906127db565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610745826109ab565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ad9061285b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107d56112c9565b73ffffffffffffffffffffffffffffffffffffffff1614806108045750610803816107fe6112c9565b6110ad565b5b610843576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083a9061273b565b60405180910390fd5b61084d838361133d565b505050565b60085481565b6108696108636112c9565b826113f6565b6108a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089f9061287b565b60405180910390fd5b6108b38383836114d4565b505050565b61271081565b6108d983838360405180602001604052806000815250610fa4565b505050565b6108e66112c9565b73ffffffffffffffffffffffffffffffffffffffff16610904610d67565b73ffffffffffffffffffffffffffffffffffffffff161461095a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610951906127fb565b60405180910390fd5b8060079080519060200190610970929190611e0e565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa816040516109a09190612639565b60405180910390a150565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b9061277b565b60405180910390fd5b80915050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480610aeb57503373ffffffffffffffffffffffffffffffffffffffff16610ad3610d67565b73ffffffffffffffffffffffffffffffffffffffff16145b610b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b21906126bb565b60405180910390fd5b61271060085410610b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b679061279b565b60405180910390fd5b610b7c81600854611730565b600160086000828254610b8f9190612980565b9250508190555050565b60078054610ba690612af1565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd290612af1565b8015610c1f5780601f10610bf457610100808354040283529160200191610c1f565b820191906000526020600020905b815481529060010190602001808311610c0257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8f9061275b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ce76112c9565b73ffffffffffffffffffffffffffffffffffffffff16610d05610d67565b73ffffffffffffffffffffffffffffffffffffffff1614610d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d52906127fb565b60405180910390fd5b610d6560006118fe565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610da090612af1565b80601f0160208091040260200160405190810160405280929190818152602001828054610dcc90612af1565b8015610e195780601f10610dee57610100808354040283529160200191610e19565b820191906000526020600020905b815481529060010190602001808311610dfc57829003601f168201915b5050505050905090565b610e2b6112c9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e90906126fb565b60405180910390fd5b8060056000610ea66112c9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610f536112c9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f98919061261e565b60405180910390a35050565b610fb5610faf6112c9565b836113f6565b610ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610feb9061287b565b60405180910390fd5b611000848484846119c4565b50505050565b6060611011826112d1565b611050576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110479061283b565b60405180910390fd5b600061105a611a20565b9050600081511161107a57604051806020016040528060008152506110a5565b8061108484611ab2565b604051602001611095929190612593565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6111496112c9565b73ffffffffffffffffffffffffffffffffffffffff16611167610d67565b73ffffffffffffffffffffffffffffffffffffffff16146111bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b4906127fb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561122d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112249061267b565b60405180910390fd5b611236816118fe565b50565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166113b0836109ab565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611401826112d1565b611440576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114379061271b565b60405180910390fd5b600061144b836109ab565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806114ba57508373ffffffffffffffffffffffffffffffffffffffff166114a2846106b5565b73ffffffffffffffffffffffffffffffffffffffff16145b806114cb57506114ca81856110ad565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166114f4826109ab565b73ffffffffffffffffffffffffffffffffffffffff161461154a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115419061281b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b1906126db565b60405180910390fd5b6115c5838383611c5f565b6115d060008261133d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116209190612a07565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116779190612980565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611797906127bb565b60405180910390fd5b6117a9816112d1565b156117e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e09061269b565b60405180910390fd5b6117f560008383611c5f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118459190612980565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6119cf8484846114d4565b6119db84848484611c64565b611a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a119061265b565b60405180910390fd5b50505050565b606060078054611a2f90612af1565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5b90612af1565b8015611aa85780601f10611a7d57610100808354040283529160200191611aa8565b820191906000526020600020905b815481529060010190602001808311611a8b57829003601f168201915b5050505050905090565b60606000821415611afa576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c5a565b600082905060005b60008214611b2c578080611b1590612b54565b915050600a82611b2591906129d6565b9150611b02565b60008167ffffffffffffffff811115611b6e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611ba05781602001600182028036833780820191505090505b5090505b60008514611c5357600182611bb99190612a07565b9150600a85611bc89190612b9d565b6030611bd49190612980565b60f81b818381518110611c10577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c4c91906129d6565b9450611ba4565b8093505050505b919050565b505050565b6000611c858473ffffffffffffffffffffffffffffffffffffffff16611dfb565b15611dee578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611cae6112c9565b8786866040518563ffffffff1660e01b8152600401611cd094939291906125d2565b602060405180830381600087803b158015611cea57600080fd5b505af1925050508015611d1b57506040513d601f19601f82011682018060405250810190611d1891906121ba565b60015b611d9e573d8060008114611d4b576040519150601f19603f3d011682016040523d82523d6000602084013e611d50565b606091505b50600081511415611d96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8d9061265b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611df3565b600190505b949350505050565b600080823b905060008111915050919050565b828054611e1a90612af1565b90600052602060002090601f016020900481019282611e3c5760008555611e83565b82601f10611e5557805160ff1916838001178555611e83565b82800160010185558215611e83579182015b82811115611e82578251825591602001919060010190611e67565b5b509050611e909190611e94565b5090565b5b80821115611ead576000816000905550600101611e95565b5090565b6000611ec4611ebf846128db565b6128b6565b905082815260208101848484011115611edc57600080fd5b611ee7848285612aaf565b509392505050565b6000611f02611efd8461290c565b6128b6565b905082815260208101848484011115611f1a57600080fd5b611f25848285612aaf565b509392505050565b600081359050611f3c8161316b565b92915050565b600081359050611f5181613182565b92915050565b600081359050611f6681613199565b92915050565b600081519050611f7b81613199565b92915050565b600082601f830112611f9257600080fd5b8135611fa2848260208601611eb1565b91505092915050565b600082601f830112611fbc57600080fd5b8135611fcc848260208601611eef565b91505092915050565b600081359050611fe4816131b0565b92915050565b600060208284031215611ffc57600080fd5b600061200a84828501611f2d565b91505092915050565b6000806040838503121561202657600080fd5b600061203485828601611f2d565b925050602061204585828601611f2d565b9150509250929050565b60008060006060848603121561206457600080fd5b600061207286828701611f2d565b935050602061208386828701611f2d565b925050604061209486828701611fd5565b9150509250925092565b600080600080608085870312156120b457600080fd5b60006120c287828801611f2d565b94505060206120d387828801611f2d565b93505060406120e487828801611fd5565b925050606085013567ffffffffffffffff81111561210157600080fd5b61210d87828801611f81565b91505092959194509250565b6000806040838503121561212c57600080fd5b600061213a85828601611f2d565b925050602061214b85828601611f42565b9150509250929050565b6000806040838503121561216857600080fd5b600061217685828601611f2d565b925050602061218785828601611fd5565b9150509250929050565b6000602082840312156121a357600080fd5b60006121b184828501611f57565b91505092915050565b6000602082840312156121cc57600080fd5b60006121da84828501611f6c565b91505092915050565b6000602082840312156121f557600080fd5b600082013567ffffffffffffffff81111561220f57600080fd5b61221b84828501611fab565b91505092915050565b60006020828403121561223657600080fd5b600061224484828501611fd5565b91505092915050565b61225681612a3b565b82525050565b61226581612a4d565b82525050565b60006122768261293d565b6122808185612953565b9350612290818560208601612abe565b61229981612c8a565b840191505092915050565b60006122af82612948565b6122b98185612964565b93506122c9818560208601612abe565b6122d281612c8a565b840191505092915050565b60006122e882612948565b6122f28185612975565b9350612302818560208601612abe565b80840191505092915050565b600061231b603283612964565b915061232682612c9b565b604082019050919050565b600061233e602683612964565b915061234982612cea565b604082019050919050565b6000612361601c83612964565b915061236c82612d39565b602082019050919050565b6000612384602483612964565b915061238f82612d62565b604082019050919050565b60006123a7602483612964565b91506123b282612db1565b604082019050919050565b60006123ca601983612964565b91506123d582612e00565b602082019050919050565b60006123ed602c83612964565b91506123f882612e29565b604082019050919050565b6000612410603883612964565b915061241b82612e78565b604082019050919050565b6000612433602a83612964565b915061243e82612ec7565b604082019050919050565b6000612456602983612964565b915061246182612f16565b604082019050919050565b6000612479601283612964565b915061248482612f65565b602082019050919050565b600061249c602083612964565b91506124a782612f8e565b602082019050919050565b60006124bf602c83612964565b91506124ca82612fb7565b604082019050919050565b60006124e2602083612964565b91506124ed82613006565b602082019050919050565b6000612505602983612964565b91506125108261302f565b604082019050919050565b6000612528602f83612964565b91506125338261307e565b604082019050919050565b600061254b602183612964565b9150612556826130cd565b604082019050919050565b600061256e603183612964565b91506125798261311c565b604082019050919050565b61258d81612aa5565b82525050565b600061259f82856122dd565b91506125ab82846122dd565b91508190509392505050565b60006020820190506125cc600083018461224d565b92915050565b60006080820190506125e7600083018761224d565b6125f4602083018661224d565b6126016040830185612584565b8181036060830152612613818461226b565b905095945050505050565b6000602082019050612633600083018461225c565b92915050565b6000602082019050818103600083015261265381846122a4565b905092915050565b600060208201905081810360008301526126748161230e565b9050919050565b6000602082019050818103600083015261269481612331565b9050919050565b600060208201905081810360008301526126b481612354565b9050919050565b600060208201905081810360008301526126d481612377565b9050919050565b600060208201905081810360008301526126f48161239a565b9050919050565b60006020820190508181036000830152612714816123bd565b9050919050565b60006020820190508181036000830152612734816123e0565b9050919050565b6000602082019050818103600083015261275481612403565b9050919050565b6000602082019050818103600083015261277481612426565b9050919050565b6000602082019050818103600083015261279481612449565b9050919050565b600060208201905081810360008301526127b48161246c565b9050919050565b600060208201905081810360008301526127d48161248f565b9050919050565b600060208201905081810360008301526127f4816124b2565b9050919050565b60006020820190508181036000830152612814816124d5565b9050919050565b60006020820190508181036000830152612834816124f8565b9050919050565b600060208201905081810360008301526128548161251b565b9050919050565b600060208201905081810360008301526128748161253e565b9050919050565b6000602082019050818103600083015261289481612561565b9050919050565b60006020820190506128b06000830184612584565b92915050565b60006128c06128d1565b90506128cc8282612b23565b919050565b6000604051905090565b600067ffffffffffffffff8211156128f6576128f5612c5b565b5b6128ff82612c8a565b9050602081019050919050565b600067ffffffffffffffff82111561292757612926612c5b565b5b61293082612c8a565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061298b82612aa5565b915061299683612aa5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156129cb576129ca612bce565b5b828201905092915050565b60006129e182612aa5565b91506129ec83612aa5565b9250826129fc576129fb612bfd565b5b828204905092915050565b6000612a1282612aa5565b9150612a1d83612aa5565b925082821015612a3057612a2f612bce565b5b828203905092915050565b6000612a4682612a85565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612adc578082015181840152602081019050612ac1565b83811115612aeb576000848401525b50505050565b60006002820490506001821680612b0957607f821691505b60208210811415612b1d57612b1c612c2c565b5b50919050565b612b2c82612c8a565b810181811067ffffffffffffffff82111715612b4b57612b4a612c5b565b5b80604052505050565b6000612b5f82612aa5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612b9257612b91612bce565b5b600182019050919050565b6000612ba882612aa5565b9150612bb383612aa5565b925082612bc357612bc2612bfd565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f63616c6c6572206973206e6569746865722075727353746f7265206e6f72206f60008201527f776e657200000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b61317481612a3b565b811461317f57600080fd5b50565b61318b81612a4d565b811461319657600080fd5b50565b6131a281612a59565b81146131ad57600080fd5b50565b6131b981612aa5565b81146131c457600080fd5b5056fea2646970667358221220cd9c7665cc8ae32dbe94a236214e41a0a591df79948ad01062dcb2b67dc8feb364736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000010426173656d656e744477656c6c6572730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044457454c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f636f6d706c6574656a756e6b2e636f6d2f6162692f300000
-----Decoded View---------------
Arg [0] : __name (string): BasementDwellers
Arg [1] : __symbol (string): DWEL
Arg [2] : __baseURI (string): https://completejunk.com/abi/0
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [4] : 426173656d656e744477656c6c65727300000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 4457454c00000000000000000000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [8] : 68747470733a2f2f636f6d706c6574656a756e6b2e636f6d2f6162692f300000
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.