ERC-721
Overview
Max Total Supply
355 FCT
Holders
145
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
8 FCTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FirstClassTaz
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT AND GPL-3.0 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); } /** * @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; } /** * @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); } /** * @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); } /** * @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); } } } } /** * @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; } } /** * @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); } } /** * @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; } } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } /** * @dev These functions deal with verification of Merkle trees (hash trees), */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } contract FirstClassTaz is ERC721, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _totalSupply; uint256 private _presaleSupply = 0; string private baseURI; string public baseExtension = ".json"; string public notRevealedUri; uint256 public preSaleCost = 0.05 ether; uint256 public cost = 0.08 ether; uint256 public maxSupply = 10000; uint256 public preSaleMaxSupply = 2000; uint256 public maxMintAmountPresale = 10; uint256 public maxMintAmount = 20; uint256 public nftPerAddressLimitPresale = 10; uint256 public nftPerAddressLimit = 100; uint256 public preSaleDate = 1642971600; uint256 public preSaleEndDate = 1643058000; uint256 public publicSaleDate = 1643144400; bool public paused = false; bool public revealed = false; bytes32 private rootHash; mapping(address => uint256) public addressMintedBalance; address public wallet1 = 0x64231DB161C803ABcaA948821a06F35Ed5F02C20; address public wallet2 = 0x379e7CC29d36a45F85D8393FB83614D2A60B4f30; address public wallet3 = 0x9648c97e4372b13Ff532091F5d5aCdeDA85CE9eC; constructor(string memory _initNotRevealedUri) ERC721("First Class Taz", "FCT") { setNotRevealedURI(_initNotRevealedUri); } // MODIFIERS modifier notPaused { require(!paused, "the contract is paused"); _; } modifier presaleStarted { require(block.timestamp >= preSaleDate, "presale has not started yet"); _; } modifier saleStarted { require(block.timestamp >= publicSaleDate, "sale has not started yet"); _; } modifier minimumMintAmount(uint256 _mintAmount) { require(_mintAmount > 0, "need to mint at least 1 NFT"); _; } // INTERNAL function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // PRESALE MINT function presaleMint(uint256 _mintAmount, bytes32[] calldata _proof) public payable notPaused presaleStarted minimumMintAmount(_mintAmount) { uint256 supply = totalSupply(); uint256 ownerMintedCount = addressMintedBalance[msg.sender]; require(block.timestamp <= preSaleEndDate, "presale is finished"); require(ownerMintedCount + _mintAmount <= nftPerAddressLimitPresale, "max NFT per address exceeded for presale"); require(msg.value >= preSaleCost * _mintAmount, "insufficient funds"); require(_mintAmount <= maxMintAmountPresale,"max mint amount per transaction exceeded"); require(_presaleSupply + _mintAmount <= preSaleMaxSupply,"max NFT presale limit exceeded"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_proof, rootHash, leaf), "invalid proof"); for (uint256 i = 1; i <= _mintAmount; i++) { addressMintedBalance[msg.sender]++; _presaleSupply++; _totalSupply.increment(); _safeMint(msg.sender, supply + i); } } // MINT function mint(uint256 _mintAmount) public payable notPaused saleStarted minimumMintAmount(_mintAmount) { uint256 supply = totalSupply(); uint256 ownerMintedCount = addressMintedBalance[msg.sender]; require(ownerMintedCount + _mintAmount <= nftPerAddressLimit,"max NFT per address exceeded"); require(msg.value >= cost * _mintAmount, "insufficient funds"); require(_mintAmount <= maxMintAmount,"max mint amount per transaction exceeded"); require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded"); for (uint256 i = 1; i <= _mintAmount; i++) { addressMintedBalance[msg.sender]++; _totalSupply.increment(); _safeMint(msg.sender, supply + i); } } function gift(uint256 _mintAmount, address destination) public onlyOwner { require(_mintAmount > 0, "need to mint at least 1 NFT"); uint256 supply = totalSupply(); require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded"); for (uint256 i = 1; i <= _mintAmount; i++) { addressMintedBalance[destination]++; _totalSupply.increment(); _safeMint(destination, supply + i); } } // PUBLIC VIEWS function totalSupply() public view returns (uint256) { return _totalSupply.current(); } function presaleSupply() public view returns (uint256) { return _presaleSupply; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); if (!revealed) { return notRevealedUri; } else { string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI,tokenId.toString(), baseExtension)) : ""; } } function getCurrentCost() public view returns (uint256) { if (block.timestamp < preSaleEndDate) { return preSaleCost; } else { return cost; } } // ONLY OWNER VIEWS function getBaseURI() public view onlyOwner returns (string memory) { return baseURI; } function getContractBalance() public view onlyOwner returns (uint256) { return address(this).balance; } // ONLY OWNER SETTERS function setRootHash(bytes32 _rootHash) public onlyOwner { rootHash = _rootHash; } function reveal() public onlyOwner { revealed = true; } function pause(bool _state) public onlyOwner { paused = _state; } function setNftPerAddressLimitPreSale(uint256 _limit) public onlyOwner { nftPerAddressLimitPresale = _limit; } function setNftPerAddressLimit(uint256 _limit) public onlyOwner { nftPerAddressLimit = _limit; } function setPresaleCost(uint256 _newCost) public onlyOwner { preSaleCost = _newCost; } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function setmaxMintAmountPreSale(uint256 _newMaxMintAmount) public onlyOwner { maxMintAmountPresale = _newMaxMintAmount; } function setMaxMintAmount(uint256 _newMaxMintAmount) public onlyOwner { maxMintAmount = _newMaxMintAmount; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function setPresaleMaxSupply(uint256 _newPresaleMaxSupply) public onlyOwner { preSaleMaxSupply = _newPresaleMaxSupply; } function setMaxSupply(uint256 _maxSupply) public onlyOwner { maxSupply = _maxSupply; } function setPreSaleDate(uint256 _preSaleDate) public onlyOwner { preSaleDate = _preSaleDate; } function setPreSaleEndDate(uint256 _preSaleEndDate) public onlyOwner { preSaleEndDate = _preSaleEndDate; } function setPublicSaleDate(uint256 _publicSaleDate) public onlyOwner { publicSaleDate = _publicSaleDate; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; uint256 amount1 = (balance * 0.2 ether) / 1 ether; uint256 amount2 = (balance * 0.05 ether) / 1 ether; uint256 amount3 = (balance * 0.25 ether) / 1 ether; uint256 amount4 = balance - amount1 - amount2 - amount3; payable(msg.sender).transfer(amount4); payable(wallet1).transfer(amount1); payable(wallet2).transfer(amount2); payable(wallet3).transfer(amount3); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"destination","type":"address"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimitPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"preSaleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleEndDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimitPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preSaleDate","type":"uint256"}],"name":"setPreSaleDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preSaleEndDate","type":"uint256"}],"name":"setPreSaleEndDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPresaleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPresaleMaxSupply","type":"uint256"}],"name":"setPresaleMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicSaleDate","type":"uint256"}],"name":"setPublicSaleDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_rootHash","type":"bytes32"}],"name":"setRootHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setmaxMintAmountPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wallet1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wallet2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wallet3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600060085560c06040526005608081905264173539b7b760d91b60a09081526200002d91600a919062000287565b5066b1a2bc2ec50000600c5567011c37937e080000600d55612710600e556107d0600f55600a60108190556014601181905560129190915560646013556361edc1d090556361ef13506015556361f064d06016556017805461ffff19169055601a80546001600160a01b03199081167364231db161c803abcaa948821a06f35ed5f02c2017909155601b8054821673379e7cc29d36a45f85d8393fb83614d2a60b4f30179055601c8054909116739648c97e4372b13ff532091f5d5acdeda85ce9ec179055348015620000ff57600080fd5b506040516200339f3803806200339f83398101604081905262000122916200032d565b604080518082018252600f81526e2334b939ba1021b630b9b9902a30bd60891b6020808301918252835180850190945260038452621190d560ea1b908401528151919291620001749160009162000287565b5080516200018a90600190602084019062000287565b505050620001a7620001a1620001b960201b60201c565b620001bd565b620001b2816200020f565b5062000456565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b031633146200026e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200028390600b90602084019062000287565b5050565b828054620002959062000403565b90600052602060002090601f016020900481019282620002b9576000855562000304565b82601f10620002d457805160ff191683800117855562000304565b8280016001018555821562000304579182015b8281111562000304578251825591602001919060010190620002e7565b506200031292915062000316565b5090565b5b8082111562000312576000815560010162000317565b6000602080838503121562000340578182fd5b82516001600160401b038082111562000357578384fd5b818501915085601f8301126200036b578384fd5b81518181111562000380576200038062000440565b604051601f8201601f19908116603f01168101908382118183101715620003ab57620003ab62000440565b816040528281528886848701011115620003c3578687fd5b8693505b82841015620003e65784840186015181850187015292850192620003c7565b82841115620003f757868684830101525b98975050505050505050565b600181811c908216806200041857607f821691505b602082108114156200043a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612f3980620004666000396000f3fe6080604052600436106103a25760003560e01c80636f8b44b0116101e7578063a22cb4651161010d578063d0eb26b0116100a0578063e985e9c51161006f578063e985e9c514610a13578063eced387314610a5c578063f2c4ce1e14610a72578063f2fde38b14610a9257600080fd5b8063d0eb26b0146109aa578063d5abeb01146109ca578063da3ef23f146109e0578063e3e1e8ef14610a0057600080fd5b8063ba7d2c76116100dc578063ba7d2c7614610949578063c66828621461095f578063c87b56dd14610974578063cc9ff9c61461099457600080fd5b8063a22cb465146108df578063a475b5dd146108ff578063b3a196e914610914578063b88d4fde1461092957600080fd5b80637effc032116101855780638fdcf942116101545780638fdcf9421461088157806395d89b41146108a1578063a0712d68146108b6578063a18116f1146108c957600080fd5b80637effc03214610818578063831e60de1461082e57806383a076be146108435780638da5cb5b1461086357600080fd5b8063714c5398116101c1578063714c5398146107b8578063715018a6146107cd578063743c7f6b146107e25780637967a50a1461080257600080fd5b80636f8b44b0146107635780636f9fb98a1461078357806370a082311461079857600080fd5b80631a026c96116102cc57806342842e0e1161026a57806355f804b31161023957806355f804b3146106e95780635c975abb146107095780636352211e14610723578063669736c01461074357600080fd5b806342842e0e1461066a57806342f0ca0d1461068a57806344a0d68a146106aa57806351830227146106ca57600080fd5b80632d7eae66116102a65780632d7eae66146105ff5780632e09282e1461061f5780633c918bae146106355780633ccfd60b1461065557600080fd5b80631a026c96146105a9578063239c70ae146105c957806323b872dd146105df57600080fd5b80630a403f041161034457806313faede61161031357806313faede61461052d57806318160ddd1461055157806318cae269146105665780631985cc651461059357600080fd5b80630a403f04146104ad5780630a50716b146104cd5780630b8d0a28146104ed5780630e54a8831461050d57600080fd5b8063081812fc11610380578063081812fc14610420578063081c8c4414610458578063088a4ed01461046d578063095ea7b31461048d57600080fd5b806301ffc9a7146103a757806302329a29146103dc57806306fdde03146103fe575b600080fd5b3480156103b357600080fd5b506103c76103c2366004612a04565b610ab2565b60405190151581526020015b60405180910390f35b3480156103e857600080fd5b506103fc6103f73660046129d2565b610b04565b005b34801561040a57600080fd5b50610413610b4a565b6040516103d39190612c49565b34801561042c57600080fd5b5061044061043b3660046129ec565b610bdc565b6040516001600160a01b0390911681526020016103d3565b34801561046457600080fd5b50610413610c71565b34801561047957600080fd5b506103fc6104883660046129ec565b610cff565b34801561049957600080fd5b506103fc6104a83660046129a9565b610d2e565b3480156104b957600080fd5b506103fc6104c83660046129ec565b610e44565b3480156104d957600080fd5b506103fc6104e83660046129ec565b610e73565b3480156104f957600080fd5b50601b54610440906001600160a01b031681565b34801561051957600080fd5b506103fc6105283660046129ec565b610ea2565b34801561053957600080fd5b50610543600d5481565b6040519081526020016103d3565b34801561055d57600080fd5b50610543610ed1565b34801561057257600080fd5b50610543610581366004612880565b60196020526000908152604090205481565b34801561059f57600080fd5b5061054360145481565b3480156105b557600080fd5b50601a54610440906001600160a01b031681565b3480156105d557600080fd5b5061054360115481565b3480156105eb57600080fd5b506103fc6105fa3660046128cc565b610ee1565b34801561060b57600080fd5b506103fc61061a3660046129ec565b610f12565b34801561062b57600080fd5b5061054360125481565b34801561064157600080fd5b50601c54610440906001600160a01b031681565b34801561066157600080fd5b506103fc610f41565b34801561067657600080fd5b506103fc6106853660046128cc565b6110f1565b34801561069657600080fd5b506103fc6106a53660046129ec565b61110c565b3480156106b657600080fd5b506103fc6106c53660046129ec565b61113b565b3480156106d657600080fd5b506017546103c790610100900460ff1681565b3480156106f557600080fd5b506103fc610704366004612a3c565b61116a565b34801561071557600080fd5b506017546103c79060ff1681565b34801561072f57600080fd5b5061044061073e3660046129ec565b6111ab565b34801561074f57600080fd5b506103fc61075e3660046129ec565b611222565b34801561076f57600080fd5b506103fc61077e3660046129ec565b611251565b34801561078f57600080fd5b50610543611280565b3480156107a457600080fd5b506105436107b3366004612880565b6112b2565b3480156107c457600080fd5b50610413611339565b3480156107d957600080fd5b506103fc611373565b3480156107ee57600080fd5b506103fc6107fd3660046129ec565b6113a9565b34801561080e57600080fd5b5061054360155481565b34801561082457600080fd5b5061054360105481565b34801561083a57600080fd5b506105436113d8565b34801561084f57600080fd5b506103fc61085e366004612a82565b6113f2565b34801561086f57600080fd5b506006546001600160a01b0316610440565b34801561088d57600080fd5b506103fc61089c3660046129ec565b611509565b3480156108ad57600080fd5b50610413611538565b6103fc6108c43660046129ec565b611547565b3480156108d557600080fd5b50610543600f5481565b3480156108eb57600080fd5b506103fc6108fa366004612980565b6117a6565b34801561090b57600080fd5b506103fc61186b565b34801561092057600080fd5b50600854610543565b34801561093557600080fd5b506103fc610944366004612907565b6118a6565b34801561095557600080fd5b5061054360135481565b34801561096b57600080fd5b506104136118d8565b34801561098057600080fd5b5061041361098f3660046129ec565b6118e5565b3480156109a057600080fd5b50610543600c5481565b3480156109b657600080fd5b506103fc6109c53660046129ec565b611a69565b3480156109d657600080fd5b50610543600e5481565b3480156109ec57600080fd5b506103fc6109fb366004612a3c565b611a98565b6103fc610a0e366004612aa4565b611ad5565b348015610a1f57600080fd5b506103c7610a2e36600461289a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a6857600080fd5b5061054360165481565b348015610a7e57600080fd5b506103fc610a8d366004612a3c565b611e66565b348015610a9e57600080fd5b506103fc610aad366004612880565b611ea3565b60006001600160e01b031982166380ac58cd60e01b1480610ae357506001600160e01b03198216635b5e139f60e01b145b80610afe57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b03163314610b375760405162461bcd60e51b8152600401610b2e90612cf6565b60405180910390fd5b6017805460ff1916911515919091179055565b606060008054610b5990612e41565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8590612e41565b8015610bd25780601f10610ba757610100808354040283529160200191610bd2565b820191906000526020600020905b815481529060010190602001808311610bb557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c555760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b2e565b506000908152600460205260409020546001600160a01b031690565b600b8054610c7e90612e41565b80601f0160208091040260200160405190810160405280929190818152602001828054610caa90612e41565b8015610cf75780601f10610ccc57610100808354040283529160200191610cf7565b820191906000526020600020905b815481529060010190602001808311610cda57829003601f168201915b505050505081565b6006546001600160a01b03163314610d295760405162461bcd60e51b8152600401610b2e90612cf6565b601155565b6000610d39826111ab565b9050806001600160a01b0316836001600160a01b03161415610da75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b2e565b336001600160a01b0382161480610dc35750610dc38133610a2e565b610e355760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b2e565b610e3f8383611f3e565b505050565b6006546001600160a01b03163314610e6e5760405162461bcd60e51b8152600401610b2e90612cf6565b600f55565b6006546001600160a01b03163314610e9d5760405162461bcd60e51b8152600401610b2e90612cf6565b601255565b6006546001600160a01b03163314610ecc5760405162461bcd60e51b8152600401610b2e90612cf6565b601655565b6000610edc60075490565b905090565b610eeb3382611fac565b610f075760405162461bcd60e51b8152600401610b2e90612d2b565b610e3f8383836120a3565b6006546001600160a01b03163314610f3c5760405162461bcd60e51b8152600401610b2e90612cf6565b601855565b6006546001600160a01b03163314610f6b5760405162461bcd60e51b8152600401610b2e90612cf6565b476000670de0b6b3a7640000610f89836702c68af0bb140000612ddf565b610f939190612dcb565b90506000670de0b6b3a7640000610fb18466b1a2bc2ec50000612ddf565b610fbb9190612dcb565b90506000670de0b6b3a7640000610fda856703782dace9d90000612ddf565b610fe49190612dcb565b905060008183610ff48688612dfe565b610ffe9190612dfe565b6110089190612dfe565b604051909150339082156108fc029083906000818181858888f19350505050158015611038573d6000803e3d6000fd5b50601a546040516001600160a01b039091169085156108fc029086906000818181858888f19350505050158015611073573d6000803e3d6000fd5b50601b546040516001600160a01b039091169084156108fc029085906000818181858888f193505050501580156110ae573d6000803e3d6000fd5b50601c546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156110e9573d6000803e3d6000fd5b505050505050565b610e3f838383604051806020016040528060008152506118a6565b6006546001600160a01b031633146111365760405162461bcd60e51b8152600401610b2e90612cf6565b601555565b6006546001600160a01b031633146111655760405162461bcd60e51b8152600401610b2e90612cf6565b600d55565b6006546001600160a01b031633146111945760405162461bcd60e51b8152600401610b2e90612cf6565b80516111a790600990602084019061274a565b5050565b6000818152600260205260408120546001600160a01b031680610afe5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b2e565b6006546001600160a01b0316331461124c5760405162461bcd60e51b8152600401610b2e90612cf6565b601055565b6006546001600160a01b0316331461127b5760405162461bcd60e51b8152600401610b2e90612cf6565b600e55565b6006546000906001600160a01b031633146112ad5760405162461bcd60e51b8152600401610b2e90612cf6565b504790565b60006001600160a01b03821661131d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b2e565b506001600160a01b031660009081526003602052604090205490565b6006546060906001600160a01b031633146113665760405162461bcd60e51b8152600401610b2e90612cf6565b60098054610b5990612e41565b6006546001600160a01b0316331461139d5760405162461bcd60e51b8152600401610b2e90612cf6565b6113a76000612243565b565b6006546001600160a01b031633146113d35760405162461bcd60e51b8152600401610b2e90612cf6565b601455565b60006015544210156113eb5750600c5490565b50600d5490565b6006546001600160a01b0316331461141c5760405162461bcd60e51b8152600401610b2e90612cf6565b6000821161143c5760405162461bcd60e51b8152600401610b2e90612d7c565b6000611446610ed1565b600e549091506114568483612db3565b111561149d5760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b6044820152606401610b2e565b60015b838111611503576001600160a01b03831660009081526019602052604081208054916114cb83612e7c565b91905055506114de600780546001019055565b6114f1836114ec8385612db3565b612295565b806114fb81612e7c565b9150506114a0565b50505050565b6006546001600160a01b031633146115335760405162461bcd60e51b8152600401610b2e90612cf6565b600c55565b606060018054610b5990612e41565b60175460ff16156115935760405162461bcd60e51b81526020600482015260166024820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610b2e565b6016544210156115e55760405162461bcd60e51b815260206004820152601860248201527f73616c6520686173206e6f7420737461727465642079657400000000000000006044820152606401610b2e565b80600081116116065760405162461bcd60e51b8152600401610b2e90612d7c565b6000611610610ed1565b33600090815260196020526040902054601354919250906116318583612db3565b111561167f5760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610b2e565b83600d5461168d9190612ddf565b3410156116d15760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610b2e565b6011548411156116f35760405162461bcd60e51b8152600401610b2e90612cae565b600e546117008584612db3565b11156117475760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b6044820152606401610b2e565b60015b84811161179f5733600090815260196020526040812080549161176c83612e7c565b919050555061177f600780546001019055565b61178d336114ec8386612db3565b8061179781612e7c565b91505061174a565b5050505050565b6001600160a01b0382163314156117ff5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b2e565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b031633146118955760405162461bcd60e51b8152600401610b2e90612cf6565b6017805461ff001916610100179055565b6118b03383611fac565b6118cc5760405162461bcd60e51b8152600401610b2e90612d2b565b611503848484846122af565b600a8054610c7e90612e41565b6000818152600260205260409020546060906001600160a01b03166119645760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b2e565b601754610100900460ff16611a0557600b805461198090612e41565b80601f01602080910402602001604051908101604052809291908181526020018280546119ac90612e41565b80156119f95780601f106119ce576101008083540402835291602001916119f9565b820191906000526020600020905b8154815290600101906020018083116119dc57829003601f168201915b50505050509050919050565b6000611a0f6122e2565b90506000815111611a2f5760405180602001604052806000815250611a5d565b80611a39846122f1565b600a604051602001611a4d93929190612b4a565b6040516020818303038152906040525b9392505050565b919050565b6006546001600160a01b03163314611a935760405162461bcd60e51b8152600401610b2e90612cf6565b601355565b6006546001600160a01b03163314611ac25760405162461bcd60e51b8152600401610b2e90612cf6565b80516111a790600a90602084019061274a565b60175460ff1615611b215760405162461bcd60e51b81526020600482015260166024820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610b2e565b601454421015611b735760405162461bcd60e51b815260206004820152601b60248201527f70726573616c6520686173206e6f7420737461727465642079657400000000006044820152606401610b2e565b8260008111611b945760405162461bcd60e51b8152600401610b2e90612d7c565b6000611b9e610ed1565b3360009081526019602052604090205460155491925090421115611bfa5760405162461bcd60e51b81526020600482015260136024820152721c1c995cd85b19481a5cc8199a5b9a5cda1959606a1b6044820152606401610b2e565b601254611c078783612db3565b1115611c665760405162461bcd60e51b815260206004820152602860248201527f6d6178204e465420706572206164647265737320657863656564656420666f726044820152672070726573616c6560c01b6064820152608401610b2e565b85600c54611c749190612ddf565b341015611cb85760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610b2e565b601054861115611cda5760405162461bcd60e51b8152600401610b2e90612cae565b600f5486600854611ceb9190612db3565b1115611d395760405162461bcd60e51b815260206004820152601e60248201527f6d6178204e46542070726573616c65206c696d697420657863656564656400006044820152606401610b2e565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611db386868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601854915084905061240b565b611def5760405162461bcd60e51b815260206004820152600d60248201526c34b73b30b634b210383937b7b360991b6044820152606401610b2e565b60015b878111611e5c57336000908152601960205260408120805491611e1483612e7c565b909155505060088054906000611e2983612e7c565b9190505550611e3c600780546001019055565b611e4a336114ec8387612db3565b80611e5481612e7c565b915050611df2565b5050505050505050565b6006546001600160a01b03163314611e905760405162461bcd60e51b8152600401610b2e90612cf6565b80516111a790600b90602084019061274a565b6006546001600160a01b03163314611ecd5760405162461bcd60e51b8152600401610b2e90612cf6565b6001600160a01b038116611f325760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b2e565b611f3b81612243565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611f73826111ab565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166120255760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b2e565b6000612030836111ab565b9050806001600160a01b0316846001600160a01b0316148061206b5750836001600160a01b031661206084610bdc565b6001600160a01b0316145b8061209b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166120b6826111ab565b6001600160a01b03161461211e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b2e565b6001600160a01b0382166121805760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b2e565b61218b600082611f3e565b6001600160a01b03831660009081526003602052604081208054600192906121b4908490612dfe565b90915550506001600160a01b03821660009081526003602052604081208054600192906121e2908490612db3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111a78282604051806020016040528060008152506124c8565b6122ba8484846120a3565b6122c6848484846124fb565b6115035760405162461bcd60e51b8152600401610b2e90612c5c565b606060098054610b5990612e41565b6060816123155750506040805180820190915260018152600360fc1b602082015290565b8160005b811561233f578061232981612e7c565b91506123389050600a83612dcb565b9150612319565b60008167ffffffffffffffff81111561236857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612392576020820181803683370190505b5090505b841561209b576123a7600183612dfe565b91506123b4600a86612e97565b6123bf906030612db3565b60f81b8183815181106123e257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612404600a86612dcb565b9450612396565b600081815b85518110156124bd57600086828151811061243b57634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161247d5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506124aa565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806124b581612e7c565b915050612410565b509092149392505050565b6124d28383612608565b6124df60008484846124fb565b610e3f5760405162461bcd60e51b8152600401610b2e90612c5c565b60006001600160a01b0384163b156125fd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061253f903390899088908890600401612c0c565b602060405180830381600087803b15801561255957600080fd5b505af1925050508015612589575060408051601f3d908101601f1916820190925261258691810190612a20565b60015b6125e3573d8080156125b7576040519150601f19603f3d011682016040523d82523d6000602084013e6125bc565b606091505b5080516125db5760405162461bcd60e51b8152600401610b2e90612c5c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061209b565b506001949350505050565b6001600160a01b03821661265e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b2e565b6000818152600260205260409020546001600160a01b0316156126c35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b2e565b6001600160a01b03821660009081526003602052604081208054600192906126ec908490612db3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461275690612e41565b90600052602060002090601f01602090048101928261277857600085556127be565b82601f1061279157805160ff19168380011785556127be565b828001600101855582156127be579182015b828111156127be5782518255916020019190600101906127a3565b506127ca9291506127ce565b5090565b5b808211156127ca57600081556001016127cf565b600067ffffffffffffffff808411156127fe576127fe612ed7565b604051601f8501601f19908116603f0116810190828211818310171561282657612826612ed7565b8160405280935085815286868601111561283f57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611a6457600080fd5b80358015158114611a6457600080fd5b600060208284031215612891578081fd5b611a5d82612859565b600080604083850312156128ac578081fd5b6128b583612859565b91506128c360208401612859565b90509250929050565b6000806000606084860312156128e0578081fd5b6128e984612859565b92506128f760208501612859565b9150604084013590509250925092565b6000806000806080858703121561291c578081fd5b61292585612859565b935061293360208601612859565b925060408501359150606085013567ffffffffffffffff811115612955578182fd5b8501601f81018713612965578182fd5b612974878235602084016127e3565b91505092959194509250565b60008060408385031215612992578182fd5b61299b83612859565b91506128c360208401612870565b600080604083850312156129bb578182fd5b6129c483612859565b946020939093013593505050565b6000602082840312156129e3578081fd5b611a5d82612870565b6000602082840312156129fd578081fd5b5035919050565b600060208284031215612a15578081fd5b8135611a5d81612eed565b600060208284031215612a31578081fd5b8151611a5d81612eed565b600060208284031215612a4d578081fd5b813567ffffffffffffffff811115612a63578182fd5b8201601f81018413612a73578182fd5b61209b848235602084016127e3565b60008060408385031215612a94578182fd5b823591506128c360208401612859565b600080600060408486031215612ab8578081fd5b83359250602084013567ffffffffffffffff80821115612ad6578283fd5b818601915086601f830112612ae9578283fd5b813581811115612af7578384fd5b8760208260051b8501011115612b0b578384fd5b6020830194508093505050509250925092565b60008151808452612b36816020860160208601612e15565b601f01601f19169290920160200192915050565b600084516020612b5d8285838a01612e15565b855191840191612b708184848a01612e15565b85549201918390600181811c9080831680612b8c57607f831692505b858310811415612baa57634e487b7160e01b88526022600452602488fd5b808015612bbe5760018114612bcf57612bfb565b60ff19851688528388019550612bfb565b60008b815260209020895b85811015612bf35781548a820152908401908801612bda565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c3f90830184612b1e565b9695505050505050565b602081526000611a5d6020830184612b1e565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526028908201527f6d6178206d696e7420616d6f756e7420706572207472616e73616374696f6e20604082015267195e18d95959195960c21b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601b908201527f6e65656420746f206d696e74206174206c656173742031204e46540000000000604082015260600190565b60008219821115612dc657612dc6612eab565b500190565b600082612dda57612dda612ec1565b500490565b6000816000190483118215151615612df957612df9612eab565b500290565b600082821015612e1057612e10612eab565b500390565b60005b83811015612e30578181015183820152602001612e18565b838111156115035750506000910152565b600181811c90821680612e5557607f821691505b60208210811415612e7657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612e9057612e90612eab565b5060010190565b600082612ea657612ea6612ec1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611f3b57600080fdfea264697066735822122046188c0216e7e8407b95d7305b56035fdc4d8668f336a5b745751562ebdf086564736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d643465796335636775454e4d6d68666261563370434c73475873463145327832654e635747707144573875390000000000000000000000
Deployed Bytecode
0x6080604052600436106103a25760003560e01c80636f8b44b0116101e7578063a22cb4651161010d578063d0eb26b0116100a0578063e985e9c51161006f578063e985e9c514610a13578063eced387314610a5c578063f2c4ce1e14610a72578063f2fde38b14610a9257600080fd5b8063d0eb26b0146109aa578063d5abeb01146109ca578063da3ef23f146109e0578063e3e1e8ef14610a0057600080fd5b8063ba7d2c76116100dc578063ba7d2c7614610949578063c66828621461095f578063c87b56dd14610974578063cc9ff9c61461099457600080fd5b8063a22cb465146108df578063a475b5dd146108ff578063b3a196e914610914578063b88d4fde1461092957600080fd5b80637effc032116101855780638fdcf942116101545780638fdcf9421461088157806395d89b41146108a1578063a0712d68146108b6578063a18116f1146108c957600080fd5b80637effc03214610818578063831e60de1461082e57806383a076be146108435780638da5cb5b1461086357600080fd5b8063714c5398116101c1578063714c5398146107b8578063715018a6146107cd578063743c7f6b146107e25780637967a50a1461080257600080fd5b80636f8b44b0146107635780636f9fb98a1461078357806370a082311461079857600080fd5b80631a026c96116102cc57806342842e0e1161026a57806355f804b31161023957806355f804b3146106e95780635c975abb146107095780636352211e14610723578063669736c01461074357600080fd5b806342842e0e1461066a57806342f0ca0d1461068a57806344a0d68a146106aa57806351830227146106ca57600080fd5b80632d7eae66116102a65780632d7eae66146105ff5780632e09282e1461061f5780633c918bae146106355780633ccfd60b1461065557600080fd5b80631a026c96146105a9578063239c70ae146105c957806323b872dd146105df57600080fd5b80630a403f041161034457806313faede61161031357806313faede61461052d57806318160ddd1461055157806318cae269146105665780631985cc651461059357600080fd5b80630a403f04146104ad5780630a50716b146104cd5780630b8d0a28146104ed5780630e54a8831461050d57600080fd5b8063081812fc11610380578063081812fc14610420578063081c8c4414610458578063088a4ed01461046d578063095ea7b31461048d57600080fd5b806301ffc9a7146103a757806302329a29146103dc57806306fdde03146103fe575b600080fd5b3480156103b357600080fd5b506103c76103c2366004612a04565b610ab2565b60405190151581526020015b60405180910390f35b3480156103e857600080fd5b506103fc6103f73660046129d2565b610b04565b005b34801561040a57600080fd5b50610413610b4a565b6040516103d39190612c49565b34801561042c57600080fd5b5061044061043b3660046129ec565b610bdc565b6040516001600160a01b0390911681526020016103d3565b34801561046457600080fd5b50610413610c71565b34801561047957600080fd5b506103fc6104883660046129ec565b610cff565b34801561049957600080fd5b506103fc6104a83660046129a9565b610d2e565b3480156104b957600080fd5b506103fc6104c83660046129ec565b610e44565b3480156104d957600080fd5b506103fc6104e83660046129ec565b610e73565b3480156104f957600080fd5b50601b54610440906001600160a01b031681565b34801561051957600080fd5b506103fc6105283660046129ec565b610ea2565b34801561053957600080fd5b50610543600d5481565b6040519081526020016103d3565b34801561055d57600080fd5b50610543610ed1565b34801561057257600080fd5b50610543610581366004612880565b60196020526000908152604090205481565b34801561059f57600080fd5b5061054360145481565b3480156105b557600080fd5b50601a54610440906001600160a01b031681565b3480156105d557600080fd5b5061054360115481565b3480156105eb57600080fd5b506103fc6105fa3660046128cc565b610ee1565b34801561060b57600080fd5b506103fc61061a3660046129ec565b610f12565b34801561062b57600080fd5b5061054360125481565b34801561064157600080fd5b50601c54610440906001600160a01b031681565b34801561066157600080fd5b506103fc610f41565b34801561067657600080fd5b506103fc6106853660046128cc565b6110f1565b34801561069657600080fd5b506103fc6106a53660046129ec565b61110c565b3480156106b657600080fd5b506103fc6106c53660046129ec565b61113b565b3480156106d657600080fd5b506017546103c790610100900460ff1681565b3480156106f557600080fd5b506103fc610704366004612a3c565b61116a565b34801561071557600080fd5b506017546103c79060ff1681565b34801561072f57600080fd5b5061044061073e3660046129ec565b6111ab565b34801561074f57600080fd5b506103fc61075e3660046129ec565b611222565b34801561076f57600080fd5b506103fc61077e3660046129ec565b611251565b34801561078f57600080fd5b50610543611280565b3480156107a457600080fd5b506105436107b3366004612880565b6112b2565b3480156107c457600080fd5b50610413611339565b3480156107d957600080fd5b506103fc611373565b3480156107ee57600080fd5b506103fc6107fd3660046129ec565b6113a9565b34801561080e57600080fd5b5061054360155481565b34801561082457600080fd5b5061054360105481565b34801561083a57600080fd5b506105436113d8565b34801561084f57600080fd5b506103fc61085e366004612a82565b6113f2565b34801561086f57600080fd5b506006546001600160a01b0316610440565b34801561088d57600080fd5b506103fc61089c3660046129ec565b611509565b3480156108ad57600080fd5b50610413611538565b6103fc6108c43660046129ec565b611547565b3480156108d557600080fd5b50610543600f5481565b3480156108eb57600080fd5b506103fc6108fa366004612980565b6117a6565b34801561090b57600080fd5b506103fc61186b565b34801561092057600080fd5b50600854610543565b34801561093557600080fd5b506103fc610944366004612907565b6118a6565b34801561095557600080fd5b5061054360135481565b34801561096b57600080fd5b506104136118d8565b34801561098057600080fd5b5061041361098f3660046129ec565b6118e5565b3480156109a057600080fd5b50610543600c5481565b3480156109b657600080fd5b506103fc6109c53660046129ec565b611a69565b3480156109d657600080fd5b50610543600e5481565b3480156109ec57600080fd5b506103fc6109fb366004612a3c565b611a98565b6103fc610a0e366004612aa4565b611ad5565b348015610a1f57600080fd5b506103c7610a2e36600461289a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a6857600080fd5b5061054360165481565b348015610a7e57600080fd5b506103fc610a8d366004612a3c565b611e66565b348015610a9e57600080fd5b506103fc610aad366004612880565b611ea3565b60006001600160e01b031982166380ac58cd60e01b1480610ae357506001600160e01b03198216635b5e139f60e01b145b80610afe57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b03163314610b375760405162461bcd60e51b8152600401610b2e90612cf6565b60405180910390fd5b6017805460ff1916911515919091179055565b606060008054610b5990612e41565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8590612e41565b8015610bd25780601f10610ba757610100808354040283529160200191610bd2565b820191906000526020600020905b815481529060010190602001808311610bb557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c555760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b2e565b506000908152600460205260409020546001600160a01b031690565b600b8054610c7e90612e41565b80601f0160208091040260200160405190810160405280929190818152602001828054610caa90612e41565b8015610cf75780601f10610ccc57610100808354040283529160200191610cf7565b820191906000526020600020905b815481529060010190602001808311610cda57829003601f168201915b505050505081565b6006546001600160a01b03163314610d295760405162461bcd60e51b8152600401610b2e90612cf6565b601155565b6000610d39826111ab565b9050806001600160a01b0316836001600160a01b03161415610da75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b2e565b336001600160a01b0382161480610dc35750610dc38133610a2e565b610e355760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b2e565b610e3f8383611f3e565b505050565b6006546001600160a01b03163314610e6e5760405162461bcd60e51b8152600401610b2e90612cf6565b600f55565b6006546001600160a01b03163314610e9d5760405162461bcd60e51b8152600401610b2e90612cf6565b601255565b6006546001600160a01b03163314610ecc5760405162461bcd60e51b8152600401610b2e90612cf6565b601655565b6000610edc60075490565b905090565b610eeb3382611fac565b610f075760405162461bcd60e51b8152600401610b2e90612d2b565b610e3f8383836120a3565b6006546001600160a01b03163314610f3c5760405162461bcd60e51b8152600401610b2e90612cf6565b601855565b6006546001600160a01b03163314610f6b5760405162461bcd60e51b8152600401610b2e90612cf6565b476000670de0b6b3a7640000610f89836702c68af0bb140000612ddf565b610f939190612dcb565b90506000670de0b6b3a7640000610fb18466b1a2bc2ec50000612ddf565b610fbb9190612dcb565b90506000670de0b6b3a7640000610fda856703782dace9d90000612ddf565b610fe49190612dcb565b905060008183610ff48688612dfe565b610ffe9190612dfe565b6110089190612dfe565b604051909150339082156108fc029083906000818181858888f19350505050158015611038573d6000803e3d6000fd5b50601a546040516001600160a01b039091169085156108fc029086906000818181858888f19350505050158015611073573d6000803e3d6000fd5b50601b546040516001600160a01b039091169084156108fc029085906000818181858888f193505050501580156110ae573d6000803e3d6000fd5b50601c546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156110e9573d6000803e3d6000fd5b505050505050565b610e3f838383604051806020016040528060008152506118a6565b6006546001600160a01b031633146111365760405162461bcd60e51b8152600401610b2e90612cf6565b601555565b6006546001600160a01b031633146111655760405162461bcd60e51b8152600401610b2e90612cf6565b600d55565b6006546001600160a01b031633146111945760405162461bcd60e51b8152600401610b2e90612cf6565b80516111a790600990602084019061274a565b5050565b6000818152600260205260408120546001600160a01b031680610afe5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b2e565b6006546001600160a01b0316331461124c5760405162461bcd60e51b8152600401610b2e90612cf6565b601055565b6006546001600160a01b0316331461127b5760405162461bcd60e51b8152600401610b2e90612cf6565b600e55565b6006546000906001600160a01b031633146112ad5760405162461bcd60e51b8152600401610b2e90612cf6565b504790565b60006001600160a01b03821661131d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b2e565b506001600160a01b031660009081526003602052604090205490565b6006546060906001600160a01b031633146113665760405162461bcd60e51b8152600401610b2e90612cf6565b60098054610b5990612e41565b6006546001600160a01b0316331461139d5760405162461bcd60e51b8152600401610b2e90612cf6565b6113a76000612243565b565b6006546001600160a01b031633146113d35760405162461bcd60e51b8152600401610b2e90612cf6565b601455565b60006015544210156113eb5750600c5490565b50600d5490565b6006546001600160a01b0316331461141c5760405162461bcd60e51b8152600401610b2e90612cf6565b6000821161143c5760405162461bcd60e51b8152600401610b2e90612d7c565b6000611446610ed1565b600e549091506114568483612db3565b111561149d5760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b6044820152606401610b2e565b60015b838111611503576001600160a01b03831660009081526019602052604081208054916114cb83612e7c565b91905055506114de600780546001019055565b6114f1836114ec8385612db3565b612295565b806114fb81612e7c565b9150506114a0565b50505050565b6006546001600160a01b031633146115335760405162461bcd60e51b8152600401610b2e90612cf6565b600c55565b606060018054610b5990612e41565b60175460ff16156115935760405162461bcd60e51b81526020600482015260166024820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610b2e565b6016544210156115e55760405162461bcd60e51b815260206004820152601860248201527f73616c6520686173206e6f7420737461727465642079657400000000000000006044820152606401610b2e565b80600081116116065760405162461bcd60e51b8152600401610b2e90612d7c565b6000611610610ed1565b33600090815260196020526040902054601354919250906116318583612db3565b111561167f5760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610b2e565b83600d5461168d9190612ddf565b3410156116d15760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610b2e565b6011548411156116f35760405162461bcd60e51b8152600401610b2e90612cae565b600e546117008584612db3565b11156117475760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b6044820152606401610b2e565b60015b84811161179f5733600090815260196020526040812080549161176c83612e7c565b919050555061177f600780546001019055565b61178d336114ec8386612db3565b8061179781612e7c565b91505061174a565b5050505050565b6001600160a01b0382163314156117ff5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b2e565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b031633146118955760405162461bcd60e51b8152600401610b2e90612cf6565b6017805461ff001916610100179055565b6118b03383611fac565b6118cc5760405162461bcd60e51b8152600401610b2e90612d2b565b611503848484846122af565b600a8054610c7e90612e41565b6000818152600260205260409020546060906001600160a01b03166119645760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b2e565b601754610100900460ff16611a0557600b805461198090612e41565b80601f01602080910402602001604051908101604052809291908181526020018280546119ac90612e41565b80156119f95780601f106119ce576101008083540402835291602001916119f9565b820191906000526020600020905b8154815290600101906020018083116119dc57829003601f168201915b50505050509050919050565b6000611a0f6122e2565b90506000815111611a2f5760405180602001604052806000815250611a5d565b80611a39846122f1565b600a604051602001611a4d93929190612b4a565b6040516020818303038152906040525b9392505050565b919050565b6006546001600160a01b03163314611a935760405162461bcd60e51b8152600401610b2e90612cf6565b601355565b6006546001600160a01b03163314611ac25760405162461bcd60e51b8152600401610b2e90612cf6565b80516111a790600a90602084019061274a565b60175460ff1615611b215760405162461bcd60e51b81526020600482015260166024820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610b2e565b601454421015611b735760405162461bcd60e51b815260206004820152601b60248201527f70726573616c6520686173206e6f7420737461727465642079657400000000006044820152606401610b2e565b8260008111611b945760405162461bcd60e51b8152600401610b2e90612d7c565b6000611b9e610ed1565b3360009081526019602052604090205460155491925090421115611bfa5760405162461bcd60e51b81526020600482015260136024820152721c1c995cd85b19481a5cc8199a5b9a5cda1959606a1b6044820152606401610b2e565b601254611c078783612db3565b1115611c665760405162461bcd60e51b815260206004820152602860248201527f6d6178204e465420706572206164647265737320657863656564656420666f726044820152672070726573616c6560c01b6064820152608401610b2e565b85600c54611c749190612ddf565b341015611cb85760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610b2e565b601054861115611cda5760405162461bcd60e51b8152600401610b2e90612cae565b600f5486600854611ceb9190612db3565b1115611d395760405162461bcd60e51b815260206004820152601e60248201527f6d6178204e46542070726573616c65206c696d697420657863656564656400006044820152606401610b2e565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611db386868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601854915084905061240b565b611def5760405162461bcd60e51b815260206004820152600d60248201526c34b73b30b634b210383937b7b360991b6044820152606401610b2e565b60015b878111611e5c57336000908152601960205260408120805491611e1483612e7c565b909155505060088054906000611e2983612e7c565b9190505550611e3c600780546001019055565b611e4a336114ec8387612db3565b80611e5481612e7c565b915050611df2565b5050505050505050565b6006546001600160a01b03163314611e905760405162461bcd60e51b8152600401610b2e90612cf6565b80516111a790600b90602084019061274a565b6006546001600160a01b03163314611ecd5760405162461bcd60e51b8152600401610b2e90612cf6565b6001600160a01b038116611f325760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b2e565b611f3b81612243565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611f73826111ab565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166120255760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b2e565b6000612030836111ab565b9050806001600160a01b0316846001600160a01b0316148061206b5750836001600160a01b031661206084610bdc565b6001600160a01b0316145b8061209b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166120b6826111ab565b6001600160a01b03161461211e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b2e565b6001600160a01b0382166121805760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b2e565b61218b600082611f3e565b6001600160a01b03831660009081526003602052604081208054600192906121b4908490612dfe565b90915550506001600160a01b03821660009081526003602052604081208054600192906121e2908490612db3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111a78282604051806020016040528060008152506124c8565b6122ba8484846120a3565b6122c6848484846124fb565b6115035760405162461bcd60e51b8152600401610b2e90612c5c565b606060098054610b5990612e41565b6060816123155750506040805180820190915260018152600360fc1b602082015290565b8160005b811561233f578061232981612e7c565b91506123389050600a83612dcb565b9150612319565b60008167ffffffffffffffff81111561236857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612392576020820181803683370190505b5090505b841561209b576123a7600183612dfe565b91506123b4600a86612e97565b6123bf906030612db3565b60f81b8183815181106123e257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612404600a86612dcb565b9450612396565b600081815b85518110156124bd57600086828151811061243b57634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161247d5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506124aa565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806124b581612e7c565b915050612410565b509092149392505050565b6124d28383612608565b6124df60008484846124fb565b610e3f5760405162461bcd60e51b8152600401610b2e90612c5c565b60006001600160a01b0384163b156125fd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061253f903390899088908890600401612c0c565b602060405180830381600087803b15801561255957600080fd5b505af1925050508015612589575060408051601f3d908101601f1916820190925261258691810190612a20565b60015b6125e3573d8080156125b7576040519150601f19603f3d011682016040523d82523d6000602084013e6125bc565b606091505b5080516125db5760405162461bcd60e51b8152600401610b2e90612c5c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061209b565b506001949350505050565b6001600160a01b03821661265e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b2e565b6000818152600260205260409020546001600160a01b0316156126c35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b2e565b6001600160a01b03821660009081526003602052604081208054600192906126ec908490612db3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461275690612e41565b90600052602060002090601f01602090048101928261277857600085556127be565b82601f1061279157805160ff19168380011785556127be565b828001600101855582156127be579182015b828111156127be5782518255916020019190600101906127a3565b506127ca9291506127ce565b5090565b5b808211156127ca57600081556001016127cf565b600067ffffffffffffffff808411156127fe576127fe612ed7565b604051601f8501601f19908116603f0116810190828211818310171561282657612826612ed7565b8160405280935085815286868601111561283f57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611a6457600080fd5b80358015158114611a6457600080fd5b600060208284031215612891578081fd5b611a5d82612859565b600080604083850312156128ac578081fd5b6128b583612859565b91506128c360208401612859565b90509250929050565b6000806000606084860312156128e0578081fd5b6128e984612859565b92506128f760208501612859565b9150604084013590509250925092565b6000806000806080858703121561291c578081fd5b61292585612859565b935061293360208601612859565b925060408501359150606085013567ffffffffffffffff811115612955578182fd5b8501601f81018713612965578182fd5b612974878235602084016127e3565b91505092959194509250565b60008060408385031215612992578182fd5b61299b83612859565b91506128c360208401612870565b600080604083850312156129bb578182fd5b6129c483612859565b946020939093013593505050565b6000602082840312156129e3578081fd5b611a5d82612870565b6000602082840312156129fd578081fd5b5035919050565b600060208284031215612a15578081fd5b8135611a5d81612eed565b600060208284031215612a31578081fd5b8151611a5d81612eed565b600060208284031215612a4d578081fd5b813567ffffffffffffffff811115612a63578182fd5b8201601f81018413612a73578182fd5b61209b848235602084016127e3565b60008060408385031215612a94578182fd5b823591506128c360208401612859565b600080600060408486031215612ab8578081fd5b83359250602084013567ffffffffffffffff80821115612ad6578283fd5b818601915086601f830112612ae9578283fd5b813581811115612af7578384fd5b8760208260051b8501011115612b0b578384fd5b6020830194508093505050509250925092565b60008151808452612b36816020860160208601612e15565b601f01601f19169290920160200192915050565b600084516020612b5d8285838a01612e15565b855191840191612b708184848a01612e15565b85549201918390600181811c9080831680612b8c57607f831692505b858310811415612baa57634e487b7160e01b88526022600452602488fd5b808015612bbe5760018114612bcf57612bfb565b60ff19851688528388019550612bfb565b60008b815260209020895b85811015612bf35781548a820152908401908801612bda565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c3f90830184612b1e565b9695505050505050565b602081526000611a5d6020830184612b1e565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526028908201527f6d6178206d696e7420616d6f756e7420706572207472616e73616374696f6e20604082015267195e18d95959195960c21b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601b908201527f6e65656420746f206d696e74206174206c656173742031204e46540000000000604082015260600190565b60008219821115612dc657612dc6612eab565b500190565b600082612dda57612dda612ec1565b500490565b6000816000190483118215151615612df957612df9612eab565b500290565b600082821015612e1057612e10612eab565b500390565b60005b83811015612e30578181015183820152602001612e18565b838111156115035750506000910152565b600181811c90821680612e5557607f821691505b60208210811415612e7657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612e9057612e90612eab565b5060010190565b600082612ea657612ea6612ec1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611f3b57600080fdfea264697066735822122046188c0216e7e8407b95d7305b56035fdc4d8668f336a5b745751562ebdf086564736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d643465796335636775454e4d6d68666261563370434c73475873463145327832654e635747707144573875390000000000000000000000
-----Decoded View---------------
Arg [0] : _initNotRevealedUri (string): ipfs://Qmd4eyc5cguENMmhfbaV3pCLsGXsF1E2x2eNcWGpqDW8u9
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [2] : 697066733a2f2f516d643465796335636775454e4d6d68666261563370434c73
Arg [3] : 475873463145327832654e635747707144573875390000000000000000000000
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.