Polygon Sponsored slots available. Book your slot here!
Contract Overview
[ Download CSV Export ]
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | |||
---|---|---|---|---|---|---|---|
0x10f1cf05bb449b91a56546b0131452a92831a01ba9b3d2d72210dfa2b0233c65 | 23818692 | 165 days 18 hrs ago | 0x324ecf8184d84ad7b8687b2130ec82ac0d3af3ab | 0x56a99fb34c35c2629bfbd29b46b9b6fa08fee637 | 1,000 MATIC |
[ Download CSV Export ]
Contract Name:
FunkyAliens
Compiler Version
v0.8.6+commit.11564f7e
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.6; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; /** * @title FunkyAliens * FunkyAliens - ERC-721 FunkyAliens */ contract FunkyAliens is ERC721, Ownable { mapping(address => bool) private _minters; mapping(uint256 => bool) private _revealedNFTs; mapping(address => bool) private _whitelist; address openseaProxyAddress; string public contract_ipfs_json; using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; uint256 HARD_CAP = 10000; bool public is_collection_revealed = false; string public notrevealed_nft = "https://ipfs.io/ipfs/QmPNn9vEQWnQHR1XQejtG7PRHqPwGQ1N2F1i3zjChSJKai"; string public contract_base_uri = "https://ipfs.io/ipfs/QmaoKoGDFfXh2a83Ei9uFNCWW9gjfP1EsGPa4xwwBjUN4L/"; uint256 minting_price_0 = 50 ether; uint256 minting_price_1 = 70 ether; uint256 minting_price_3 = 180 ether; uint256 minting_price_5 = 250 ether; bool public is_whitelisted = true; constructor( address _openseaProxyAddress, string memory _name, string memory _ticker, string memory _contract_ipfs ) ERC721(_name, _ticker) { openseaProxyAddress = _openseaProxyAddress; contract_ipfs_json = _contract_ipfs; } function _baseURI() internal view override returns (string memory) { return contract_base_uri; } function totalSupply() public view returns (uint256) { return _tokenIdCounter.current(); } function tokenURI(uint256 _tokenId) public view override(ERC721) returns (string memory) { if(is_collection_revealed == true){ string memory _tknId = Strings.toString(_tokenId); return string(abi.encodePacked(contract_base_uri, _tknId, ".json")); } else { if(_revealedNFTs[_tokenId] == true) { string memory _tknId = Strings.toString(_tokenId); return string(abi.encodePacked(contract_base_uri, _tknId, ".json")); } else { return notrevealed_nft; } } } function tokensOfOwner(address _owner) external view returns(uint256[] memory ownerTokens) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { // Return an empty array return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); uint256 totalTkns = totalSupply(); uint256 resultIndex = 0; uint256 tnkId; for (tnkId = 1; tnkId <= totalTkns; tnkId++) { if (ownerOf(tnkId) == _owner) { result[resultIndex] = tnkId; resultIndex++; } } return result; } } function contractURI() public view returns (string memory) { return contract_ipfs_json; } function fixContractURI(string memory _newURI) public onlyOwner { contract_ipfs_json = _newURI; } function fixBaseURI(string memory _newURI) public onlyOwner { contract_base_uri = _newURI; } /* This method will allow owner reveal the collection */ function revealCollection() public onlyOwner { is_collection_revealed = true; } /* This method will reveal the NFT */ function revealNFT(uint256 _tokenId) public returns (bool) { require(ownerOf(_tokenId) == msg.sender, "FunkyAliens: You must own the NFT"); _revealedNFTs[_tokenId] = true; return true; } /* This method will add or remove minting roles. */ function isMinter(address _toCheck) public view returns (bool) { return _minters[_toCheck] == true; } function addMinter(address _toAdd) public onlyOwner { _minters[_toAdd] = true; } function removeMinter(address _toRemove) public onlyOwner { _minters[_toRemove] = false; } /* This method will add or remove minting roles. */ function isWhitelisted(address _toCheck) public view returns (bool) { return _whitelist[_toCheck] == true; } function addWhitelist(address _toAdd) public onlyOwner { _whitelist[_toAdd] = true; } function removeWhitelist(address _toRemove) public onlyOwner { _whitelist[_toRemove] = false; } /* This method will allow anyone to mint the token. */ function buyNFT() public payable { uint256 amount = 0; if(is_whitelisted == true){ require(isWhitelisted(msg.sender), 'FunkyAliens: Not whitelisted'); require(msg.value == minting_price_0, 'FunkyAliens: Presale amount invalid'); amount = 1; }else{ require(msg.value == minting_price_1 || msg.value == minting_price_3 || msg.value == minting_price_5, 'FunkyAliens: Public sale amount invalid'); if(msg.value == minting_price_1){ amount = 1; } if(msg.value == minting_price_3){ amount = 3; } if(msg.value == minting_price_5){ amount = 5; } } require(amount >= 1, 'FunkyAliens: Amount should be at least 1'); uint256 reached = amount + _tokenIdCounter.current(); require(reached <= HARD_CAP, "FunkyAliens: Hard cap reached"); uint j = 0; for (j = 0; j < amount; j++) { _tokenIdCounter.increment(); uint256 newTokenId = _tokenIdCounter.current(); _mint(msg.sender, newTokenId); } } function fixPriceZero(uint256 price) public onlyOwner { minting_price_0 = price; } function fixPriceOne(uint256 price) public onlyOwner { minting_price_1 = price; } function fixPriceThree(uint256 price) public onlyOwner { minting_price_3 = price; } function fixPriceFive(uint256 price) public onlyOwner { minting_price_5 = price; } function fixWhitelisting(bool state) public onlyOwner { is_whitelisted = state; } /* This method will mint the token to provided user, can be called just by the proxy address. */ function proxyMintNFT(address _to) public { require(isMinter(msg.sender), "FunkyAliens: Only minters can mint"); uint256 reached = _tokenIdCounter.current() + 1; require(reached <= HARD_CAP, "FunkyAliens: Hard cap reached"); _tokenIdCounter.increment(); uint256 newTokenId = _tokenIdCounter.current(); _mint(_to, newTokenId); } /* This method will allow owner to get the balance of the smart contract */ function getBalance() public view returns (uint256) { return address(this).balance; } /* This method will allow owner tow withdraw all ethers */ function withdrawMatic() public onlyOwner { uint256 balance = address(this).balance; require(balance > 0, 'FunkyAliens: Nothing to withdraw!'); payable(msg.sender).transfer(balance); } /** * Override isApprovedForAll to whitelist proxy accounts */ function isApprovedForAll(address _owner, address _operator) public view override returns (bool isOperator) { // Approving for UMi and Opensea address if (_operator == address(openseaProxyAddress)) { return true; } return super.isApprovedForAll(_owner, _operator); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "berlin", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_openseaProxyAddress","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_ticker","type":"string"},{"internalType":"string","name":"_contract_ipfs","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_toAdd","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_toAdd","type":"address"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contract_base_uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contract_ipfs_json","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"fixBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"fixContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"fixPriceFive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"fixPriceOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"fixPriceThree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"fixPriceZero","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"fixWhitelisting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_toCheck","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_toCheck","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"is_collection_revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"is_whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notrevealed_nft","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":[{"internalType":"address","name":"_to","type":"address"}],"name":"proxyMintNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_toRemove","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_toRemove","type":"address"}],"name":"removeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"revealNFT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","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":"withdrawMatic","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052612710600d556000600e60006101000a81548160ff021916908315150217905550604051806080016040528060438152602001620050ec60439139600f90805190602001906200005692919062000293565b506040518060800160405280604481526020016200512f60449139601090805190602001906200008892919062000293565b506802b5e3af16b18800006011556803cb71f51fc55800006012556809c2007651b2500000601355680d8d726b7177a800006014556001601560006101000a81548160ff021916908315150217905550348015620000e557600080fd5b50604051620051733803806200517383398181016040528101906200010b9190620003d8565b828281600090805190602001906200012592919062000293565b5080600190805190602001906200013e92919062000293565b5050506200016162000155620001c560201b60201c565b620001cd60201b60201c565b83600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b9080519060200190620001ba92919062000293565b505050505062000679565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002a19062000570565b90600052602060002090601f016020900481019282620002c5576000855562000311565b82601f10620002e057805160ff191683800117855562000311565b8280016001018555821562000311579182015b8281111562000310578251825591602001919060010190620002f3565b5b50905062000320919062000324565b5090565b5b808211156200033f57600081600090555060010162000325565b5090565b60006200035a6200035484620004d0565b620004a7565b9050828152602081018484840111156200037957620003786200063f565b5b620003868482856200053a565b509392505050565b6000815190506200039f816200065f565b92915050565b600082601f830112620003bd57620003bc6200063a565b5b8151620003cf84826020860162000343565b91505092915050565b60008060008060808587031215620003f557620003f462000649565b5b600062000405878288016200038e565b945050602085015167ffffffffffffffff81111562000429576200042862000644565b5b6200043787828801620003a5565b935050604085015167ffffffffffffffff8111156200045b576200045a62000644565b5b6200046987828801620003a5565b925050606085015167ffffffffffffffff8111156200048d576200048c62000644565b5b6200049b87828801620003a5565b91505092959194509250565b6000620004b3620004c6565b9050620004c18282620005a6565b919050565b6000604051905090565b600067ffffffffffffffff821115620004ee57620004ed6200060b565b5b620004f9826200064e565b9050602081019050919050565b600062000513826200051a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200055a5780820151818401526020810190506200053d565b838111156200056a576000848401525b50505050565b600060028204905060018216806200058957607f821691505b60208210811415620005a0576200059f620005dc565b5b50919050565b620005b1826200064e565b810181811067ffffffffffffffff82111715620005d357620005d26200060b565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200066a8162000506565b81146200067657600080fd5b50565b614a6380620006896000396000f3fe60806040526004361061025c5760003560e01c806378c8cda711610144578063b88d4fde116100b6578063d973204f1161007a578063d973204f146108bf578063e8987498146108e8578063e8a3d48514610913578063e985e9c51461093e578063f2fde38b1461097b578063f80f5dd5146109a45761025c565b8063b88d4fde146107e9578063bff29cee14610812578063c87b56dd1461081c578063c9093d1914610859578063d5608f9a146108825761025c565b8063983b2d5611610108578063983b2d56146106dd578063a0073b8814610706578063a22cb46514610731578063aa271e1a1461075a578063af048fe614610797578063b2c709f3146107c05761025c565b806378c8cda71461060a578063810074c6146106335780638462151c1461064a5780638da5cb5b1461068757806395d89b41146106b25761025c565b8063211eb07d116101dd57806342842e0e116101a157806342842e0e146104fc5780635489af0f1461052557806361ad20571461054e5780636352211e1461057957806370a08231146105b6578063715018a6146105f35761025c565b8063211eb07d1461042d57806323b872dd146104565780633092afd51461047f5780633af32abf146104a857806340d0b4a9146104e55761025c565b80630b378187116102245780630b3781871461035a5780630cd4f45c1461038357806312065fe0146103ac57806318160ddd146103d75780631817bc7d146104025761025c565b806301ffc9a7146102615780630346f18f1461029e57806306fdde03146102c9578063081812fc146102f4578063095ea7b314610331575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613521565b6109cd565b6040516102959190613bc5565b60405180910390f35b3480156102aa57600080fd5b506102b3610aaf565b6040516102c09190613be0565b60405180910390f35b3480156102d557600080fd5b506102de610b3d565b6040516102eb9190613be0565b60405180910390f35b34801561030057600080fd5b5061031b600480360381019061031691906135c4565b610bcf565b6040516103289190613b3c565b60405180910390f35b34801561033d57600080fd5b50610358600480360381019061035391906134b4565b610c54565b005b34801561036657600080fd5b50610381600480360381019061037c91906135c4565b610d6c565b005b34801561038f57600080fd5b506103aa60048036038101906103a591906135c4565b610df2565b005b3480156103b857600080fd5b506103c1610e78565b6040516103ce9190613ee2565b60405180910390f35b3480156103e357600080fd5b506103ec610e80565b6040516103f99190613ee2565b60405180910390f35b34801561040e57600080fd5b50610417610e91565b6040516104249190613bc5565b60405180910390f35b34801561043957600080fd5b50610454600480360381019061044f919061357b565b610ea4565b005b34801561046257600080fd5b5061047d6004803603810190610478919061339e565b610f3a565b005b34801561048b57600080fd5b506104a660048036038101906104a19190613331565b610f9a565b005b3480156104b457600080fd5b506104cf60048036038101906104ca9190613331565b611071565b6040516104dc9190613bc5565b60405180910390f35b3480156104f157600080fd5b506104fa6110ce565b005b34801561050857600080fd5b50610523600480360381019061051e919061339e565b611167565b005b34801561053157600080fd5b5061054c6004803603810190610547919061357b565b611187565b005b34801561055a57600080fd5b5061056361121d565b6040516105709190613be0565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b91906135c4565b6112ab565b6040516105ad9190613b3c565b60405180910390f35b3480156105c257600080fd5b506105dd60048036038101906105d89190613331565b61135d565b6040516105ea9190613ee2565b60405180910390f35b3480156105ff57600080fd5b50610608611415565b005b34801561061657600080fd5b50610631600480360381019061062c9190613331565b61149d565b005b34801561063f57600080fd5b50610648611574565b005b34801561065657600080fd5b50610671600480360381019061066c9190613331565b611682565b60405161067e9190613ba3565b60405180910390f35b34801561069357600080fd5b5061069c6117e0565b6040516106a99190613b3c565b60405180910390f35b3480156106be57600080fd5b506106c761180a565b6040516106d49190613be0565b60405180910390f35b3480156106e957600080fd5b5061070460048036038101906106ff9190613331565b61189c565b005b34801561071257600080fd5b5061071b611973565b6040516107289190613be0565b60405180910390f35b34801561073d57600080fd5b5061075860048036038101906107539190613474565b611a01565b005b34801561076657600080fd5b50610781600480360381019061077c9190613331565b611b82565b60405161078e9190613bc5565b60405180910390f35b3480156107a357600080fd5b506107be60048036038101906107b991906134f4565b611bdf565b005b3480156107cc57600080fd5b506107e760048036038101906107e291906135c4565b611c78565b005b3480156107f557600080fd5b50610810600480360381019061080b91906133f1565b611cfe565b005b61081a611d60565b005b34801561082857600080fd5b50610843600480360381019061083e91906135c4565b611f85565b6040516108509190613be0565b60405180910390f35b34801561086557600080fd5b50610880600480360381019061087b91906135c4565b6120d3565b005b34801561088e57600080fd5b506108a960048036038101906108a491906135c4565b612159565b6040516108b69190613bc5565b60405180910390f35b3480156108cb57600080fd5b506108e660048036038101906108e19190613331565b612206565b005b3480156108f457600080fd5b506108fd6122d4565b60405161090a9190613bc5565b60405180910390f35b34801561091f57600080fd5b506109286122e7565b6040516109359190613be0565b60405180910390f35b34801561094a57600080fd5b506109656004803603810190610960919061335e565b612379565b6040516109729190613bc5565b60405180910390f35b34801561098757600080fd5b506109a2600480360381019061099d9190613331565b6123ed565b005b3480156109b057600080fd5b506109cb60048036038101906109c69190613331565b6124e5565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a9857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610aa85750610aa7826125bc565b5b9050919050565b600b8054610abc90614186565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae890614186565b8015610b355780601f10610b0a57610100808354040283529160200191610b35565b820191906000526020600020905b815481529060010190602001808311610b1857829003601f168201915b505050505081565b606060008054610b4c90614186565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7890614186565b8015610bc55780601f10610b9a57610100808354040283529160200191610bc5565b820191906000526020600020905b815481529060010190602001808311610ba857829003601f168201915b5050505050905090565b6000610bda82612626565b610c19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1090613dc2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c5f826112ab565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc790613e62565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cef612692565b73ffffffffffffffffffffffffffffffffffffffff161480610d1e5750610d1d81610d18612692565b612379565b5b610d5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5490613d42565b60405180910390fd5b610d67838361269a565b505050565b610d74612692565b73ffffffffffffffffffffffffffffffffffffffff16610d926117e0565b73ffffffffffffffffffffffffffffffffffffffff1614610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf90613e22565b60405180910390fd5b8060128190555050565b610dfa612692565b73ffffffffffffffffffffffffffffffffffffffff16610e186117e0565b73ffffffffffffffffffffffffffffffffffffffff1614610e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6590613e22565b60405180910390fd5b8060138190555050565b600047905090565b6000610e8c600c612753565b905090565b601560009054906101000a900460ff1681565b610eac612692565b73ffffffffffffffffffffffffffffffffffffffff16610eca6117e0565b73ffffffffffffffffffffffffffffffffffffffff1614610f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1790613e22565b60405180910390fd5b8060109080519060200190610f36929190613145565b5050565b610f4b610f45612692565b82612761565b610f8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8190613ea2565b60405180910390fd5b610f9583838361283f565b505050565b610fa2612692565b73ffffffffffffffffffffffffffffffffffffffff16610fc06117e0565b73ffffffffffffffffffffffffffffffffffffffff1614611016576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100d90613e22565b60405180910390fd5b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600060011515600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515149050919050565b6110d6612692565b73ffffffffffffffffffffffffffffffffffffffff166110f46117e0565b73ffffffffffffffffffffffffffffffffffffffff161461114a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114190613e22565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b61118283838360405180602001604052806000815250611cfe565b505050565b61118f612692565b73ffffffffffffffffffffffffffffffffffffffff166111ad6117e0565b73ffffffffffffffffffffffffffffffffffffffff1614611203576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fa90613e22565b60405180910390fd5b80600b9080519060200190611219929190613145565b5050565b6010805461122a90614186565b80601f016020809104026020016040519081016040528092919081815260200182805461125690614186565b80156112a35780601f10611278576101008083540402835291602001916112a3565b820191906000526020600020905b81548152906001019060200180831161128657829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b90613d82565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c590613d62565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61141d612692565b73ffffffffffffffffffffffffffffffffffffffff1661143b6117e0565b73ffffffffffffffffffffffffffffffffffffffff1614611491576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148890613e22565b60405180910390fd5b61149b6000612a9b565b565b6114a5612692565b73ffffffffffffffffffffffffffffffffffffffff166114c36117e0565b73ffffffffffffffffffffffffffffffffffffffff1614611519576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151090613e22565b60405180910390fd5b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61157c612692565b73ffffffffffffffffffffffffffffffffffffffff1661159a6117e0565b73ffffffffffffffffffffffffffffffffffffffff16146115f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e790613e22565b60405180910390fd5b600047905060008111611638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162f90613ec2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561167e573d6000803e3d6000fd5b5050565b6060600061168f8361135d565b905060008114156116ec57600067ffffffffffffffff8111156116b5576116b461431f565b5b6040519080825280602002602001820160405280156116e35781602001602082028036833780820191505090505b509150506117db565b60008167ffffffffffffffff8111156117085761170761431f565b5b6040519080825280602002602001820160405280156117365781602001602082028036833780820191505090505b5090506000611743610e80565b9050600080600190505b8281116117d2578673ffffffffffffffffffffffffffffffffffffffff16611774826112ab565b73ffffffffffffffffffffffffffffffffffffffff1614156117bf57808483815181106117a4576117a36142f0565b5b60200260200101818152505081806117bb906141e9565b9250505b80806117ca906141e9565b91505061174d565b83955050505050505b919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461181990614186565b80601f016020809104026020016040519081016040528092919081815260200182805461184590614186565b80156118925780601f1061186757610100808354040283529160200191611892565b820191906000526020600020905b81548152906001019060200180831161187557829003601f168201915b5050505050905090565b6118a4612692565b73ffffffffffffffffffffffffffffffffffffffff166118c26117e0565b73ffffffffffffffffffffffffffffffffffffffff1614611918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190f90613e22565b60405180910390fd5b6001600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600f805461198090614186565b80601f01602080910402602001604051908101604052809291908181526020018280546119ac90614186565b80156119f95780601f106119ce576101008083540402835291602001916119f9565b820191906000526020600020905b8154815290600101906020018083116119dc57829003601f168201915b505050505081565b611a09612692565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6e90613cc2565b60405180910390fd5b8060056000611a84612692565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b31612692565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b769190613bc5565b60405180910390a35050565b600060011515600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515149050919050565b611be7612692565b73ffffffffffffffffffffffffffffffffffffffff16611c056117e0565b73ffffffffffffffffffffffffffffffffffffffff1614611c5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5290613e22565b60405180910390fd5b80601560006101000a81548160ff02191690831515021790555050565b611c80612692565b73ffffffffffffffffffffffffffffffffffffffff16611c9e6117e0565b73ffffffffffffffffffffffffffffffffffffffff1614611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb90613e22565b60405180910390fd5b8060118190555050565b611d0f611d09612692565b83612761565b611d4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4590613ea2565b60405180910390fd5b611d5a84848484612b61565b50505050565b600060011515601560009054906101000a900460ff1615151415611e1357611d8733611071565b611dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbd90613ce2565b60405180910390fd5b6011543414611e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0190613de2565b60405180910390fd5b60019050611e9d565b601254341480611e24575060135434145b80611e30575060145434145b611e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6690613c02565b60405180910390fd5b601254341415611e7e57600190505b601354341415611e8d57600390505b601454341415611e9c57600590505b5b6001811015611ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed890613d02565b60405180910390fd5b6000611eed600c612753565b82611ef89190614015565b9050600d54811115611f3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3690613c62565b60405180910390fd5b60005b82811015611f8057611f54600c612bbd565b6000611f60600c612753565b9050611f6c3382612bd3565b508080611f78906141e9565b915050611f42565b505050565b606060011515600e60009054906101000a900460ff1615151415611fdb576000611fae83612da1565b9050601081604051602001611fc4929190613b0d565b6040516020818303038152906040529150506120ce565b600115156008600084815260200190815260200160002060009054906101000a900460ff161515141561204057600061201383612da1565b9050601081604051602001612029929190613b0d565b6040516020818303038152906040529150506120ce565b600f805461204d90614186565b80601f016020809104026020016040519081016040528092919081815260200182805461207990614186565b80156120c65780601f1061209b576101008083540402835291602001916120c6565b820191906000526020600020905b8154815290600101906020018083116120a957829003601f168201915b505050505090505b919050565b6120db612692565b73ffffffffffffffffffffffffffffffffffffffff166120f96117e0565b73ffffffffffffffffffffffffffffffffffffffff161461214f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214690613e22565b60405180910390fd5b8060148190555050565b60003373ffffffffffffffffffffffffffffffffffffffff1661217b836112ab565b73ffffffffffffffffffffffffffffffffffffffff16146121d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c890613e02565b60405180910390fd5b60016008600084815260200190815260200160002060006101000a81548160ff02191690831515021790555060019050919050565b61220f33611b82565b61224e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224590613e82565b60405180910390fd5b6000600161225c600c612753565b6122669190614015565b9050600d548111156122ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a490613c62565b60405180910390fd5b6122b7600c612bbd565b60006122c3600c612753565b90506122cf8382612bd3565b505050565b600e60009054906101000a900460ff1681565b6060600b80546122f690614186565b80601f016020809104026020016040519081016040528092919081815260200182805461232290614186565b801561236f5780601f106123445761010080835404028352916020019161236f565b820191906000526020600020905b81548152906001019060200180831161235257829003601f168201915b5050505050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123da57600190506123e7565b6123e48383612f02565b90505b92915050565b6123f5612692565b73ffffffffffffffffffffffffffffffffffffffff166124136117e0565b73ffffffffffffffffffffffffffffffffffffffff1614612469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246090613e22565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d090613c42565b60405180910390fd5b6124e281612a9b565b50565b6124ed612692565b73ffffffffffffffffffffffffffffffffffffffff1661250b6117e0565b73ffffffffffffffffffffffffffffffffffffffff1614612561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255890613e22565b60405180910390fd5b6001600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661270d836112ab565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600061276c82612626565b6127ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a290613d22565b60405180910390fd5b60006127b6836112ab565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061282557508373ffffffffffffffffffffffffffffffffffffffff1661280d84610bcf565b73ffffffffffffffffffffffffffffffffffffffff16145b8061283657506128358185612379565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661285f826112ab565b73ffffffffffffffffffffffffffffffffffffffff16146128b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ac90613e42565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291c90613ca2565b60405180910390fd5b612930838383612f96565b61293b60008261269a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461298b919061409c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129e29190614015565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612b6c84848461283f565b612b7884848484612f9b565b612bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bae90613c22565b60405180910390fd5b50505050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3a90613da2565b60405180910390fd5b612c4c81612626565b15612c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8390613c82565b60405180910390fd5b612c9860008383612f96565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ce89190614015565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60606000821415612de9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612efd565b600082905060005b60008214612e1b578080612e04906141e9565b915050600a82612e14919061406b565b9150612df1565b60008167ffffffffffffffff811115612e3757612e3661431f565b5b6040519080825280601f01601f191660200182016040528015612e695781602001600182028036833780820191505090505b5090505b60008514612ef657600182612e82919061409c565b9150600a85612e919190614232565b6030612e9d9190614015565b60f81b818381518110612eb357612eb26142f0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612eef919061406b565b9450612e6d565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b505050565b6000612fbc8473ffffffffffffffffffffffffffffffffffffffff16613132565b15613125578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fe5612692565b8786866040518563ffffffff1660e01b81526004016130079493929190613b57565b602060405180830381600087803b15801561302157600080fd5b505af192505050801561305257506040513d601f19601f8201168201806040525081019061304f919061354e565b60015b6130d5573d8060008114613082576040519150601f19603f3d011682016040523d82523d6000602084013e613087565b606091505b506000815114156130cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c490613c22565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061312a565b600190505b949350505050565b600080823b905060008111915050919050565b82805461315190614186565b90600052602060002090601f01602090048101928261317357600085556131ba565b82601f1061318c57805160ff19168380011785556131ba565b828001600101855582156131ba579182015b828111156131b957825182559160200191906001019061319e565b5b5090506131c791906131cb565b5090565b5b808211156131e45760008160009055506001016131cc565b5090565b60006131fb6131f684613f22565b613efd565b90508281526020810184848401111561321757613216614353565b5b613222848285614144565b509392505050565b600061323d61323884613f53565b613efd565b90508281526020810184848401111561325957613258614353565b5b613264848285614144565b509392505050565b60008135905061327b816149d1565b92915050565b600081359050613290816149e8565b92915050565b6000813590506132a5816149ff565b92915050565b6000815190506132ba816149ff565b92915050565b600082601f8301126132d5576132d461434e565b5b81356132e58482602086016131e8565b91505092915050565b600082601f8301126133035761330261434e565b5b813561331384826020860161322a565b91505092915050565b60008135905061332b81614a16565b92915050565b6000602082840312156133475761334661435d565b5b60006133558482850161326c565b91505092915050565b600080604083850312156133755761337461435d565b5b60006133838582860161326c565b92505060206133948582860161326c565b9150509250929050565b6000806000606084860312156133b7576133b661435d565b5b60006133c58682870161326c565b93505060206133d68682870161326c565b92505060406133e78682870161331c565b9150509250925092565b6000806000806080858703121561340b5761340a61435d565b5b60006134198782880161326c565b945050602061342a8782880161326c565b935050604061343b8782880161331c565b925050606085013567ffffffffffffffff81111561345c5761345b614358565b5b613468878288016132c0565b91505092959194509250565b6000806040838503121561348b5761348a61435d565b5b60006134998582860161326c565b92505060206134aa85828601613281565b9150509250929050565b600080604083850312156134cb576134ca61435d565b5b60006134d98582860161326c565b92505060206134ea8582860161331c565b9150509250929050565b60006020828403121561350a5761350961435d565b5b600061351884828501613281565b91505092915050565b6000602082840312156135375761353661435d565b5b600061354584828501613296565b91505092915050565b6000602082840312156135645761356361435d565b5b6000613572848285016132ab565b91505092915050565b6000602082840312156135915761359061435d565b5b600082013567ffffffffffffffff8111156135af576135ae614358565b5b6135bb848285016132ee565b91505092915050565b6000602082840312156135da576135d961435d565b5b60006135e88482850161331c565b91505092915050565b60006135fd8383613aef565b60208301905092915050565b613612816140d0565b82525050565b600061362382613fa9565b61362d8185613fd7565b935061363883613f84565b8060005b8381101561366957815161365088826135f1565b975061365b83613fca565b92505060018101905061363c565b5085935050505092915050565b61367f816140e2565b82525050565b600061369082613fb4565b61369a8185613fe8565b93506136aa818560208601614153565b6136b381614362565b840191505092915050565b60006136c982613fbf565b6136d38185613ff9565b93506136e3818560208601614153565b6136ec81614362565b840191505092915050565b600061370282613fbf565b61370c818561400a565b935061371c818560208601614153565b80840191505092915050565b6000815461373581614186565b61373f818661400a565b9450600182166000811461375a576001811461376b5761379e565b60ff1983168652818601935061379e565b61377485613f94565b60005b8381101561379657815481890152600182019150602081019050613777565b838801955050505b50505092915050565b60006137b4602783613ff9565b91506137bf82614373565b604082019050919050565b60006137d7603283613ff9565b91506137e2826143c2565b604082019050919050565b60006137fa602683613ff9565b915061380582614411565b604082019050919050565b600061381d601d83613ff9565b915061382882614460565b602082019050919050565b6000613840601c83613ff9565b915061384b82614489565b602082019050919050565b6000613863602483613ff9565b915061386e826144b2565b604082019050919050565b6000613886601983613ff9565b915061389182614501565b602082019050919050565b60006138a9601c83613ff9565b91506138b48261452a565b602082019050919050565b60006138cc602883613ff9565b91506138d782614553565b604082019050919050565b60006138ef602c83613ff9565b91506138fa826145a2565b604082019050919050565b6000613912603883613ff9565b915061391d826145f1565b604082019050919050565b6000613935602a83613ff9565b915061394082614640565b604082019050919050565b6000613958602983613ff9565b91506139638261468f565b604082019050919050565b600061397b602083613ff9565b9150613986826146de565b602082019050919050565b600061399e602c83613ff9565b91506139a982614707565b604082019050919050565b60006139c160058361400a565b91506139cc82614756565b600582019050919050565b60006139e4602383613ff9565b91506139ef8261477f565b604082019050919050565b6000613a07602183613ff9565b9150613a12826147ce565b604082019050919050565b6000613a2a602083613ff9565b9150613a358261481d565b602082019050919050565b6000613a4d602983613ff9565b9150613a5882614846565b604082019050919050565b6000613a70602183613ff9565b9150613a7b82614895565b604082019050919050565b6000613a93602283613ff9565b9150613a9e826148e4565b604082019050919050565b6000613ab6603183613ff9565b9150613ac182614933565b604082019050919050565b6000613ad9602183613ff9565b9150613ae482614982565b604082019050919050565b613af88161413a565b82525050565b613b078161413a565b82525050565b6000613b198285613728565b9150613b2582846136f7565b9150613b30826139b4565b91508190509392505050565b6000602082019050613b516000830184613609565b92915050565b6000608082019050613b6c6000830187613609565b613b796020830186613609565b613b866040830185613afe565b8181036060830152613b988184613685565b905095945050505050565b60006020820190508181036000830152613bbd8184613618565b905092915050565b6000602082019050613bda6000830184613676565b92915050565b60006020820190508181036000830152613bfa81846136be565b905092915050565b60006020820190508181036000830152613c1b816137a7565b9050919050565b60006020820190508181036000830152613c3b816137ca565b9050919050565b60006020820190508181036000830152613c5b816137ed565b9050919050565b60006020820190508181036000830152613c7b81613810565b9050919050565b60006020820190508181036000830152613c9b81613833565b9050919050565b60006020820190508181036000830152613cbb81613856565b9050919050565b60006020820190508181036000830152613cdb81613879565b9050919050565b60006020820190508181036000830152613cfb8161389c565b9050919050565b60006020820190508181036000830152613d1b816138bf565b9050919050565b60006020820190508181036000830152613d3b816138e2565b9050919050565b60006020820190508181036000830152613d5b81613905565b9050919050565b60006020820190508181036000830152613d7b81613928565b9050919050565b60006020820190508181036000830152613d9b8161394b565b9050919050565b60006020820190508181036000830152613dbb8161396e565b9050919050565b60006020820190508181036000830152613ddb81613991565b9050919050565b60006020820190508181036000830152613dfb816139d7565b9050919050565b60006020820190508181036000830152613e1b816139fa565b9050919050565b60006020820190508181036000830152613e3b81613a1d565b9050919050565b60006020820190508181036000830152613e5b81613a40565b9050919050565b60006020820190508181036000830152613e7b81613a63565b9050919050565b60006020820190508181036000830152613e9b81613a86565b9050919050565b60006020820190508181036000830152613ebb81613aa9565b9050919050565b60006020820190508181036000830152613edb81613acc565b9050919050565b6000602082019050613ef76000830184613afe565b92915050565b6000613f07613f18565b9050613f1382826141b8565b919050565b6000604051905090565b600067ffffffffffffffff821115613f3d57613f3c61431f565b5b613f4682614362565b9050602081019050919050565b600067ffffffffffffffff821115613f6e57613f6d61431f565b5b613f7782614362565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006140208261413a565b915061402b8361413a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140605761405f614263565b5b828201905092915050565b60006140768261413a565b91506140818361413a565b92508261409157614090614292565b5b828204905092915050565b60006140a78261413a565b91506140b28361413a565b9250828210156140c5576140c4614263565b5b828203905092915050565b60006140db8261411a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614171578082015181840152602081019050614156565b83811115614180576000848401525b50505050565b6000600282049050600182168061419e57607f821691505b602082108114156141b2576141b16142c1565b5b50919050565b6141c182614362565b810181811067ffffffffffffffff821117156141e0576141df61431f565b5b80604052505050565b60006141f48261413a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561422757614226614263565b5b600182019050919050565b600061423d8261413a565b91506142488361413a565b92508261425857614257614292565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f46756e6b79416c69656e733a205075626c69632073616c6520616d6f756e742060008201527f696e76616c696400000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6b79416c69656e733a2048617264206361702072656163686564000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f46756e6b79416c69656e733a204e6f742077686974656c697374656400000000600082015250565b7f46756e6b79416c69656e733a20416d6f756e742073686f756c6420626520617460008201527f206c656173742031000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f46756e6b79416c69656e733a2050726573616c6520616d6f756e7420696e766160008201527f6c69640000000000000000000000000000000000000000000000000000000000602082015250565b7f46756e6b79416c69656e733a20596f75206d757374206f776e20746865204e4660008201527f5400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f46756e6b79416c69656e733a204f6e6c79206d696e746572732063616e206d6960008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f46756e6b79416c69656e733a204e6f7468696e6720746f20776974686472617760008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b6149da816140d0565b81146149e557600080fd5b50565b6149f1816140e2565b81146149fc57600080fd5b50565b614a08816140ee565b8114614a1357600080fd5b50565b614a1f8161413a565b8114614a2a57600080fd5b5056fea2646970667358221220ce1fb1771a3ce70a8bc94bc00f8daf4202c83812d20dcf49c5208045604c102a64736f6c6343000806003368747470733a2f2f697066732e696f2f697066732f516d504e6e39764551576e514852315851656a7447375052487150774751314e32463169337a6a4368534a4b616968747470733a2f2f697066732e696f2f697066732f516d616f4b6f4744466658683261383345693975464e43575739676a665031457347506134787777426a554e344c2f00000000000000000000000058807bad0b376efc12f5ad86aac70e78ed67deae000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000b46756e6b79416c69656e730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006414c49454e530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f697066732e696f2f697066732f6261666b72656962377a713662696468636564663376646776676f6e376333366775716e347169783233726a786c76663777327975696c696d6f6500000000000000000000000000000000
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000058807bad0b376efc12f5ad86aac70e78ed67deae000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000b46756e6b79416c69656e730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006414c49454e530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f697066732e696f2f697066732f6261666b72656962377a713662696468636564663376646776676f6e376333366775716e347169783233726a786c76663777327975696c696d6f6500000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _openseaProxyAddress (address): 0x58807bad0b376efc12f5ad86aac70e78ed67deae
Arg [1] : _name (string): FunkyAliens
Arg [2] : _ticker (string): ALIENS
Arg [3] : _contract_ipfs (string): https://ipfs.io/ipfs/bafkreib7zq6bidhcedf3vdgvgon7c36guqn4qix23rjxlvf7w2yuilimoe
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000058807bad0b376efc12f5ad86aac70e78ed67deae
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [5] : 46756e6b79416c69656e73000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 414c49454e530000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [9] : 68747470733a2f2f697066732e696f2f697066732f6261666b72656962377a71
Arg [10] : 3662696468636564663376646776676f6e376333366775716e34716978323372
Arg [11] : 6a786c76663777327975696c696d6f6500000000000000000000000000000000
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.