ERC-721
Overview
Max Total Supply
2,000 PHTWN
Holders
169
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
30 PHTWNLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Phoblintown
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-22 */ // 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); } // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer( address indexed from, address indexed to, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval( address indexed owner, address indexed approved, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll( address indexed owner, address indexed operator, bool approved ); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // 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); } // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // 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); } } } } // 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; } } // 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); } } // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } pragma solidity ^0.8.0; /** * @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..). * * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128. * * 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 = 0; uint256 internal immutable collectionSize; 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. * `collectionSize_` refers to how many tokens are in the collection. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_, uint256 collectionSize_ ) { require( collectionSize_ > 0, "ERC721A: collection must have a nonzero supply" ); require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; collectionSize = collectionSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @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(collectionSize). 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(), ".json")) : ""; } /** * @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: * * - there must be `quantity` tokens remaining unminted in the total collection. * - `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 > collectionSize - 1) { endIndex = collectionSize - 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 {} } // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _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(), "You are 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); } } pragma solidity ^0.8.7; contract Phoblintown is ERC721A, Ownable { uint256 public NFT_PRICE = 0.001 ether; uint256 public MAX_SUPPLY = 2000; uint256 public FREE_MAX_SUPPLY = 1000; uint256 public constant MAX_PER_TX_FREE = 10; uint256 public MAX_MINTS = 10; string public baseURI = ""; string public baseExtension = ".json"; bool public paused = true; constructor() ERC721A("Phoblintown", "PHTWN", MAX_MINTS, MAX_SUPPLY) { } function mint(uint256 numTokens) public payable { require(!paused, "Paused"); require(numTokens > 0 && numTokens <= MAX_MINTS); require(totalSupply() + numTokens <= MAX_SUPPLY); if (FREE_MAX_SUPPLY >= totalSupply() + numTokens) { require(MAX_PER_TX_FREE >= numTokens, "Excess max per free tx"); } else { require(MAX_MINTS >= numTokens, "Excess max per paid tx"); require(msg.value >= numTokens * NFT_PRICE, "Invalid funds provided"); } _safeMint(msg.sender, numTokens); } function pause(bool _state) public onlyOwner { paused = _state; } function setBaseURI(string memory newBaseURI) public onlyOwner { baseURI = newBaseURI; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "That token doesn't exist"); return bytes(baseURI).length > 0 ? string( abi.encodePacked( baseURI, Strings.toString(_tokenId), baseExtension ) ) : ""; } function setPrice(uint256 newPrice) public onlyOwner { NFT_PRICE = newPrice; } function setMaxFreeMints(uint256 newFreeMax) public onlyOwner { require(totalSupply() + newFreeMax <= MAX_SUPPLY); FREE_MAX_SUPPLY = newFreeMax; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function withdraw() public onlyOwner { require(payable(msg.sender).send(address(this).balance)); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX_FREE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","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":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFreeMax","type":"uint256"}],"name":"setMaxFreeMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6000808055600781905566038d7ea4c680006009556107d0600a9081556103e8600b55600c5560e0604081905260c08290526200004091600d91906200023d565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200006f91600e916200023d565b50600f805460ff191660011790553480156200008a57600080fd5b506040518060400160405280600b81526020016a283437b13634b73a37bbb760a91b8152506040518060400160405280600581526020016428242a2ba760d91b815250600c54600a5460008111620001405760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620001a25760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b606482015260840162000137565b8351620001b79060019060208701906200023d565b508251620001cd9060029060208601906200023d565b5060a09190915260805250620001e5905033620001eb565b62000320565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200024b90620002e3565b90600052602060002090601f0160209004810192826200026f5760008555620002ba565b82601f106200028a57805160ff1916838001178555620002ba565b82800160010185558215620002ba579182015b82811115620002ba5782518255916020019190600101906200029d565b50620002c8929150620002cc565b5090565b5b80821115620002c85760008155600101620002cd565b600181811c90821680620002f857607f821691505b602082108114156200031a57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05161235962000351600039600081816115c3015281816115ed0152611a200152600050506123596000f3fe6080604052600436106101f95760003560e01c8063676dd5631161010d578063a0712d68116100a0578063c87b56dd1161006f578063c87b56dd14610559578063cce132d114610579578063d7224ba01461058f578063e985e9c5146105a5578063f2fde38b146105ee57600080fd5b8063a0712d68146104f1578063a22cb46514610504578063b88d4fde14610524578063c66828621461054457600080fd5b80638069876d116100dc5780638069876d146104885780638da5cb5b1461049e57806391b7f5ed146104bc57806395d89b41146104dc57600080fd5b8063676dd563146104285780636c0360eb1461043e57806370a0823114610453578063715018a61461047357600080fd5b806332cb6b0c11610190578063463fff791161015f578063463fff79146103995780634f6ccce7146103ae57806355f804b3146103ce5780635c975abb146103ee5780636352211e1461040857600080fd5b806332cb6b0c1461032e5780633ccfd60b14610344578063407043fc1461035957806342842e0e1461037957600080fd5b8063095ea7b3116101cc578063095ea7b3146102af57806318160ddd146102cf57806323b872dd146102ee5780632f745c591461030e57600080fd5b806301ffc9a7146101fe57806302329a291461023357806306fdde0314610255578063081812fc14610277575b600080fd5b34801561020a57600080fd5b5061021e610219366004611eec565b61060e565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061025361024e366004611ed1565b61067b565b005b34801561026157600080fd5b5061026a6106c1565b60405161022a91906120be565b34801561028357600080fd5b50610297610292366004611f6f565b610753565b6040516001600160a01b03909116815260200161022a565b3480156102bb57600080fd5b506102536102ca366004611ea7565b6107de565b3480156102db57600080fd5b506000545b60405190815260200161022a565b3480156102fa57600080fd5b50610253610309366004611dc5565b6108f6565b34801561031a57600080fd5b506102e0610329366004611ea7565b610901565b34801561033a57600080fd5b506102e0600a5481565b34801561035057600080fd5b50610253610a6f565b34801561036557600080fd5b50610253610374366004611f6f565b610abf565b34801561038557600080fd5b50610253610394366004611dc5565b610b10565b3480156103a557600080fd5b506102e0600a81565b3480156103ba57600080fd5b506102e06103c9366004611f6f565b610b2b565b3480156103da57600080fd5b506102536103e9366004611f26565b610b8d565b3480156103fa57600080fd5b50600f5461021e9060ff1681565b34801561041457600080fd5b50610297610423366004611f6f565b610bce565b34801561043457600080fd5b506102e060095481565b34801561044a57600080fd5b5061026a610be0565b34801561045f57600080fd5b506102e061046e366004611d70565b610c6e565b34801561047f57600080fd5b50610253610cff565b34801561049457600080fd5b506102e0600b5481565b3480156104aa57600080fd5b506008546001600160a01b0316610297565b3480156104c857600080fd5b506102536104d7366004611f6f565b610d33565b3480156104e857600080fd5b5061026a610d62565b6102536104ff366004611f6f565b610d71565b34801561051057600080fd5b5061025361051f366004611e7d565b610f02565b34801561053057600080fd5b5061025361053f366004611e01565b610fc7565b34801561055057600080fd5b5061026a611000565b34801561056557600080fd5b5061026a610574366004611f6f565b61100d565b34801561058557600080fd5b506102e0600c5481565b34801561059b57600080fd5b506102e060075481565b3480156105b157600080fd5b5061021e6105c0366004611d92565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156105fa57600080fd5b50610253610609366004611d70565b6110c5565b60006001600160e01b031982166380ac58cd60e01b148061063f57506001600160e01b03198216635b5e139f60e01b145b8061065a57506001600160e01b0319821663780e9d6360e01b145b8061067557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146106ae5760405162461bcd60e51b81526004016106a5906120d1565b60405180910390fd5b600f805460ff1916911515919091179055565b6060600180546106d09061224b565b80601f01602080910402602001604051908101604052809291908181526020018280546106fc9061224b565b80156107495780601f1061071e57610100808354040283529160200191610749565b820191906000526020600020905b81548152906001019060200180831161072c57829003601f168201915b5050505050905090565b6000610760826000541190565b6107c25760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084016106a5565b506000908152600560205260409020546001600160a01b031690565b60006107e982610bce565b9050806001600160a01b0316836001600160a01b031614156108585760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016106a5565b336001600160a01b0382161480610874575061087481336105c0565b6108e65760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016106a5565b6108f183838361115d565b505050565b6108f18383836111b9565b600061090c83610c6e565b82106109655760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016106a5565b600080549080805b83811015610a0f576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156109c057805192505b876001600160a01b0316836001600160a01b031614156109fc57868414156109ee5750935061067592505050565b836109f881612286565b9450505b5080610a0781612286565b91505061096d565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016106a5565b6008546001600160a01b03163314610a995760405162461bcd60e51b81526004016106a5906120d1565b60405133904780156108fc02916000818181858888f19350505050610abd57600080fd5b565b6008546001600160a01b03163314610ae95760405162461bcd60e51b81526004016106a5906120d1565b600a5481610af660005490565b610b00919061217e565b1115610b0b57600080fd5b600b55565b6108f183838360405180602001604052806000815250610fc7565b600080548210610b895760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016106a5565b5090565b6008546001600160a01b03163314610bb75760405162461bcd60e51b81526004016106a5906120d1565b8051610bca90600d906020840190611c3e565b5050565b6000610bd982611541565b5192915050565b600d8054610bed9061224b565b80601f0160208091040260200160405190810160405280929190818152602001828054610c199061224b565b8015610c665780601f10610c3b57610100808354040283529160200191610c66565b820191906000526020600020905b815481529060010190602001808311610c4957829003601f168201915b505050505081565b60006001600160a01b038216610cda5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016106a5565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6008546001600160a01b03163314610d295760405162461bcd60e51b81526004016106a5906120d1565b610abd60006116eb565b6008546001600160a01b03163314610d5d5760405162461bcd60e51b81526004016106a5906120d1565b600955565b6060600280546106d09061224b565b600f5460ff1615610dad5760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b60448201526064016106a5565b600081118015610dbf5750600c548111155b610dc857600080fd5b600a5481610dd560005490565b610ddf919061217e565b1115610dea57600080fd5b80610df460005490565b610dfe919061217e565b600b5410610e555780600a1015610e505760405162461bcd60e51b815260206004820152601660248201527508af0c6cae6e640dac2f040e0cae440cce4caca40e8f60531b60448201526064016106a5565b610ef5565b80600c541015610ea05760405162461bcd60e51b815260206004820152601660248201527508af0c6cae6e640dac2f040e0cae440e0c2d2c840e8f60531b60448201526064016106a5565b600954610ead90826121aa565b341015610ef55760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b60448201526064016106a5565b610eff338261173d565b50565b6001600160a01b038216331415610f5b5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016106a5565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fd28484846111b9565b610fde84848484611757565b610ffa5760405162461bcd60e51b81526004016106a590612100565b50505050565b600e8054610bed9061224b565b606061101a826000541190565b6110665760405162461bcd60e51b815260206004820152601860248201527f5468617420746f6b656e20646f65736e2774206578697374000000000000000060448201526064016106a5565b6000600d80546110759061224b565b9050116110915760405180602001604052806000815250610675565b600d61109c83611865565b600e6040516020016110b09392919061204e565b60405160208183030381529060405292915050565b6008546001600160a01b031633146110ef5760405162461bcd60e51b81526004016106a5906120d1565b6001600160a01b0381166111545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a5565b610eff816116eb565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006111c482611541565b80519091506000906001600160a01b0316336001600160a01b031614806111fb5750336111f084610753565b6001600160a01b0316145b8061120d5750815161120d90336105c0565b9050806112775760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016106a5565b846001600160a01b031682600001516001600160a01b0316146112eb5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016106a5565b6001600160a01b03841661134f5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016106a5565b61135f600084846000015161115d565b6001600160a01b03851660009081526004602052604081208054600192906113919084906001600160801b03166121c9565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260046020526040812080546001945090926113dd91859116612153565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561146584600161217e565b6000818152600360205260409020549091506001600160a01b03166114f75761148f816000541190565b156114f75760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6040805180820190915260008082526020820152611560826000541190565b6115bf5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016106a5565b60007f00000000000000000000000000000000000000000000000000000000000000008310611620576116127f0000000000000000000000000000000000000000000000000000000000000000846121f1565b61161d90600161217e565b90505b825b81811061168a576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561167757949350505050565b508061168281612234565b915050611622565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016106a5565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610bca828260405180602001604052806000815250611963565b60006001600160a01b0384163b1561185957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061179b903390899088908890600401612081565b602060405180830381600087803b1580156117b557600080fd5b505af19250505080156117e5575060408051601f3d908101601f191682019092526117e291810190611f09565b60015b61183f573d808015611813576040519150601f19603f3d011682016040523d82523d6000602084013e611818565b606091505b5080516118375760405162461bcd60e51b81526004016106a590612100565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061185d565b5060015b949350505050565b6060816118895750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118b3578061189d81612286565b91506118ac9050600a83612196565b915061188d565b60008167ffffffffffffffff8111156118ce576118ce6122f7565b6040519080825280601f01601f1916602001820160405280156118f8576020820181803683370190505b5090505b841561185d5761190d6001836121f1565b915061191a600a866122a1565b61192590603061217e565b60f81b81838151811061193a5761193a6122e1565b60200101906001600160f81b031916908160001a90535061195c600a86612196565b94506118fc565b6000546001600160a01b0384166119c65760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016106a5565b6119d1816000541190565b15611a1e5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016106a5565b7f0000000000000000000000000000000000000000000000000000000000000000831115611a995760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016106a5565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611af5908790612153565b6001600160801b03168152602001858360200151611b139190612153565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015611c335760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611bf76000888488611757565b611c135760405162461bcd60e51b81526004016106a590612100565b81611c1d81612286565b9250508080611c2b90612286565b915050611baa565b506000819055611539565b828054611c4a9061224b565b90600052602060002090601f016020900481019282611c6c5760008555611cb2565b82601f10611c8557805160ff1916838001178555611cb2565b82800160010185558215611cb2579182015b82811115611cb2578251825591602001919060010190611c97565b50610b899291505b80821115610b895760008155600101611cba565b600067ffffffffffffffff80841115611ce957611ce96122f7565b604051601f8501601f19908116603f01168101908282118183101715611d1157611d116122f7565b81604052809350858152868686011115611d2a57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611d5b57600080fd5b919050565b80358015158114611d5b57600080fd5b600060208284031215611d8257600080fd5b611d8b82611d44565b9392505050565b60008060408385031215611da557600080fd5b611dae83611d44565b9150611dbc60208401611d44565b90509250929050565b600080600060608486031215611dda57600080fd5b611de384611d44565b9250611df160208501611d44565b9150604084013590509250925092565b60008060008060808587031215611e1757600080fd5b611e2085611d44565b9350611e2e60208601611d44565b925060408501359150606085013567ffffffffffffffff811115611e5157600080fd5b8501601f81018713611e6257600080fd5b611e7187823560208401611cce565b91505092959194509250565b60008060408385031215611e9057600080fd5b611e9983611d44565b9150611dbc60208401611d60565b60008060408385031215611eba57600080fd5b611ec383611d44565b946020939093013593505050565b600060208284031215611ee357600080fd5b611d8b82611d60565b600060208284031215611efe57600080fd5b8135611d8b8161230d565b600060208284031215611f1b57600080fd5b8151611d8b8161230d565b600060208284031215611f3857600080fd5b813567ffffffffffffffff811115611f4f57600080fd5b8201601f81018413611f6057600080fd5b61185d84823560208401611cce565b600060208284031215611f8157600080fd5b5035919050565b60008151808452611fa0816020860160208601612208565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680611fce57607f831692505b6020808410821415611ff057634e487b7160e01b600052602260045260246000fd5b818015612004576001811461201557612042565b60ff19861689528489019650612042565b60008881526020902060005b8681101561203a5781548b820152908501908301612021565b505084890196505b50505050505092915050565b600061205a8286611fb4565b845161206a818360208901612208565b61207681830186611fb4565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120b490830184611f88565b9695505050505050565b602081526000611d8b6020830184611f88565b6020808252601590820152742cb7ba9030b932903737ba103a34329037bbb732b960591b604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60006001600160801b03808316818516808303821115612175576121756122b5565b01949350505050565b60008219821115612191576121916122b5565b500190565b6000826121a5576121a56122cb565b500490565b60008160001904831182151516156121c4576121c46122b5565b500290565b60006001600160801b03838116908316818110156121e9576121e96122b5565b039392505050565b600082821015612203576122036122b5565b500390565b60005b8381101561222357818101518382015260200161220b565b83811115610ffa5750506000910152565b600081612243576122436122b5565b506000190190565b600181811c9082168061225f57607f821691505b6020821081141561228057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561229a5761229a6122b5565b5060010190565b6000826122b0576122b06122cb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610eff57600080fdfea2646970667358221220fea3334c32e4cb25d2f7821ef336cee544e6e75e2b22936bc54689a8bd5363e064736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101f95760003560e01c8063676dd5631161010d578063a0712d68116100a0578063c87b56dd1161006f578063c87b56dd14610559578063cce132d114610579578063d7224ba01461058f578063e985e9c5146105a5578063f2fde38b146105ee57600080fd5b8063a0712d68146104f1578063a22cb46514610504578063b88d4fde14610524578063c66828621461054457600080fd5b80638069876d116100dc5780638069876d146104885780638da5cb5b1461049e57806391b7f5ed146104bc57806395d89b41146104dc57600080fd5b8063676dd563146104285780636c0360eb1461043e57806370a0823114610453578063715018a61461047357600080fd5b806332cb6b0c11610190578063463fff791161015f578063463fff79146103995780634f6ccce7146103ae57806355f804b3146103ce5780635c975abb146103ee5780636352211e1461040857600080fd5b806332cb6b0c1461032e5780633ccfd60b14610344578063407043fc1461035957806342842e0e1461037957600080fd5b8063095ea7b3116101cc578063095ea7b3146102af57806318160ddd146102cf57806323b872dd146102ee5780632f745c591461030e57600080fd5b806301ffc9a7146101fe57806302329a291461023357806306fdde0314610255578063081812fc14610277575b600080fd5b34801561020a57600080fd5b5061021e610219366004611eec565b61060e565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061025361024e366004611ed1565b61067b565b005b34801561026157600080fd5b5061026a6106c1565b60405161022a91906120be565b34801561028357600080fd5b50610297610292366004611f6f565b610753565b6040516001600160a01b03909116815260200161022a565b3480156102bb57600080fd5b506102536102ca366004611ea7565b6107de565b3480156102db57600080fd5b506000545b60405190815260200161022a565b3480156102fa57600080fd5b50610253610309366004611dc5565b6108f6565b34801561031a57600080fd5b506102e0610329366004611ea7565b610901565b34801561033a57600080fd5b506102e0600a5481565b34801561035057600080fd5b50610253610a6f565b34801561036557600080fd5b50610253610374366004611f6f565b610abf565b34801561038557600080fd5b50610253610394366004611dc5565b610b10565b3480156103a557600080fd5b506102e0600a81565b3480156103ba57600080fd5b506102e06103c9366004611f6f565b610b2b565b3480156103da57600080fd5b506102536103e9366004611f26565b610b8d565b3480156103fa57600080fd5b50600f5461021e9060ff1681565b34801561041457600080fd5b50610297610423366004611f6f565b610bce565b34801561043457600080fd5b506102e060095481565b34801561044a57600080fd5b5061026a610be0565b34801561045f57600080fd5b506102e061046e366004611d70565b610c6e565b34801561047f57600080fd5b50610253610cff565b34801561049457600080fd5b506102e0600b5481565b3480156104aa57600080fd5b506008546001600160a01b0316610297565b3480156104c857600080fd5b506102536104d7366004611f6f565b610d33565b3480156104e857600080fd5b5061026a610d62565b6102536104ff366004611f6f565b610d71565b34801561051057600080fd5b5061025361051f366004611e7d565b610f02565b34801561053057600080fd5b5061025361053f366004611e01565b610fc7565b34801561055057600080fd5b5061026a611000565b34801561056557600080fd5b5061026a610574366004611f6f565b61100d565b34801561058557600080fd5b506102e0600c5481565b34801561059b57600080fd5b506102e060075481565b3480156105b157600080fd5b5061021e6105c0366004611d92565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156105fa57600080fd5b50610253610609366004611d70565b6110c5565b60006001600160e01b031982166380ac58cd60e01b148061063f57506001600160e01b03198216635b5e139f60e01b145b8061065a57506001600160e01b0319821663780e9d6360e01b145b8061067557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146106ae5760405162461bcd60e51b81526004016106a5906120d1565b60405180910390fd5b600f805460ff1916911515919091179055565b6060600180546106d09061224b565b80601f01602080910402602001604051908101604052809291908181526020018280546106fc9061224b565b80156107495780601f1061071e57610100808354040283529160200191610749565b820191906000526020600020905b81548152906001019060200180831161072c57829003601f168201915b5050505050905090565b6000610760826000541190565b6107c25760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084016106a5565b506000908152600560205260409020546001600160a01b031690565b60006107e982610bce565b9050806001600160a01b0316836001600160a01b031614156108585760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016106a5565b336001600160a01b0382161480610874575061087481336105c0565b6108e65760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016106a5565b6108f183838361115d565b505050565b6108f18383836111b9565b600061090c83610c6e565b82106109655760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016106a5565b600080549080805b83811015610a0f576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156109c057805192505b876001600160a01b0316836001600160a01b031614156109fc57868414156109ee5750935061067592505050565b836109f881612286565b9450505b5080610a0781612286565b91505061096d565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016106a5565b6008546001600160a01b03163314610a995760405162461bcd60e51b81526004016106a5906120d1565b60405133904780156108fc02916000818181858888f19350505050610abd57600080fd5b565b6008546001600160a01b03163314610ae95760405162461bcd60e51b81526004016106a5906120d1565b600a5481610af660005490565b610b00919061217e565b1115610b0b57600080fd5b600b55565b6108f183838360405180602001604052806000815250610fc7565b600080548210610b895760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016106a5565b5090565b6008546001600160a01b03163314610bb75760405162461bcd60e51b81526004016106a5906120d1565b8051610bca90600d906020840190611c3e565b5050565b6000610bd982611541565b5192915050565b600d8054610bed9061224b565b80601f0160208091040260200160405190810160405280929190818152602001828054610c199061224b565b8015610c665780601f10610c3b57610100808354040283529160200191610c66565b820191906000526020600020905b815481529060010190602001808311610c4957829003601f168201915b505050505081565b60006001600160a01b038216610cda5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016106a5565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6008546001600160a01b03163314610d295760405162461bcd60e51b81526004016106a5906120d1565b610abd60006116eb565b6008546001600160a01b03163314610d5d5760405162461bcd60e51b81526004016106a5906120d1565b600955565b6060600280546106d09061224b565b600f5460ff1615610dad5760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b60448201526064016106a5565b600081118015610dbf5750600c548111155b610dc857600080fd5b600a5481610dd560005490565b610ddf919061217e565b1115610dea57600080fd5b80610df460005490565b610dfe919061217e565b600b5410610e555780600a1015610e505760405162461bcd60e51b815260206004820152601660248201527508af0c6cae6e640dac2f040e0cae440cce4caca40e8f60531b60448201526064016106a5565b610ef5565b80600c541015610ea05760405162461bcd60e51b815260206004820152601660248201527508af0c6cae6e640dac2f040e0cae440e0c2d2c840e8f60531b60448201526064016106a5565b600954610ead90826121aa565b341015610ef55760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b60448201526064016106a5565b610eff338261173d565b50565b6001600160a01b038216331415610f5b5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016106a5565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fd28484846111b9565b610fde84848484611757565b610ffa5760405162461bcd60e51b81526004016106a590612100565b50505050565b600e8054610bed9061224b565b606061101a826000541190565b6110665760405162461bcd60e51b815260206004820152601860248201527f5468617420746f6b656e20646f65736e2774206578697374000000000000000060448201526064016106a5565b6000600d80546110759061224b565b9050116110915760405180602001604052806000815250610675565b600d61109c83611865565b600e6040516020016110b09392919061204e565b60405160208183030381529060405292915050565b6008546001600160a01b031633146110ef5760405162461bcd60e51b81526004016106a5906120d1565b6001600160a01b0381166111545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a5565b610eff816116eb565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006111c482611541565b80519091506000906001600160a01b0316336001600160a01b031614806111fb5750336111f084610753565b6001600160a01b0316145b8061120d5750815161120d90336105c0565b9050806112775760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016106a5565b846001600160a01b031682600001516001600160a01b0316146112eb5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016106a5565b6001600160a01b03841661134f5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016106a5565b61135f600084846000015161115d565b6001600160a01b03851660009081526004602052604081208054600192906113919084906001600160801b03166121c9565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260046020526040812080546001945090926113dd91859116612153565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561146584600161217e565b6000818152600360205260409020549091506001600160a01b03166114f75761148f816000541190565b156114f75760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6040805180820190915260008082526020820152611560826000541190565b6115bf5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016106a5565b60007f000000000000000000000000000000000000000000000000000000000000000a8310611620576116127f000000000000000000000000000000000000000000000000000000000000000a846121f1565b61161d90600161217e565b90505b825b81811061168a576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561167757949350505050565b508061168281612234565b915050611622565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016106a5565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610bca828260405180602001604052806000815250611963565b60006001600160a01b0384163b1561185957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061179b903390899088908890600401612081565b602060405180830381600087803b1580156117b557600080fd5b505af19250505080156117e5575060408051601f3d908101601f191682019092526117e291810190611f09565b60015b61183f573d808015611813576040519150601f19603f3d011682016040523d82523d6000602084013e611818565b606091505b5080516118375760405162461bcd60e51b81526004016106a590612100565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061185d565b5060015b949350505050565b6060816118895750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118b3578061189d81612286565b91506118ac9050600a83612196565b915061188d565b60008167ffffffffffffffff8111156118ce576118ce6122f7565b6040519080825280601f01601f1916602001820160405280156118f8576020820181803683370190505b5090505b841561185d5761190d6001836121f1565b915061191a600a866122a1565b61192590603061217e565b60f81b81838151811061193a5761193a6122e1565b60200101906001600160f81b031916908160001a90535061195c600a86612196565b94506118fc565b6000546001600160a01b0384166119c65760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016106a5565b6119d1816000541190565b15611a1e5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016106a5565b7f000000000000000000000000000000000000000000000000000000000000000a831115611a995760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016106a5565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611af5908790612153565b6001600160801b03168152602001858360200151611b139190612153565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015611c335760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611bf76000888488611757565b611c135760405162461bcd60e51b81526004016106a590612100565b81611c1d81612286565b9250508080611c2b90612286565b915050611baa565b506000819055611539565b828054611c4a9061224b565b90600052602060002090601f016020900481019282611c6c5760008555611cb2565b82601f10611c8557805160ff1916838001178555611cb2565b82800160010185558215611cb2579182015b82811115611cb2578251825591602001919060010190611c97565b50610b899291505b80821115610b895760008155600101611cba565b600067ffffffffffffffff80841115611ce957611ce96122f7565b604051601f8501601f19908116603f01168101908282118183101715611d1157611d116122f7565b81604052809350858152868686011115611d2a57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611d5b57600080fd5b919050565b80358015158114611d5b57600080fd5b600060208284031215611d8257600080fd5b611d8b82611d44565b9392505050565b60008060408385031215611da557600080fd5b611dae83611d44565b9150611dbc60208401611d44565b90509250929050565b600080600060608486031215611dda57600080fd5b611de384611d44565b9250611df160208501611d44565b9150604084013590509250925092565b60008060008060808587031215611e1757600080fd5b611e2085611d44565b9350611e2e60208601611d44565b925060408501359150606085013567ffffffffffffffff811115611e5157600080fd5b8501601f81018713611e6257600080fd5b611e7187823560208401611cce565b91505092959194509250565b60008060408385031215611e9057600080fd5b611e9983611d44565b9150611dbc60208401611d60565b60008060408385031215611eba57600080fd5b611ec383611d44565b946020939093013593505050565b600060208284031215611ee357600080fd5b611d8b82611d60565b600060208284031215611efe57600080fd5b8135611d8b8161230d565b600060208284031215611f1b57600080fd5b8151611d8b8161230d565b600060208284031215611f3857600080fd5b813567ffffffffffffffff811115611f4f57600080fd5b8201601f81018413611f6057600080fd5b61185d84823560208401611cce565b600060208284031215611f8157600080fd5b5035919050565b60008151808452611fa0816020860160208601612208565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680611fce57607f831692505b6020808410821415611ff057634e487b7160e01b600052602260045260246000fd5b818015612004576001811461201557612042565b60ff19861689528489019650612042565b60008881526020902060005b8681101561203a5781548b820152908501908301612021565b505084890196505b50505050505092915050565b600061205a8286611fb4565b845161206a818360208901612208565b61207681830186611fb4565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120b490830184611f88565b9695505050505050565b602081526000611d8b6020830184611f88565b6020808252601590820152742cb7ba9030b932903737ba103a34329037bbb732b960591b604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60006001600160801b03808316818516808303821115612175576121756122b5565b01949350505050565b60008219821115612191576121916122b5565b500190565b6000826121a5576121a56122cb565b500490565b60008160001904831182151516156121c4576121c46122b5565b500290565b60006001600160801b03838116908316818110156121e9576121e96122b5565b039392505050565b600082821015612203576122036122b5565b500390565b60005b8381101561222357818101518382015260200161220b565b83811115610ffa5750506000910152565b600081612243576122436122b5565b506000190190565b600181811c9082168061225f57607f821691505b6020821081141561228057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561229a5761229a6122b5565b5060010190565b6000826122b0576122b06122cb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610eff57600080fdfea2646970667358221220fea3334c32e4cb25d2f7821ef336cee544e6e75e2b22936bc54689a8bd5363e064736f6c63430008070033
Deployed Bytecode Sourcemap
39606:2278:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24744:370;;;;;;;;;;-1:-1:-1;24744:370:0;;;;;:::i;:::-;;:::i;:::-;;;6867:14:1;;6860:22;6842:41;;6830:2;6815:18;24744:370:0;;;;;;;;40668:79;;;;;;;;;;-1:-1:-1;40668:79:0;;;;;:::i;:::-;;:::i;:::-;;26470:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28004:204::-;;;;;;;;;;-1:-1:-1;28004:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6165:32:1;;;6147:51;;6135:2;6120:18;28004:204:0;6001:203:1;27567:379:0;;;;;;;;;;-1:-1:-1;27567:379:0;;;;;:::i;:::-;;:::i;23305:94::-;;;;;;;;;;-1:-1:-1;23358:7:0;23381:12;23305:94;;;16635:25:1;;;16623:2;16608:18;23305:94:0;16489:177:1;28854:142:0;;;;;;;;;;-1:-1:-1;28854:142:0;;;;;:::i;:::-;;:::i;23936:744::-;;;;;;;;;;-1:-1:-1;23936:744:0;;;;;:::i;:::-;;:::i;39699:32::-;;;;;;;;;;;;;;;;41769:112;;;;;;;;;;;;;:::i;41476:169::-;;;;;;;;;;-1:-1:-1;41476:169:0;;;;;:::i;:::-;;:::i;29059:157::-;;;;;;;;;;-1:-1:-1;29059:157:0;;;;;:::i;:::-;;:::i;39782:44::-;;;;;;;;;;;;39824:2;39782:44;;23468:177;;;;;;;;;;-1:-1:-1;23468:177:0;;;;;:::i;:::-;;:::i;40753:102::-;;;;;;;;;;-1:-1:-1;40753:102:0;;;;;:::i;:::-;;:::i;39947:25::-;;;;;;;;;;-1:-1:-1;39947:25:0;;;;;;;;26293:118;;;;;;;;;;-1:-1:-1;26293:118:0;;;;;:::i;:::-;;:::i;39654:38::-;;;;;;;;;;;;;;;;39869:26;;;;;;;;;;;;;:::i;25170:211::-;;;;;;;;;;-1:-1:-1;25170:211:0;;;;;:::i;:::-;;:::i;38725:103::-;;;;;;;;;;;;;:::i;39738:37::-;;;;;;;;;;;;;;;;38085:87;;;;;;;;;;-1:-1:-1;38158:6:0;;-1:-1:-1;;;;;38158:6:0;38085:87;;41378:92;;;;;;;;;;-1:-1:-1;41378:92:0;;;;;:::i;:::-;;:::i;26625:98::-;;;;;;;;;;;;;:::i;40082:578::-;;;;;;:::i;:::-;;:::i;28272:274::-;;;;;;;;;;-1:-1:-1;28272:274:0;;;;;:::i;:::-;;:::i;29279:311::-;;;;;;;;;;-1:-1:-1;29279:311:0;;;;;:::i;:::-;;:::i;39902:37::-;;;;;;;;;;;;;:::i;40861:507::-;;;;;;;;;;-1:-1:-1;40861:507:0;;;;;:::i;:::-;;:::i;39833:29::-;;;;;;;;;;;;;;;;33694:43;;;;;;;;;;;;;;;;28609:186;;;;;;;;;;-1:-1:-1;28609:186:0;;;;;:::i;:::-;-1:-1:-1;;;;;28754:25:0;;;28731:4;28754:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;28609:186;38983:238;;;;;;;;;;-1:-1:-1;38983:238:0;;;;;:::i;:::-;;:::i;24744:370::-;24871:4;-1:-1:-1;;;;;;24901:40:0;;-1:-1:-1;;;24901:40:0;;:99;;-1:-1:-1;;;;;;;24952:48:0;;-1:-1:-1;;;24952:48:0;24901:99;:160;;;-1:-1:-1;;;;;;;25011:50:0;;-1:-1:-1;;;25011:50:0;24901:160;:207;;;-1:-1:-1;;;;;;;;;;8475:40:0;;;25072:36;24887:221;24744:370;-1:-1:-1;;24744:370:0:o;40668:79::-;38158:6;;-1:-1:-1;;;;;38158:6:0;17795:10;38305:23;38297:57;;;;-1:-1:-1;;;38297:57:0;;;;;;;:::i;:::-;;;;;;;;;40724:6:::1;:15:::0;;-1:-1:-1;;40724:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;40668:79::o;26470:94::-;26524:13;26553:5;26546:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26470:94;:::o;28004:204::-;28072:7;28096:16;28104:7;29886:4;29916:12;-1:-1:-1;29906:22:0;29829:105;28096:16;28088:74;;;;-1:-1:-1;;;28088:74:0;;15874:2:1;28088:74:0;;;15856:21:1;15913:2;15893:18;;;15886:30;15952:34;15932:18;;;15925:62;-1:-1:-1;;;16003:18:1;;;15996:43;16056:19;;28088:74:0;15672:409:1;28088:74:0;-1:-1:-1;28178:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;28178:24:0;;28004:204::o;27567:379::-;27636:13;27652:24;27668:7;27652:15;:24::i;:::-;27636:40;;27697:5;-1:-1:-1;;;;;27691:11:0;:2;-1:-1:-1;;;;;27691:11:0;;;27683:58;;;;-1:-1:-1;;;27683:58:0;;13460:2:1;27683:58:0;;;13442:21:1;13499:2;13479:18;;;13472:30;13538:34;13518:18;;;13511:62;-1:-1:-1;;;13589:18:1;;;13582:32;13631:19;;27683:58:0;13258:398:1;27683:58:0;17795:10;-1:-1:-1;;;;;27766:21:0;;;;:62;;-1:-1:-1;27791:37:0;27808:5;17795:10;28609:186;:::i;27791:37::-;27750:153;;;;-1:-1:-1;;;27750:153:0;;10737:2:1;27750:153:0;;;10719:21:1;10776:2;10756:18;;;10749:30;10815:34;10795:18;;;10788:62;10886:27;10866:18;;;10859:55;10931:19;;27750:153:0;10535:421:1;27750:153:0;27912:28;27921:2;27925:7;27934:5;27912:8;:28::i;:::-;27629:317;27567:379;;:::o;28854:142::-;28962:28;28972:4;28978:2;28982:7;28962:9;:28::i;23936:744::-;24045:7;24080:16;24090:5;24080:9;:16::i;:::-;24072:5;:24;24064:71;;;;-1:-1:-1;;;24064:71:0;;7320:2:1;24064:71:0;;;7302:21:1;7359:2;7339:18;;;7332:30;7398:34;7378:18;;;7371:62;-1:-1:-1;;;7449:18:1;;;7442:32;7491:19;;24064:71:0;7118:398:1;24064:71:0;24142:22;23381:12;;;24142:22;;24262:350;24286:14;24282:1;:18;24262:350;;;24316:31;24350:14;;;:11;:14;;;;;;;;;24316:48;;;;;;;;;-1:-1:-1;;;;;24316:48:0;;;;;-1:-1:-1;;;24316:48:0;;;;;;;;;;;;24377:28;24373:89;;24438:14;;;-1:-1:-1;24373:89:0;24495:5;-1:-1:-1;;;;;24474:26:0;:17;-1:-1:-1;;;;;24474:26:0;;24470:135;;;24532:5;24517:11;:20;24513:59;;;-1:-1:-1;24559:1:0;-1:-1:-1;24552:8:0;;-1:-1:-1;;;24552:8:0;24513:59;24582:13;;;;:::i;:::-;;;;24470:135;-1:-1:-1;24302:3:0;;;;:::i;:::-;;;;24262:350;;;-1:-1:-1;24618:56:0;;-1:-1:-1;;;24618:56:0;;15043:2:1;24618:56:0;;;15025:21:1;15082:2;15062:18;;;15055:30;15121:34;15101:18;;;15094:62;-1:-1:-1;;;15172:18:1;;;15165:44;15226:19;;24618:56:0;14841:410:1;41769:112:0;38158:6;;-1:-1:-1;;;;;38158:6:0;17795:10;38305:23;38297:57;;;;-1:-1:-1;;;38297:57:0;;;;;;;:::i;:::-;41825:47:::1;::::0;41833:10:::1;::::0;41850:21:::1;41825:47:::0;::::1;;;::::0;::::1;::::0;;;41850:21;41833:10;41825:47;::::1;;;;;;41817:56;;;::::0;::::1;;41769:112::o:0;41476:169::-;38158:6;;-1:-1:-1;;;;;38158:6:0;17795:10;38305:23;38297:57;;;;-1:-1:-1;;;38297:57:0;;;;;;;:::i;:::-;41587:10:::1;;41573;41557:13;23358:7:::0;23381:12;;23305:94;41557:13:::1;:26;;;;:::i;:::-;:40;;41549:49;;;::::0;::::1;;41609:15;:28:::0;41476:169::o;29059:157::-;29171:39;29188:4;29194:2;29198:7;29171:39;;;;;;;;;;;;:16;:39::i;23468:177::-;23535:7;23381:12;;23559:5;:21;23551:69;;;;-1:-1:-1;;;23551:69:0;;9226:2:1;23551:69:0;;;9208:21:1;9265:2;9245:18;;;9238:30;9304:34;9284:18;;;9277:62;-1:-1:-1;;;9355:18:1;;;9348:33;9398:19;;23551:69:0;9024:399:1;23551:69:0;-1:-1:-1;23634:5:0;23468:177::o;40753:102::-;38158:6;;-1:-1:-1;;;;;38158:6:0;17795:10;38305:23;38297:57;;;;-1:-1:-1;;;38297:57:0;;;;;;;:::i;:::-;40827:20;;::::1;::::0;:7:::1;::::0;:20:::1;::::0;::::1;::::0;::::1;:::i;:::-;;40753:102:::0;:::o;26293:118::-;26357:7;26380:20;26392:7;26380:11;:20::i;:::-;:25;;26293:118;-1:-1:-1;;26293:118:0:o;39869:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;25170:211::-;25234:7;-1:-1:-1;;;;;25258:19:0;;25250:75;;;;-1:-1:-1;;;25250:75:0;;11163:2:1;25250:75:0;;;11145:21:1;11202:2;11182:18;;;11175:30;11241:34;11221:18;;;11214:62;-1:-1:-1;;;11292:18:1;;;11285:41;11343:19;;25250:75:0;10961:407:1;25250:75:0;-1:-1:-1;;;;;;25347:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;25347:27:0;;25170:211::o;38725:103::-;38158:6;;-1:-1:-1;;;;;38158:6:0;17795:10;38305:23;38297:57;;;;-1:-1:-1;;;38297:57:0;;;;;;;:::i;:::-;38790:30:::1;38817:1;38790:18;:30::i;41378:92::-:0;38158:6;;-1:-1:-1;;;;;38158:6:0;17795:10;38305:23;38297:57;;;;-1:-1:-1;;;38297:57:0;;;;;;;:::i;:::-;41442:9:::1;:20:::0;41378:92::o;26625:98::-;26681:13;26710:7;26703:14;;;;;:::i;40082:578::-;40150:6;;;;40149:7;40141:26;;;;-1:-1:-1;;;40141:26:0;;7723:2:1;40141:26:0;;;7705:21:1;7762:1;7742:18;;;7735:29;-1:-1:-1;;;7780:18:1;;;7773:36;7826:18;;40141:26:0;7521:329:1;40141:26:0;40198:1;40186:9;:13;:39;;;;;40216:9;;40203;:22;;40186:39;40178:48;;;;;;40274:10;;40261:9;40245:13;23358:7;23381:12;;23305:94;40245:13;:25;;;;:::i;:::-;:39;;40237:48;;;;;;40335:9;40319:13;23358:7;23381:12;;23305:94;40319:13;:25;;;;:::i;:::-;40300:15;;:44;40296:314;;40388:9;39824:2;40369:28;;40361:63;;;;-1:-1:-1;;;40361:63:0;;10386:2:1;40361:63:0;;;10368:21:1;10425:2;10405:18;;;10398:30;-1:-1:-1;;;10444:18:1;;;10437:52;10506:18;;40361:63:0;10184:346:1;40361:63:0;40296:314;;;40478:9;40465;;:22;;40457:57;;;;-1:-1:-1;;;40457:57:0;;8875:2:1;40457:57:0;;;8857:21:1;8914:2;8894:18;;;8887:30;-1:-1:-1;;;8933:18:1;;;8926:52;8995:18;;40457:57:0;8673:346:1;40457:57:0;40562:9;;40550:21;;:9;:21;:::i;:::-;40537:9;:34;;40529:69;;;;-1:-1:-1;;;40529:69:0;;13109:2:1;40529:69:0;;;13091:21:1;13148:2;13128:18;;;13121:30;-1:-1:-1;;;13167:18:1;;;13160:52;13229:18;;40529:69:0;12907:346:1;40529:69:0;40620:32;40630:10;40642:9;40620;:32::i;:::-;40082:578;:::o;28272:274::-;-1:-1:-1;;;;;28363:24:0;;17795:10;28363:24;;28355:63;;;;-1:-1:-1;;;28355:63:0;;12335:2:1;28355:63:0;;;12317:21:1;12374:2;12354:18;;;12347:30;12413:28;12393:18;;;12386:56;12459:18;;28355:63:0;12133:350:1;28355:63:0;17795:10;28427:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;28427:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;28427:53:0;;;;;;;;;;28492:48;;6842:41:1;;;28427:42:0;;17795:10;28492:48;;6815:18:1;28492:48:0;;;;;;;28272:274;;:::o;29279:311::-;29416:28;29426:4;29432:2;29436:7;29416:9;:28::i;:::-;29467:48;29490:4;29496:2;29500:7;29509:5;29467:22;:48::i;:::-;29451:133;;;;-1:-1:-1;;;29451:133:0;;;;;;;:::i;:::-;29279:311;;;;:::o;39902:37::-;;;;;;;:::i;40861:507::-;40963:13;41002:17;41010:8;29886:4;29916:12;-1:-1:-1;29906:22:0;29829:105;41002:17;40994:54;;;;-1:-1:-1;;;40994:54:0;;11575:2:1;40994:54:0;;;11557:21:1;11614:2;11594:18;;;11587:30;11653:26;11633:18;;;11626:54;11697:18;;40994:54:0;11373:348:1;40994:54:0;41103:1;41085:7;41079:21;;;;;:::i;:::-;;;:25;:281;;;;;;;;;;;;;;;;;41196:7;41230:26;41247:8;41230:16;:26::i;:::-;41283:13;41153:166;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;41059:301;40861:507;-1:-1:-1;;40861:507:0:o;38983:238::-;38158:6;;-1:-1:-1;;;;;38158:6:0;17795:10;38305:23;38297:57;;;;-1:-1:-1;;;38297:57:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;39086:22:0;::::1;39064:110;;;::::0;-1:-1:-1;;;39064:110:0;;8057:2:1;39064:110:0::1;::::0;::::1;8039:21:1::0;8096:2;8076:18;;;8069:30;8135:34;8115:18;;;8108:62;-1:-1:-1;;;8186:18:1;;;8179:36;8232:19;;39064:110:0::1;7855:402:1::0;39064:110:0::1;39185:28;39204:8;39185:18;:28::i;33516:172::-:0;33613:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;33613:29:0;-1:-1:-1;;;;;33613:29:0;;;;;;;;;33654:28;;33613:24;;33654:28;;;;;;;33516:172;;;:::o;31881:1529::-;31978:35;32016:20;32028:7;32016:11;:20::i;:::-;32087:18;;31978:58;;-1:-1:-1;32045:22:0;;-1:-1:-1;;;;;32071:34:0;17795:10;-1:-1:-1;;;;;32071:34:0;;:81;;;-1:-1:-1;17795:10:0;32116:20;32128:7;32116:11;:20::i;:::-;-1:-1:-1;;;;;32116:36:0;;32071:81;:142;;;-1:-1:-1;32180:18:0;;32163:50;;17795:10;28609:186;:::i;32163:50::-;32045:169;;32239:17;32223:101;;;;-1:-1:-1;;;32223:101:0;;12690:2:1;32223:101:0;;;12672:21:1;12729:2;12709:18;;;12702:30;12768:34;12748:18;;;12741:62;-1:-1:-1;;;12819:18:1;;;12812:48;12877:19;;32223:101:0;12488:414:1;32223:101:0;32371:4;-1:-1:-1;;;;;32349:26:0;:13;:18;;;-1:-1:-1;;;;;32349:26:0;;32333:98;;;;-1:-1:-1;;;32333:98:0;;11928:2:1;32333:98:0;;;11910:21:1;11967:2;11947:18;;;11940:30;12006:34;11986:18;;;11979:62;-1:-1:-1;;;12057:18:1;;;12050:36;12103:19;;32333:98:0;11726:402:1;32333:98:0;-1:-1:-1;;;;;32446:16:0;;32438:66;;;;-1:-1:-1;;;32438:66:0;;9630:2:1;32438:66:0;;;9612:21:1;9669:2;9649:18;;;9642:30;9708:34;9688:18;;;9681:62;-1:-1:-1;;;9759:18:1;;;9752:35;9804:19;;32438:66:0;9428:401:1;32438:66:0;32613:49;32630:1;32634:7;32643:13;:18;;;32613:8;:49::i;:::-;-1:-1:-1;;;;;32671:18:0;;;;;;:12;:18;;;;;:31;;32701:1;;32671:18;:31;;32701:1;;-1:-1:-1;;;;;32671:31:0;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;32671:31:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;32709:16:0;;-1:-1:-1;32709:16:0;;;:12;:16;;;;;:29;;-1:-1:-1;;;32709:16:0;;:29;;-1:-1:-1;;32709:29:0;;:::i;:::-;;;-1:-1:-1;;;;;32709:29:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32768:43:0;;;;;;;;-1:-1:-1;;;;;32768:43:0;;;;;;32794:15;32768:43;;;;;;;;;-1:-1:-1;32745:20:0;;;:11;:20;;;;;;:66;;;;;;;;;-1:-1:-1;;;32745:66:0;-1:-1:-1;;;;;;32745:66:0;;;;;;;;;;;33061:11;32757:7;-1:-1:-1;33061:11:0;:::i;:::-;33124:1;33083:24;;;:11;:24;;;;;:29;33039:33;;-1:-1:-1;;;;;;33083:29:0;33079:236;;33141:20;33149:11;29886:4;29916:12;-1:-1:-1;29906:22:0;29829:105;33141:20;33137:171;;;33201:97;;;;;;;;33228:18;;-1:-1:-1;;;;;33201:97:0;;;;;;33259:28;;;;33201:97;;;;;;;;;;-1:-1:-1;33174:24:0;;;:11;:24;;;;;;;:124;;;;;;;;;-1:-1:-1;;;33174:124:0;-1:-1:-1;;;;;;33174:124:0;;;;;;;;;;;;33137:171;33347:7;33343:2;-1:-1:-1;;;;;33328:27:0;33337:4;-1:-1:-1;;;;;33328:27:0;;;;;;;;;;;33362:42;31971:1439;;;31881:1529;;;:::o;25633:606::-;-1:-1:-1;;;;;;;;;;;;;;;;;25750:16:0;25758:7;29886:4;29916:12;-1:-1:-1;29906:22:0;29829:105;25750:16;25742:71;;;;-1:-1:-1;;;25742:71:0;;8464:2:1;25742:71:0;;;8446:21:1;8503:2;8483:18;;;8476:30;8542:34;8522:18;;;8515:62;-1:-1:-1;;;8593:18:1;;;8586:40;8643:19;;25742:71:0;8262:406:1;25742:71:0;25822:26;25870:12;25859:7;:23;25855:93;;25914:22;25924:12;25914:7;:22;:::i;:::-;:26;;25939:1;25914:26;:::i;:::-;25893:47;;25855:93;25976:7;25956:212;25993:18;25985:4;:26;25956:212;;26030:31;26064:17;;;:11;:17;;;;;;;;;26030:51;;;;;;;;;-1:-1:-1;;;;;26030:51:0;;;;;-1:-1:-1;;;26030:51:0;;;;;;;;;;;;26094:28;26090:71;;26142:9;25633:606;-1:-1:-1;;;;25633:606:0:o;26090:71::-;-1:-1:-1;26013:6:0;;;;:::i;:::-;;;;25956:212;;;-1:-1:-1;26176:57:0;;-1:-1:-1;;;26176:57:0;;15458:2:1;26176:57:0;;;15440:21:1;15497:2;15477:18;;;15470:30;15536:34;15516:18;;;15509:62;-1:-1:-1;;;15587:18:1;;;15580:45;15642:19;;26176:57:0;15256:411:1;39381:191:0;39474:6;;;-1:-1:-1;;;;;39491:17:0;;;-1:-1:-1;;;;;;39491:17:0;;;;;;;39524:40;;39474:6;;;39491:17;39474:6;;39524:40;;39455:16;;39524:40;39444:128;39381:191;:::o;29940:98::-;30005:27;30015:2;30019:8;30005:27;;;;;;;;;;;;:9;:27::i;35231:690::-;35368:4;-1:-1:-1;;;;;35385:13:0;;9617:20;9665:8;35381:535;;35424:72;;-1:-1:-1;;;35424:72:0;;-1:-1:-1;;;;;35424:36:0;;;;;:72;;17795:10;;35475:4;;35481:7;;35490:5;;35424:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35424:72:0;;;;;;;;-1:-1:-1;;35424:72:0;;;;;;;;;;;;:::i;:::-;;;35411:464;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35655:13:0;;35651:215;;35688:61;;-1:-1:-1;;;35688:61:0;;;;;;;:::i;35651:215::-;35834:6;35828:13;35819:6;35815:2;35811:15;35804:38;35411:464;-1:-1:-1;;;;;;35546:55:0;-1:-1:-1;;;35546:55:0;;-1:-1:-1;35539:62:0;;35381:535;-1:-1:-1;35904:4:0;35381:535;35231:690;;;;;;:::o;18238:723::-;18294:13;18515:10;18511:53;;-1:-1:-1;;18542:10:0;;;;;;;;;;;;-1:-1:-1;;;18542:10:0;;;;;18238:723::o;18511:53::-;18589:5;18574:12;18630:78;18637:9;;18630:78;;18663:8;;;;:::i;:::-;;-1:-1:-1;18686:10:0;;-1:-1:-1;18694:2:0;18686:10;;:::i;:::-;;;18630:78;;;18718:19;18750:6;18740:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18740:17:0;;18718:39;;18768:154;18775:10;;18768:154;;18802:11;18812:1;18802:11;;:::i;:::-;;-1:-1:-1;18871:10:0;18879:2;18871:5;:10;:::i;:::-;18858:24;;:2;:24;:::i;:::-;18845:39;;18828:6;18835;18828:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;18828:56:0;;;;;;;;-1:-1:-1;18899:11:0;18908:2;18899:11;;:::i;:::-;;;18768:154;;30377:1272;30482:20;30505:12;-1:-1:-1;;;;;30532:16:0;;30524:62;;;;-1:-1:-1;;;30524:62:0;;14641:2:1;30524:62:0;;;14623:21:1;14680:2;14660:18;;;14653:30;14719:34;14699:18;;;14692:62;-1:-1:-1;;;14770:18:1;;;14763:31;14811:19;;30524:62:0;14439:397:1;30524:62:0;30723:21;30731:12;29886:4;29916:12;-1:-1:-1;29906:22:0;29829:105;30723:21;30722:22;30714:64;;;;-1:-1:-1;;;30714:64:0;;14283:2:1;30714:64:0;;;14265:21:1;14322:2;14302:18;;;14295:30;14361:31;14341:18;;;14334:59;14410:18;;30714:64:0;14081:353:1;30714:64:0;30805:12;30793:8;:24;;30785:71;;;;-1:-1:-1;;;30785:71:0;;16288:2:1;30785:71:0;;;16270:21:1;16327:2;16307:18;;;16300:30;16366:34;16346:18;;;16339:62;-1:-1:-1;;;16417:18:1;;;16410:32;16459:19;;30785:71:0;16086:398:1;30785:71:0;-1:-1:-1;;;;;30968:16:0;;30935:30;30968:16;;;:12;:16;;;;;;;;;30935:49;;;;;;;;;-1:-1:-1;;;;;30935:49:0;;;;;-1:-1:-1;;;30935:49:0;;;;;;;;;;;31010:119;;;;;;;;31030:19;;30935:49;;31010:119;;;31030:39;;31060:8;;31030:39;:::i;:::-;-1:-1:-1;;;;;31010:119:0;;;;;31113:8;31078:11;:24;;;:44;;;;:::i;:::-;-1:-1:-1;;;;;31010:119:0;;;;;;-1:-1:-1;;;;;30991:16:0;;;;;;;:12;:16;;;;;;;;:138;;;;;;;;-1:-1:-1;;;30991:138:0;;;;;;;;;;;;31164:43;;;;;;;;;;;31190:15;31164:43;;;;;;;;31136:25;;;:11;:25;;;;;;:71;;;;;;;;;-1:-1:-1;;;31136:71:0;-1:-1:-1;;;;;;31136:71:0;;;;;;;;;;;;;;;;;;31148:12;;31260:281;31284:8;31280:1;:12;31260:281;;;31313:38;;31338:12;;-1:-1:-1;;;;;31313:38:0;;;31330:1;;31313:38;;31330:1;;31313:38;31378:59;31409:1;31413:2;31417:12;31431:5;31378:22;:59::i;:::-;31360:150;;;;-1:-1:-1;;;31360:150:0;;;;;;;:::i;:::-;31519:14;;;;:::i;:::-;;;;31294:3;;;;;:::i;:::-;;;;31260:281;;;-1:-1:-1;31549:12:0;:27;;;31583:60;29279:311;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;:::-;1134:39;993:186;-1:-1:-1;;;993:186:1:o;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:257::-;4341:3;4379:5;4373:12;4406:6;4401:3;4394:19;4422:63;4478:6;4471:4;4466:3;4462:14;4455:4;4448:5;4444:16;4422:63;:::i;:::-;4539:2;4518:15;-1:-1:-1;;4514:29:1;4505:39;;;;4546:4;4501:50;;4300:257;-1:-1:-1;;4300:257:1:o;4562:973::-;4647:12;;4612:3;;4702:1;4722:18;;;;4775;;;;4802:61;;4856:4;4848:6;4844:17;4834:27;;4802:61;4882:2;4930;4922:6;4919:14;4899:18;4896:38;4893:161;;;4976:10;4971:3;4967:20;4964:1;4957:31;5011:4;5008:1;5001:15;5039:4;5036:1;5029:15;4893:161;5070:18;5097:104;;;;5215:1;5210:319;;;;5063:466;;5097:104;-1:-1:-1;;5130:24:1;;5118:37;;5175:16;;;;-1:-1:-1;5097:104:1;;5210:319;16744:1;16737:14;;;16781:4;16768:18;;5304:1;5318:165;5332:6;5329:1;5326:13;5318:165;;;5410:14;;5397:11;;;5390:35;5453:16;;;;5347:10;;5318:165;;;5322:3;;5512:6;5507:3;5503:16;5496:23;;5063:466;;;;;;;4562:973;;;;:::o;5540:456::-;5761:3;5789:38;5823:3;5815:6;5789:38;:::i;:::-;5856:6;5850:13;5872:52;5917:6;5913:2;5906:4;5898:6;5894:17;5872:52;:::i;:::-;5940:50;5982:6;5978:2;5974:15;5966:6;5940:50;:::i;:::-;5933:57;5540:456;-1:-1:-1;;;;;;;5540:456:1:o;6209:488::-;-1:-1:-1;;;;;6478:15:1;;;6460:34;;6530:15;;6525:2;6510:18;;6503:43;6577:2;6562:18;;6555:34;;;6625:3;6620:2;6605:18;;6598:31;;;6403:4;;6646:45;;6671:19;;6663:6;6646:45;:::i;:::-;6638:53;6209:488;-1:-1:-1;;;;;;6209:488:1:o;6894:219::-;7043:2;7032:9;7025:21;7006:4;7063:44;7103:2;7092:9;7088:18;7080:6;7063:44;:::i;9834:345::-;10036:2;10018:21;;;10075:2;10055:18;;;10048:30;-1:-1:-1;;;10109:2:1;10094:18;;10087:51;10170:2;10155:18;;9834:345::o;13661:415::-;13863:2;13845:21;;;13902:2;13882:18;;;13875:30;13941:34;13936:2;13921:18;;13914:62;-1:-1:-1;;;14007:2:1;13992:18;;13985:49;14066:3;14051:19;;13661:415::o;16797:253::-;16837:3;-1:-1:-1;;;;;16926:2:1;16923:1;16919:10;16956:2;16953:1;16949:10;16987:3;16983:2;16979:12;16974:3;16971:21;16968:47;;;16995:18;;:::i;:::-;17031:13;;16797:253;-1:-1:-1;;;;16797:253:1:o;17055:128::-;17095:3;17126:1;17122:6;17119:1;17116:13;17113:39;;;17132:18;;:::i;:::-;-1:-1:-1;17168:9:1;;17055:128::o;17188:120::-;17228:1;17254;17244:35;;17259:18;;:::i;:::-;-1:-1:-1;17293:9:1;;17188:120::o;17313:168::-;17353:7;17419:1;17415;17411:6;17407:14;17404:1;17401:21;17396:1;17389:9;17382:17;17378:45;17375:71;;;17426:18;;:::i;:::-;-1:-1:-1;17466:9:1;;17313:168::o;17486:246::-;17526:4;-1:-1:-1;;;;;17639:10:1;;;;17609;;17661:12;;;17658:38;;;17676:18;;:::i;:::-;17713:13;;17486:246;-1:-1:-1;;;17486:246:1:o;17737:125::-;17777:4;17805:1;17802;17799:8;17796:34;;;17810:18;;:::i;:::-;-1:-1:-1;17847:9:1;;17737:125::o;17867:258::-;17939:1;17949:113;17963:6;17960:1;17957:13;17949:113;;;18039:11;;;18033:18;18020:11;;;18013:39;17985:2;17978:10;17949:113;;;18080:6;18077:1;18074:13;18071:48;;;-1:-1:-1;;18115:1:1;18097:16;;18090:27;17867:258::o;18130:136::-;18169:3;18197:5;18187:39;;18206:18;;:::i;:::-;-1:-1:-1;;;18242:18:1;;18130:136::o;18271:380::-;18350:1;18346:12;;;;18393;;;18414:61;;18468:4;18460:6;18456:17;18446:27;;18414:61;18521:2;18513:6;18510:14;18490:18;18487:38;18484:161;;;18567:10;18562:3;18558:20;18555:1;18548:31;18602:4;18599:1;18592:15;18630:4;18627:1;18620:15;18484:161;;18271:380;;;:::o;18656:135::-;18695:3;-1:-1:-1;;18716:17:1;;18713:43;;;18736:18;;:::i;:::-;-1:-1:-1;18783:1:1;18772:13;;18656:135::o;18796:112::-;18828:1;18854;18844:35;;18859:18;;:::i;:::-;-1:-1:-1;18893:9:1;;18796:112::o;18913:127::-;18974:10;18969:3;18965:20;18962:1;18955:31;19005:4;19002:1;18995:15;19029:4;19026:1;19019:15;19045:127;19106:10;19101:3;19097:20;19094:1;19087:31;19137:4;19134:1;19127:15;19161:4;19158:1;19151:15;19177:127;19238:10;19233:3;19229:20;19226:1;19219:31;19269:4;19266:1;19259:15;19293:4;19290:1;19283:15;19309:127;19370:10;19365:3;19361:20;19358:1;19351:31;19401:4;19398:1;19391:15;19425:4;19422:1;19415:15;19441:131;-1:-1:-1;;;;;;19515:32:1;;19505:43;;19495:71;;19562:1;19559;19552:12
Swarm Source
ipfs://fea3334c32e4cb25d2f7821ef336cee544e6e75e2b22936bc54689a8bd5363e0
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.