ERC-721
Overview
Max Total Supply
604 CRYPTCHA
Holders
69
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 CRYPTCHALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Cryptcha
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.4; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Cryptcha is ERC721A, Ownable { uint256 private constant CLOSED_SALE = 0; uint256 private constant PUBLIC_SALE = 1; uint256 public saleState = CLOSED_SALE; address payable private _wallet; address payable private _devWallet; uint256 public maxSupply; bool public maxSupplyLocked; uint256 public publicMintPrice; // basis of 100 uint256 private _devShare; string baseURI = "ipfs://"; constructor( address payable wallet, address payable devWallet, uint256 initialMaxSupply, uint256 initialPublicMintPrice, uint256 devShare ) ERC721A("Cryptcha", "CRYPTCHA") { _wallet = wallet; _devWallet = devWallet; maxSupply = initialMaxSupply; publicMintPrice = initialPublicMintPrice; _devShare = devShare; } function _startTokenId() internal pure override returns (uint256) { return 1; } function mint(uint256 count) external payable { require(saleState == PUBLIC_SALE, "Cryptcha: sale is closed"); require(totalSupply() + count <= maxSupply, "Cryptcha: none left"); require(count <= 5, "Cryptcha: Cannot mint more than 5 tokens at once"); _mintFromPublicSale(count); } function devMint(address to, uint256 count) public payable onlyOwner { require(totalSupply() + count <= maxSupply, "Cryptcha: none left"); _safeMint(to, count); } function setBaseURI(string memory newBaseURI) public onlyOwner { baseURI = newBaseURI; } function _baseURI() internal view override returns (string memory) { return baseURI; } function lockMaxSupply() public onlyOwner { maxSupplyLocked = true; } function setMaxSupply(uint256 newMaxSupply) public onlyOwner { require( !maxSupplyLocked, "Cryptcha: cannot change max supply, it is locked" ); require( newMaxSupply >= _totalMinted(), "Cryptcha: cannot set max supply less than current minted supply" ); maxSupply = newMaxSupply; } function setPublicMintPrice(uint256 newPrice) public onlyOwner { publicMintPrice = newPrice; } function _mintFromPublicSale(uint256 count) internal { require( msg.value >= publicMintPrice * count, "Cryptcha: not enough funds sent" ); _safeMint(msg.sender, count); } function setSaleState(uint256 nextSaleState) public onlyOwner { require( nextSaleState >= 0 && nextSaleState <= 2, "Cryptcha: sale state out of range" ); saleState = nextSaleState; } function totalMinted() public view returns (uint256) { return _totalMinted(); } function withdraw() public onlyOwner { uint256 balance = address(this).balance; uint256 devPayment = (balance * _devShare) / 100; uint256 remainder = balance - devPayment; (bool success, ) = _devWallet.call{value: devPayment}(""); (bool success2, ) = _wallet.call{value: remainder}(""); require(success && success2, "Cryptcha: withdrawl failed"); } function allOwners() external view returns (address[] memory) { address[] memory _allOwners = new address[](maxSupply + 1); for (uint256 i = 1; i <= maxSupply; i++) { if (_exists(i)) { address owner = ownerOf(i); _allOwners[i] = owner; } else { _allOwners[i] = address(0x0); } } return _allOwners; } // payable fallback fallback() external payable {} receive() external payable {} }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev 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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) 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() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) 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 // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "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":"address payable","name":"wallet","type":"address"},{"internalType":"address payable","name":"devWallet","type":"address"},{"internalType":"uint256","name":"initialMaxSupply","type":"uint256"},{"internalType":"uint256","name":"initialPublicMintPrice","type":"uint256"},{"internalType":"uint256","name":"devShare","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"allOwners","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nextSaleState","type":"uint256"}],"name":"setSaleState","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":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405260006009556040518060400160405280600781526020017f697066733a2f2f000000000000000000000000000000000000000000000000008152506010908051906020019062000056929190620002d9565b503480156200006457600080fd5b50604051620042283803806200422883398181016040528101906200008a9190620003b7565b6040518060400160405280600881526020017f43727970746368610000000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f435259505443484100000000000000000000000000000000000000000000000081525081600290805190602001906200010e929190620002d9565b50806003908051906020019062000127929190620002d9565b50620001386200020260201b60201c565b600081905550505062000160620001546200020b60201b60201c565b6200021360201b60201c565b84600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600c8190555081600e8190555080600f81905550505050505062000510565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002e79062000477565b90600052602060002090601f0160209004810192826200030b576000855562000357565b82601f106200032657805160ff191683800117855562000357565b8280016001018555821562000357579182015b828111156200035657825182559160200191906001019062000339565b5b5090506200036691906200036a565b5090565b5b80821115620003855760008160009055506001016200036b565b5090565b6000815190506200039a81620004dc565b92915050565b600081519050620003b181620004f6565b92915050565b600080600080600060a08688031215620003d057600080fd5b6000620003e08882890162000389565b9550506020620003f38882890162000389565b94505060406200040688828901620003a0565b93505060606200041988828901620003a0565b92505060806200042c88828901620003a0565b9150509295509295909350565b600062000446826200044d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060028204905060018216806200049057607f821691505b60208210811415620004a757620004a6620004ad565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620004e78162000439565b8114620004f357600080fd5b50565b62000501816200046d565b81146200050d57600080fd5b50565b613d0880620005206000396000f3fe6080604052600436106101dc5760003560e01c806370a0823111610102578063a8d0466c11610095578063dc53fd9211610064578063dc53fd9214610670578063e985e9c51461069b578063f2fde38b146106d8578063fca76c2614610701576101e3565b8063a8d0466c146105b4578063b88d4fde146105df578063c87b56dd14610608578063d5abeb0114610645576101e3565b8063a0712d68116100d1578063a0712d6814610519578063a12a52dc14610535578063a22cb46514610560578063a2309ff814610589576101e3565b806370a082311461046f578063715018a6146104ac5780638da5cb5b146104c357806395d89b41146104ee576101e3565b80633ccfd60b1161017a578063603f4d5211610149578063603f4d52146103c2578063627804af146103ed5780636352211e146104095780636f8b44b014610446576101e3565b80633ccfd60b1461033057806342842e0e1461034757806355f804b3146103705780635d82cf6e14610399576101e3565b8063084c4088116101b6578063084c40881461028a578063095ea7b3146102b357806318160ddd146102dc57806323b872dd14610307576101e3565b806301ffc9a7146101e557806306fdde0314610222578063081812fc1461024d576101e3565b366101e357005b005b3480156101f157600080fd5b5061020c60048036038101906102079190612fac565b610718565b6040516102199190613400565b60405180910390f35b34801561022e57600080fd5b506102376107fa565b604051610244919061341b565b60405180910390f35b34801561025957600080fd5b50610274600480360381019061026f919061303f565b61088c565b6040516102819190613377565b60405180910390f35b34801561029657600080fd5b506102b160048036038101906102ac919061303f565b610908565b005b3480156102bf57600080fd5b506102da60048036038101906102d59190612f70565b6109df565b005b3480156102e857600080fd5b506102f1610aea565b6040516102fe919061357d565b60405180910390f35b34801561031357600080fd5b5061032e60048036038101906103299190612e6a565b610b01565b005b34801561033c57600080fd5b50610345610b11565b005b34801561035357600080fd5b5061036e60048036038101906103699190612e6a565b610d2c565b005b34801561037c57600080fd5b5061039760048036038101906103929190612ffe565b610d4c565b005b3480156103a557600080fd5b506103c060048036038101906103bb919061303f565b610de2565b005b3480156103ce57600080fd5b506103d7610e68565b6040516103e4919061357d565b60405180910390f35b61040760048036038101906104029190612f70565b610e6e565b005b34801561041557600080fd5b50610430600480360381019061042b919061303f565b610f4f565b60405161043d9190613377565b60405180910390f35b34801561045257600080fd5b5061046d6004803603810190610468919061303f565b610f65565b005b34801561047b57600080fd5b5061049660048036038101906104919190612e05565b611085565b6040516104a3919061357d565b60405180910390f35b3480156104b857600080fd5b506104c1611155565b005b3480156104cf57600080fd5b506104d86111dd565b6040516104e59190613377565b60405180910390f35b3480156104fa57600080fd5b50610503611207565b604051610510919061341b565b60405180910390f35b610533600480360381019061052e919061303f565b611299565b005b34801561054157600080fd5b5061054a611385565b60405161055791906133de565b60405180910390f35b34801561056c57600080fd5b5061058760048036038101906105829190612f34565b61153e565b005b34801561059557600080fd5b5061059e6116b6565b6040516105ab919061357d565b60405180910390f35b3480156105c057600080fd5b506105c96116c5565b6040516105d69190613400565b60405180910390f35b3480156105eb57600080fd5b5061060660048036038101906106019190612eb9565b6116d8565b005b34801561061457600080fd5b5061062f600480360381019061062a919061303f565b611754565b60405161063c919061341b565b60405180910390f35b34801561065157600080fd5b5061065a6117f3565b604051610667919061357d565b60405180910390f35b34801561067c57600080fd5b506106856117f9565b604051610692919061357d565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd9190612e2e565b6117ff565b6040516106cf9190613400565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190612e05565b611893565b005b34801561070d57600080fd5b5061071661198b565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107e357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107f357506107f282611a24565b5b9050919050565b60606002805461080990613871565b80601f016020809104026020016040519081016040528092919081815260200182805461083590613871565b80156108825780601f1061085757610100808354040283529160200191610882565b820191906000526020600020905b81548152906001019060200180831161086557829003601f168201915b5050505050905090565b600061089782611a8e565b6108cd576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610910611adc565b73ffffffffffffffffffffffffffffffffffffffff1661092e6111dd565b73ffffffffffffffffffffffffffffffffffffffff1614610984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097b906134fd565b60405180910390fd5b60008110158015610996575060028111155b6109d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cc906134dd565b60405180910390fd5b8060098190555050565b60006109ea82610f4f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a52576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a71611adc565b73ffffffffffffffffffffffffffffffffffffffff1614158015610aa35750610aa181610a9c611adc565b6117ff565b155b15610ada576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ae5838383611ae4565b505050565b6000610af4611b96565b6001546000540303905090565b610b0c838383611b9f565b505050565b610b19611adc565b73ffffffffffffffffffffffffffffffffffffffff16610b376111dd565b73ffffffffffffffffffffffffffffffffffffffff1614610b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b84906134fd565b60405180910390fd5b600047905060006064600f5483610ba4919061372d565b610bae91906136fc565b905060008183610bbe9190613787565b90506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051610c0890613362565b60006040518083038185875af1925050503d8060008114610c45576040519150601f19603f3d011682016040523d82523d6000602084013e610c4a565b606091505b505090506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051610c9690613362565b60006040518083038185875af1925050503d8060008114610cd3576040519150601f19603f3d011682016040523d82523d6000602084013e610cd8565b606091505b50509050818015610ce65750805b610d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1c9061351d565b60405180910390fd5b5050505050565b610d47838383604051806020016040528060008152506116d8565b505050565b610d54611adc565b73ffffffffffffffffffffffffffffffffffffffff16610d726111dd565b73ffffffffffffffffffffffffffffffffffffffff1614610dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbf906134fd565b60405180910390fd5b8060109080519060200190610dde929190612be6565b5050565b610dea611adc565b73ffffffffffffffffffffffffffffffffffffffff16610e086111dd565b73ffffffffffffffffffffffffffffffffffffffff1614610e5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e55906134fd565b60405180910390fd5b80600e8190555050565b60095481565b610e76611adc565b73ffffffffffffffffffffffffffffffffffffffff16610e946111dd565b73ffffffffffffffffffffffffffffffffffffffff1614610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee1906134fd565b60405180910390fd5b600c5481610ef6610aea565b610f0091906136a6565b1115610f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f38906134bd565b60405180910390fd5b610f4b8282612055565b5050565b6000610f5a82612073565b600001519050919050565b610f6d611adc565b73ffffffffffffffffffffffffffffffffffffffff16610f8b6111dd565b73ffffffffffffffffffffffffffffffffffffffff1614610fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd8906134fd565b60405180910390fd5b600d60009054906101000a900460ff1615611031576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110289061347d565b60405180910390fd5b611039612302565b81101561107b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110729061353d565b60405180910390fd5b80600c8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110ed576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61115d611adc565b73ffffffffffffffffffffffffffffffffffffffff1661117b6111dd565b73ffffffffffffffffffffffffffffffffffffffff16146111d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c8906134fd565b60405180910390fd5b6111db6000612315565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461121690613871565b80601f016020809104026020016040519081016040528092919081815260200182805461124290613871565b801561128f5780601f106112645761010080835404028352916020019161128f565b820191906000526020600020905b81548152906001019060200180831161127257829003601f168201915b5050505050905090565b6001600954146112de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d59061349d565b60405180910390fd5b600c54816112ea610aea565b6112f491906136a6565b1115611335576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132c906134bd565b60405180910390fd5b6005811115611379576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113709061355d565b60405180910390fd5b611382816123db565b50565b606060006001600c5461139891906136a6565b67ffffffffffffffff8111156113d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156114055781602001602082028036833780820191505090505b5090506000600190505b600c5481116115365761142181611a8e565b156114ad57600061143182610f4f565b90508083838151811061146d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505050611523565b60008282815181106114e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b808061152e906138d4565b91505061140f565b508091505090565b611546611adc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ab576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006115b8611adc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611665611adc565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116aa9190613400565b60405180910390a35050565b60006116c0612302565b905090565b600d60009054906101000a900460ff1681565b6116e3848484611b9f565b6117028373ffffffffffffffffffffffffffffffffffffffff16612438565b801561171757506117158484848461245b565b155b1561174e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061175f82611a8e565b611795576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061179f6125bb565b90506000815114156117c057604051806020016040528060008152506117eb565b806117ca8461264d565b6040516020016117db92919061333e565b6040516020818303038152906040525b915050919050565b600c5481565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61189b611adc565b73ffffffffffffffffffffffffffffffffffffffff166118b96111dd565b73ffffffffffffffffffffffffffffffffffffffff161461190f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611906906134fd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561197f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119769061345d565b60405180910390fd5b61198881612315565b50565b611993611adc565b73ffffffffffffffffffffffffffffffffffffffff166119b16111dd565b73ffffffffffffffffffffffffffffffffffffffff1614611a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fe906134fd565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611a99611b96565b11158015611aa8575060005482105b8015611ad5575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000611baa82612073565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611c15576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611c36611adc565b73ffffffffffffffffffffffffffffffffffffffff161480611c655750611c6485611c5f611adc565b6117ff565b5b80611caa5750611c73611adc565b73ffffffffffffffffffffffffffffffffffffffff16611c928461088c565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611ce3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d4a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d5785858560016127fa565b611d6360008487611ae4565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611fe3576000548214611fe257878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461204e8585856001612800565b5050505050565b61206f828260405180602001604052806000815250612806565b5050565b61207b612c6c565b600082905080612089611b96565b11158015612098575060005481105b156122cb576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516122c957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146121ad5780925050506122fd565b5b6001156122c857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146122c35780925050506122fd565b6121ae565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600061230c611b96565b60005403905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600e546123e9919061372d565b34101561242b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124229061343d565b60405180910390fd5b6124353382612055565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612481611adc565b8786866040518563ffffffff1660e01b81526004016124a39493929190613392565b602060405180830381600087803b1580156124bd57600080fd5b505af19250505080156124ee57506040513d601f19601f820116820180604052508101906124eb9190612fd5565b60015b612568573d806000811461251e576040519150601f19603f3d011682016040523d82523d6000602084013e612523565b606091505b50600081511415612560576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060601080546125ca90613871565b80601f01602080910402602001604051908101604052809291908181526020018280546125f690613871565b80156126435780601f1061261857610100808354040283529160200191612643565b820191906000526020600020905b81548152906001019060200180831161262657829003601f168201915b5050505050905090565b60606000821415612695576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127f5565b600082905060005b600082146126c75780806126b0906138d4565b915050600a826126c091906136fc565b915061269d565b60008167ffffffffffffffff811115612709577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561273b5781602001600182028036833780820191505090505b5090505b600085146127ee576001826127549190613787565b9150600a85612763919061391d565b603061276f91906136a6565b60f81b8183815181106127ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127e791906136fc565b945061273f565b8093505050505b919050565b50505050565b50505050565b6128138383836001612818565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612885576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156128c0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128cd60008683876127fa565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612a975750612a968773ffffffffffffffffffffffffffffffffffffffff16612438565b5b15612b5d575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b0c600088848060010195508861245b565b612b42576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612a9d578260005414612b5857600080fd5b612bc9565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612b5e575b816000819055505050612bdf6000868387612800565b5050505050565b828054612bf290613871565b90600052602060002090601f016020900481019282612c145760008555612c5b565b82601f10612c2d57805160ff1916838001178555612c5b565b82800160010185558215612c5b579182015b82811115612c5a578251825591602001919060010190612c3f565b5b509050612c689190612caf565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612cc8576000816000905550600101612cb0565b5090565b6000612cdf612cda846135bd565b613598565b905082815260208101848484011115612cf757600080fd5b612d0284828561382f565b509392505050565b6000612d1d612d18846135ee565b613598565b905082815260208101848484011115612d3557600080fd5b612d4084828561382f565b509392505050565b600081359050612d5781613c76565b92915050565b600081359050612d6c81613c8d565b92915050565b600081359050612d8181613ca4565b92915050565b600081519050612d9681613ca4565b92915050565b600082601f830112612dad57600080fd5b8135612dbd848260208601612ccc565b91505092915050565b600082601f830112612dd757600080fd5b8135612de7848260208601612d0a565b91505092915050565b600081359050612dff81613cbb565b92915050565b600060208284031215612e1757600080fd5b6000612e2584828501612d48565b91505092915050565b60008060408385031215612e4157600080fd5b6000612e4f85828601612d48565b9250506020612e6085828601612d48565b9150509250929050565b600080600060608486031215612e7f57600080fd5b6000612e8d86828701612d48565b9350506020612e9e86828701612d48565b9250506040612eaf86828701612df0565b9150509250925092565b60008060008060808587031215612ecf57600080fd5b6000612edd87828801612d48565b9450506020612eee87828801612d48565b9350506040612eff87828801612df0565b925050606085013567ffffffffffffffff811115612f1c57600080fd5b612f2887828801612d9c565b91505092959194509250565b60008060408385031215612f4757600080fd5b6000612f5585828601612d48565b9250506020612f6685828601612d5d565b9150509250929050565b60008060408385031215612f8357600080fd5b6000612f9185828601612d48565b9250506020612fa285828601612df0565b9150509250929050565b600060208284031215612fbe57600080fd5b6000612fcc84828501612d72565b91505092915050565b600060208284031215612fe757600080fd5b6000612ff584828501612d87565b91505092915050565b60006020828403121561301057600080fd5b600082013567ffffffffffffffff81111561302a57600080fd5b61303684828501612dc6565b91505092915050565b60006020828403121561305157600080fd5b600061305f84828501612df0565b91505092915050565b60006130748383613080565b60208301905092915050565b613089816137bb565b82525050565b613098816137bb565b82525050565b60006130a98261362f565b6130b3818561365d565b93506130be8361361f565b8060005b838110156130ef5781516130d68882613068565b97506130e183613650565b9250506001810190506130c2565b5085935050505092915050565b613105816137cd565b82525050565b60006131168261363a565b613120818561366e565b935061313081856020860161383e565b61313981613a0a565b840191505092915050565b600061314f82613645565b613159818561368a565b935061316981856020860161383e565b61317281613a0a565b840191505092915050565b600061318882613645565b613192818561369b565b93506131a281856020860161383e565b80840191505092915050565b60006131bb601f8361368a565b91506131c682613a1b565b602082019050919050565b60006131de60268361368a565b91506131e982613a44565b604082019050919050565b600061320160308361368a565b915061320c82613a93565b604082019050919050565b600061322460188361368a565b915061322f82613ae2565b602082019050919050565b600061324760138361368a565b915061325282613b0b565b602082019050919050565b600061326a60218361368a565b915061327582613b34565b604082019050919050565b600061328d60208361368a565b915061329882613b83565b602082019050919050565b60006132b0601a8361368a565b91506132bb82613bac565b602082019050919050565b60006132d360008361367f565b91506132de82613bd5565b600082019050919050565b60006132f6603f8361368a565b915061330182613bd8565b604082019050919050565b600061331960308361368a565b915061332482613c27565b604082019050919050565b61333881613825565b82525050565b600061334a828561317d565b9150613356828461317d565b91508190509392505050565b600061336d826132c6565b9150819050919050565b600060208201905061338c600083018461308f565b92915050565b60006080820190506133a7600083018761308f565b6133b4602083018661308f565b6133c1604083018561332f565b81810360608301526133d3818461310b565b905095945050505050565b600060208201905081810360008301526133f8818461309e565b905092915050565b600060208201905061341560008301846130fc565b92915050565b600060208201905081810360008301526134358184613144565b905092915050565b60006020820190508181036000830152613456816131ae565b9050919050565b60006020820190508181036000830152613476816131d1565b9050919050565b60006020820190508181036000830152613496816131f4565b9050919050565b600060208201905081810360008301526134b681613217565b9050919050565b600060208201905081810360008301526134d68161323a565b9050919050565b600060208201905081810360008301526134f68161325d565b9050919050565b6000602082019050818103600083015261351681613280565b9050919050565b60006020820190508181036000830152613536816132a3565b9050919050565b60006020820190508181036000830152613556816132e9565b9050919050565b600060208201905081810360008301526135768161330c565b9050919050565b6000602082019050613592600083018461332f565b92915050565b60006135a26135b3565b90506135ae82826138a3565b919050565b6000604051905090565b600067ffffffffffffffff8211156135d8576135d76139db565b5b6135e182613a0a565b9050602081019050919050565b600067ffffffffffffffff821115613609576136086139db565b5b61361282613a0a565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006136b182613825565b91506136bc83613825565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136f1576136f061394e565b5b828201905092915050565b600061370782613825565b915061371283613825565b9250826137225761372161397d565b5b828204905092915050565b600061373882613825565b915061374383613825565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561377c5761377b61394e565b5b828202905092915050565b600061379282613825565b915061379d83613825565b9250828210156137b0576137af61394e565b5b828203905092915050565b60006137c682613805565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561385c578082015181840152602081019050613841565b8381111561386b576000848401525b50505050565b6000600282049050600182168061388957607f821691505b6020821081141561389d5761389c6139ac565b5b50919050565b6138ac82613a0a565b810181811067ffffffffffffffff821117156138cb576138ca6139db565b5b80604052505050565b60006138df82613825565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156139125761391161394e565b5b600182019050919050565b600061392882613825565b915061393383613825565b9250826139435761394261397d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f43727970746368613a206e6f7420656e6f7567682066756e64732073656e7400600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43727970746368613a2063616e6e6f74206368616e6765206d6178207375707060008201527f6c792c206974206973206c6f636b656400000000000000000000000000000000602082015250565b7f43727970746368613a2073616c6520697320636c6f7365640000000000000000600082015250565b7f43727970746368613a206e6f6e65206c65667400000000000000000000000000600082015250565b7f43727970746368613a2073616c65207374617465206f7574206f662072616e6760008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43727970746368613a2077697468647261776c206661696c6564000000000000600082015250565b50565b7f43727970746368613a2063616e6e6f7420736574206d617820737570706c792060008201527f6c657373207468616e2063757272656e74206d696e74656420737570706c7900602082015250565b7f43727970746368613a2043616e6e6f74206d696e74206d6f7265207468616e2060008201527f3520746f6b656e73206174206f6e636500000000000000000000000000000000602082015250565b613c7f816137bb565b8114613c8a57600080fd5b50565b613c96816137cd565b8114613ca157600080fd5b50565b613cad816137d9565b8114613cb857600080fd5b50565b613cc481613825565b8114613ccf57600080fd5b5056fea26469706673582212206b8c69c097f5be0ec586d31eacc6aa931671eba3e8bd796bbb8ca5534abf780164736f6c63430008040033000000000000000000000000a17a86f8c902479c5bef545b24474afd319149b900000000000000000000000038271449d632e15e31d7feeafe987c35b835f2cc000000000000000000000000000000000000000000000000000000000000030900000000000000000000000000000000000000000000000000470de4df8200000000000000000000000000000000000000000000000000000000000000000007
Deployed Bytecode
0x6080604052600436106101dc5760003560e01c806370a0823111610102578063a8d0466c11610095578063dc53fd9211610064578063dc53fd9214610670578063e985e9c51461069b578063f2fde38b146106d8578063fca76c2614610701576101e3565b8063a8d0466c146105b4578063b88d4fde146105df578063c87b56dd14610608578063d5abeb0114610645576101e3565b8063a0712d68116100d1578063a0712d6814610519578063a12a52dc14610535578063a22cb46514610560578063a2309ff814610589576101e3565b806370a082311461046f578063715018a6146104ac5780638da5cb5b146104c357806395d89b41146104ee576101e3565b80633ccfd60b1161017a578063603f4d5211610149578063603f4d52146103c2578063627804af146103ed5780636352211e146104095780636f8b44b014610446576101e3565b80633ccfd60b1461033057806342842e0e1461034757806355f804b3146103705780635d82cf6e14610399576101e3565b8063084c4088116101b6578063084c40881461028a578063095ea7b3146102b357806318160ddd146102dc57806323b872dd14610307576101e3565b806301ffc9a7146101e557806306fdde0314610222578063081812fc1461024d576101e3565b366101e357005b005b3480156101f157600080fd5b5061020c60048036038101906102079190612fac565b610718565b6040516102199190613400565b60405180910390f35b34801561022e57600080fd5b506102376107fa565b604051610244919061341b565b60405180910390f35b34801561025957600080fd5b50610274600480360381019061026f919061303f565b61088c565b6040516102819190613377565b60405180910390f35b34801561029657600080fd5b506102b160048036038101906102ac919061303f565b610908565b005b3480156102bf57600080fd5b506102da60048036038101906102d59190612f70565b6109df565b005b3480156102e857600080fd5b506102f1610aea565b6040516102fe919061357d565b60405180910390f35b34801561031357600080fd5b5061032e60048036038101906103299190612e6a565b610b01565b005b34801561033c57600080fd5b50610345610b11565b005b34801561035357600080fd5b5061036e60048036038101906103699190612e6a565b610d2c565b005b34801561037c57600080fd5b5061039760048036038101906103929190612ffe565b610d4c565b005b3480156103a557600080fd5b506103c060048036038101906103bb919061303f565b610de2565b005b3480156103ce57600080fd5b506103d7610e68565b6040516103e4919061357d565b60405180910390f35b61040760048036038101906104029190612f70565b610e6e565b005b34801561041557600080fd5b50610430600480360381019061042b919061303f565b610f4f565b60405161043d9190613377565b60405180910390f35b34801561045257600080fd5b5061046d6004803603810190610468919061303f565b610f65565b005b34801561047b57600080fd5b5061049660048036038101906104919190612e05565b611085565b6040516104a3919061357d565b60405180910390f35b3480156104b857600080fd5b506104c1611155565b005b3480156104cf57600080fd5b506104d86111dd565b6040516104e59190613377565b60405180910390f35b3480156104fa57600080fd5b50610503611207565b604051610510919061341b565b60405180910390f35b610533600480360381019061052e919061303f565b611299565b005b34801561054157600080fd5b5061054a611385565b60405161055791906133de565b60405180910390f35b34801561056c57600080fd5b5061058760048036038101906105829190612f34565b61153e565b005b34801561059557600080fd5b5061059e6116b6565b6040516105ab919061357d565b60405180910390f35b3480156105c057600080fd5b506105c96116c5565b6040516105d69190613400565b60405180910390f35b3480156105eb57600080fd5b5061060660048036038101906106019190612eb9565b6116d8565b005b34801561061457600080fd5b5061062f600480360381019061062a919061303f565b611754565b60405161063c919061341b565b60405180910390f35b34801561065157600080fd5b5061065a6117f3565b604051610667919061357d565b60405180910390f35b34801561067c57600080fd5b506106856117f9565b604051610692919061357d565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd9190612e2e565b6117ff565b6040516106cf9190613400565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190612e05565b611893565b005b34801561070d57600080fd5b5061071661198b565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107e357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107f357506107f282611a24565b5b9050919050565b60606002805461080990613871565b80601f016020809104026020016040519081016040528092919081815260200182805461083590613871565b80156108825780601f1061085757610100808354040283529160200191610882565b820191906000526020600020905b81548152906001019060200180831161086557829003601f168201915b5050505050905090565b600061089782611a8e565b6108cd576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610910611adc565b73ffffffffffffffffffffffffffffffffffffffff1661092e6111dd565b73ffffffffffffffffffffffffffffffffffffffff1614610984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097b906134fd565b60405180910390fd5b60008110158015610996575060028111155b6109d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cc906134dd565b60405180910390fd5b8060098190555050565b60006109ea82610f4f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a52576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a71611adc565b73ffffffffffffffffffffffffffffffffffffffff1614158015610aa35750610aa181610a9c611adc565b6117ff565b155b15610ada576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ae5838383611ae4565b505050565b6000610af4611b96565b6001546000540303905090565b610b0c838383611b9f565b505050565b610b19611adc565b73ffffffffffffffffffffffffffffffffffffffff16610b376111dd565b73ffffffffffffffffffffffffffffffffffffffff1614610b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b84906134fd565b60405180910390fd5b600047905060006064600f5483610ba4919061372d565b610bae91906136fc565b905060008183610bbe9190613787565b90506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051610c0890613362565b60006040518083038185875af1925050503d8060008114610c45576040519150601f19603f3d011682016040523d82523d6000602084013e610c4a565b606091505b505090506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051610c9690613362565b60006040518083038185875af1925050503d8060008114610cd3576040519150601f19603f3d011682016040523d82523d6000602084013e610cd8565b606091505b50509050818015610ce65750805b610d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1c9061351d565b60405180910390fd5b5050505050565b610d47838383604051806020016040528060008152506116d8565b505050565b610d54611adc565b73ffffffffffffffffffffffffffffffffffffffff16610d726111dd565b73ffffffffffffffffffffffffffffffffffffffff1614610dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbf906134fd565b60405180910390fd5b8060109080519060200190610dde929190612be6565b5050565b610dea611adc565b73ffffffffffffffffffffffffffffffffffffffff16610e086111dd565b73ffffffffffffffffffffffffffffffffffffffff1614610e5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e55906134fd565b60405180910390fd5b80600e8190555050565b60095481565b610e76611adc565b73ffffffffffffffffffffffffffffffffffffffff16610e946111dd565b73ffffffffffffffffffffffffffffffffffffffff1614610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee1906134fd565b60405180910390fd5b600c5481610ef6610aea565b610f0091906136a6565b1115610f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f38906134bd565b60405180910390fd5b610f4b8282612055565b5050565b6000610f5a82612073565b600001519050919050565b610f6d611adc565b73ffffffffffffffffffffffffffffffffffffffff16610f8b6111dd565b73ffffffffffffffffffffffffffffffffffffffff1614610fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd8906134fd565b60405180910390fd5b600d60009054906101000a900460ff1615611031576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110289061347d565b60405180910390fd5b611039612302565b81101561107b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110729061353d565b60405180910390fd5b80600c8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110ed576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61115d611adc565b73ffffffffffffffffffffffffffffffffffffffff1661117b6111dd565b73ffffffffffffffffffffffffffffffffffffffff16146111d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c8906134fd565b60405180910390fd5b6111db6000612315565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461121690613871565b80601f016020809104026020016040519081016040528092919081815260200182805461124290613871565b801561128f5780601f106112645761010080835404028352916020019161128f565b820191906000526020600020905b81548152906001019060200180831161127257829003601f168201915b5050505050905090565b6001600954146112de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d59061349d565b60405180910390fd5b600c54816112ea610aea565b6112f491906136a6565b1115611335576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132c906134bd565b60405180910390fd5b6005811115611379576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113709061355d565b60405180910390fd5b611382816123db565b50565b606060006001600c5461139891906136a6565b67ffffffffffffffff8111156113d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156114055781602001602082028036833780820191505090505b5090506000600190505b600c5481116115365761142181611a8e565b156114ad57600061143182610f4f565b90508083838151811061146d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505050611523565b60008282815181106114e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b808061152e906138d4565b91505061140f565b508091505090565b611546611adc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ab576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006115b8611adc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611665611adc565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116aa9190613400565b60405180910390a35050565b60006116c0612302565b905090565b600d60009054906101000a900460ff1681565b6116e3848484611b9f565b6117028373ffffffffffffffffffffffffffffffffffffffff16612438565b801561171757506117158484848461245b565b155b1561174e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061175f82611a8e565b611795576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061179f6125bb565b90506000815114156117c057604051806020016040528060008152506117eb565b806117ca8461264d565b6040516020016117db92919061333e565b6040516020818303038152906040525b915050919050565b600c5481565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61189b611adc565b73ffffffffffffffffffffffffffffffffffffffff166118b96111dd565b73ffffffffffffffffffffffffffffffffffffffff161461190f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611906906134fd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561197f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119769061345d565b60405180910390fd5b61198881612315565b50565b611993611adc565b73ffffffffffffffffffffffffffffffffffffffff166119b16111dd565b73ffffffffffffffffffffffffffffffffffffffff1614611a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fe906134fd565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611a99611b96565b11158015611aa8575060005482105b8015611ad5575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000611baa82612073565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611c15576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611c36611adc565b73ffffffffffffffffffffffffffffffffffffffff161480611c655750611c6485611c5f611adc565b6117ff565b5b80611caa5750611c73611adc565b73ffffffffffffffffffffffffffffffffffffffff16611c928461088c565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611ce3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d4a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d5785858560016127fa565b611d6360008487611ae4565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611fe3576000548214611fe257878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461204e8585856001612800565b5050505050565b61206f828260405180602001604052806000815250612806565b5050565b61207b612c6c565b600082905080612089611b96565b11158015612098575060005481105b156122cb576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516122c957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146121ad5780925050506122fd565b5b6001156122c857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146122c35780925050506122fd565b6121ae565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600061230c611b96565b60005403905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600e546123e9919061372d565b34101561242b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124229061343d565b60405180910390fd5b6124353382612055565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612481611adc565b8786866040518563ffffffff1660e01b81526004016124a39493929190613392565b602060405180830381600087803b1580156124bd57600080fd5b505af19250505080156124ee57506040513d601f19601f820116820180604052508101906124eb9190612fd5565b60015b612568573d806000811461251e576040519150601f19603f3d011682016040523d82523d6000602084013e612523565b606091505b50600081511415612560576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060601080546125ca90613871565b80601f01602080910402602001604051908101604052809291908181526020018280546125f690613871565b80156126435780601f1061261857610100808354040283529160200191612643565b820191906000526020600020905b81548152906001019060200180831161262657829003601f168201915b5050505050905090565b60606000821415612695576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127f5565b600082905060005b600082146126c75780806126b0906138d4565b915050600a826126c091906136fc565b915061269d565b60008167ffffffffffffffff811115612709577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561273b5781602001600182028036833780820191505090505b5090505b600085146127ee576001826127549190613787565b9150600a85612763919061391d565b603061276f91906136a6565b60f81b8183815181106127ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127e791906136fc565b945061273f565b8093505050505b919050565b50505050565b50505050565b6128138383836001612818565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612885576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156128c0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128cd60008683876127fa565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612a975750612a968773ffffffffffffffffffffffffffffffffffffffff16612438565b5b15612b5d575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b0c600088848060010195508861245b565b612b42576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612a9d578260005414612b5857600080fd5b612bc9565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612b5e575b816000819055505050612bdf6000868387612800565b5050505050565b828054612bf290613871565b90600052602060002090601f016020900481019282612c145760008555612c5b565b82601f10612c2d57805160ff1916838001178555612c5b565b82800160010185558215612c5b579182015b82811115612c5a578251825591602001919060010190612c3f565b5b509050612c689190612caf565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612cc8576000816000905550600101612cb0565b5090565b6000612cdf612cda846135bd565b613598565b905082815260208101848484011115612cf757600080fd5b612d0284828561382f565b509392505050565b6000612d1d612d18846135ee565b613598565b905082815260208101848484011115612d3557600080fd5b612d4084828561382f565b509392505050565b600081359050612d5781613c76565b92915050565b600081359050612d6c81613c8d565b92915050565b600081359050612d8181613ca4565b92915050565b600081519050612d9681613ca4565b92915050565b600082601f830112612dad57600080fd5b8135612dbd848260208601612ccc565b91505092915050565b600082601f830112612dd757600080fd5b8135612de7848260208601612d0a565b91505092915050565b600081359050612dff81613cbb565b92915050565b600060208284031215612e1757600080fd5b6000612e2584828501612d48565b91505092915050565b60008060408385031215612e4157600080fd5b6000612e4f85828601612d48565b9250506020612e6085828601612d48565b9150509250929050565b600080600060608486031215612e7f57600080fd5b6000612e8d86828701612d48565b9350506020612e9e86828701612d48565b9250506040612eaf86828701612df0565b9150509250925092565b60008060008060808587031215612ecf57600080fd5b6000612edd87828801612d48565b9450506020612eee87828801612d48565b9350506040612eff87828801612df0565b925050606085013567ffffffffffffffff811115612f1c57600080fd5b612f2887828801612d9c565b91505092959194509250565b60008060408385031215612f4757600080fd5b6000612f5585828601612d48565b9250506020612f6685828601612d5d565b9150509250929050565b60008060408385031215612f8357600080fd5b6000612f9185828601612d48565b9250506020612fa285828601612df0565b9150509250929050565b600060208284031215612fbe57600080fd5b6000612fcc84828501612d72565b91505092915050565b600060208284031215612fe757600080fd5b6000612ff584828501612d87565b91505092915050565b60006020828403121561301057600080fd5b600082013567ffffffffffffffff81111561302a57600080fd5b61303684828501612dc6565b91505092915050565b60006020828403121561305157600080fd5b600061305f84828501612df0565b91505092915050565b60006130748383613080565b60208301905092915050565b613089816137bb565b82525050565b613098816137bb565b82525050565b60006130a98261362f565b6130b3818561365d565b93506130be8361361f565b8060005b838110156130ef5781516130d68882613068565b97506130e183613650565b9250506001810190506130c2565b5085935050505092915050565b613105816137cd565b82525050565b60006131168261363a565b613120818561366e565b935061313081856020860161383e565b61313981613a0a565b840191505092915050565b600061314f82613645565b613159818561368a565b935061316981856020860161383e565b61317281613a0a565b840191505092915050565b600061318882613645565b613192818561369b565b93506131a281856020860161383e565b80840191505092915050565b60006131bb601f8361368a565b91506131c682613a1b565b602082019050919050565b60006131de60268361368a565b91506131e982613a44565b604082019050919050565b600061320160308361368a565b915061320c82613a93565b604082019050919050565b600061322460188361368a565b915061322f82613ae2565b602082019050919050565b600061324760138361368a565b915061325282613b0b565b602082019050919050565b600061326a60218361368a565b915061327582613b34565b604082019050919050565b600061328d60208361368a565b915061329882613b83565b602082019050919050565b60006132b0601a8361368a565b91506132bb82613bac565b602082019050919050565b60006132d360008361367f565b91506132de82613bd5565b600082019050919050565b60006132f6603f8361368a565b915061330182613bd8565b604082019050919050565b600061331960308361368a565b915061332482613c27565b604082019050919050565b61333881613825565b82525050565b600061334a828561317d565b9150613356828461317d565b91508190509392505050565b600061336d826132c6565b9150819050919050565b600060208201905061338c600083018461308f565b92915050565b60006080820190506133a7600083018761308f565b6133b4602083018661308f565b6133c1604083018561332f565b81810360608301526133d3818461310b565b905095945050505050565b600060208201905081810360008301526133f8818461309e565b905092915050565b600060208201905061341560008301846130fc565b92915050565b600060208201905081810360008301526134358184613144565b905092915050565b60006020820190508181036000830152613456816131ae565b9050919050565b60006020820190508181036000830152613476816131d1565b9050919050565b60006020820190508181036000830152613496816131f4565b9050919050565b600060208201905081810360008301526134b681613217565b9050919050565b600060208201905081810360008301526134d68161323a565b9050919050565b600060208201905081810360008301526134f68161325d565b9050919050565b6000602082019050818103600083015261351681613280565b9050919050565b60006020820190508181036000830152613536816132a3565b9050919050565b60006020820190508181036000830152613556816132e9565b9050919050565b600060208201905081810360008301526135768161330c565b9050919050565b6000602082019050613592600083018461332f565b92915050565b60006135a26135b3565b90506135ae82826138a3565b919050565b6000604051905090565b600067ffffffffffffffff8211156135d8576135d76139db565b5b6135e182613a0a565b9050602081019050919050565b600067ffffffffffffffff821115613609576136086139db565b5b61361282613a0a565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006136b182613825565b91506136bc83613825565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136f1576136f061394e565b5b828201905092915050565b600061370782613825565b915061371283613825565b9250826137225761372161397d565b5b828204905092915050565b600061373882613825565b915061374383613825565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561377c5761377b61394e565b5b828202905092915050565b600061379282613825565b915061379d83613825565b9250828210156137b0576137af61394e565b5b828203905092915050565b60006137c682613805565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561385c578082015181840152602081019050613841565b8381111561386b576000848401525b50505050565b6000600282049050600182168061388957607f821691505b6020821081141561389d5761389c6139ac565b5b50919050565b6138ac82613a0a565b810181811067ffffffffffffffff821117156138cb576138ca6139db565b5b80604052505050565b60006138df82613825565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156139125761391161394e565b5b600182019050919050565b600061392882613825565b915061393383613825565b9250826139435761394261397d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f43727970746368613a206e6f7420656e6f7567682066756e64732073656e7400600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43727970746368613a2063616e6e6f74206368616e6765206d6178207375707060008201527f6c792c206974206973206c6f636b656400000000000000000000000000000000602082015250565b7f43727970746368613a2073616c6520697320636c6f7365640000000000000000600082015250565b7f43727970746368613a206e6f6e65206c65667400000000000000000000000000600082015250565b7f43727970746368613a2073616c65207374617465206f7574206f662072616e6760008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43727970746368613a2077697468647261776c206661696c6564000000000000600082015250565b50565b7f43727970746368613a2063616e6e6f7420736574206d617820737570706c792060008201527f6c657373207468616e2063757272656e74206d696e74656420737570706c7900602082015250565b7f43727970746368613a2043616e6e6f74206d696e74206d6f7265207468616e2060008201527f3520746f6b656e73206174206f6e636500000000000000000000000000000000602082015250565b613c7f816137bb565b8114613c8a57600080fd5b50565b613c96816137cd565b8114613ca157600080fd5b50565b613cad816137d9565b8114613cb857600080fd5b50565b613cc481613825565b8114613ccf57600080fd5b5056fea26469706673582212206b8c69c097f5be0ec586d31eacc6aa931671eba3e8bd796bbb8ca5534abf780164736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a17a86f8c902479c5bef545b24474afd319149b900000000000000000000000038271449d632e15e31d7feeafe987c35b835f2cc000000000000000000000000000000000000000000000000000000000000030900000000000000000000000000000000000000000000000000470de4df8200000000000000000000000000000000000000000000000000000000000000000007
-----Decoded View---------------
Arg [0] : wallet (address): 0xA17a86F8C902479c5beF545B24474aFd319149b9
Arg [1] : devWallet (address): 0x38271449d632e15e31d7FEeAfe987c35b835F2CC
Arg [2] : initialMaxSupply (uint256): 777
Arg [3] : initialPublicMintPrice (uint256): 20000000000000000
Arg [4] : devShare (uint256): 7
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000a17a86f8c902479c5bef545b24474afd319149b9
Arg [1] : 00000000000000000000000038271449d632e15e31d7feeafe987c35b835f2cc
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000309
Arg [3] : 00000000000000000000000000000000000000000000000000470de4df820000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
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.