Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,996 PoC
Holders
1,473
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PoCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ProofOfCncpts
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "./external/ERC721AWithRoyalties.sol"; // @author rollauver.eth contract ProofOfCncpts is Ownable, ERC721AWithRoyalties, Pausable { string public _baseTokenURI; uint256 public _price; uint256 public _maxSupply; uint256 public _maxPerAddress; uint256 public _publicSaleTime; uint256 public _maxTxPerAddress; mapping(address => uint256) private _purchases; event Purchase(address indexed addr, uint256 indexed atPrice, uint256 indexed count); constructor( string memory name, string memory symbol, string memory baseTokenURI, uint256[] memory numericValues, // price - 0, maxSupply - 1, maxPerAddress - 2, publicSaleTime - 3, _maxTxPerAddress - 4 address royaltyRecipient, uint256 royaltyAmount ) ERC721AWithRoyalties(name, symbol, numericValues[1], royaltyRecipient, royaltyAmount) { _baseTokenURI = baseTokenURI; _price = numericValues[0]; _maxSupply = numericValues[1]; _maxPerAddress = numericValues[2]; _publicSaleTime = numericValues[3]; _maxTxPerAddress = numericValues[4]; } function setSaleInformation( uint256 publicSaleTime, uint256 maxPerAddress, uint256 price, uint256 maxTxPerAddress ) external onlyOwner { _publicSaleTime = publicSaleTime; _maxPerAddress = maxPerAddress; _price = price; _maxTxPerAddress = maxTxPerAddress; } function setBaseUri( string memory baseUri ) external onlyOwner { _baseTokenURI = baseUri; } function _baseURI() override internal view virtual returns (string memory) { return string( abi.encodePacked( _baseTokenURI, Strings.toHexString(uint256(uint160(address(this))), 20), '/' ) ); } function mint(address to, uint256 count) external payable onlyOwner { ensureMintConditions(count); _safeMint(to, count); } function purchase(uint256 count) external payable whenNotPaused { ensurePublicMintConditions(msg.sender, count, _maxPerAddress); require(isPublicSaleActive(), "BASE_COLLECTION/CANNOT_MINT"); _purchases[msg.sender] += count; _safeMint(msg.sender, count); emit Purchase(msg.sender, _price, count); } function ensureMintConditions(uint256 count) internal view { require(totalSupply() + count <= _maxSupply, "BASE_COLLECTION/EXCEEDS_MAX_SUPPLY"); } function ensurePublicMintConditions(address to, uint256 count, uint256 maxPerAddress) internal view { ensureMintConditions(count); require((_maxTxPerAddress == 0) || (count <= _maxTxPerAddress), "BASE_COLLECTION/EXCEEDS_MAX_PER_TRANSACTION"); uint256 totalMintFromAddress = _purchases[to] + count; require ((maxPerAddress == 0) || (totalMintFromAddress <= maxPerAddress), "BASE_COLLECTION/EXCEEDS_INDIVIDUAL_SUPPLY"); } function isPublicSaleActive() public view returns (bool) { return (_publicSaleTime == 0 || _publicSaleTime < block.timestamp); } function isPreSaleActive() public pure returns (bool) { return false; } function MAX_TOTAL_MINT() public view returns (uint256) { return _maxSupply; } function PRICE() public view returns (uint256) { return _price; } function MAX_TOTAL_MINT_PER_ADDRESS() public view returns (uint256) { return _maxPerAddress; } function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @title IERC2981Royalties /// @dev Interface for the ERC2981 - Token Royalty standard interface IERC2981Royalties { /// @notice Called with the sale price to determine how much royalty // is owed and to whom. /// @param _tokenId - the NFT asset queried for royalty information /// @param _value - the sale price of the NFT asset specified by _tokenId /// @return _receiver - address of who should be sent the royalty payment /// @return _royaltyAmount - the royalty payment amount for value sale price function royaltyInfo(uint256 _tokenId, uint256 _value) external view returns (address _receiver, uint256 _royaltyAmount); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC721A.sol"; import "./IERC2981Royalties.sol"; // @author rollauver.eth contract ERC721AWithRoyalties is Ownable, ERC721A, IERC2981Royalties { struct RoyaltyInfo { address recipient; uint24 amount; } RoyaltyInfo private _royalties; constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_, address royaltyRecipient, uint256 royaltyValue ) ERC721A(name_, symbol_, maxBatchSize_) { _setRoyalties(royaltyRecipient, royaltyValue); } /// @inheritdoc ERC165 function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC2981Royalties).interfaceId || super.supportsInterface(interfaceId); } /// @dev Sets token royalties /// @param recipient recipient of the royalties /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0) function _setRoyalties(address recipient, uint256 value) internal { require(value <= 10000, 'ERC2981Royalties: Too high'); _royalties = RoyaltyInfo(recipient, uint24(value)); } /// @inheritdoc IERC2981Royalties function royaltyInfo(uint256, uint256 value) external view override returns (address receiver, uint256 royaltyAmount) { RoyaltyInfo memory royalties = _royalties; receiver = royalties.recipient; royaltyAmount = (value * royalties.amount) / 10000; } function updateRoyalties(address recipient, uint256 value) external onlyOwner { _setRoyalties(recipient, value); } }
// SPDX-License-Identifier: MIT // Creators: locationtba.eth, 2pmflow.eth pragma solidity ^0.8.0; 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/token/ERC721/extensions/IERC721Enumerable.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"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 1; uint256 internal immutable maxBatchSize; // 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) private _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; /** * @dev * `maxBatchSize` refers to how much a minter can mint at a time. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_ ) { require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex - 1; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } /** * @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 || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721A: balance query for the zero address"); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("ERC721A: unable to determine the owner of token"); } /** * @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) { 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 override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "ERC721A: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: 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 override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: 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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } 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); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require( isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, 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; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp ); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "quantity must be nonzero"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > currentIndex - 1) { endIndex = currentIndex - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "not enough minted yet for this cleanup"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership( ownership.addr, ownership.startTimestamp ); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @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("ERC721A: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * 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`. */ 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. * * 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` 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 (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); }
// 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/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/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/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // 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 v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// 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/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 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// 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); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "byzantium", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"uint256[]","name":"numericValues","type":"uint256[]"},{"internalType":"address","name":"royaltyRecipient","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":true,"internalType":"uint256","name":"atPrice","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"count","type":"uint256"}],"name":"Purchase","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_TOTAL_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOTAL_MINT_PER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_publicSaleTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"isPreSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"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":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicSaleTime","type":"uint256"},{"internalType":"uint256","name":"maxPerAddress","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxTxPerAddress","type":"uint256"}],"name":"setSaleInformation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"updateRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040526001805560006008553480156200001a57600080fd5b50604051620034f7380380620034f78339810160408190526200003d91620005ae565b85858460018151811062000055576200005562000682565b602002602001015184848484846200008e6200007f62000250640100000000026401000000009004565b64010000000062000254810204565b6000811162000124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d7573742062652060448201527f6e6f6e7a65726f0000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b8251620001399060029060208601906200036d565b5081516200014f9060039060208501906200036d565b50608052506200016b90508282640100000000620002a4810204565b5050600a805460ff19169055505084516200018f9150600b9060208701906200036d565b5082600081518110620001a657620001a662000682565b6020026020010151600c8190555082600181518110620001ca57620001ca62000682565b6020026020010151600d8190555082600281518110620001ee57620001ee62000682565b6020026020010151600e819055508260038151811062000212576200021262000682565b6020026020010151600f819055508260048151811062000236576200023662000682565b602002602001015160108190555050505050505062000707565b3390565b60008054600160a060020a03838116600160a060020a0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61271081111562000312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f206869676800000000000060448201526064016200011b565b60408051808201909152600160a060020a0390921680835262ffffff90911660209092018290526009805474010000000000000000000000000000000000000000909302600160b860020a0319909316909117919091179055565b8280546200037b90620006b1565b90600052602060002090601f0160209004810192826200039f5760008555620003ea565b82601f10620003ba57805160ff1916838001178555620003ea565b82800160010185558215620003ea579182015b82811115620003ea578251825591602001919060010190620003cd565b50620003f8929150620003fc565b5090565b5b80821115620003f85760008155600101620003fd565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f191681016001604060020a03811182821017156200046d576200046d62000413565b604052919050565b600082601f8301126200048757600080fd5b81516001604060020a03811115620004a357620004a362000413565b6020620004b9601f8301601f1916820162000442565b8281528582848701011115620004ce57600080fd5b60005b83811015620004ee578581018301518282018401528201620004d1565b83811115620005005760008385840101525b5095945050505050565b600082601f8301126200051c57600080fd5b815160206001604060020a038211156200053a576200053a62000413565b8082026200054a82820162000442565b92835284810182019282810190878511156200056557600080fd5b83870192505b8483101562000586578251825291830191908301906200056b565b979650505050505050565b8051600160a060020a0381168114620005a957600080fd5b919050565b60008060008060008060c08789031215620005c857600080fd5b86516001604060020a0380821115620005e057600080fd5b620005ee8a838b0162000475565b975060208901519150808211156200060557600080fd5b620006138a838b0162000475565b965060408901519150808211156200062a57600080fd5b620006388a838b0162000475565b955060608901519150808211156200064f57600080fd5b506200065e89828a016200050a565b9350506200066f6080880162000591565b915060a087015190509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600281046001821680620006c657607f821691505b6020821081141562000701577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b608051612dc66200073160003960008181611a1d01528181611a4701526121b30152612dc66000f3fe608060405260043610610258576000357c0100000000000000000000000000000000000000000000000000000000900480636c2f5acd1161014b578063b85ef036116100c8578063d7224ba01161008c578063d7224ba014610662578063e2d5ee2d14610678578063e985e9c51461068e578063efef39a1146106d7578063f2fde38b146106ea57600080fd5b8063b85ef036146105e2578063b88d4fde146105f8578063c87b56dd14610618578063cf9e8e6914610638578063cfc86f7b1461064d57600080fd5b80638da5cb5b1161010f5780638da5cb5b1461055b57806395d89b41146105795780639d044ed31461058e578063a0bcfc7f146105a2578063a22cb465146105c257600080fd5b80636c2f5acd146104dc57806370a08231146104fc578063715018a61461051c5780638456cb59146105315780638d859f3e1461054657600080fd5b80632a55205a116101d95780634f6ccce71161019d5780634f6ccce7146104595780635c975abb146104795780636352211e1461049157806366cfb1f3146104b1578063696fa41e146104c657600080fd5b80632a55205a146103b25780632f745c59146103f15780633f4ba83a1461041157806340c10f191461042657806342842e0e1461043957600080fd5b80631e84c413116102205780631e84c4131461033157806322f4596f14610346578063235b6ea11461035c57806323b872dd1461037257806326c240611461039257600080fd5b806301ffc9a71461025d57806306fdde0314610292578063081812fc146102b4578063095ea7b3146102ec57806318160ddd1461030e575b600080fd5b34801561026957600080fd5b5061027d6102783660046126b4565b61070a565b60405190151581526020015b60405180910390f35b34801561029e57600080fd5b506102a761074e565b6040516102899190612729565b3480156102c057600080fd5b506102d46102cf36600461273c565b6107e0565b604051600160a060020a039091168152602001610289565b3480156102f857600080fd5b5061030c610307366004612771565b610883565b005b34801561031a57600080fd5b506103236109bc565b604051908152602001610289565b34801561033d57600080fd5b5061027d6109d1565b34801561035257600080fd5b50610323600d5481565b34801561036857600080fd5b50610323600c5481565b34801561037e57600080fd5b5061030c61038d36600461279b565b6109e9565b34801561039e57600080fd5b5061030c6103ad3660046127d7565b6109f4565b3480156103be57600080fd5b506103d26103cd366004612809565b610a35565b60408051600160a060020a039093168352602083019190915201610289565b3480156103fd57600080fd5b5061032361040c366004612771565b610a8a565b34801561041d57600080fd5b5061030c610c32565b61030c610434366004612771565b610c69565b34801561044557600080fd5b5061030c61045436600461279b565b610cad565b34801561046557600080fd5b5061032361047436600461273c565b610cc8565b34801561048557600080fd5b50600a5460ff1661027d565b34801561049d57600080fd5b506102d46104ac36600461273c565b610d4d565b3480156104bd57600080fd5b50600e54610323565b3480156104d257600080fd5b5061032360105481565b3480156104e857600080fd5b5061030c6104f7366004612771565b610d5f565b34801561050857600080fd5b5061032361051736600461282b565b610d96565b34801561052857600080fd5b5061030c610e3c565b34801561053d57600080fd5b5061030c610e73565b34801561055257600080fd5b50600c54610323565b34801561056757600080fd5b50600054600160a060020a03166102d4565b34801561058557600080fd5b506102a7610ea8565b34801561059a57600080fd5b50600061027d565b3480156105ae57600080fd5b5061030c6105bd3660046128d5565b610eb7565b3480156105ce57600080fd5b5061030c6105dd36600461291e565b610ef7565b3480156105ee57600080fd5b50610323600f5481565b34801561060457600080fd5b5061030c61061336600461295a565b610fbf565b34801561062457600080fd5b506102a761063336600461273c565b610ffb565b34801561064457600080fd5b50600d54610323565b34801561065957600080fd5b506102a76110d9565b34801561066e57600080fd5b5061032360085481565b34801561068457600080fd5b50610323600e5481565b34801561069a57600080fd5b5061027d6106a93660046129d6565b600160a060020a03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61030c6106e536600461273c565b611167565b3480156106f657600080fd5b5061030c61070536600461282b565b611284565b6000600160e060020a031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061074857506107488261133c565b92915050565b60606002805461075d90612a09565b80601f016020809104026020016040519081016040528092919081815260200182805461078990612a09565b80156107d65780601f106107ab576101008083540402835291602001916107d6565b820191906000526020600020905b8154815290600101906020018083116107b957829003601f168201915b5050505050905090565b60006107ed826001541190565b6108675760405160e560020a62461bcd02815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b50600090815260066020526040902054600160a060020a031690565b600061088e82610d4d565b905080600160a060020a031683600160a060020a0316141561091b5760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f6572000000000000000000000000000000000000000000000000000000000000606482015260840161085e565b33600160a060020a0382161480610937575061093781336106a9565b6109ac5760405160e560020a62461bcd02815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606482015260840161085e565b6109b783838361140b565b505050565b6000600180546109cc9190612a60565b905090565b6000600f54600014806109cc575042600f5410905090565b6109b7838383611474565b600054600160a060020a03163314610a215760405160e560020a62461bcd02815260040161085e90612a77565b600f93909355600e91909155600c55601055565b60408051808201909152600954600160a060020a03811680835260a060020a90910462ffffff1660208301819052909160009161271090610a769086612aac565b610a809190612ae4565b9150509250929050565b6000610a9583610d96565b8210610b0c5760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f6473000000000000000000000000000000000000000000000000000000000000606482015260840161085e565b6000610b166109bc565b905060008060005b83811015610bc057600081815260046020908152604091829020825180840190935254600160a060020a03811680845260a060020a90910467ffffffffffffffff169183019190915215610b7157805192505b87600160a060020a031683600160a060020a03161415610bad5786841415610b9f5750935061074892505050565b83610ba981612af8565b9450505b5080610bb881612af8565b915050610b1e565b5060405160e560020a62461bcd02815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e646578000000000000000000000000000000000000606482015260840161085e565b600054600160a060020a03163314610c5f5760405160e560020a62461bcd02815260040161085e90612a77565b610c6761183f565b565b600054600160a060020a03163314610c965760405160e560020a62461bcd02815260040161085e90612a77565b610c9f816118de565b610ca9828261196b565b5050565b6109b783838360405180602001604052806000815250610fbf565b6000610cd26109bc565b8210610d495760405160e560020a62461bcd02815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e64730000000000000000000000000000000000000000000000000000000000606482015260840161085e565b5090565b6000610d5882611985565b5192915050565b600054600160a060020a03163314610d8c5760405160e560020a62461bcd02815260040161085e90612a77565b610ca98282611b56565b6000600160a060020a038216610e175760405160e560020a62461bcd02815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f2061646472657373000000000000000000000000000000000000000000606482015260840161085e565b50600160a060020a03166000908152600560205260409020546001608060020a031690565b600054600160a060020a03163314610e695760405160e560020a62461bcd02815260040161085e90612a77565b610c676000611c05565b600054600160a060020a03163314610ea05760405160e560020a62461bcd02815260040161085e90612a77565b610c67611c62565b60606003805461075d90612a09565b600054600160a060020a03163314610ee45760405160e560020a62461bcd02815260040161085e90612a77565b8051610ca990600b90602084019061260e565b600160a060020a038216331415610f535760405160e560020a62461bcd02815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604482015260640161085e565b336000818152600760209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fca848484611474565b610fd684848484611ced565b610ff55760405160e560020a62461bcd02815260040161085e90612b13565b50505050565b6060611008826001541190565b61107d5760405160e560020a62461bcd02815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161085e565b6000611087611e30565b905060008151116110a757604051806020016040528060008152506110d2565b806110b184611e64565b6040516020016110c2929190612b8c565b6040516020818303038152906040525b9392505050565b600b80546110e690612a09565b80601f016020809104026020016040519081016040528092919081815260200182805461111290612a09565b801561115f5780601f106111345761010080835404028352916020019161115f565b820191906000526020600020905b81548152906001019060200180831161114257829003601f168201915b505050505081565b600a5460ff16156111bd5760405160e560020a62461bcd02815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161085e565b6111ca3382600e54611f9d565b6111d26109d1565b6112215760405160e560020a62461bcd02815260206004820152601b60248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e540000000000604482015260640161085e565b3360009081526011602052604081208054839290611240908490612bbb565b909155506112509050338261196b565b600c5460405182919033907f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c90600090a450565b600054600160a060020a031633146112b15760405160e560020a62461bcd02815260040161085e90612a77565b600160a060020a0381166113305760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161085e565b61133981611c05565b50565b6000600160e060020a031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061139f5750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806113d35750600160e060020a031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061074857507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a0319831614610748565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061147f82611985565b8051909150600090600160a060020a031633600160a060020a031614806114b65750336114ab846107e0565b600160a060020a0316145b806114c8575081516114c890336106a9565b9050806115405760405160e560020a62461bcd02815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000606482015260840161085e565b84600160a060020a03168260000151600160a060020a0316146115ce5760405160e560020a62461bcd02815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e65720000000000000000000000000000000000000000000000000000606482015260840161085e565b600160a060020a03841661164d5760405160e560020a62461bcd02815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161085e565b61165d600084846000015161140b565b600160a060020a038516600090815260056020526040812080546001929061168f9084906001608060020a0316612bd3565b82546101009290920a6001608060020a03818102199093169183160217909155600160a060020a038616600090815260056020526040812080546001945090926116db91859116612bfb565b82546001608060020a039182166101009390930a928302919092021990911617905550604080518082018252600160a060020a03808716825267ffffffffffffffff42811660208085019182526000898152600490915294852093518454915190921660a060020a02600160e060020a03199091169190921617179055611763846001612bbb565b600081815260046020526040902054909150600160a060020a03166117f55761178d816001541190565b156117f5576040805180820182528451600160a060020a03908116825260208087015167ffffffffffffffff908116828501908152600087815260049093529490912092518354945190911660a060020a02600160e060020a03199094169116179190911790555b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600a5460ff166118945760405160e560020a62461bcd02815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161085e565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051600160a060020a03909116815260200160405180910390a1565b600d54816118ea6109bc565b6118f49190612bbb565b11156113395760405160e560020a62461bcd02815260206004820152602260248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5355505060448201527f4c59000000000000000000000000000000000000000000000000000000000000606482015260840161085e565b610ca98282604051806020016040528060008152506120d4565b60408051808201909152600080825260208201526119a4826001541190565b611a195760405160e560020a62461bcd02815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e00000000000000000000000000000000000000000000606482015260840161085e565b60007f00000000000000000000000000000000000000000000000000000000000000008310611a7a57611a6c7f000000000000000000000000000000000000000000000000000000000000000084612a60565b611a77906001612bbb565b90505b825b818110611ae457600081815260046020908152604091829020825180840190935254600160a060020a03811680845260a060020a90910467ffffffffffffffff169183019190915215611ad157949350505050565b5080611adc81612c1d565b915050611a7c565b5060405160e560020a62461bcd02815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000606482015260840161085e565b612710811115611bab5760405160e560020a62461bcd02815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f2068696768000000000000604482015260640161085e565b60408051808201909152600160a060020a0390921680835262ffffff90911660209092018290526009805460a060020a90930276ffffffffffffffffffffffffffffffffffffffffffffff19909316909117919091179055565b60008054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600a5460ff1615611cb85760405160e560020a62461bcd02815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161085e565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118c13390565b6000600160a060020a0384163b15611e24576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a0290611d4a903390899088908890600401612c34565b602060405180830381600087803b158015611d6457600080fd5b505af1925050508015611d94575060408051601f3d908101601f19168201909252611d9191810190612c70565b60015b611df1573d808015611dc2576040519150601f19603f3d011682016040523d82523d6000602084013e611dc7565b606091505b508051611de95760405160e560020a62461bcd02815260040161085e90612b13565b805181602001fd5b600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611e28565b5060015b949350505050565b6060600b611e3f30601461240c565b604051602001611e50929190612c8d565b604051602081830303815290604052905090565b606081611ea457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611ece5780611eb881612af8565b9150611ec79050600a83612ae4565b9150611ea8565b60008167ffffffffffffffff811115611ee957611ee9612846565b6040519080825280601f01601f191660200182016040528015611f13576020820181803683370190505b5090505b8415611e2857611f28600183612a60565b9150611f35600a86612d63565b611f40906030612bbb565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110611f7457611f74612d77565b6020010190600160f860020a031916908160001a905350611f96600a86612ae4565b9450611f17565b611fa6826118de565b6010541580611fb757506010548211155b61202c5760405160e560020a62461bcd02815260206004820152602b60248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5045525f60448201527f5452414e53414354494f4e000000000000000000000000000000000000000000606482015260840161085e565b600160a060020a038316600090815260116020526040812054612050908490612bbb565b905081158061205f5750818111155b610ff55760405160e560020a62461bcd02815260206004820152602960248201527f424153455f434f4c4c454354494f4e2f455843454544535f494e44495649445560448201527f414c5f535550504c590000000000000000000000000000000000000000000000606482015260840161085e565b600154600160a060020a0384166121565760405160e560020a62461bcd02815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161085e565b612161816001541190565b156121b15760405160e560020a62461bcd02815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604482015260640161085e565b7f000000000000000000000000000000000000000000000000000000000000000083111561224a5760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f6768000000000000000000000000000000000000000000000000000000000000606482015260840161085e565b600160a060020a0384166000908152600560209081526040918290208251808401845290546001608060020a03808216835270010000000000000000000000000000000090910416918101919091528151808301909252805190919081906122b3908790612bfb565b6001608060020a031681526020018583602001516122d19190612bfb565b6001608060020a03908116909152600160a060020a03808816600081815260056020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600490955294812091518254945190951660a060020a02600160e060020a031990941694909216939093179190911790915582905b85811015612401576040518290600160a060020a038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46123c26000888488611ced565b6123e15760405160e560020a62461bcd02815260040161085e90612b13565b816123eb81612af8565b92505080806123f990612af8565b915050612375565b506001819055611837565b6060600061241b836002612aac565b612426906002612bbb565b67ffffffffffffffff81111561243e5761243e612846565b6040519080825280601f01601f191660200182016040528015612468576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061249f5761249f612d77565b6020010190600160f860020a031916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106124ea576124ea612d77565b6020010190600160f860020a031916908160001a905350600061250e846002612aac565b612519906001612bbb565b90505b60018111156125bc577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061255a5761255a612d77565b1a7f01000000000000000000000000000000000000000000000000000000000000000282828151811061258f5761258f612d77565b6020010190600160f860020a031916908160001a9053506010909404936125b581612c1d565b905061251c565b5083156110d25760405160e560020a62461bcd02815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161085e565b82805461261a90612a09565b90600052602060002090601f01602090048101928261263c5760008555612682565b82601f1061265557805160ff1916838001178555612682565b82800160010185558215612682579182015b82811115612682578251825591602001919060010190612667565b50610d499291505b80821115610d49576000815560010161268a565b600160e060020a03198116811461133957600080fd5b6000602082840312156126c657600080fd5b81356110d28161269e565b60005b838110156126ec5781810151838201526020016126d4565b83811115610ff55750506000910152565b600081518084526127158160208601602086016126d1565b601f01601f19169290920160200192915050565b6020815260006110d260208301846126fd565b60006020828403121561274e57600080fd5b5035919050565b8035600160a060020a038116811461276c57600080fd5b919050565b6000806040838503121561278457600080fd5b61278d83612755565b946020939093013593505050565b6000806000606084860312156127b057600080fd5b6127b984612755565b92506127c760208501612755565b9150604084013590509250925092565b600080600080608085870312156127ed57600080fd5b5050823594602084013594506040840135936060013592509050565b6000806040838503121561281c57600080fd5b50508035926020909101359150565b60006020828403121561283d57600080fd5b6110d282612755565b60e060020a634e487b7102600052604160045260246000fd5b600067ffffffffffffffff8084111561287a5761287a612846565b604051601f8501601f19908116603f011681019082821181831017156128a2576128a2612846565b816040528093508581528686860111156128bb57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156128e757600080fd5b813567ffffffffffffffff8111156128fe57600080fd5b8201601f8101841361290f57600080fd5b611e288482356020840161285f565b6000806040838503121561293157600080fd5b61293a83612755565b91506020830135801515811461294f57600080fd5b809150509250929050565b6000806000806080858703121561297057600080fd5b61297985612755565b935061298760208601612755565b925060408501359150606085013567ffffffffffffffff8111156129aa57600080fd5b8501601f810187136129bb57600080fd5b6129ca8782356020840161285f565b91505092959194509250565b600080604083850312156129e957600080fd5b6129f283612755565b9150612a0060208401612755565b90509250929050565b600281046001821680612a1d57607f821691505b60208210811415612a415760e060020a634e487b7102600052602260045260246000fd5b50919050565b60e060020a634e487b7102600052601160045260246000fd5b600082821015612a7257612a72612a47565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000816000190483118215151615612ac657612ac6612a47565b500290565b60e060020a634e487b7102600052601260045260246000fd5b600082612af357612af3612acb565b500490565b6000600019821415612b0c57612b0c612a47565b5060010190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527f6563656976657220696d706c656d656e74657200000000000000000000000000606082015260800190565b60008151612b828185602086016126d1565b9290920192915050565b60008351612b9e8184602088016126d1565b835190830190612bb28183602088016126d1565b01949350505050565b60008219821115612bce57612bce612a47565b500190565b60006001608060020a0383811690831681811015612bf357612bf3612a47565b039392505050565b60006001608060020a03808316818516808303821115612bb257612bb2612a47565b600081612c2c57612c2c612a47565b506000190190565b6000600160a060020a03808716835280861660208401525083604083015260806060830152612c6660808301846126fd565b9695505050505050565b600060208284031215612c8257600080fd5b81516110d28161269e565b8254600090819060028104600180831680612ca957607f831692505b6020808410821415612ccc5760e060020a634e487b710286526022600452602486fd5b818015612ce05760018114612cf157612d1e565b60ff19861689528489019650612d1e565b60008b81526020902060005b86811015612d165781548b820152908501908301612cfd565b505084890196505b505050505050612d5a612d318286612b70565b7f2f00000000000000000000000000000000000000000000000000000000000000815260010190565b95945050505050565b600082612d7257612d72612acb565b500690565b60e060020a634e487b7102600052603260045260246000fdfea264697066735822122054b21e2186b7404de188735112bd163da3d98e7ba4d7ea0aa7aeb1a61cda32ef64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000d05775bc360077acc281f3a3e2f438747e4a954200000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000000f50726f6f66206f6620434e4350545300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003506f430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f7777772e636e637074732e78797a2f636f6e7472616374732f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007cc0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000006288fe700000000000000000000000000000000000000000000000000000000000000002
Deployed Bytecode
0x608060405260043610610258576000357c0100000000000000000000000000000000000000000000000000000000900480636c2f5acd1161014b578063b85ef036116100c8578063d7224ba01161008c578063d7224ba014610662578063e2d5ee2d14610678578063e985e9c51461068e578063efef39a1146106d7578063f2fde38b146106ea57600080fd5b8063b85ef036146105e2578063b88d4fde146105f8578063c87b56dd14610618578063cf9e8e6914610638578063cfc86f7b1461064d57600080fd5b80638da5cb5b1161010f5780638da5cb5b1461055b57806395d89b41146105795780639d044ed31461058e578063a0bcfc7f146105a2578063a22cb465146105c257600080fd5b80636c2f5acd146104dc57806370a08231146104fc578063715018a61461051c5780638456cb59146105315780638d859f3e1461054657600080fd5b80632a55205a116101d95780634f6ccce71161019d5780634f6ccce7146104595780635c975abb146104795780636352211e1461049157806366cfb1f3146104b1578063696fa41e146104c657600080fd5b80632a55205a146103b25780632f745c59146103f15780633f4ba83a1461041157806340c10f191461042657806342842e0e1461043957600080fd5b80631e84c413116102205780631e84c4131461033157806322f4596f14610346578063235b6ea11461035c57806323b872dd1461037257806326c240611461039257600080fd5b806301ffc9a71461025d57806306fdde0314610292578063081812fc146102b4578063095ea7b3146102ec57806318160ddd1461030e575b600080fd5b34801561026957600080fd5b5061027d6102783660046126b4565b61070a565b60405190151581526020015b60405180910390f35b34801561029e57600080fd5b506102a761074e565b6040516102899190612729565b3480156102c057600080fd5b506102d46102cf36600461273c565b6107e0565b604051600160a060020a039091168152602001610289565b3480156102f857600080fd5b5061030c610307366004612771565b610883565b005b34801561031a57600080fd5b506103236109bc565b604051908152602001610289565b34801561033d57600080fd5b5061027d6109d1565b34801561035257600080fd5b50610323600d5481565b34801561036857600080fd5b50610323600c5481565b34801561037e57600080fd5b5061030c61038d36600461279b565b6109e9565b34801561039e57600080fd5b5061030c6103ad3660046127d7565b6109f4565b3480156103be57600080fd5b506103d26103cd366004612809565b610a35565b60408051600160a060020a039093168352602083019190915201610289565b3480156103fd57600080fd5b5061032361040c366004612771565b610a8a565b34801561041d57600080fd5b5061030c610c32565b61030c610434366004612771565b610c69565b34801561044557600080fd5b5061030c61045436600461279b565b610cad565b34801561046557600080fd5b5061032361047436600461273c565b610cc8565b34801561048557600080fd5b50600a5460ff1661027d565b34801561049d57600080fd5b506102d46104ac36600461273c565b610d4d565b3480156104bd57600080fd5b50600e54610323565b3480156104d257600080fd5b5061032360105481565b3480156104e857600080fd5b5061030c6104f7366004612771565b610d5f565b34801561050857600080fd5b5061032361051736600461282b565b610d96565b34801561052857600080fd5b5061030c610e3c565b34801561053d57600080fd5b5061030c610e73565b34801561055257600080fd5b50600c54610323565b34801561056757600080fd5b50600054600160a060020a03166102d4565b34801561058557600080fd5b506102a7610ea8565b34801561059a57600080fd5b50600061027d565b3480156105ae57600080fd5b5061030c6105bd3660046128d5565b610eb7565b3480156105ce57600080fd5b5061030c6105dd36600461291e565b610ef7565b3480156105ee57600080fd5b50610323600f5481565b34801561060457600080fd5b5061030c61061336600461295a565b610fbf565b34801561062457600080fd5b506102a761063336600461273c565b610ffb565b34801561064457600080fd5b50600d54610323565b34801561065957600080fd5b506102a76110d9565b34801561066e57600080fd5b5061032360085481565b34801561068457600080fd5b50610323600e5481565b34801561069a57600080fd5b5061027d6106a93660046129d6565b600160a060020a03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61030c6106e536600461273c565b611167565b3480156106f657600080fd5b5061030c61070536600461282b565b611284565b6000600160e060020a031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061074857506107488261133c565b92915050565b60606002805461075d90612a09565b80601f016020809104026020016040519081016040528092919081815260200182805461078990612a09565b80156107d65780601f106107ab576101008083540402835291602001916107d6565b820191906000526020600020905b8154815290600101906020018083116107b957829003601f168201915b5050505050905090565b60006107ed826001541190565b6108675760405160e560020a62461bcd02815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b50600090815260066020526040902054600160a060020a031690565b600061088e82610d4d565b905080600160a060020a031683600160a060020a0316141561091b5760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f6572000000000000000000000000000000000000000000000000000000000000606482015260840161085e565b33600160a060020a0382161480610937575061093781336106a9565b6109ac5760405160e560020a62461bcd02815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606482015260840161085e565b6109b783838361140b565b505050565b6000600180546109cc9190612a60565b905090565b6000600f54600014806109cc575042600f5410905090565b6109b7838383611474565b600054600160a060020a03163314610a215760405160e560020a62461bcd02815260040161085e90612a77565b600f93909355600e91909155600c55601055565b60408051808201909152600954600160a060020a03811680835260a060020a90910462ffffff1660208301819052909160009161271090610a769086612aac565b610a809190612ae4565b9150509250929050565b6000610a9583610d96565b8210610b0c5760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f6473000000000000000000000000000000000000000000000000000000000000606482015260840161085e565b6000610b166109bc565b905060008060005b83811015610bc057600081815260046020908152604091829020825180840190935254600160a060020a03811680845260a060020a90910467ffffffffffffffff169183019190915215610b7157805192505b87600160a060020a031683600160a060020a03161415610bad5786841415610b9f5750935061074892505050565b83610ba981612af8565b9450505b5080610bb881612af8565b915050610b1e565b5060405160e560020a62461bcd02815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e646578000000000000000000000000000000000000606482015260840161085e565b600054600160a060020a03163314610c5f5760405160e560020a62461bcd02815260040161085e90612a77565b610c6761183f565b565b600054600160a060020a03163314610c965760405160e560020a62461bcd02815260040161085e90612a77565b610c9f816118de565b610ca9828261196b565b5050565b6109b783838360405180602001604052806000815250610fbf565b6000610cd26109bc565b8210610d495760405160e560020a62461bcd02815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e64730000000000000000000000000000000000000000000000000000000000606482015260840161085e565b5090565b6000610d5882611985565b5192915050565b600054600160a060020a03163314610d8c5760405160e560020a62461bcd02815260040161085e90612a77565b610ca98282611b56565b6000600160a060020a038216610e175760405160e560020a62461bcd02815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f2061646472657373000000000000000000000000000000000000000000606482015260840161085e565b50600160a060020a03166000908152600560205260409020546001608060020a031690565b600054600160a060020a03163314610e695760405160e560020a62461bcd02815260040161085e90612a77565b610c676000611c05565b600054600160a060020a03163314610ea05760405160e560020a62461bcd02815260040161085e90612a77565b610c67611c62565b60606003805461075d90612a09565b600054600160a060020a03163314610ee45760405160e560020a62461bcd02815260040161085e90612a77565b8051610ca990600b90602084019061260e565b600160a060020a038216331415610f535760405160e560020a62461bcd02815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604482015260640161085e565b336000818152600760209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fca848484611474565b610fd684848484611ced565b610ff55760405160e560020a62461bcd02815260040161085e90612b13565b50505050565b6060611008826001541190565b61107d5760405160e560020a62461bcd02815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161085e565b6000611087611e30565b905060008151116110a757604051806020016040528060008152506110d2565b806110b184611e64565b6040516020016110c2929190612b8c565b6040516020818303038152906040525b9392505050565b600b80546110e690612a09565b80601f016020809104026020016040519081016040528092919081815260200182805461111290612a09565b801561115f5780601f106111345761010080835404028352916020019161115f565b820191906000526020600020905b81548152906001019060200180831161114257829003601f168201915b505050505081565b600a5460ff16156111bd5760405160e560020a62461bcd02815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161085e565b6111ca3382600e54611f9d565b6111d26109d1565b6112215760405160e560020a62461bcd02815260206004820152601b60248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e540000000000604482015260640161085e565b3360009081526011602052604081208054839290611240908490612bbb565b909155506112509050338261196b565b600c5460405182919033907f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c90600090a450565b600054600160a060020a031633146112b15760405160e560020a62461bcd02815260040161085e90612a77565b600160a060020a0381166113305760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161085e565b61133981611c05565b50565b6000600160e060020a031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061139f5750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806113d35750600160e060020a031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061074857507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a0319831614610748565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061147f82611985565b8051909150600090600160a060020a031633600160a060020a031614806114b65750336114ab846107e0565b600160a060020a0316145b806114c8575081516114c890336106a9565b9050806115405760405160e560020a62461bcd02815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000606482015260840161085e565b84600160a060020a03168260000151600160a060020a0316146115ce5760405160e560020a62461bcd02815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e65720000000000000000000000000000000000000000000000000000606482015260840161085e565b600160a060020a03841661164d5760405160e560020a62461bcd02815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161085e565b61165d600084846000015161140b565b600160a060020a038516600090815260056020526040812080546001929061168f9084906001608060020a0316612bd3565b82546101009290920a6001608060020a03818102199093169183160217909155600160a060020a038616600090815260056020526040812080546001945090926116db91859116612bfb565b82546001608060020a039182166101009390930a928302919092021990911617905550604080518082018252600160a060020a03808716825267ffffffffffffffff42811660208085019182526000898152600490915294852093518454915190921660a060020a02600160e060020a03199091169190921617179055611763846001612bbb565b600081815260046020526040902054909150600160a060020a03166117f55761178d816001541190565b156117f5576040805180820182528451600160a060020a03908116825260208087015167ffffffffffffffff908116828501908152600087815260049093529490912092518354945190911660a060020a02600160e060020a03199094169116179190911790555b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600a5460ff166118945760405160e560020a62461bcd02815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161085e565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051600160a060020a03909116815260200160405180910390a1565b600d54816118ea6109bc565b6118f49190612bbb565b11156113395760405160e560020a62461bcd02815260206004820152602260248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5355505060448201527f4c59000000000000000000000000000000000000000000000000000000000000606482015260840161085e565b610ca98282604051806020016040528060008152506120d4565b60408051808201909152600080825260208201526119a4826001541190565b611a195760405160e560020a62461bcd02815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e00000000000000000000000000000000000000000000606482015260840161085e565b60007f00000000000000000000000000000000000000000000000000000000000007cc8310611a7a57611a6c7f00000000000000000000000000000000000000000000000000000000000007cc84612a60565b611a77906001612bbb565b90505b825b818110611ae457600081815260046020908152604091829020825180840190935254600160a060020a03811680845260a060020a90910467ffffffffffffffff169183019190915215611ad157949350505050565b5080611adc81612c1d565b915050611a7c565b5060405160e560020a62461bcd02815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000606482015260840161085e565b612710811115611bab5760405160e560020a62461bcd02815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f2068696768000000000000604482015260640161085e565b60408051808201909152600160a060020a0390921680835262ffffff90911660209092018290526009805460a060020a90930276ffffffffffffffffffffffffffffffffffffffffffffff19909316909117919091179055565b60008054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600a5460ff1615611cb85760405160e560020a62461bcd02815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161085e565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118c13390565b6000600160a060020a0384163b15611e24576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a0290611d4a903390899088908890600401612c34565b602060405180830381600087803b158015611d6457600080fd5b505af1925050508015611d94575060408051601f3d908101601f19168201909252611d9191810190612c70565b60015b611df1573d808015611dc2576040519150601f19603f3d011682016040523d82523d6000602084013e611dc7565b606091505b508051611de95760405160e560020a62461bcd02815260040161085e90612b13565b805181602001fd5b600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611e28565b5060015b949350505050565b6060600b611e3f30601461240c565b604051602001611e50929190612c8d565b604051602081830303815290604052905090565b606081611ea457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611ece5780611eb881612af8565b9150611ec79050600a83612ae4565b9150611ea8565b60008167ffffffffffffffff811115611ee957611ee9612846565b6040519080825280601f01601f191660200182016040528015611f13576020820181803683370190505b5090505b8415611e2857611f28600183612a60565b9150611f35600a86612d63565b611f40906030612bbb565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110611f7457611f74612d77565b6020010190600160f860020a031916908160001a905350611f96600a86612ae4565b9450611f17565b611fa6826118de565b6010541580611fb757506010548211155b61202c5760405160e560020a62461bcd02815260206004820152602b60248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5045525f60448201527f5452414e53414354494f4e000000000000000000000000000000000000000000606482015260840161085e565b600160a060020a038316600090815260116020526040812054612050908490612bbb565b905081158061205f5750818111155b610ff55760405160e560020a62461bcd02815260206004820152602960248201527f424153455f434f4c4c454354494f4e2f455843454544535f494e44495649445560448201527f414c5f535550504c590000000000000000000000000000000000000000000000606482015260840161085e565b600154600160a060020a0384166121565760405160e560020a62461bcd02815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161085e565b612161816001541190565b156121b15760405160e560020a62461bcd02815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604482015260640161085e565b7f00000000000000000000000000000000000000000000000000000000000007cc83111561224a5760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f6768000000000000000000000000000000000000000000000000000000000000606482015260840161085e565b600160a060020a0384166000908152600560209081526040918290208251808401845290546001608060020a03808216835270010000000000000000000000000000000090910416918101919091528151808301909252805190919081906122b3908790612bfb565b6001608060020a031681526020018583602001516122d19190612bfb565b6001608060020a03908116909152600160a060020a03808816600081815260056020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600490955294812091518254945190951660a060020a02600160e060020a031990941694909216939093179190911790915582905b85811015612401576040518290600160a060020a038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46123c26000888488611ced565b6123e15760405160e560020a62461bcd02815260040161085e90612b13565b816123eb81612af8565b92505080806123f990612af8565b915050612375565b506001819055611837565b6060600061241b836002612aac565b612426906002612bbb565b67ffffffffffffffff81111561243e5761243e612846565b6040519080825280601f01601f191660200182016040528015612468576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061249f5761249f612d77565b6020010190600160f860020a031916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106124ea576124ea612d77565b6020010190600160f860020a031916908160001a905350600061250e846002612aac565b612519906001612bbb565b90505b60018111156125bc577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061255a5761255a612d77565b1a7f01000000000000000000000000000000000000000000000000000000000000000282828151811061258f5761258f612d77565b6020010190600160f860020a031916908160001a9053506010909404936125b581612c1d565b905061251c565b5083156110d25760405160e560020a62461bcd02815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161085e565b82805461261a90612a09565b90600052602060002090601f01602090048101928261263c5760008555612682565b82601f1061265557805160ff1916838001178555612682565b82800160010185558215612682579182015b82811115612682578251825591602001919060010190612667565b50610d499291505b80821115610d49576000815560010161268a565b600160e060020a03198116811461133957600080fd5b6000602082840312156126c657600080fd5b81356110d28161269e565b60005b838110156126ec5781810151838201526020016126d4565b83811115610ff55750506000910152565b600081518084526127158160208601602086016126d1565b601f01601f19169290920160200192915050565b6020815260006110d260208301846126fd565b60006020828403121561274e57600080fd5b5035919050565b8035600160a060020a038116811461276c57600080fd5b919050565b6000806040838503121561278457600080fd5b61278d83612755565b946020939093013593505050565b6000806000606084860312156127b057600080fd5b6127b984612755565b92506127c760208501612755565b9150604084013590509250925092565b600080600080608085870312156127ed57600080fd5b5050823594602084013594506040840135936060013592509050565b6000806040838503121561281c57600080fd5b50508035926020909101359150565b60006020828403121561283d57600080fd5b6110d282612755565b60e060020a634e487b7102600052604160045260246000fd5b600067ffffffffffffffff8084111561287a5761287a612846565b604051601f8501601f19908116603f011681019082821181831017156128a2576128a2612846565b816040528093508581528686860111156128bb57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156128e757600080fd5b813567ffffffffffffffff8111156128fe57600080fd5b8201601f8101841361290f57600080fd5b611e288482356020840161285f565b6000806040838503121561293157600080fd5b61293a83612755565b91506020830135801515811461294f57600080fd5b809150509250929050565b6000806000806080858703121561297057600080fd5b61297985612755565b935061298760208601612755565b925060408501359150606085013567ffffffffffffffff8111156129aa57600080fd5b8501601f810187136129bb57600080fd5b6129ca8782356020840161285f565b91505092959194509250565b600080604083850312156129e957600080fd5b6129f283612755565b9150612a0060208401612755565b90509250929050565b600281046001821680612a1d57607f821691505b60208210811415612a415760e060020a634e487b7102600052602260045260246000fd5b50919050565b60e060020a634e487b7102600052601160045260246000fd5b600082821015612a7257612a72612a47565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000816000190483118215151615612ac657612ac6612a47565b500290565b60e060020a634e487b7102600052601260045260246000fd5b600082612af357612af3612acb565b500490565b6000600019821415612b0c57612b0c612a47565b5060010190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527f6563656976657220696d706c656d656e74657200000000000000000000000000606082015260800190565b60008151612b828185602086016126d1565b9290920192915050565b60008351612b9e8184602088016126d1565b835190830190612bb28183602088016126d1565b01949350505050565b60008219821115612bce57612bce612a47565b500190565b60006001608060020a0383811690831681811015612bf357612bf3612a47565b039392505050565b60006001608060020a03808316818516808303821115612bb257612bb2612a47565b600081612c2c57612c2c612a47565b506000190190565b6000600160a060020a03808716835280861660208401525083604083015260806060830152612c6660808301846126fd565b9695505050505050565b600060208284031215612c8257600080fd5b81516110d28161269e565b8254600090819060028104600180831680612ca957607f831692505b6020808410821415612ccc5760e060020a634e487b710286526022600452602486fd5b818015612ce05760018114612cf157612d1e565b60ff19861689528489019650612d1e565b60008b81526020902060005b86811015612d165781548b820152908501908301612cfd565b505084890196505b505050505050612d5a612d318286612b70565b7f2f00000000000000000000000000000000000000000000000000000000000000815260010190565b95945050505050565b600082612d7257612d72612acb565b500690565b60e060020a634e487b7102600052603260045260246000fdfea264697066735822122054b21e2186b7404de188735112bd163da3d98e7ba4d7ea0aa7aeb1a61cda32ef64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000d05775bc360077acc281f3a3e2f438747e4a954200000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000000f50726f6f66206f6620434e4350545300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003506f430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f7777772e636e637074732e78797a2f636f6e7472616374732f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007cc0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000006288fe700000000000000000000000000000000000000000000000000000000000000002
-----Decoded View---------------
Arg [0] : name (string): Proof of CNCPTS
Arg [1] : symbol (string): PoC
Arg [2] : baseTokenURI (string): https://www.cncpts.xyz/contracts/
Arg [3] : numericValues (uint256[]): 0,1996,2,1653145200,2
Arg [4] : royaltyRecipient (address): 0xD05775bC360077aCC281F3A3e2f438747E4A9542
Arg [5] : royaltyAmount (uint256): 1000
-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [4] : 000000000000000000000000d05775bc360077acc281f3a3e2f438747e4a9542
Arg [5] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [7] : 50726f6f66206f6620434e435054530000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 506f430000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000021
Arg [11] : 68747470733a2f2f7777772e636e637074732e78797a2f636f6e747261637473
Arg [12] : 2f00000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 00000000000000000000000000000000000000000000000000000000000007cc
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [17] : 000000000000000000000000000000000000000000000000000000006288fe70
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000002
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.