ERC-721
Overview
Max Total Supply
1,658 BAVS
Holders
825
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 BAVSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Blootavatars
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } /** * @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; } /** * @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 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 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); } } /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, 'ReentrancyGuard: reentrant call'); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } /** * @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); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert('ERC721: transfer to non ERC721Receiver implementer'); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require( index < ERC721.balanceOf(owner), 'ERC721Enumerable: owner index out of bounds' ); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require( index < ERC721Enumerable.totalSupply(), 'ERC721Enumerable: global index out of bounds' ); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } contract Blootavatars is ERC721Enumerable, ReentrancyGuard, Ownable { ERC721 bloot = ERC721(0x4F8730E0b32B04beaa5757e5aea3aeF970E5B613); bool public isActive = true; function setActive(bool _isActive) public onlyOwner { isActive = _isActive; } string[] private hat = [ '', '   _|_', '   ( )', '   _-_', '   _!_', '   _?_', '   _*_', '   _^_', '   _$_', '   [ ];' ]; string[] private hatValue = [ 'None', '_|_', '( )', '_-_', '_!_', '_?_', '_*_', '_^_', '_$_', '[ ]' ]; string[] private hair = [ '', '   |||', '   ///', '   ...', '   ---', '   +++', '   ^^^', '   :::' ]; string[] private hairValue = [ 'None', '|||', '///', '...', '---', '+++', '^^^', ':::' ]; string[] private eyes = [ '', '   + +', '   . .', '   $ $', '   @ @', '   o o', '   O o', '   o O', '   o $', '   $ o', '   $ O', '   o -', '   - o', '   * *' ]; string[] private eyesValue = [ 'None', '+ +', '. .', '$ $', '@ @', 'o o', 'O o', 'o O', 'o $', '$ o', '$ O', 'o -', '- o', '* *' ]; string[] private mouth = [ '', '   (-)', '   (_)', '   {_}', '   {-}', '    -', '   (o)', '   {x}' ]; string[] private mouthValue = [ 'None', '(-)', '(_)', '{_}', '{-}', '-', '(o)', '{x}' ]; string[] private neck = [ '', '   _|_', '   _(_', '   _)_', '   _[_', '   _]_', '   _!_', '   _H_' ]; string[] private neckValue = [ 'None', '_|_', '_(_', '_)_', '_[_', '_]_', '_!_', '_H_' ]; string[] private body = [ '', '  / | |', '  / . !', '  / H |', '  / D ]', '  / B )', '  / ( [', '  / [ (', '  / - }', '  / $ {', '  / ] [', '  / ! [' ]; string[] private bodyValue = [ 'None', '/ | |', '/ . !', '/ H |', '/ D ]', '/ B )', '/ ( [', '/ [ (', '/ - }', '/ $ {', '/ O |', '/ ! |' ]; string[] private legs = [ '', '   / |', '   ] ]', '   ) )', '   ] )', '   | |', '   } }', '   ! !;' ]; string[] private legsValue = [ 'None', '/ |', '] ]', ') )', '] )', '| |', '} }', '! !;' ]; string[] feet = [ '', '   - -', '   b b', '   d d', '   ^ ^', '   d b', '   * *', '   $ $' ]; string[] feetValue = [ 'None', '- -', 'b b', 'd d', '^ ^', 'd b', '* *', '$ $' ]; // mirror a dice roll function random(string memory input) internal pure returns (uint256) { return (uint256(keccak256(abi.encodePacked(input))) % 6) + 1; } function getHat(uint256 tokenId) public view returns (string memory, string memory) { return pluck(tokenId, 'hat', hat, hatValue); } function getHair(uint256 tokenId) public view returns (string memory, string memory) { return pluck(tokenId, 'hair', hair, hairValue); } function getEyes(uint256 tokenId) public view returns (string memory, string memory) { return pluck(tokenId, 'eyes', eyes, eyesValue); } function getMouth(uint256 tokenId) public view returns (string memory, string memory) { return pluck(tokenId, 'mouth', mouth, mouthValue); } function getNeck(uint256 tokenId) public view returns (string memory, string memory) { return pluck(tokenId, 'neck', neck, neckValue); } function getBody(uint256 tokenId) public view returns (string memory, string memory) { return pluck(tokenId, 'body', body, bodyValue); } function getLegs(uint256 tokenId) public view returns (string memory, string memory) { return pluck(tokenId, 'legs', legs, legsValue); } function getFeet(uint256 tokenId) public view returns (string memory, string memory) { return pluck(tokenId, 'feet', feet, feetValue); } function pluck( uint256 tokenId, string memory keyPrefix, string[] memory sourceArray, string[] memory sourceArrayValue ) internal pure returns (string memory, string memory) { uint256 rand = random( string(abi.encodePacked(keyPrefix, toString(tokenId))) ); string memory output = sourceArray[rand % sourceArray.length]; string memory value = sourceArrayValue[rand % sourceArray.length]; return (output, value); } function tokenURI(uint256 tokenId) public view override returns (string memory) { string[17] memory parts; string[9] memory values; parts[ 0 ] = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"><style>.base { fill: black; font-family: serif; font-size: 14px; }</style><rect width="100%" height="100%" fill="#01ff01" /><text x="10" y="20" font-family="monospace">'; (parts[1], values[1]) = getHat(tokenId); parts[2] = '</text><text x="10" y="40" font-family="monospace">'; (parts[3], values[2]) = getHair(tokenId); parts[4] = '</text><text x="10" y="60" font-family="monospace">'; (parts[5], values[3]) = getEyes(tokenId); parts[6] = '</text><text x="10" y="80" font-family="monospace">'; (parts[7] , values[4]) = getMouth(tokenId); parts[8] = '</text><text x="10" y="100" font-family="monospace">'; (parts[9], values[5]) = getNeck(tokenId); parts[10] = '</text><text x="10" y="120" font-family="monospace">'; (parts[11], values[6]) = getBody(tokenId); parts[12] = '</text><text x="10" y="140" font-family="monospace">'; (parts[13], values[7]) = getLegs(tokenId); parts[14] = '</text><text x="10" y="160" font-family="monospace">'; (parts[15], values[8]) = getFeet(tokenId); parts[16] = '</text></svg>'; string memory output = string( abi.encodePacked( parts[0], parts[1], parts[2], parts[3], parts[4], parts[5], parts[6], parts[7], parts[8] ) ); output = string( abi.encodePacked(output, parts[9], parts[10], parts[11], parts[12]) ); output = string( abi.encodePacked(output, parts[13], parts[14], parts[15], parts[16]) ); string memory attributes = string(abi.encodePacked("\"attributes\": [" )); attributes = string(abi.encodePacked(attributes, "{\"trait_type\": \"Hat\", \"value\": \"", values[1], "\"}" )); attributes = string(abi.encodePacked(attributes, ",{\"trait_type\": \"Hair\", \"value\": \"", values[2], "\"}" )); attributes = string(abi.encodePacked(attributes, ",{\"trait_type\": \"Eyes\", \"value\": \"", values[3], "\"}" )); attributes = string(abi.encodePacked(attributes, ",{\"trait_type\": \"Mouth\", \"value\": \"", values[4], "\"}" )); attributes = string(abi.encodePacked(attributes, ",{\"trait_type\": \"Neck\", \"value\": \"", values[5], "\"}" )); attributes = string(abi.encodePacked(attributes, ",{\"trait_type\": \"Body\", \"value\": \"", values[6], "\"}" )); attributes = string(abi.encodePacked(attributes, ",{\"trait_type\": \"Legs\", \"value\": \"", values[7], "\"}" )); attributes = string(abi.encodePacked(attributes, ",{\"trait_type\": \"Feet\", \"value\": \"", values[8], "\"}")); attributes = string(abi.encodePacked(attributes, "]")); string memory json = Base64.encode( bytes( string( abi.encodePacked( '{"name": "Blootavatar #', toString(tokenId), '", "description": "Blootavatars are randomized Bloot avatars generated and stored on chain. Feel free to use Blootavatars in any way you want.",', attributes ,',"image": "data:image/svg+xml;base64,', Base64.encode(bytes(output)), '"}' ) ) ) ); output = string(abi.encodePacked('data:application/json;base64,', json)); return output; } function giveaway(uint tokenId, address _to) public nonReentrant onlyOwner { require(tokenId > 9575 && tokenId < 10001, 'Token ID invalid'); _safeMint(_to, tokenId); } function claim(uint256 tokenId) public nonReentrant { require(isActive, "not active"); require(tokenId > 8008 && tokenId < 9576, 'Token ID invalid'); _safeMint(_msgSender(), tokenId); } function claimForBloot(uint256 tokenId) public nonReentrant { require(isActive, "not active"); require(tokenId > 0 && tokenId < 8009, 'Token ID invalid'); require(bloot.ownerOf(tokenId) == msg.sender, 'Not Bloot owner'); _safeMint(_msgSender(), tokenId); } function ownerClaim(uint256 tokenId) public nonReentrant onlyOwner { require(tokenId > 9575 && tokenId < 10001, 'Token ID invalid'); _safeMint(owner(), tokenId); } function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT license // 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); } constructor() ERC721('Blootavatars', 'BAVS') Ownable() { // Refund for the OS issue with the previous deployment _safeMint(owner(), 8009); _safeMint(0xABE3bF5043ed0833d3da5148CD58d0F946891E61, 546); _safeMint(0x76591D601c932ff2A9A6d35B8D74d09f2E7b3593, 2550); _safeMint(0x76591D601c932ff2A9A6d35B8D74d09f2E7b3593, 6254); _safeMint(0x76591D601c932ff2A9A6d35B8D74d09f2E7b3593, 4855); _safeMint(0xb7e91d82789D72Da1C15687E5b434683aE99FfE0, 7532); _safeMint(0xaa1158b6bf42C03cA787F71A2f0CbEfBaf98Bb86, 8094); _safeMint(0x2a91315BF431D1C64bbF55959E0C8992F2CeF3F6, 8500); _safeMint(0xcB45ADCCD82d5379124702bA72904A43a5B6f584, 3724); _safeMint(0x455ac7cB8974050051144317Fa862Da3036B0412, 8050); _safeMint(0x455ac7cB8974050051144317Fa862Da3036B0412, 8011); _safeMint(0x8D20F28623D8d1bCB5cF8bD9a7DcCE13751Ce5A6, 6935); _safeMint(0x4140100f2229122245E981c3874ba29CC183c8Dc, 4696); _safeMint(0x4140100f2229122245E981c3874ba29CC183c8Dc, 4689); _safeMint(0x24810aC54b2E971298D2F639606235f80886eF40, 624); _safeMint(0x67744f4b07a3708dA6A2362739cC0872E81A6555, 4337); _safeMint(0x115f9a177bF78Bff682a95dcEa84C25fA4303143, 8010); // Financial support with a loan to deploy the smart contract for (uint i=0; i<20; i++) { uint id = 8012 +i; _safeMint(0x46b2bD5C888E6d57a839c559FD6076F2c15A8cB1, id); } } } /// [MIT License] /// @title Base64 /// @notice Provides a function for encoding some bytes in base64 /// @author Brecht Devos <[email protected]> library Base64 { bytes internal constant TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; /// @notice Encodes some bytes to the base64 representation function encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return ''; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((len + 2) / 3); // Add some extra buffer at the end bytes memory result = new bytes(encodedLen + 32); bytes memory table = TABLE; assembly { let tablePtr := add(table, 1) let resultPtr := add(result, 32) for { let i := 0 } lt(i, len) { } { i := add(i, 3) let input := and(mload(add(data, i)), 0xffffff) let out := mload(add(tablePtr, and(shr(18, input), 0x3F))) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF) ) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF) ) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)) out := shl(224, out) mstore(resultPtr, out) resultPtr := add(resultPtr, 4) } switch mod(len, 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } mstore(result, encodedLen) } return string(result); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimForBloot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getBody","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getEyes","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFeet","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getHair","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getHat","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getLegs","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getMouth","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getNeck","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"giveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600c80546001600160a81b03191674014f8730e0b32b04beaa5757e5aea3aef970e5b61317905560006101c0908152608090815260156101e08181527f26233136303b26233136303b26233136303b5f7c5f00000000000000000000006102005260a0526102208181527f26233136303b26233136303b26233136303b28202900000000000000000000006102405260c0526102608181527f26233136303b26233136303b26233136303b5f2d5f00000000000000000000006102805260e0526102a08181527f26233136303b26233136303b26233136303b5f215f00000000000000000000006102c052610100526102e08181527f26233136303b26233136303b26233136303b5f3f5f000000000000000000000061030052610120526103208181527f26233136303b26233136303b26233136303b5f2a5f000000000000000000000061034052610140526103608181527f26233136303b26233136303b26233136303b5f5e5f000000000000000000000061038052610160526103a09081527f26233136303b26233136303b26233136303b5f245f00000000000000000000006103c0526101805261042060405260166103e09081527f26233136303b26233136303b26233136303b5b205d3b00000000000000000000610400526101a052620001f190600d90600a62002265565b50604080516101808101825260046101408201908152634e6f6e6560e01b6101608301528152815180830183526003808252625f7c5f60e81b60208381019190915280840192909252835180850185528181526228202960e81b818401528385015283518085018552818152625f2d5f60e81b81840152606084015283518085018552818152625f215f60e81b81840152608084015283518085018552818152625f3f5f60e81b8184015260a084015283518085018552818152625f2a5f60e81b8184015260c084015283518085018552818152625f5e5f60e81b8184015260e084015283518085018552818152625f245f60e81b8184015261010084015283518085019094528352625b205d60e81b908301526101208101919091526200031e90600e90600a62002265565b5060408051610120810182526000610100820190815281528151808301835260158082527f26233136303b26233136303b26233136303b7c7c7c000000000000000000000060208381019190915280840192909252835180850185528181527f26233136303b26233136303b26233136303b2f2f2f00000000000000000000008184015283850152835180850185528181527f26233136303b26233136303b26233136303b2e2e2e0000000000000000000000818401526060840152835180850185528181527f26233136303b26233136303b26233136303b2d2d2d0000000000000000000000818401526080840152835180850185528181527f26233136303b26233136303b26233136303b2b2b2b00000000000000000000008184015260a0840152835180850185528181527f26233136303b26233136303b26233136303b5e5e5e00000000000000000000008184015260c0840152835180850190945283527f26233136303b26233136303b26233136303b3a3a3a00000000000000000000009083015260e0810191909152620004bd90600f906008620022c9565b50604080516101408101825260046101008201908152634e6f6e6560e01b6101208301528152815180830183526003808252621f1f1f60ea1b6020838101919091528084019290925283518085018552818152622f2f2f60e81b8184015283850152835180850185528181526217171760e91b81840152606084015283518085018552818152622d2d2d60e81b81840152608084015283518085018552818152622b2b2b60e81b8184015260a084015283518085018552818152622f2f2f60e91b8184015260c084015283518085019094528352621d1d1d60e91b9083015260e0810191909152620005b4906010906008620022c9565b50604080516101e08101825260006101c0820190815281528151808301835260158082527f26233136303b26233136303b26233136303b2b202b000000000000000000000060208381019190915280840192909252835180850185528181527f26233136303b26233136303b26233136303b2e202e00000000000000000000008184015283850152835180850185528181527f26233136303b26233136303b26233136303b24202400000000000000000000008184015260608401528351808501855281815273988cc4d8c0ec988cc4d8c0ec988cc4d8c0ed0081605e1b818401526080840152835180850185528181527f26233136303b26233136303b26233136303b6f206f00000000000000000000008184015260a0840152835180850185528181527f26233136303b26233136303b26233136303b4f206f00000000000000000000008184015260c0840152835180850185528181527f26233136303b26233136303b26233136303b6f204f00000000000000000000008184015260e0840152835180850185528181527f26233136303b26233136303b26233136303b6f2024000000000000000000000081840152610100840152835180850185528181527f26233136303b26233136303b26233136303b24206f000000000000000000000081840152610120840152835180850185528181527f26233136303b26233136303b26233136303b24204f000000000000000000000081840152610140840152835180850185528181527f26233136303b26233136303b26233136303b6f202d000000000000000000000081840152610160840152835180850185528181527f26233136303b26233136303b26233136303b2d206f000000000000000000000081840152610180840152835180850190945283527f26233136303b26233136303b26233136303b2a202a0000000000000000000000908301526101a08101919091526200088890601190600e6200231b565b50604080516102008101825260046101c08201908152634e6f6e6560e01b6101e08301528152815180830183526003808252622b202b60e81b60208381019190915280840192909252835180850185528181526217101760e91b8184015283850152835180850185528181526209080960ea1b818401526060840152835180850185528181526201008160ee1b81840152608084015283518085018552818152626f206f60e81b8184015260a084015283518085018552818152624f206f60e81b8184015260c084015283518085018552818152626f204f60e81b8184015260e084015283518085018552818152621bc80960ea1b81840152610100840152835180850185528181526224206f60e81b81840152610120840152835180850185528181526224204f60e81b8184015261014084015283518085018552818152626f202d60e81b8184015261016084015283518085018552818152622d206f60e81b81840152610180840152835180850190945283526215101560e91b908301526101a081019190915262000a2190601290600e6200231b565b5060408051610120810182526000610100820190815281528151808301835260158082527f26233136303b26233136303b26233136303b282d29000000000000000000000060208381019190915280840192909252835180850185528181527f26233136303b26233136303b26233136303b285f2900000000000000000000008184015283850152835180850185528181527f26233136303b26233136303b26233136303b7b5f7d0000000000000000000000818401526060840152835180850185528181527f26233136303b26233136303b26233136303b7b2d7d000000000000000000000081840152608084015283518085018552601981527f26233136303b26233136303b26233136303b26233136303b2d000000000000008184015260a0840152835180850185528181527f26233136303b26233136303b26233136303b286f2900000000000000000000008184015260c0840152835180850190945283527f26233136303b26233136303b26233136303b7b787d00000000000000000000009083015260e081019190915262000bc1906013906008620022c9565b50604080516101408101825260046101008201908152634e6f6e6560e01b610120830152815281518083018352600380825262282d2960e81b602083810191909152808401929092528351808501855281815262285f2960e81b818401528385015283518085018552818152627b5f7d60e81b81840152606084015283518085018552818152627b2d7d60e81b8184015260808401528351808501855260018152602d60f81b8184015260a08401528351808501855281815262286f2960e81b8184015260c084015283518085019094528352627b787d60e81b9083015260e081019190915262000cb7906014906008620022c9565b5060408051610120810182526000610100820190815281528151808301835260158082527f26233136303b26233136303b26233136303b5f7c5f000000000000000000000060208381019190915280840192909252835180850185528181527f26233136303b26233136303b26233136303b5f285f00000000000000000000008184015283850152835180850185528181527f26233136303b26233136303b26233136303b5f295f0000000000000000000000818401526060840152835180850185528181527f26233136303b26233136303b26233136303b5f5b5f0000000000000000000000818401526080840152835180850185528181527f26233136303b26233136303b26233136303b5f5d5f00000000000000000000008184015260a0840152835180850185528181527f26233136303b26233136303b26233136303b5f215f00000000000000000000008184015260c084015283518085019094528084527f26233136303b26233136303b26233136303b5f485f00000000000000000000009184019190915260e082019290925262000e5891906008620022c9565b50604080516101408101825260046101008201908152634e6f6e6560e01b6101208301528152815180830183526003808252625f7c5f60e81b6020838101919091528084019290925283518085018552818152625f285f60e81b818401528385015283518085018552818152625f295f60e81b81840152606084015283518085018552818152625f5b5f60e81b81840152608084015283518085018552818152625f5d5f60e81b8184015260a084015283518085018552818152625f215f60e81b8184015260c084015283518085019094528352625f485f60e81b9083015260e081019190915262000f4f906016906008620022c9565b50604080516101a08101825260006101808201908152815281518083018352601b8082527f26233136303b26233136303b2f26233136303b7c26233136303b7c000000000060208381019190915280840192909252835180850185528181527f26233136303b26233136303b2f26233136303b2e26233136303b2100000000008184015283850152835180850185528181527f26233136303b26233136303b2f26233136303b4826233136303b7c0000000000818401526060840152835180850185528181527f26233136303b26233136303b2f26233136303b4426233136303b5d0000000000818401526080840152835180850185528181527f26233136303b26233136303b2f26233136303b4226233136303b2900000000008184015260a0840152835180850185528181527f26233136303b26233136303b2f26233136303b2826233136303b5b00000000008184015260c0840152835180850185528181527f26233136303b26233136303b2f26233136303b5b26233136303b2800000000008184015260e0840152835180850185528181527f26233136303b26233136303b2f26233136303b2d26233136303b7d000000000081840152610100840152835180850185528181527f26233136303b26233136303b2f26233136303b2426233136303b7b000000000081840152610120840152835180850185528181527f26233136303b26233136303b2f26233136303b5d26233136303b5b000000000081840152610140840152835180850190945283527f26233136303b26233136303b2f26233136303b2126233136303b5b000000000090830152610160810191909152620011c290601790600c6200236d565b50604080516101c08101825260046101808201908152634e6f6e6560e01b6101a08301528152815180830183526005808252640bc81f081f60da1b6020838101919091528084019290925283518085018552818152642f202e202160d81b818401528385015283518085018552818152640bc812081f60da1b81840152606084015283518085018552818152642f2044205d60d81b81840152608084015283518085018552818152642f2042202960d81b8184015260a084015283518085018552818152642f2028205b60d81b8184015260c0840152835180850185528181526405e40b640560db1b8184015260e084015283518085018552818152642f202d207d60d81b8184015261010084015283518085018552818152642f2024207b60d81b8184015261012084015283518085018552818152640bc813c81f60da1b8184015261014084015283518085019094528352640bc808481f60da1b908301526101608101919091526200133b90601890600c6200236d565b5060408051610120810182526000610100820190815281528151808301835260158082527f26233136303b26233136303b26233136303b2f207c000000000000000000000060208381019190915280840192909252835180850185528181527f26233136303b26233136303b26233136303b5d205d00000000000000000000008184015283850152835180850185528181527f26233136303b26233136303b26233136303b2920290000000000000000000000818401526060840152835180850185528181527f26233136303b26233136303b26233136303b5d20290000000000000000000000818401526080840152835180850185528181527f26233136303b26233136303b26233136303b7c207c00000000000000000000008184015260a0840152835180850185529081527f26233136303b26233136303b26233136303b7d207d00000000000000000000008183015260c08301528251808401909352601683527f26233136303b26233136303b26233136303b2120213b000000000000000000009083015260e0810191909152620014dc906019906008620022c9565b50604080516101408101825260046101008201818152634e6f6e6560e01b6101208401528252825180840184526003808252620bc81f60ea1b6020838101919091528085019290925284518086018652818152625d205d60e81b8184015284860152845180860186528181526229202960e81b81840152606085015284518086018652818152625d202960e81b81840152608085015284518086018652818152621f081f60ea1b8184015260a085015284518086018652908152627d207d60e81b8183015260c08401528351808501909452908352632120213b60e01b9083015260e0810191909152620015d590601a906008620022c9565b5060408051610120810182526000610100820190815281528151808301835260158082527f26233136303b26233136303b26233136303b2d202d000000000000000000000060208381019190915280840192909252835180850185528181527f26233136303b26233136303b26233136303b62206200000000000000000000008184015283850152835180850185528181527f26233136303b26233136303b26233136303b6420640000000000000000000000818401526060840152835180850185528181527f26233136303b26233136303b26233136303b5e205e0000000000000000000000818401526080840152835180850185528181527f26233136303b26233136303b26233136303b64206200000000000000000000008184015260a0840152835180850185528181527f26233136303b26233136303b26233136303b2a202a00000000000000000000008184015260c0840152835180850190945283527f26233136303b26233136303b26233136303b24202400000000000000000000009083015260e08101919091526200177490601b906008620022c9565b50604080516101408101825260046101008201908152634e6f6e6560e01b6101208301528152815180830183526003808252622d202d60e81b60208381019190915280840192909252835180850185528181526231103160e91b8184015283850152835180850185528181526219081960ea1b81840152606084015283518085018552818152622f102f60e91b818401526080840152835180850185528181526232103160e91b8184015260a0840152835180850185528181526215101560e91b8184015260c0840152835180850190945283526209080960ea1b9083015260e08101919091526200186b90601c906008620022c9565b503480156200187957600080fd5b50604080518082018252600c81526b426c6f6f746176617461727360a01b6020808301918252835180850190945260048452634241565360e01b908401528151919291620018ca91600091620023bf565b508051620018e0906001906020840190620023bf565b50506001600a5550620018f33362001b8f565b620019136200190a600b546001600160a01b031690565b611f4962001be1565b6200193573abe3bf5043ed0833d3da5148cd58d0f946891e6161022262001be1565b620019577376591d601c932ff2a9a6d35b8d74d09f2e7b35936109f662001be1565b620019797376591d601c932ff2a9a6d35b8d74d09f2e7b359361186e62001be1565b6200199b7376591d601c932ff2a9a6d35b8d74d09f2e7b35936112f762001be1565b620019bd73b7e91d82789d72da1c15687e5b434683ae99ffe0611d6c62001be1565b620019df73aa1158b6bf42c03ca787f71a2f0cbefbaf98bb86611f9e62001be1565b62001a01732a91315bf431d1c64bbf55959e0c8992f2cef3f661213462001be1565b62001a2373cb45adccd82d5379124702ba72904a43a5b6f584610e8c62001be1565b62001a4573455ac7cb8974050051144317fa862da3036b0412611f7262001be1565b62001a6773455ac7cb8974050051144317fa862da3036b0412611f4b62001be1565b62001a89738d20f28623d8d1bcb5cf8bd9a7dcce13751ce5a6611b1762001be1565b62001aab734140100f2229122245e981c3874ba29cc183c8dc61125862001be1565b62001acd734140100f2229122245e981c3874ba29cc183c8dc61125162001be1565b62001aef7324810ac54b2e971298d2f639606235f80886ef4061027062001be1565b62001b117367744f4b07a3708da6a2362739cc0872e81a65556110f162001be1565b62001b3373115f9a177bf78bff682a95dcea84c25fa4303143611f4a62001be1565b60005b601481101562001b8857600062001b5082611f4c62002572565b905062001b727346b2bd5c888e6d57a839c559fd6076f2c15a8cb18262001be1565b508062001b7f81620025e4565b91505062001b36565b5062002644565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62001c0382826040518060200160405280600081525062001c0760201b60201c565b5050565b62001c13838362001c83565b62001c22600084848462001dd9565b62001c7e5760405162461bcd60e51b81526020600482015260326024820152600080516020620063e483398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084015b60405180910390fd5b505050565b6001600160a01b03821662001cdb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640162001c75565b6000818152600260205260409020546001600160a01b03161562001d425760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162001c75565b62001d506000838362001f42565b6001600160a01b038216600090815260036020526040812080546001929062001d7b90849062002572565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062001dfa846001600160a01b03166200201e60201b620021d21760201c565b1562001f3657604051630a85bd0160e11b81526001600160a01b0385169063150b7a029062001e34903390899088908890600401620024f7565b602060405180830381600087803b15801562001e4f57600080fd5b505af192505050801562001e82575060408051601f3d908101601f1916820190925262001e7f91810190620024c4565b60015b62001f1b573d80801562001eb3576040519150601f19603f3d011682016040523d82523d6000602084013e62001eb8565b606091505b50805162001f135760405162461bcd60e51b81526020600482015260326024820152600080516020620063e483398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162001c75565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062001f3a565b5060015b949350505050565b62001f5a83838362001c7e60201b6200072b1760201c565b6001600160a01b03831662001fb85762001fb281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b62001fde565b816001600160a01b0316836001600160a01b03161462001fde5762001fde838262002024565b6001600160a01b03821662001ff85762001c7e81620020d1565b826001600160a01b0316826001600160a01b03161462001c7e5762001c7e82826200218b565b3b151590565b600060016200203e84620021dc60201b620010511760201c565b6200204a91906200258d565b6000838152600760205260409020549091508082146200209e576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090620020e5906001906200258d565b600083815260096020526040812054600880549394509092849081106200211057620021106200262e565b9060005260206000200154905080600883815481106200213457620021346200262e565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806200216f576200216f62002618565b6001900381819060005260206000200160009055905550505050565b6000620021a383620021dc60201b620010511760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b038216620022495760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840162001c75565b506001600160a01b031660009081526003602052604090205490565b828054828255906000526020600020908101928215620022b7579160200282015b82811115620022b75782518051620022a6918491602090910190620023bf565b509160200191906001019062002286565b50620022c59291506200244a565b5090565b828054828255906000526020600020908101928215620022b7579160200282015b82811115620022b757825180516200230a918491602090910190620023bf565b5091602001919060010190620022ea565b828054828255906000526020600020908101928215620022b7579160200282015b82811115620022b757825180516200235c918491602090910190620023bf565b50916020019190600101906200233c565b828054828255906000526020600020908101928215620022b7579160200282015b82811115620022b75782518051620023ae918491602090910190620023bf565b50916020019190600101906200238e565b828054620023cd90620025a7565b90600052602060002090601f016020900481019282620023f157600085556200243c565b82601f106200240c57805160ff19168380011785556200243c565b828001600101855582156200243c579182015b828111156200243c5782518255916020019190600101906200241f565b50620022c59291506200246b565b80821115620022c557600062002461828262002482565b506001016200244a565b5b80821115620022c557600081556001016200246c565b5080546200249090620025a7565b6000825580601f10620024a1575050565b601f016020900490600052602060002090810190620024c191906200246b565b50565b600060208284031215620024d757600080fd5b81516001600160e01b031981168114620024f057600080fd5b9392505050565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620025465785810182015185820160a00152810162002528565b828111156200255957600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000821982111562002588576200258862002602565b500190565b600082821015620025a257620025a262002602565b500390565b600181811c90821680620025bc57607f821691505b60208210811415620025de57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620025fb57620025fb62002602565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b613d9080620026546000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c806367209aa81161011a578063b88d4fde116100ad578063d2571f881161007c578063d2571f881461043b578063e985e9c51461044e578063f0e9ed531461048a578063f2fde38b1461049d578063feb6b3d1146104b057600080fd5b8063b88d4fde146103ef578063c4d30bfa14610402578063c87b56dd14610415578063d21b819f1461042857600080fd5b806395d89b41116100e957806395d89b41146103ae578063a22cb465146103b6578063a5c18ca6146103c9578063acec338a146103dc57600080fd5b806367209aa81461036f57806370a0823114610382578063715018a6146103955780638da5cb5b1461039d57600080fd5b80632f745c591161019257806342842e0e1161016157806342842e0e14610323578063434f48c4146103365780634f6ccce7146103495780636352211e1461035c57600080fd5b80632f745c59146102d757806336911d1f146102ea578063379607f5146102fd5780633c0a1d091461031057600080fd5b806318160ddd116101ce57806318160ddd1461027d57806322f3e2d41461028f57806323b872dd146102a357806329338ead146102b657600080fd5b806301ffc9a71461020057806306fdde0314610228578063081812fc1461023d578063095ea7b314610268575b600080fd5b61021361020e366004613066565b6104c3565b60405190151581526020015b60405180910390f35b6102306104ee565b60405161021f919061379c565b61025061024b3660046130a0565b610580565b6040516001600160a01b03909116815260200161021f565b61027b61027636600461301f565b61061a565b005b6008545b60405190815260200161021f565b600c5461021390600160a01b900460ff1681565b61027b6102b1366004612ec9565b610730565b6102c96102c43660046130a0565b610761565b60405161021f9291906137af565b6102816102e536600461301f565b610937565b6102c96102f83660046130a0565b6109cd565b61027b61030b3660046130a0565b610b91565b61027b61031e3660046130b9565b610c40565b61027b610331366004612ec9565b610cd3565b61027b6103443660046130a0565b610cee565b6102816103573660046130a0565b610d83565b61025061036a3660046130a0565b610e16565b6102c961037d3660046130a0565b610e8d565b610281610390366004612e4f565b611051565b61027b6110d8565b600b546001600160a01b0316610250565b61023061110e565b61027b6103c4366004612fea565b61111d565b6102c96103d73660046130a0565b6111e2565b61027b6103ea36600461304b565b6113a6565b61027b6103fd366004612f0a565b6113ee565b6102c96104103660046130a0565b611426565b6102306104233660046130a0565b6115ea565b61027b6104363660046130a0565b611a8c565b6102c96104493660046130a0565b611beb565b61021361045c366004612e90565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102c96104983660046130a0565b611dae565b61027b6104ab366004612e4f565b611f72565b6102c96104be3660046130a0565b61200d565b60006001600160e01b0319821663780e9d6360e01b14806104e857506104e8826121d8565b92915050565b6060600080546104fd906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610529906139a4565b80156105765780601f1061054b57610100808354040283529160200191610576565b820191906000526020600020905b81548152906001019060200180831161055957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105fe5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061062582610e16565b9050806001600160a01b0316836001600160a01b031614156106935760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105f5565b336001600160a01b03821614806106af57506106af813361045c565b6107215760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105f5565b61072b8383612228565b505050565b61073a3382612296565b6107565760405162461bcd60e51b81526004016105f59061388e565b61072b83838361238d565b60608061092e8360405180604001604052806004815260200163626f647960e01b8152506017805480602002602001604051908101604052809291908181526020016000905b828210156108535783829060005260206000200180546107c6906139a4565b80601f01602080910402602001604051908101604052809291908181526020018280546107f2906139a4565b801561083f5780601f106108145761010080835404028352916020019161083f565b820191906000526020600020905b81548152906001019060200180831161082257829003601f168201915b5050505050815260200190600101906107a7565b505050506018805480602002602001604051908101604052809291908181526020016000905b82821015610925578382906000526020600020018054610898906139a4565b80601f01602080910402602001604051908101604052809291908181526020018280546108c4906139a4565b80156109115780601f106108e657610100808354040283529160200191610911565b820191906000526020600020905b8154815290600101906020018083116108f457829003601f168201915b505050505081526020019060010190610879565b50505050612538565b91509150915091565b600061094283611051565b82106109a45760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105f5565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60608061092e83604051806040016040528060048152602001636c65677360e01b8152506019805480602002602001604051908101604052809291908181526020016000905b82821015610abf578382906000526020600020018054610a32906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5e906139a4565b8015610aab5780601f10610a8057610100808354040283529160200191610aab565b820191906000526020600020905b815481529060010190602001808311610a8e57829003601f168201915b505050505081526020019060010190610a13565b50505050601a805480602002602001604051908101604052809291908181526020016000905b82821015610925578382906000526020600020018054610b04906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610b30906139a4565b8015610b7d5780601f10610b5257610100808354040283529160200191610b7d565b820191906000526020600020905b815481529060010190602001808311610b6057829003601f168201915b505050505081526020019060010190610ae5565b6002600a541415610bb45760405162461bcd60e51b81526004016105f5906138df565b6002600a55600c54600160a01b900460ff16610bff5760405162461bcd60e51b815260206004820152600a6024820152696e6f742061637469766560b01b60448201526064016105f5565b611f4881118015610c11575061256881105b610c2d5760405162461bcd60e51b81526004016105f590613864565b610c38335b826125d7565b506001600a55565b6002600a541415610c635760405162461bcd60e51b81526004016105f5906138df565b6002600a55600b546001600160a01b03163314610c925760405162461bcd60e51b81526004016105f59061382f565b61256782118015610ca4575061271182105b610cc05760405162461bcd60e51b81526004016105f590613864565b610cca81836125d7565b50506001600a55565b61072b838383604051806020016040528060008152506113ee565b6002600a541415610d115760405162461bcd60e51b81526004016105f5906138df565b6002600a55600b546001600160a01b03163314610d405760405162461bcd60e51b81526004016105f59061382f565b61256781118015610d52575061271181105b610d6e5760405162461bcd60e51b81526004016105f590613864565b610c38610c32600b546001600160a01b031690565b6000610d8e60085490565b8210610df15760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105f5565b60088281548110610e0457610e04613a50565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104e85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105f5565b60608061092e83604051806040016040528060048152602001636e65636b60e01b8152506015805480602002602001604051908101604052809291908181526020016000905b82821015610f7f578382906000526020600020018054610ef2906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1e906139a4565b8015610f6b5780601f10610f4057610100808354040283529160200191610f6b565b820191906000526020600020905b815481529060010190602001808311610f4e57829003601f168201915b505050505081526020019060010190610ed3565b505050506016805480602002602001604051908101604052809291908181526020016000905b82821015610925578382906000526020600020018054610fc4906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610ff0906139a4565b801561103d5780601f106110125761010080835404028352916020019161103d565b820191906000526020600020905b81548152906001019060200180831161102057829003601f168201915b505050505081526020019060010190610fa5565b60006001600160a01b0382166110bc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105f5565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b031633146111025760405162461bcd60e51b81526004016105f59061382f565b61110c60006125f5565b565b6060600180546104fd906139a4565b6001600160a01b0382163314156111765760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105f5565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60608061092e83604051806040016040528060048152602001633430b4b960e11b815250600f805480602002602001604051908101604052809291908181526020016000905b828210156112d4578382906000526020600020018054611247906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611273906139a4565b80156112c05780601f10611295576101008083540402835291602001916112c0565b820191906000526020600020905b8154815290600101906020018083116112a357829003601f168201915b505050505081526020019060010190611228565b505050506010805480602002602001604051908101604052809291908181526020016000905b82821015610925578382906000526020600020018054611319906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611345906139a4565b80156113925780601f1061136757610100808354040283529160200191611392565b820191906000526020600020905b81548152906001019060200180831161137557829003601f168201915b5050505050815260200190600101906112fa565b600b546001600160a01b031633146113d05760405162461bcd60e51b81526004016105f59061382f565b600c8054911515600160a01b0260ff60a01b19909216919091179055565b6113f83383612296565b6114145760405162461bcd60e51b81526004016105f59061388e565b61142084848484612647565b50505050565b60608061092e83604051806040016040528060048152602001636579657360e01b8152506011805480602002602001604051908101604052809291908181526020016000905b8282101561151857838290600052602060002001805461148b906139a4565b80601f01602080910402602001604051908101604052809291908181526020018280546114b7906139a4565b80156115045780601f106114d957610100808354040283529160200191611504565b820191906000526020600020905b8154815290600101906020018083116114e757829003601f168201915b50505050508152602001906001019061146c565b505050506012805480602002602001604051908101604052809291908181526020016000905b8282101561092557838290600052602060002001805461155d906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611589906139a4565b80156115d65780601f106115ab576101008083540402835291602001916115d6565b820191906000526020600020905b8154815290600101906020018083116115b957829003601f168201915b50505050508152602001906001019061153e565b60606115f4612df7565b6115fc612e1f565b60405180610140016040528061010a8152602001613b4361010a9139825261162384611beb565b83600160200201836001602002018290528290525050604051806060016040528060338152602001613cb5603391396040830152611660846111e2565b604080840191909152606080850192909252805191820190526033808252613d286020830139608083015261169484611426565b60608084019190915260a08401919091526040805191820190526033808252613adc602083013960c08301526116c98461200d565b608083015260e083015260408051606081019091526034808252613b0f60208301396101008301526116fa84610e8d565b60a083015261012083015260408051606081019091526034808252613c81602083013961014083015261172c84610761565b60c083015261016083015260408051606081019091526034808252613c4d602083013961018083015261175e846109cd565b60e08301526101a083015260408051606081019091526034808252613aa860208301396101c083015261179084611dae565b6101008301526101e083015260408051808201909152600d81526c1e17ba32bc3a1f1e17b9bb339f60991b6020820152826010602090810291909101919091528251838201516040808601516060870151608088015160a089015160c08a015160e08b01516101008c0151965160009a61180d9a999891016131c0565b60408051808303601f190181529082905261012085015161014086015161016087015161018088015193955061184894869490602001613155565b60408051808303601f19018152908290526101a08501516101c08601516101e087015161020088015193955061188394869490602001613155565b60408051808303601f190181528282526e2261747472696275746573223a205b60881b6020808501919091528251600f818603018152602f850190935285015190935090916118d6918391604f01613280565b60408051808303601f19018152828252908501519092506118fc91839190602001613554565b60408051808303601f19018152908290526060850151909250611924918391906020016133cf565b60408051808303601f1901815290829052608085015190925061194c9183919060200161335b565b60408051808303601f190181529082905260a0850151909250611974918391906020016134fc565b60408051808303601f190181529082905260c085015190925061199c9183919060200161347f565b60408051808303601f190181529082905260e08501519092506119c4918391906020016132e8565b60408051808303601f19018152908290526101008501519092506119ed91839190602001613427565b604051602081830303815290604052905080604051602001611a0f91906134d7565b60405160208183030381529060405290506000611a5e611a2e8861267a565b83611a3886612778565b604051602001611a4a939291906135ac565b604051602081830303815290604052612778565b905080604051602001611a71919061371a565b60408051601f19818403018152919052979650505050505050565b6002600a541415611aaf5760405162461bcd60e51b81526004016105f5906138df565b6002600a55600c54600160a01b900460ff16611afa5760405162461bcd60e51b815260206004820152600a6024820152696e6f742061637469766560b01b60448201526064016105f5565b600081118015611b0b5750611f4981105b611b275760405162461bcd60e51b81526004016105f590613864565b600c546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b158015611b6b57600080fd5b505afa158015611b7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba39190612e73565b6001600160a01b031614610c2d5760405162461bcd60e51b815260206004820152600f60248201526e2737ba10213637b7ba1037bbb732b960891b60448201526064016105f5565b60608061092e83604051806040016040528060038152602001621a185d60ea1b815250600d805480602002602001604051908101604052809291908181526020016000905b82821015611cdc578382906000526020600020018054611c4f906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7b906139a4565b8015611cc85780601f10611c9d57610100808354040283529160200191611cc8565b820191906000526020600020905b815481529060010190602001808311611cab57829003601f168201915b505050505081526020019060010190611c30565b50505050600e805480602002602001604051908101604052809291908181526020016000905b82821015610925578382906000526020600020018054611d21906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4d906139a4565b8015611d9a5780601f10611d6f57610100808354040283529160200191611d9a565b820191906000526020600020905b815481529060010190602001808311611d7d57829003601f168201915b505050505081526020019060010190611d02565b60608061092e83604051806040016040528060048152602001631999595d60e21b815250601b805480602002602001604051908101604052809291908181526020016000905b82821015611ea0578382906000526020600020018054611e13906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611e3f906139a4565b8015611e8c5780601f10611e6157610100808354040283529160200191611e8c565b820191906000526020600020905b815481529060010190602001808311611e6f57829003601f168201915b505050505081526020019060010190611df4565b50505050601c805480602002602001604051908101604052809291908181526020016000905b82821015610925578382906000526020600020018054611ee5906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611f11906139a4565b8015611f5e5780601f10611f3357610100808354040283529160200191611f5e565b820191906000526020600020905b815481529060010190602001808311611f4157829003601f168201915b505050505081526020019060010190611ec6565b600b546001600160a01b03163314611f9c5760405162461bcd60e51b81526004016105f59061382f565b6001600160a01b0381166120015760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f5565b61200a816125f5565b50565b60608061092e83604051806040016040528060058152602001640dadeeae8d60db1b8152506013805480602002602001604051908101604052809291908181526020016000905b82821015612100578382906000526020600020018054612073906139a4565b80601f016020809104026020016040519081016040528092919081815260200182805461209f906139a4565b80156120ec5780601f106120c1576101008083540402835291602001916120ec565b820191906000526020600020905b8154815290600101906020018083116120cf57829003601f168201915b505050505081526020019060010190612054565b505050506014805480602002602001604051908101604052809291908181526020016000905b82821015610925578382906000526020600020018054612145906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054612171906139a4565b80156121be5780601f10612193576101008083540402835291602001916121be565b820191906000526020600020905b8154815290600101906020018083116121a157829003601f168201915b505050505081526020019060010190612126565b3b151590565b60006001600160e01b031982166380ac58cd60e01b148061220957506001600160e01b03198216635b5e139f60e01b145b806104e857506301ffc9a760e01b6001600160e01b03198316146104e8565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061225d82610e16565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661230f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105f5565b600061231a83610e16565b9050806001600160a01b0316846001600160a01b031614806123555750836001600160a01b031661234a84610580565b6001600160a01b0316145b8061238557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166123a082610e16565b6001600160a01b0316146124085760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016105f5565b6001600160a01b03821661246a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105f5565b6124758383836128de565b612480600082612228565b6001600160a01b03831660009081526003602052604081208054600192906124a9908490613961565b90915550506001600160a01b03821660009081526003602052604081208054600192906124d7908490613916565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b606080600061256f8661254a8961267a565b60405160200161255b929190613126565b604051602081830303815290604052612996565b905060008586518361258191906139fa565b8151811061259157612591613a50565b602002602001015190506000858751846125ab91906139fa565b815181106125bb576125bb613a50565b6020026020010151905081819450945050505094509492505050565b6125f18282604051806020016040528060008152506129d9565b5050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61265284848461238d565b61265e84848484612a0c565b6114205760405162461bcd60e51b81526004016105f5906137dd565b60608161269e5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156126c857806126b2816139df565b91506126c19050600a8361392e565b91506126a2565b60008167ffffffffffffffff8111156126e3576126e3613a66565b6040519080825280601f01601f19166020018201604052801561270d576020820181803683370190505b5090505b841561238557612722600183613961565b915061272f600a866139fa565b61273a906030613916565b60f81b81838151811061274f5761274f613a50565b60200101906001600160f81b031916908160001a905350612771600a8661392e565b9450612711565b805160609080612798575050604080516020810190915260008152919050565b600060036127a7836002613916565b6127b1919061392e565b6127bc906004613942565b905060006127cb826020613916565b67ffffffffffffffff8111156127e3576127e3613a66565b6040519080825280601f01601f19166020018201604052801561280d576020820181803683370190505b5090506000604051806060016040528060408152602001613ce8604091399050600181016020830160005b86811015612899576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612838565b5060038606600181146128b357600281146128c4576128d0565b613d3d60f01b6001198301526128d0565b603d60f81b6000198301525b505050918152949350505050565b6001600160a01b0383166129395761293481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61295c565b816001600160a01b0316836001600160a01b03161461295c5761295c8382612b19565b6001600160a01b0382166129735761072b81612bb6565b826001600160a01b0316826001600160a01b03161461072b5761072b8282612c65565b60006006826040516020016129ab919061310a565b6040516020818303038152906040528051906020012060001c6129ce91906139fa565b6104e8906001613916565b6129e38383612ca9565b6129f06000848484612a0c565b61072b5760405162461bcd60e51b81526004016105f5906137dd565b60006001600160a01b0384163b15612b0e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612a5090339089908890889060040161375f565b602060405180830381600087803b158015612a6a57600080fd5b505af1925050508015612a9a575060408051601f3d908101601f19168201909252612a9791810190613083565b60015b612af4573d808015612ac8576040519150601f19603f3d011682016040523d82523d6000602084013e612acd565b606091505b508051612aec5760405162461bcd60e51b81526004016105f5906137dd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612385565b506001949350505050565b60006001612b2684611051565b612b309190613961565b600083815260076020526040902054909150808214612b83576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612bc890600190613961565b60008381526009602052604081205460088054939450909284908110612bf057612bf0613a50565b906000526020600020015490508060088381548110612c1157612c11613a50565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612c4957612c49613a3a565b6001900381819060005260206000200160009055905550505050565b6000612c7083611051565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216612cff5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105f5565b6000818152600260205260409020546001600160a01b031615612d645760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105f5565b612d70600083836128de565b6001600160a01b0382166000908152600360205260408120805460019290612d99908490613916565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6040518061022001604052806011905b6060815260200190600190039081612e075790505090565b60408051610120810190915260608152600860208201612e07565b80358015158114612e4a57600080fd5b919050565b600060208284031215612e6157600080fd5b8135612e6c81613a7c565b9392505050565b600060208284031215612e8557600080fd5b8151612e6c81613a7c565b60008060408385031215612ea357600080fd5b8235612eae81613a7c565b91506020830135612ebe81613a7c565b809150509250929050565b600080600060608486031215612ede57600080fd5b8335612ee981613a7c565b92506020840135612ef981613a7c565b929592945050506040919091013590565b60008060008060808587031215612f2057600080fd5b8435612f2b81613a7c565b93506020850135612f3b81613a7c565b925060408501359150606085013567ffffffffffffffff80821115612f5f57600080fd5b818701915087601f830112612f7357600080fd5b813581811115612f8557612f85613a66565b604051601f8201601f19908116603f01168101908382118183101715612fad57612fad613a66565b816040528281528a6020848701011115612fc657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215612ffd57600080fd5b823561300881613a7c565b915061301660208401612e3a565b90509250929050565b6000806040838503121561303257600080fd5b823561303d81613a7c565b946020939093013593505050565b60006020828403121561305d57600080fd5b612e6c82612e3a565b60006020828403121561307857600080fd5b8135612e6c81613a91565b60006020828403121561309557600080fd5b8151612e6c81613a91565b6000602082840312156130b257600080fd5b5035919050565b600080604083850312156130cc57600080fd5b823591506020830135612ebe81613a7c565b600081518084526130f6816020860160208601613978565b601f01601f19169290920160200192915050565b6000825161311c818460208701613978565b9190910192915050565b60008351613138818460208801613978565b83519083019061314c818360208801613978565b01949350505050565b60008651613167818460208b01613978565b86519083019061317b818360208b01613978565b865191019061318e818360208a01613978565b85519101906131a1818360208901613978565b84519101906131b4818360208801613978565b01979650505050505050565b60008a516131d2818460208f01613978565b8a516131e48183860160208f01613978565b8a5191840101906131f9818360208e01613978565b895191019061320c818360208d01613978565b885161321e8183850160208d01613978565b8851929091010190613234818360208b01613978565b86516132468183850160208b01613978565b865192909101019061325c818360208901613978565b845161326e8183850160208901613978565b9101019b9a5050505050505050505050565b60008351613292818460208801613978565b80830190507f7b2274726169745f74797065223a2022486174222c202276616c7565223a2022815283516132cd816020840160208801613978565b61227d60f01b60209290910191820152602201949350505050565b600083516132fa818460208801613978565b80830190507f2c7b2274726169745f74797065223a20224c656773222c202276616c7565223a815261101160f11b60208201528351613340816022840160208801613978565b61227d60f01b60229290910191820152602401949350505050565b6000835161336d818460208801613978565b80830190507f2c7b2274726169745f74797065223a20224d6f757468222c202276616c7565228152621d101160e91b602082015283516133b4816023840160208801613978565b61227d60f01b60239290910191820152602501949350505050565b600083516133e1818460208801613978565b80830190507f2c7b2274726169745f74797065223a202245796573222c202276616c7565223a815261101160f11b60208201528351613340816022840160208801613978565b60008351613439818460208801613978565b80830190507f2c7b2274726169745f74797065223a202246656574222c202276616c7565223a815261101160f11b60208201528351613340816022840160208801613978565b60008351613491818460208801613978565b80830190507f2c7b2274726169745f74797065223a2022426f6479222c202276616c7565223a815261101160f11b60208201528351613340816022840160208801613978565b600082516134e9818460208701613978565b605d60f81b920191825250600101919050565b6000835161350e818460208801613978565b80830190507f2c7b2274726169745f74797065223a20224e65636b222c202276616c7565223a815261101160f11b60208201528351613340816022840160208801613978565b60008351613566818460208801613978565b80830190507f2c7b2274726169745f74797065223a202248616972222c202276616c7565223a815261101160f11b60208201528351613340816022840160208801613978565b7f7b226e616d65223a2022426c6f6f7461766174617220230000000000000000008152600084516135e4816017850160208901613978565b7f222c20226465736372697074696f6e223a2022426c6f6f7461766174617273206017918401918201527f6172652072616e646f6d697a656420426c6f6f7420617661746172732067656e60378201527f65726174656420616e642073746f726564206f6e20636861696e2e204665656c60578201527f206672656520746f2075736520426c6f6f746176617461727320696e20616e7960778201526f081dd85e481e5bdd481dd85b9d0b888b60821b609782015284516136ac8160a7840160208901613978565b7f2c22696d616765223a2022646174613a696d6167652f7376672b786d6c3b626160a79290910191820152641cd94d8d0b60da1b60c782015283516136f88160cc840160208801613978565b61370f60cc8284010161227d60f01b815260020190565b979650505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161375281601d850160208701613978565b91909101601d0192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613792908301846130de565b9695505050505050565b602081526000612e6c60208301846130de565b6040815260006137c260408301856130de565b82810360208401526137d481856130de565b95945050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526010908201526f151bdad95b881251081a5b9d985b1a5960821b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561392957613929613a0e565b500190565b60008261393d5761393d613a24565b500490565b600081600019048311821515161561395c5761395c613a0e565b500290565b60008282101561397357613973613a0e565b500390565b60005b8381101561399357818101518382015260200161397b565b838111156114205750506000910152565b600181811c908216806139b857607f821691505b602082108114156139d957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156139f3576139f3613a0e565b5060010190565b600082613a0957613a09613a24565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461200a57600080fd5b6001600160e01b03198116811461200a57600080fdfe3c2f746578743e3c7465787420783d2231302220793d223136302220666f6e742d66616d696c793d226d6f6e6f7370616365223e3c2f746578743e3c7465787420783d2231302220793d2238302220666f6e742d66616d696c793d226d6f6e6f7370616365223e3c2f746578743e3c7465787420783d2231302220793d223130302220666f6e742d66616d696c793d226d6f6e6f7370616365223e3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2066696c6c3a20626c61636b3b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d222330316666303122202f3e3c7465787420783d2231302220793d2232302220666f6e742d66616d696c793d226d6f6e6f7370616365223e3c2f746578743e3c7465787420783d2231302220793d223134302220666f6e742d66616d696c793d226d6f6e6f7370616365223e3c2f746578743e3c7465787420783d2231302220793d223132302220666f6e742d66616d696c793d226d6f6e6f7370616365223e3c2f746578743e3c7465787420783d2231302220793d2234302220666f6e742d66616d696c793d226d6f6e6f7370616365223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c2f746578743e3c7465787420783d2231302220793d2236302220666f6e742d66616d696c793d226d6f6e6f7370616365223ea2646970667358221220ee9029f9d52c66ddeeb789139cb1bd8fded8b214a1d92c5c387aa42199ce891264736f6c634300080700334552433732313a207472616e7366657220746f206e6f6e204552433732315265
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c806367209aa81161011a578063b88d4fde116100ad578063d2571f881161007c578063d2571f881461043b578063e985e9c51461044e578063f0e9ed531461048a578063f2fde38b1461049d578063feb6b3d1146104b057600080fd5b8063b88d4fde146103ef578063c4d30bfa14610402578063c87b56dd14610415578063d21b819f1461042857600080fd5b806395d89b41116100e957806395d89b41146103ae578063a22cb465146103b6578063a5c18ca6146103c9578063acec338a146103dc57600080fd5b806367209aa81461036f57806370a0823114610382578063715018a6146103955780638da5cb5b1461039d57600080fd5b80632f745c591161019257806342842e0e1161016157806342842e0e14610323578063434f48c4146103365780634f6ccce7146103495780636352211e1461035c57600080fd5b80632f745c59146102d757806336911d1f146102ea578063379607f5146102fd5780633c0a1d091461031057600080fd5b806318160ddd116101ce57806318160ddd1461027d57806322f3e2d41461028f57806323b872dd146102a357806329338ead146102b657600080fd5b806301ffc9a71461020057806306fdde0314610228578063081812fc1461023d578063095ea7b314610268575b600080fd5b61021361020e366004613066565b6104c3565b60405190151581526020015b60405180910390f35b6102306104ee565b60405161021f919061379c565b61025061024b3660046130a0565b610580565b6040516001600160a01b03909116815260200161021f565b61027b61027636600461301f565b61061a565b005b6008545b60405190815260200161021f565b600c5461021390600160a01b900460ff1681565b61027b6102b1366004612ec9565b610730565b6102c96102c43660046130a0565b610761565b60405161021f9291906137af565b6102816102e536600461301f565b610937565b6102c96102f83660046130a0565b6109cd565b61027b61030b3660046130a0565b610b91565b61027b61031e3660046130b9565b610c40565b61027b610331366004612ec9565b610cd3565b61027b6103443660046130a0565b610cee565b6102816103573660046130a0565b610d83565b61025061036a3660046130a0565b610e16565b6102c961037d3660046130a0565b610e8d565b610281610390366004612e4f565b611051565b61027b6110d8565b600b546001600160a01b0316610250565b61023061110e565b61027b6103c4366004612fea565b61111d565b6102c96103d73660046130a0565b6111e2565b61027b6103ea36600461304b565b6113a6565b61027b6103fd366004612f0a565b6113ee565b6102c96104103660046130a0565b611426565b6102306104233660046130a0565b6115ea565b61027b6104363660046130a0565b611a8c565b6102c96104493660046130a0565b611beb565b61021361045c366004612e90565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102c96104983660046130a0565b611dae565b61027b6104ab366004612e4f565b611f72565b6102c96104be3660046130a0565b61200d565b60006001600160e01b0319821663780e9d6360e01b14806104e857506104e8826121d8565b92915050565b6060600080546104fd906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610529906139a4565b80156105765780601f1061054b57610100808354040283529160200191610576565b820191906000526020600020905b81548152906001019060200180831161055957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105fe5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061062582610e16565b9050806001600160a01b0316836001600160a01b031614156106935760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105f5565b336001600160a01b03821614806106af57506106af813361045c565b6107215760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105f5565b61072b8383612228565b505050565b61073a3382612296565b6107565760405162461bcd60e51b81526004016105f59061388e565b61072b83838361238d565b60608061092e8360405180604001604052806004815260200163626f647960e01b8152506017805480602002602001604051908101604052809291908181526020016000905b828210156108535783829060005260206000200180546107c6906139a4565b80601f01602080910402602001604051908101604052809291908181526020018280546107f2906139a4565b801561083f5780601f106108145761010080835404028352916020019161083f565b820191906000526020600020905b81548152906001019060200180831161082257829003601f168201915b5050505050815260200190600101906107a7565b505050506018805480602002602001604051908101604052809291908181526020016000905b82821015610925578382906000526020600020018054610898906139a4565b80601f01602080910402602001604051908101604052809291908181526020018280546108c4906139a4565b80156109115780601f106108e657610100808354040283529160200191610911565b820191906000526020600020905b8154815290600101906020018083116108f457829003601f168201915b505050505081526020019060010190610879565b50505050612538565b91509150915091565b600061094283611051565b82106109a45760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105f5565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60608061092e83604051806040016040528060048152602001636c65677360e01b8152506019805480602002602001604051908101604052809291908181526020016000905b82821015610abf578382906000526020600020018054610a32906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5e906139a4565b8015610aab5780601f10610a8057610100808354040283529160200191610aab565b820191906000526020600020905b815481529060010190602001808311610a8e57829003601f168201915b505050505081526020019060010190610a13565b50505050601a805480602002602001604051908101604052809291908181526020016000905b82821015610925578382906000526020600020018054610b04906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610b30906139a4565b8015610b7d5780601f10610b5257610100808354040283529160200191610b7d565b820191906000526020600020905b815481529060010190602001808311610b6057829003601f168201915b505050505081526020019060010190610ae5565b6002600a541415610bb45760405162461bcd60e51b81526004016105f5906138df565b6002600a55600c54600160a01b900460ff16610bff5760405162461bcd60e51b815260206004820152600a6024820152696e6f742061637469766560b01b60448201526064016105f5565b611f4881118015610c11575061256881105b610c2d5760405162461bcd60e51b81526004016105f590613864565b610c38335b826125d7565b506001600a55565b6002600a541415610c635760405162461bcd60e51b81526004016105f5906138df565b6002600a55600b546001600160a01b03163314610c925760405162461bcd60e51b81526004016105f59061382f565b61256782118015610ca4575061271182105b610cc05760405162461bcd60e51b81526004016105f590613864565b610cca81836125d7565b50506001600a55565b61072b838383604051806020016040528060008152506113ee565b6002600a541415610d115760405162461bcd60e51b81526004016105f5906138df565b6002600a55600b546001600160a01b03163314610d405760405162461bcd60e51b81526004016105f59061382f565b61256781118015610d52575061271181105b610d6e5760405162461bcd60e51b81526004016105f590613864565b610c38610c32600b546001600160a01b031690565b6000610d8e60085490565b8210610df15760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105f5565b60088281548110610e0457610e04613a50565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104e85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105f5565b60608061092e83604051806040016040528060048152602001636e65636b60e01b8152506015805480602002602001604051908101604052809291908181526020016000905b82821015610f7f578382906000526020600020018054610ef2906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1e906139a4565b8015610f6b5780601f10610f4057610100808354040283529160200191610f6b565b820191906000526020600020905b815481529060010190602001808311610f4e57829003601f168201915b505050505081526020019060010190610ed3565b505050506016805480602002602001604051908101604052809291908181526020016000905b82821015610925578382906000526020600020018054610fc4906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610ff0906139a4565b801561103d5780601f106110125761010080835404028352916020019161103d565b820191906000526020600020905b81548152906001019060200180831161102057829003601f168201915b505050505081526020019060010190610fa5565b60006001600160a01b0382166110bc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105f5565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b031633146111025760405162461bcd60e51b81526004016105f59061382f565b61110c60006125f5565b565b6060600180546104fd906139a4565b6001600160a01b0382163314156111765760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105f5565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60608061092e83604051806040016040528060048152602001633430b4b960e11b815250600f805480602002602001604051908101604052809291908181526020016000905b828210156112d4578382906000526020600020018054611247906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611273906139a4565b80156112c05780601f10611295576101008083540402835291602001916112c0565b820191906000526020600020905b8154815290600101906020018083116112a357829003601f168201915b505050505081526020019060010190611228565b505050506010805480602002602001604051908101604052809291908181526020016000905b82821015610925578382906000526020600020018054611319906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611345906139a4565b80156113925780601f1061136757610100808354040283529160200191611392565b820191906000526020600020905b81548152906001019060200180831161137557829003601f168201915b5050505050815260200190600101906112fa565b600b546001600160a01b031633146113d05760405162461bcd60e51b81526004016105f59061382f565b600c8054911515600160a01b0260ff60a01b19909216919091179055565b6113f83383612296565b6114145760405162461bcd60e51b81526004016105f59061388e565b61142084848484612647565b50505050565b60608061092e83604051806040016040528060048152602001636579657360e01b8152506011805480602002602001604051908101604052809291908181526020016000905b8282101561151857838290600052602060002001805461148b906139a4565b80601f01602080910402602001604051908101604052809291908181526020018280546114b7906139a4565b80156115045780601f106114d957610100808354040283529160200191611504565b820191906000526020600020905b8154815290600101906020018083116114e757829003601f168201915b50505050508152602001906001019061146c565b505050506012805480602002602001604051908101604052809291908181526020016000905b8282101561092557838290600052602060002001805461155d906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611589906139a4565b80156115d65780601f106115ab576101008083540402835291602001916115d6565b820191906000526020600020905b8154815290600101906020018083116115b957829003601f168201915b50505050508152602001906001019061153e565b60606115f4612df7565b6115fc612e1f565b60405180610140016040528061010a8152602001613b4361010a9139825261162384611beb565b83600160200201836001602002018290528290525050604051806060016040528060338152602001613cb5603391396040830152611660846111e2565b604080840191909152606080850192909252805191820190526033808252613d286020830139608083015261169484611426565b60608084019190915260a08401919091526040805191820190526033808252613adc602083013960c08301526116c98461200d565b608083015260e083015260408051606081019091526034808252613b0f60208301396101008301526116fa84610e8d565b60a083015261012083015260408051606081019091526034808252613c81602083013961014083015261172c84610761565b60c083015261016083015260408051606081019091526034808252613c4d602083013961018083015261175e846109cd565b60e08301526101a083015260408051606081019091526034808252613aa860208301396101c083015261179084611dae565b6101008301526101e083015260408051808201909152600d81526c1e17ba32bc3a1f1e17b9bb339f60991b6020820152826010602090810291909101919091528251838201516040808601516060870151608088015160a089015160c08a015160e08b01516101008c0151965160009a61180d9a999891016131c0565b60408051808303601f190181529082905261012085015161014086015161016087015161018088015193955061184894869490602001613155565b60408051808303601f19018152908290526101a08501516101c08601516101e087015161020088015193955061188394869490602001613155565b60408051808303601f190181528282526e2261747472696275746573223a205b60881b6020808501919091528251600f818603018152602f850190935285015190935090916118d6918391604f01613280565b60408051808303601f19018152828252908501519092506118fc91839190602001613554565b60408051808303601f19018152908290526060850151909250611924918391906020016133cf565b60408051808303601f1901815290829052608085015190925061194c9183919060200161335b565b60408051808303601f190181529082905260a0850151909250611974918391906020016134fc565b60408051808303601f190181529082905260c085015190925061199c9183919060200161347f565b60408051808303601f190181529082905260e08501519092506119c4918391906020016132e8565b60408051808303601f19018152908290526101008501519092506119ed91839190602001613427565b604051602081830303815290604052905080604051602001611a0f91906134d7565b60405160208183030381529060405290506000611a5e611a2e8861267a565b83611a3886612778565b604051602001611a4a939291906135ac565b604051602081830303815290604052612778565b905080604051602001611a71919061371a565b60408051601f19818403018152919052979650505050505050565b6002600a541415611aaf5760405162461bcd60e51b81526004016105f5906138df565b6002600a55600c54600160a01b900460ff16611afa5760405162461bcd60e51b815260206004820152600a6024820152696e6f742061637469766560b01b60448201526064016105f5565b600081118015611b0b5750611f4981105b611b275760405162461bcd60e51b81526004016105f590613864565b600c546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b158015611b6b57600080fd5b505afa158015611b7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba39190612e73565b6001600160a01b031614610c2d5760405162461bcd60e51b815260206004820152600f60248201526e2737ba10213637b7ba1037bbb732b960891b60448201526064016105f5565b60608061092e83604051806040016040528060038152602001621a185d60ea1b815250600d805480602002602001604051908101604052809291908181526020016000905b82821015611cdc578382906000526020600020018054611c4f906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7b906139a4565b8015611cc85780601f10611c9d57610100808354040283529160200191611cc8565b820191906000526020600020905b815481529060010190602001808311611cab57829003601f168201915b505050505081526020019060010190611c30565b50505050600e805480602002602001604051908101604052809291908181526020016000905b82821015610925578382906000526020600020018054611d21906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4d906139a4565b8015611d9a5780601f10611d6f57610100808354040283529160200191611d9a565b820191906000526020600020905b815481529060010190602001808311611d7d57829003601f168201915b505050505081526020019060010190611d02565b60608061092e83604051806040016040528060048152602001631999595d60e21b815250601b805480602002602001604051908101604052809291908181526020016000905b82821015611ea0578382906000526020600020018054611e13906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611e3f906139a4565b8015611e8c5780601f10611e6157610100808354040283529160200191611e8c565b820191906000526020600020905b815481529060010190602001808311611e6f57829003601f168201915b505050505081526020019060010190611df4565b50505050601c805480602002602001604051908101604052809291908181526020016000905b82821015610925578382906000526020600020018054611ee5906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054611f11906139a4565b8015611f5e5780601f10611f3357610100808354040283529160200191611f5e565b820191906000526020600020905b815481529060010190602001808311611f4157829003601f168201915b505050505081526020019060010190611ec6565b600b546001600160a01b03163314611f9c5760405162461bcd60e51b81526004016105f59061382f565b6001600160a01b0381166120015760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f5565b61200a816125f5565b50565b60608061092e83604051806040016040528060058152602001640dadeeae8d60db1b8152506013805480602002602001604051908101604052809291908181526020016000905b82821015612100578382906000526020600020018054612073906139a4565b80601f016020809104026020016040519081016040528092919081815260200182805461209f906139a4565b80156120ec5780601f106120c1576101008083540402835291602001916120ec565b820191906000526020600020905b8154815290600101906020018083116120cf57829003601f168201915b505050505081526020019060010190612054565b505050506014805480602002602001604051908101604052809291908181526020016000905b82821015610925578382906000526020600020018054612145906139a4565b80601f0160208091040260200160405190810160405280929190818152602001828054612171906139a4565b80156121be5780601f10612193576101008083540402835291602001916121be565b820191906000526020600020905b8154815290600101906020018083116121a157829003601f168201915b505050505081526020019060010190612126565b3b151590565b60006001600160e01b031982166380ac58cd60e01b148061220957506001600160e01b03198216635b5e139f60e01b145b806104e857506301ffc9a760e01b6001600160e01b03198316146104e8565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061225d82610e16565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661230f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105f5565b600061231a83610e16565b9050806001600160a01b0316846001600160a01b031614806123555750836001600160a01b031661234a84610580565b6001600160a01b0316145b8061238557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166123a082610e16565b6001600160a01b0316146124085760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016105f5565b6001600160a01b03821661246a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105f5565b6124758383836128de565b612480600082612228565b6001600160a01b03831660009081526003602052604081208054600192906124a9908490613961565b90915550506001600160a01b03821660009081526003602052604081208054600192906124d7908490613916565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b606080600061256f8661254a8961267a565b60405160200161255b929190613126565b604051602081830303815290604052612996565b905060008586518361258191906139fa565b8151811061259157612591613a50565b602002602001015190506000858751846125ab91906139fa565b815181106125bb576125bb613a50565b6020026020010151905081819450945050505094509492505050565b6125f18282604051806020016040528060008152506129d9565b5050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61265284848461238d565b61265e84848484612a0c565b6114205760405162461bcd60e51b81526004016105f5906137dd565b60608161269e5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156126c857806126b2816139df565b91506126c19050600a8361392e565b91506126a2565b60008167ffffffffffffffff8111156126e3576126e3613a66565b6040519080825280601f01601f19166020018201604052801561270d576020820181803683370190505b5090505b841561238557612722600183613961565b915061272f600a866139fa565b61273a906030613916565b60f81b81838151811061274f5761274f613a50565b60200101906001600160f81b031916908160001a905350612771600a8661392e565b9450612711565b805160609080612798575050604080516020810190915260008152919050565b600060036127a7836002613916565b6127b1919061392e565b6127bc906004613942565b905060006127cb826020613916565b67ffffffffffffffff8111156127e3576127e3613a66565b6040519080825280601f01601f19166020018201604052801561280d576020820181803683370190505b5090506000604051806060016040528060408152602001613ce8604091399050600181016020830160005b86811015612899576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612838565b5060038606600181146128b357600281146128c4576128d0565b613d3d60f01b6001198301526128d0565b603d60f81b6000198301525b505050918152949350505050565b6001600160a01b0383166129395761293481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61295c565b816001600160a01b0316836001600160a01b03161461295c5761295c8382612b19565b6001600160a01b0382166129735761072b81612bb6565b826001600160a01b0316826001600160a01b03161461072b5761072b8282612c65565b60006006826040516020016129ab919061310a565b6040516020818303038152906040528051906020012060001c6129ce91906139fa565b6104e8906001613916565b6129e38383612ca9565b6129f06000848484612a0c565b61072b5760405162461bcd60e51b81526004016105f5906137dd565b60006001600160a01b0384163b15612b0e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612a5090339089908890889060040161375f565b602060405180830381600087803b158015612a6a57600080fd5b505af1925050508015612a9a575060408051601f3d908101601f19168201909252612a9791810190613083565b60015b612af4573d808015612ac8576040519150601f19603f3d011682016040523d82523d6000602084013e612acd565b606091505b508051612aec5760405162461bcd60e51b81526004016105f5906137dd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612385565b506001949350505050565b60006001612b2684611051565b612b309190613961565b600083815260076020526040902054909150808214612b83576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612bc890600190613961565b60008381526009602052604081205460088054939450909284908110612bf057612bf0613a50565b906000526020600020015490508060088381548110612c1157612c11613a50565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612c4957612c49613a3a565b6001900381819060005260206000200160009055905550505050565b6000612c7083611051565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216612cff5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105f5565b6000818152600260205260409020546001600160a01b031615612d645760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105f5565b612d70600083836128de565b6001600160a01b0382166000908152600360205260408120805460019290612d99908490613916565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6040518061022001604052806011905b6060815260200190600190039081612e075790505090565b60408051610120810190915260608152600860208201612e07565b80358015158114612e4a57600080fd5b919050565b600060208284031215612e6157600080fd5b8135612e6c81613a7c565b9392505050565b600060208284031215612e8557600080fd5b8151612e6c81613a7c565b60008060408385031215612ea357600080fd5b8235612eae81613a7c565b91506020830135612ebe81613a7c565b809150509250929050565b600080600060608486031215612ede57600080fd5b8335612ee981613a7c565b92506020840135612ef981613a7c565b929592945050506040919091013590565b60008060008060808587031215612f2057600080fd5b8435612f2b81613a7c565b93506020850135612f3b81613a7c565b925060408501359150606085013567ffffffffffffffff80821115612f5f57600080fd5b818701915087601f830112612f7357600080fd5b813581811115612f8557612f85613a66565b604051601f8201601f19908116603f01168101908382118183101715612fad57612fad613a66565b816040528281528a6020848701011115612fc657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215612ffd57600080fd5b823561300881613a7c565b915061301660208401612e3a565b90509250929050565b6000806040838503121561303257600080fd5b823561303d81613a7c565b946020939093013593505050565b60006020828403121561305d57600080fd5b612e6c82612e3a565b60006020828403121561307857600080fd5b8135612e6c81613a91565b60006020828403121561309557600080fd5b8151612e6c81613a91565b6000602082840312156130b257600080fd5b5035919050565b600080604083850312156130cc57600080fd5b823591506020830135612ebe81613a7c565b600081518084526130f6816020860160208601613978565b601f01601f19169290920160200192915050565b6000825161311c818460208701613978565b9190910192915050565b60008351613138818460208801613978565b83519083019061314c818360208801613978565b01949350505050565b60008651613167818460208b01613978565b86519083019061317b818360208b01613978565b865191019061318e818360208a01613978565b85519101906131a1818360208901613978565b84519101906131b4818360208801613978565b01979650505050505050565b60008a516131d2818460208f01613978565b8a516131e48183860160208f01613978565b8a5191840101906131f9818360208e01613978565b895191019061320c818360208d01613978565b885161321e8183850160208d01613978565b8851929091010190613234818360208b01613978565b86516132468183850160208b01613978565b865192909101019061325c818360208901613978565b845161326e8183850160208901613978565b9101019b9a5050505050505050505050565b60008351613292818460208801613978565b80830190507f7b2274726169745f74797065223a2022486174222c202276616c7565223a2022815283516132cd816020840160208801613978565b61227d60f01b60209290910191820152602201949350505050565b600083516132fa818460208801613978565b80830190507f2c7b2274726169745f74797065223a20224c656773222c202276616c7565223a815261101160f11b60208201528351613340816022840160208801613978565b61227d60f01b60229290910191820152602401949350505050565b6000835161336d818460208801613978565b80830190507f2c7b2274726169745f74797065223a20224d6f757468222c202276616c7565228152621d101160e91b602082015283516133b4816023840160208801613978565b61227d60f01b60239290910191820152602501949350505050565b600083516133e1818460208801613978565b80830190507f2c7b2274726169745f74797065223a202245796573222c202276616c7565223a815261101160f11b60208201528351613340816022840160208801613978565b60008351613439818460208801613978565b80830190507f2c7b2274726169745f74797065223a202246656574222c202276616c7565223a815261101160f11b60208201528351613340816022840160208801613978565b60008351613491818460208801613978565b80830190507f2c7b2274726169745f74797065223a2022426f6479222c202276616c7565223a815261101160f11b60208201528351613340816022840160208801613978565b600082516134e9818460208701613978565b605d60f81b920191825250600101919050565b6000835161350e818460208801613978565b80830190507f2c7b2274726169745f74797065223a20224e65636b222c202276616c7565223a815261101160f11b60208201528351613340816022840160208801613978565b60008351613566818460208801613978565b80830190507f2c7b2274726169745f74797065223a202248616972222c202276616c7565223a815261101160f11b60208201528351613340816022840160208801613978565b7f7b226e616d65223a2022426c6f6f7461766174617220230000000000000000008152600084516135e4816017850160208901613978565b7f222c20226465736372697074696f6e223a2022426c6f6f7461766174617273206017918401918201527f6172652072616e646f6d697a656420426c6f6f7420617661746172732067656e60378201527f65726174656420616e642073746f726564206f6e20636861696e2e204665656c60578201527f206672656520746f2075736520426c6f6f746176617461727320696e20616e7960778201526f081dd85e481e5bdd481dd85b9d0b888b60821b609782015284516136ac8160a7840160208901613978565b7f2c22696d616765223a2022646174613a696d6167652f7376672b786d6c3b626160a79290910191820152641cd94d8d0b60da1b60c782015283516136f88160cc840160208801613978565b61370f60cc8284010161227d60f01b815260020190565b979650505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161375281601d850160208701613978565b91909101601d0192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613792908301846130de565b9695505050505050565b602081526000612e6c60208301846130de565b6040815260006137c260408301856130de565b82810360208401526137d481856130de565b95945050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526010908201526f151bdad95b881251081a5b9d985b1a5960821b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561392957613929613a0e565b500190565b60008261393d5761393d613a24565b500490565b600081600019048311821515161561395c5761395c613a0e565b500290565b60008282101561397357613973613a0e565b500390565b60005b8381101561399357818101518382015260200161397b565b838111156114205750506000910152565b600181811c908216806139b857607f821691505b602082108114156139d957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156139f3576139f3613a0e565b5060010190565b600082613a0957613a09613a24565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461200a57600080fd5b6001600160e01b03198116811461200a57600080fdfe3c2f746578743e3c7465787420783d2231302220793d223136302220666f6e742d66616d696c793d226d6f6e6f7370616365223e3c2f746578743e3c7465787420783d2231302220793d2238302220666f6e742d66616d696c793d226d6f6e6f7370616365223e3c2f746578743e3c7465787420783d2231302220793d223130302220666f6e742d66616d696c793d226d6f6e6f7370616365223e3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2066696c6c3a20626c61636b3b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d222330316666303122202f3e3c7465787420783d2231302220793d2232302220666f6e742d66616d696c793d226d6f6e6f7370616365223e3c2f746578743e3c7465787420783d2231302220793d223134302220666f6e742d66616d696c793d226d6f6e6f7370616365223e3c2f746578743e3c7465787420783d2231302220793d223132302220666f6e742d66616d696c793d226d6f6e6f7370616365223e3c2f746578743e3c7465787420783d2231302220793d2234302220666f6e742d66616d696c793d226d6f6e6f7370616365223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c2f746578743e3c7465787420783d2231302220793d2236302220666f6e742d66616d696c793d226d6f6e6f7370616365223ea2646970667358221220ee9029f9d52c66ddeeb789139cb1bd8fded8b214a1d92c5c387aa42199ce891264736f6c63430008070033
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.