ERC-721
NFT
Overview
Max Total Supply
999 Worms
Holders
369
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 WormsLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Worms
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT /* ░██╗░░░░░░░██╗░█████╗░██████╗░███╗░░░███╗░██████╗ ░██║░░██╗░░██║██╔══██╗██╔══██╗████╗░████║██╔════╝ ░╚██╗████╗██╔╝██║░░██║██████╔╝██╔████╔██║╚█████╗░ ░░████╔═████║░██║░░██║██╔══██╗██║╚██╔╝██║░╚═══██╗ ░░╚██╔╝░╚██╔╝░╚█████╔╝██║░░██║██║░╚═╝░██║██████╔╝ ░░░╚═╝░░░╚═╝░░░╚════╝░╚═╝░░╚═╝╚═╝░░░░░╚═╝╚═════╝░ */ //Worms v1 pragma solidity 0.8.17; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import {OperatorFilterer} from "closedsea/src/OperatorFilterer.sol"; contract Worms is OperatorFilterer, Ownable, ERC721Enumerable { constructor() ERC721("Worms", "Worms") {} uint256 public maxSupply = 999; uint256 minted; string public baseURI; string public baseExtension = ".json"; bool public paused = false; bool public mergeEnabled = false; uint256 constant public mergeId = 1; mapping(uint256 => address) public tokenOwner; mapping(address => uint256) public tokenBalance; event Burn(address indexed owner, uint256 indexed tokenId); event Claim(address indexed owner, uint256 indexed tokenId); function mint(uint256 _tokenID) public payable { require(msg.value >= 0.005 ether, "Insufficient payment."); require(minted < maxSupply, "Max Supply is 999."); require(_tokenID < maxSupply, "Your character ID should be between 0-998."); require(!_exists(_tokenID), "Another user has claimed this character."); require(!paused, "Worms is not live, please wait."); minted++; _safeMint(msg.sender, _tokenID); } function WormsMerge(uint256 _tokenId, uint256[] memory consumedTokenIds) external { require(mergeEnabled, "Can't merge yet."); require(_isApprovedOrOwner(_msgSender(), _tokenId), "Not approved."); uint256 count = consumedTokenIds.length; uint256 mergers; for (uint256 i; i < count;) { uint256 tokenId = consumedTokenIds[i]; _burn(tokenId); } _safeMint(msg.sender, _tokenId); } function WormsBurn(uint256 tokenId) public { require(_exists(tokenId), "Token does not exist"); address owner = tokenOwner[tokenId]; require(owner == msg.sender, "Only token owner can burn"); _burn(tokenId); emit Burn(owner, tokenId); } function claimBurned(uint256 tokenId) public { address owner = msg.sender; require(_exists(tokenId), "Token does not exist"); require(tokenOwner[tokenId] == address(0), "Token already owned"); _mint(owner, tokenId); emit Claim(owner, tokenId); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = string(abi.encodePacked(_newBaseURI)); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _exists(tokenId); return bytes(baseURI).length > 0 ? string( abi.encodePacked( baseURI, Strings.toString(tokenId), ".json" ) ) : ""; } function setApprovalForAll(address operator, bool approved) public override(ERC721, IERC721) onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override(ERC721, IERC721) onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom( address from, address to, uint256 tokenId ) public override(ERC721, IERC721) onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public override(ERC721, IERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public override(ERC721, IERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } function withdraw() external onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success, "Transfer failed."); } function setPaused(bool _state) public onlyOwner { paused = _state; } function setMerge(bool _state) public onlyOwner { mergeEnabled = _state; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /// @notice Optimized and flexible operator filterer to abide to OpenSea's /// mandatory on-chain royalty enforcement in order for new collections to /// receive royalties. /// For more information, see: /// See: https://github.com/ProjectOpenSea/operator-filter-registry abstract contract OperatorFilterer { /// @dev The default OpenSea operator blocklist subscription. address internal constant _DEFAULT_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; /// @dev The OpenSea operator filter registry. address internal constant _OPERATOR_FILTER_REGISTRY = 0x000000000000AAeB6D7670E522A718067333cd4E; /// @dev Registers the current contract to OpenSea's operator filter, /// and subscribe to the default OpenSea operator blocklist. /// Note: Will not revert nor update existing settings for repeated registration. function _registerForOperatorFiltering() internal virtual { _registerForOperatorFiltering(_DEFAULT_SUBSCRIPTION, true); } /// @dev Registers the current contract to OpenSea's operator filter. /// Note: Will not revert nor update existing settings for repeated registration. function _registerForOperatorFiltering(address subscriptionOrRegistrantToCopy, bool subscribe) internal virtual { /// @solidity memory-safe-assembly assembly { let functionSelector := 0x7d3e3dbe // `registerAndSubscribe(address,address)`. // Clean the upper 96 bits of `subscriptionOrRegistrantToCopy` in case they are dirty. subscriptionOrRegistrantToCopy := shr(96, shl(96, subscriptionOrRegistrantToCopy)) for {} iszero(subscribe) {} { if iszero(subscriptionOrRegistrantToCopy) { functionSelector := 0x4420e486 // `register(address)`. break } functionSelector := 0xa0af2903 // `registerAndCopyEntries(address,address)`. break } // Store the function selector. mstore(0x00, shl(224, functionSelector)) // Store the `address(this)`. mstore(0x04, address()) // Store the `subscriptionOrRegistrantToCopy`. mstore(0x24, subscriptionOrRegistrantToCopy) // Register into the registry. if iszero(call(gas(), _OPERATOR_FILTER_REGISTRY, 0, 0x00, 0x44, 0x00, 0x04)) { // If the function selector has not been overwritten, // it is an out-of-gas error. if eq(shr(224, mload(0x00)), functionSelector) { // To prevent gas under-estimation. revert(0, 0) } } // Restore the part of the free memory pointer that was overwritten, // which is guaranteed to be zero, because of Solidity's memory size limits. mstore(0x24, 0) } } /// @dev Modifier to guard a function and revert if the caller is a blocked operator. modifier onlyAllowedOperator(address from) virtual { if (from != msg.sender) { if (!_isPriorityOperator(msg.sender)) { if (_operatorFilteringEnabled()) _revertIfBlocked(msg.sender); } } _; } /// @dev Modifier to guard a function from approving a blocked operator.. modifier onlyAllowedOperatorApproval(address operator) virtual { if (!_isPriorityOperator(operator)) { if (_operatorFilteringEnabled()) _revertIfBlocked(operator); } _; } /// @dev Helper function that reverts if the `operator` is blocked by the registry. function _revertIfBlocked(address operator) private view { /// @solidity memory-safe-assembly assembly { // Store the function selector of `isOperatorAllowed(address,address)`, // shifted left by 6 bytes, which is enough for 8tb of memory. // We waste 6-3 = 3 bytes to save on 6 runtime gas (PUSH1 0x224 SHL). mstore(0x00, 0xc6171134001122334455) // Store the `address(this)`. mstore(0x1a, address()) // Store the `operator`. mstore(0x3a, operator) // `isOperatorAllowed` always returns true if it does not revert. if iszero(staticcall(gas(), _OPERATOR_FILTER_REGISTRY, 0x16, 0x44, 0x00, 0x00)) { // Bubble up the revert if the staticcall reverts. returndatacopy(0x00, 0x00, returndatasize()) revert(0x00, returndatasize()) } // We'll skip checking if `from` is inside the blacklist. // Even though that can block transferring out of wrapper contracts, // we don't want tokens to be stuck. // Restore the part of the free memory pointer that was overwritten, // which is guaranteed to be zero, if less than 8tb of memory is used. mstore(0x3a, 0) } } /// @dev For deriving contracts to override, so that operator filtering /// can be turned on / off. /// Returns true by default. function _operatorFilteringEnabled() internal view virtual returns (bool) { return true; } /// @dev For deriving contracts to override, so that preferred marketplaces can /// skip operator filtering, helping users save gas. /// Returns false for all inputs by default. function _isPriorityOperator(address) internal view virtual returns (bool) { return false; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @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 See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; 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(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); 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) { _requireMinted(tokenId); 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 overridden 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 token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_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: caller is not token owner or 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: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @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 _ownerOf(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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @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 from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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 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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "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":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Claim","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":"uint256","name":"tokenId","type":"uint256"}],"name":"WormsBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256[]","name":"consumedTokenIds","type":"uint256[]"}],"name":"WormsMerge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimBurned","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":"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mergeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mergeId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setMerge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","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":"address","name":"","type":"address"}],"name":"tokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"","type":"uint256"}],"name":"tokenOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526103e7600b556040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600e908162000050919062000493565b506000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055503480156200009457600080fd5b506040518060400160405280600581526020017f576f726d730000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f576f726d7300000000000000000000000000000000000000000000000000000081525062000121620001156200014d60201b60201c565b6200015560201b60201c565b816001908162000132919062000493565b50806002908162000144919062000493565b5050506200057a565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200029b57607f821691505b602082108103620002b157620002b062000253565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200031b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002dc565b620003278683620002dc565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003746200036e62000368846200033f565b62000349565b6200033f565b9050919050565b6000819050919050565b620003908362000353565b620003a86200039f826200037b565b848454620002e9565b825550505050565b600090565b620003bf620003b0565b620003cc81848462000385565b505050565b5b81811015620003f457620003e8600082620003b5565b600181019050620003d2565b5050565b601f82111562000443576200040d81620002b7565b6200041884620002cc565b8101602085101562000428578190505b620004406200043785620002cc565b830182620003d1565b50505b505050565b600082821c905092915050565b6000620004686000198460080262000448565b1980831691505092915050565b600062000483838362000455565b9150826002028217905092915050565b6200049e8262000219565b67ffffffffffffffff811115620004ba57620004b962000224565b5b620004c6825462000282565b620004d3828285620003f8565b600060209050601f8311600181146200050b5760008415620004f6578287015190505b62000502858262000475565b86555062000572565b601f1984166200051b86620002b7565b60005b8281101562000545578489015182556001820191506020850194506020810190506200051e565b8683101562000565578489015162000561601f89168262000455565b8355505b6001600288020188555050505b505050505050565b614bd0806200058a6000396000f3fe6080604052600436106102045760003560e01c80636c0360eb11610118578063b88d4fde116100a0578063e33e4b491161006f578063e33e4b4914610758578063e985e9c514610783578063eedc966a146107c0578063f2fde38b146107fd578063ff8146a41461082657610204565b8063b88d4fde1461069c578063c6682862146106c5578063c87b56dd146106f0578063d5abeb011461072d57610204565b80638da5cb5b116100e75780638da5cb5b146105d657806395d89b41146106015780639ca2f58b1461062c578063a0712d6814610657578063a22cb4651461067357610204565b80636c0360eb1461052e5780636e1a7f2a1461055957806370a0823114610582578063715018a6146105bf57610204565b806323b872dd1161019b57806342842e0e1161016a57806342842e0e146104375780634f6ccce71461046057806355f804b31461049d5780635c975abb146104c65780636352211e146104f157610204565b806323b872dd146103915780632f745c59146103ba578063318ec492146103f75780633ccfd60b1461042057610204565b8063095ea7b3116101d7578063095ea7b3146102d757806316c38b3c1461030057806318160ddd146103295780631caaa4871461035457610204565b806301e2d99f1461020957806301ffc9a71461023257806306fdde031461026f578063081812fc1461029a575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b919061300f565b61084f565b005b34801561023e57600080fd5b5061025960048036038101906102549190613094565b610874565b60405161026691906130d0565b60405180910390f35b34801561027b57600080fd5b506102846108ee565b604051610291919061317b565b60405180910390f35b3480156102a657600080fd5b506102c160048036038101906102bc91906131d3565b610980565b6040516102ce9190613241565b60405180910390f35b3480156102e357600080fd5b506102fe60048036038101906102f99190613288565b6109c6565b005b34801561030c57600080fd5b506103276004803603810190610322919061300f565b6109fb565b005b34801561033557600080fd5b5061033e610a20565b60405161034b91906132d7565b60405180910390f35b34801561036057600080fd5b5061037b600480360381019061037691906131d3565b610a2d565b6040516103889190613241565b60405180910390f35b34801561039d57600080fd5b506103b860048036038101906103b391906132f2565b610a60565b005b3480156103c657600080fd5b506103e160048036038101906103dc9190613288565b610acb565b6040516103ee91906132d7565b60405180910390f35b34801561040357600080fd5b5061041e600480360381019061041991906131d3565b610b70565b005b34801561042c57600080fd5b50610435610cb1565b005b34801561044357600080fd5b5061045e600480360381019061045991906132f2565b610d68565b005b34801561046c57600080fd5b50610487600480360381019061048291906131d3565b610dd3565b60405161049491906132d7565b60405180910390f35b3480156104a957600080fd5b506104c460048036038101906104bf919061347a565b610e44565b005b3480156104d257600080fd5b506104db610e7e565b6040516104e891906130d0565b60405180910390f35b3480156104fd57600080fd5b50610518600480360381019061051391906131d3565b610e91565b6040516105259190613241565b60405180910390f35b34801561053a57600080fd5b50610543610f17565b604051610550919061317b565b60405180910390f35b34801561056557600080fd5b50610580600480360381019061057b919061358b565b610fa5565b005b34801561058e57600080fd5b506105a960048036038101906105a491906135e7565b611095565b6040516105b691906132d7565b60405180910390f35b3480156105cb57600080fd5b506105d461114c565b005b3480156105e257600080fd5b506105eb611160565b6040516105f89190613241565b60405180910390f35b34801561060d57600080fd5b50610616611189565b604051610623919061317b565b60405180910390f35b34801561063857600080fd5b5061064161121b565b60405161064e91906132d7565b60405180910390f35b610671600480360381019061066c91906131d3565b611220565b005b34801561067f57600080fd5b5061069a60048036038101906106959190613614565b6113b2565b005b3480156106a857600080fd5b506106c360048036038101906106be91906136f5565b6113e7565b005b3480156106d157600080fd5b506106da611454565b6040516106e7919061317b565b60405180910390f35b3480156106fc57600080fd5b50610717600480360381019061071291906131d3565b6114e2565b604051610724919061317b565b60405180910390f35b34801561073957600080fd5b5061074261154c565b60405161074f91906132d7565b60405180910390f35b34801561076457600080fd5b5061076d611552565b60405161077a91906130d0565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a59190613778565b611565565b6040516107b791906130d0565b60405180910390f35b3480156107cc57600080fd5b506107e760048036038101906107e291906135e7565b6115f9565b6040516107f491906132d7565b60405180910390f35b34801561080957600080fd5b50610824600480360381019061081f91906135e7565b611611565b005b34801561083257600080fd5b5061084d600480360381019061084891906131d3565b611694565b005b6108576117d3565b80600f60016101000a81548160ff02191690831515021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e757506108e682611851565b5b9050919050565b6060600180546108fd906137e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610929906137e7565b80156109765780601f1061094b57610100808354040283529160200191610976565b820191906000526020600020905b81548152906001019060200180831161095957829003601f168201915b5050505050905090565b600061098b82611933565b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b816109d08161197e565b6109ec576109dc611985565b156109eb576109ea8161198e565b5b5b6109f683836119d2565b505050565b610a036117d3565b80600f60006101000a81548160ff02191690831515021790555050565b6000600980549050905090565b60106020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610aba57610a9d3361197e565b610ab957610aa9611985565b15610ab857610ab73361198e565b5b5b5b610ac5848484611ae9565b50505050565b6000610ad683611095565b8210610b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0e9061388a565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000339050610b7e82611b49565b610bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb4906138f6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166010600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5690613962565b60405180910390fd5b610c698183611b8a565b818173ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d460405160405180910390a35050565b610cb96117d3565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610cdf906139b3565b60006040518083038185875af1925050503d8060008114610d1c576040519150601f19603f3d011682016040523d82523d6000602084013e610d21565b606091505b5050905080610d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5c90613a14565b60405180910390fd5b50565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dc257610da53361197e565b610dc157610db1611985565b15610dc057610dbf3361198e565b5b5b5b610dcd848484611da7565b50505050565b6000610ddd610a20565b8210610e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1590613aa6565b60405180910390fd5b60098281548110610e3257610e31613ac6565b5b90600052602060002001549050919050565b610e4c6117d3565b80604051602001610e5d9190613b31565b604051602081830303815290604052600d9081610e7a9190613cf4565b5050565b600f60009054906101000a900460ff1681565b600080610e9d83611dc7565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0590613e12565b60405180910390fd5b80915050919050565b600d8054610f24906137e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610f50906137e7565b8015610f9d5780601f10610f7257610100808354040283529160200191610f9d565b820191906000526020600020905b815481529060010190602001808311610f8057829003601f168201915b505050505081565b600f60019054906101000a900460ff16610ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610feb90613e7e565b60405180910390fd5b611005610fff611e04565b83611e0c565b611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103b90613eea565b60405180910390fd5b6000815190506000805b8281101561108457600084828151811061106b5761106a613ac6565b5b6020026020010151905061107e81611ea1565b5061104e565b5061108f3385611fef565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fc90613f7c565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111546117d3565b61115e600061200d565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611198906137e7565b80601f01602080910402602001604051908101604052809291908181526020018280546111c4906137e7565b80156112115780601f106111e657610100808354040283529160200191611211565b820191906000526020600020905b8154815290600101906020018083116111f457829003601f168201915b5050505050905090565b600181565b6611c37937e0800034101561126a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126190613fe8565b60405180910390fd5b600b54600c54106112b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a790614054565b60405180910390fd5b600b5481106112f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112eb906140e6565b60405180910390fd5b6112fd81611b49565b1561133d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133490614178565b60405180910390fd5b600f60009054906101000a900460ff161561138d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611384906141e4565b60405180910390fd5b600c60008154809291906113a090614233565b91905055506113af3382611fef565b50565b816113bc8161197e565b6113d8576113c8611985565b156113d7576113d68161198e565b5b5b6113e283836120d1565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611441576114243361197e565b61144057611430611985565b1561143f5761143e3361198e565b5b5b5b61144d858585856120e7565b5050505050565b600e8054611461906137e7565b80601f016020809104026020016040519081016040528092919081815260200182805461148d906137e7565b80156114da5780601f106114af576101008083540402835291602001916114da565b820191906000526020600020905b8154815290600101906020018083116114bd57829003601f168201915b505050505081565b60606114ed82611b49565b506000600d80546114fd906137e7565b9050116115195760405180602001604052806000815250611545565b600d61152483612149565b60405160200161153592919061434a565b6040516020818303038152906040525b9050919050565b600b5481565b600f60019054906101000a900460ff1681565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60116020528060005260406000206000915090505481565b6116196117d3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611688576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167f906143eb565b60405180910390fd5b6116918161200d565b50565b61169d81611b49565b6116dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d3906138f6565b60405180910390fd5b60006010600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177990614457565b60405180910390fd5b61178b82611ea1565b818173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca560405160405180910390a35050565b6117db611e04565b73ffffffffffffffffffffffffffffffffffffffff166117f9611160565b73ffffffffffffffffffffffffffffffffffffffff161461184f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611846906144c3565b60405180910390fd5b565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061191c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061192c575061192b82612217565b5b9050919050565b61193c81611b49565b61197b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197290613e12565b60405180910390fd5b50565b6000919050565b60006001905090565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa6119ca573d6000803e3d6000fd5b6000603a5250565b60006119dd82610e91565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4490614555565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611a6c611e04565b73ffffffffffffffffffffffffffffffffffffffff161480611a9b5750611a9a81611a95611e04565b611565565b5b611ada576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad1906145e7565b60405180910390fd5b611ae48383612281565b505050565b611afa611af4611e04565b82611e0c565b611b39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3090614679565b60405180910390fd5b611b4483838361233a565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff16611b6b83611dc7565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf0906146e5565b60405180910390fd5b611c0281611b49565b15611c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3990614751565b60405180910390fd5b611c50600083836001612633565b611c5981611b49565b15611c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9090614751565b60405180910390fd5b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611da3600083836001612791565b5050565b611dc2838383604051806020016040528060008152506113e7565b505050565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600033905090565b600080611e1883610e91565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e5a5750611e598185611565565b5b80611e9857508373ffffffffffffffffffffffffffffffffffffffff16611e8084610980565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000611eac82610e91565b9050611ebc816000846001612633565b611ec582610e91565b90506005600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611feb816000846001612791565b5050565b612009828260405180602001604052806000815250612797565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6120e36120dc611e04565b83836127f2565b5050565b6120f86120f2611e04565b83611e0c565b612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e90614679565b60405180910390fd5b6121438484848461295e565b50505050565b606060006001612158846129ba565b01905060008167ffffffffffffffff8111156121775761217661334f565b5b6040519080825280601f01601f1916602001820160405280156121a95781602001600182028036833780820191505090505b509050600082602001820190505b60011561220c578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612200576121ff614771565b5b049450600085036121b7575b819350505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122f483610e91565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8273ffffffffffffffffffffffffffffffffffffffff1661235a82610e91565b73ffffffffffffffffffffffffffffffffffffffff16146123b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a790614812565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361241f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612416906148a4565b60405180910390fd5b61242c8383836001612633565b8273ffffffffffffffffffffffffffffffffffffffff1661244c82610e91565b73ffffffffffffffffffffffffffffffffffffffff16146124a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249990614812565b60405180910390fd5b6005600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461262e8383836001612791565b505050565b61263f84848484612b0d565b6001811115612683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267a90614936565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036126ca576126c581612b13565b612709565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614612708576127078582612b5c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361274b5761274681612cc9565b61278a565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612789576127888482612d9a565b5b5b5050505050565b50505050565b6127a18383611b8a565b6127ae6000848484612e19565b6127ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e4906149c8565b60405180910390fd5b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612860576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285790614a34565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161295191906130d0565b60405180910390a3505050565b61296984848461233a565b61297584848484612e19565b6129b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ab906149c8565b60405180910390fd5b50505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612a18577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612a0e57612a0d614771565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612a55576d04ee2d6d415b85acef81000000008381612a4b57612a4a614771565b5b0492506020810190505b662386f26fc100008310612a8457662386f26fc100008381612a7a57612a79614771565b5b0492506010810190505b6305f5e1008310612aad576305f5e1008381612aa357612aa2614771565b5b0492506008810190505b6127108310612ad2576127108381612ac857612ac7614771565b5b0492506004810190505b60648310612af55760648381612aeb57612aea614771565b5b0492506002810190505b600a8310612b04576001810190505b80915050919050565b50505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612b6984611095565b612b739190614a54565b9050600060086000848152602001908152602001600020549050818114612c58576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612cdd9190614a54565b90506000600a6000848152602001908152602001600020549050600060098381548110612d0d57612d0c613ac6565b5b906000526020600020015490508060098381548110612d2f57612d2e613ac6565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480612d7e57612d7d614a88565b5b6001900381819060005260206000200160009055905550505050565b6000612da583611095565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b6000612e3a8473ffffffffffffffffffffffffffffffffffffffff16612fa0565b15612f93578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e63611e04565b8786866040518563ffffffff1660e01b8152600401612e859493929190614b0c565b6020604051808303816000875af1925050508015612ec157506040513d601f19601f82011682018060405250810190612ebe9190614b6d565b60015b612f43573d8060008114612ef1576040519150601f19603f3d011682016040523d82523d6000602084013e612ef6565b606091505b506000815103612f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f32906149c8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f98565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60008115159050919050565b612fec81612fd7565b8114612ff757600080fd5b50565b60008135905061300981612fe3565b92915050565b60006020828403121561302557613024612fcd565b5b600061303384828501612ffa565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130718161303c565b811461307c57600080fd5b50565b60008135905061308e81613068565b92915050565b6000602082840312156130aa576130a9612fcd565b5b60006130b88482850161307f565b91505092915050565b6130ca81612fd7565b82525050565b60006020820190506130e560008301846130c1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561312557808201518184015260208101905061310a565b60008484015250505050565b6000601f19601f8301169050919050565b600061314d826130eb565b61315781856130f6565b9350613167818560208601613107565b61317081613131565b840191505092915050565b600060208201905081810360008301526131958184613142565b905092915050565b6000819050919050565b6131b08161319d565b81146131bb57600080fd5b50565b6000813590506131cd816131a7565b92915050565b6000602082840312156131e9576131e8612fcd565b5b60006131f7848285016131be565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061322b82613200565b9050919050565b61323b81613220565b82525050565b60006020820190506132566000830184613232565b92915050565b61326581613220565b811461327057600080fd5b50565b6000813590506132828161325c565b92915050565b6000806040838503121561329f5761329e612fcd565b5b60006132ad85828601613273565b92505060206132be858286016131be565b9150509250929050565b6132d18161319d565b82525050565b60006020820190506132ec60008301846132c8565b92915050565b60008060006060848603121561330b5761330a612fcd565b5b600061331986828701613273565b935050602061332a86828701613273565b925050604061333b868287016131be565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61338782613131565b810181811067ffffffffffffffff821117156133a6576133a561334f565b5b80604052505050565b60006133b9612fc3565b90506133c5828261337e565b919050565b600067ffffffffffffffff8211156133e5576133e461334f565b5b6133ee82613131565b9050602081019050919050565b82818337600083830152505050565b600061341d613418846133ca565b6133af565b9050828152602081018484840111156134395761343861334a565b5b6134448482856133fb565b509392505050565b600082601f83011261346157613460613345565b5b813561347184826020860161340a565b91505092915050565b6000602082840312156134905761348f612fcd565b5b600082013567ffffffffffffffff8111156134ae576134ad612fd2565b5b6134ba8482850161344c565b91505092915050565b600067ffffffffffffffff8211156134de576134dd61334f565b5b602082029050602081019050919050565b600080fd5b6000613507613502846134c3565b6133af565b9050808382526020820190506020840283018581111561352a576135296134ef565b5b835b81811015613553578061353f88826131be565b84526020840193505060208101905061352c565b5050509392505050565b600082601f83011261357257613571613345565b5b81356135828482602086016134f4565b91505092915050565b600080604083850312156135a2576135a1612fcd565b5b60006135b0858286016131be565b925050602083013567ffffffffffffffff8111156135d1576135d0612fd2565b5b6135dd8582860161355d565b9150509250929050565b6000602082840312156135fd576135fc612fcd565b5b600061360b84828501613273565b91505092915050565b6000806040838503121561362b5761362a612fcd565b5b600061363985828601613273565b925050602061364a85828601612ffa565b9150509250929050565b600067ffffffffffffffff82111561366f5761366e61334f565b5b61367882613131565b9050602081019050919050565b600061369861369384613654565b6133af565b9050828152602081018484840111156136b4576136b361334a565b5b6136bf8482856133fb565b509392505050565b600082601f8301126136dc576136db613345565b5b81356136ec848260208601613685565b91505092915050565b6000806000806080858703121561370f5761370e612fcd565b5b600061371d87828801613273565b945050602061372e87828801613273565b935050604061373f878288016131be565b925050606085013567ffffffffffffffff8111156137605761375f612fd2565b5b61376c878288016136c7565b91505092959194509250565b6000806040838503121561378f5761378e612fcd565b5b600061379d85828601613273565b92505060206137ae85828601613273565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806137ff57607f821691505b602082108103613812576138116137b8565b5b50919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613874602b836130f6565b915061387f82613818565b604082019050919050565b600060208201905081810360008301526138a381613867565b9050919050565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b60006138e06014836130f6565b91506138eb826138aa565b602082019050919050565b6000602082019050818103600083015261390f816138d3565b9050919050565b7f546f6b656e20616c7265616479206f776e656400000000000000000000000000600082015250565b600061394c6013836130f6565b915061395782613916565b602082019050919050565b6000602082019050818103600083015261397b8161393f565b9050919050565b600081905092915050565b50565b600061399d600083613982565b91506139a88261398d565b600082019050919050565b60006139be82613990565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006139fe6010836130f6565b9150613a09826139c8565b602082019050919050565b60006020820190508181036000830152613a2d816139f1565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613a90602c836130f6565b9150613a9b82613a34565b604082019050919050565b60006020820190508181036000830152613abf81613a83565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b6000613b0b826130eb565b613b158185613af5565b9350613b25818560208601613107565b80840191505092915050565b6000613b3d8284613b00565b915081905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613baa7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613b6d565b613bb48683613b6d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613bf1613bec613be78461319d565b613bcc565b61319d565b9050919050565b6000819050919050565b613c0b83613bd6565b613c1f613c1782613bf8565b848454613b7a565b825550505050565b600090565b613c34613c27565b613c3f818484613c02565b505050565b5b81811015613c6357613c58600082613c2c565b600181019050613c45565b5050565b601f821115613ca857613c7981613b48565b613c8284613b5d565b81016020851015613c91578190505b613ca5613c9d85613b5d565b830182613c44565b50505b505050565b600082821c905092915050565b6000613ccb60001984600802613cad565b1980831691505092915050565b6000613ce48383613cba565b9150826002028217905092915050565b613cfd826130eb565b67ffffffffffffffff811115613d1657613d1561334f565b5b613d2082546137e7565b613d2b828285613c67565b600060209050601f831160018114613d5e5760008415613d4c578287015190505b613d568582613cd8565b865550613dbe565b601f198416613d6c86613b48565b60005b82811015613d9457848901518255600182019150602085019450602081019050613d6f565b86831015613db15784890151613dad601f891682613cba565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613dfc6018836130f6565b9150613e0782613dc6565b602082019050919050565b60006020820190508181036000830152613e2b81613def565b9050919050565b7f43616e2774206d65726765207965742e00000000000000000000000000000000600082015250565b6000613e686010836130f6565b9150613e7382613e32565b602082019050919050565b60006020820190508181036000830152613e9781613e5b565b9050919050565b7f4e6f7420617070726f7665642e00000000000000000000000000000000000000600082015250565b6000613ed4600d836130f6565b9150613edf82613e9e565b602082019050919050565b60006020820190508181036000830152613f0381613ec7565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613f666029836130f6565b9150613f7182613f0a565b604082019050919050565b60006020820190508181036000830152613f9581613f59565b9050919050565b7f496e73756666696369656e74207061796d656e742e0000000000000000000000600082015250565b6000613fd26015836130f6565b9150613fdd82613f9c565b602082019050919050565b6000602082019050818103600083015261400181613fc5565b9050919050565b7f4d617820537570706c79206973203939392e0000000000000000000000000000600082015250565b600061403e6012836130f6565b915061404982614008565b602082019050919050565b6000602082019050818103600083015261406d81614031565b9050919050565b7f596f7572206368617261637465722049442073686f756c64206265206265747760008201527f65656e20302d3939382e00000000000000000000000000000000000000000000602082015250565b60006140d0602a836130f6565b91506140db82614074565b604082019050919050565b600060208201905081810360008301526140ff816140c3565b9050919050565b7f416e6f7468657220757365722068617320636c61696d6564207468697320636860008201527f617261637465722e000000000000000000000000000000000000000000000000602082015250565b60006141626028836130f6565b915061416d82614106565b604082019050919050565b6000602082019050818103600083015261419181614155565b9050919050565b7f576f726d73206973206e6f74206c6976652c20706c6561736520776169742e00600082015250565b60006141ce601f836130f6565b91506141d982614198565b602082019050919050565b600060208201905081810360008301526141fd816141c1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061423e8261319d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036142705761426f614204565b5b600182019050919050565b60008154614288816137e7565b6142928186613af5565b945060018216600081146142ad57600181146142c2576142f5565b60ff19831686528115158202860193506142f5565b6142cb85613b48565b60005b838110156142ed578154818901526001820191506020810190506142ce565b838801955050505b50505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614334600583613af5565b915061433f826142fe565b600582019050919050565b6000614356828561427b565b91506143628284613b00565b915061436d82614327565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006143d56026836130f6565b91506143e082614379565b604082019050919050565b60006020820190508181036000830152614404816143c8565b9050919050565b7f4f6e6c7920746f6b656e206f776e65722063616e206275726e00000000000000600082015250565b60006144416019836130f6565b915061444c8261440b565b602082019050919050565b6000602082019050818103600083015261447081614434565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144ad6020836130f6565b91506144b882614477565b602082019050919050565b600060208201905081810360008301526144dc816144a0565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061453f6021836130f6565b915061454a826144e3565b604082019050919050565b6000602082019050818103600083015261456e81614532565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b60006145d1603d836130f6565b91506145dc82614575565b604082019050919050565b60006020820190508181036000830152614600816145c4565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614663602d836130f6565b915061466e82614607565b604082019050919050565b6000602082019050818103600083015261469281614656565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006146cf6020836130f6565b91506146da82614699565b602082019050919050565b600060208201905081810360008301526146fe816146c2565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061473b601c836130f6565b915061474682614705565b602082019050919050565b6000602082019050818103600083015261476a8161472e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006147fc6025836130f6565b9150614807826147a0565b604082019050919050565b6000602082019050818103600083015261482b816147ef565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061488e6024836130f6565b915061489982614832565b604082019050919050565b600060208201905081810360008301526148bd81614881565b9050919050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b60006149206035836130f6565b915061492b826148c4565b604082019050919050565b6000602082019050818103600083015261494f81614913565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006149b26032836130f6565b91506149bd82614956565b604082019050919050565b600060208201905081810360008301526149e1816149a5565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614a1e6019836130f6565b9150614a29826149e8565b602082019050919050565b60006020820190508181036000830152614a4d81614a11565b9050919050565b6000614a5f8261319d565b9150614a6a8361319d565b9250828203905081811115614a8257614a81614204565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000614ade82614ab7565b614ae88185614ac2565b9350614af8818560208601613107565b614b0181613131565b840191505092915050565b6000608082019050614b216000830187613232565b614b2e6020830186613232565b614b3b60408301856132c8565b8181036060830152614b4d8184614ad3565b905095945050505050565b600081519050614b6781613068565b92915050565b600060208284031215614b8357614b82612fcd565b5b6000614b9184828501614b58565b9150509291505056fea26469706673582212200c06835eb7deffe013615f311f13d54a6994474292058129d871d60cbcbd708164736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102045760003560e01c80636c0360eb11610118578063b88d4fde116100a0578063e33e4b491161006f578063e33e4b4914610758578063e985e9c514610783578063eedc966a146107c0578063f2fde38b146107fd578063ff8146a41461082657610204565b8063b88d4fde1461069c578063c6682862146106c5578063c87b56dd146106f0578063d5abeb011461072d57610204565b80638da5cb5b116100e75780638da5cb5b146105d657806395d89b41146106015780639ca2f58b1461062c578063a0712d6814610657578063a22cb4651461067357610204565b80636c0360eb1461052e5780636e1a7f2a1461055957806370a0823114610582578063715018a6146105bf57610204565b806323b872dd1161019b57806342842e0e1161016a57806342842e0e146104375780634f6ccce71461046057806355f804b31461049d5780635c975abb146104c65780636352211e146104f157610204565b806323b872dd146103915780632f745c59146103ba578063318ec492146103f75780633ccfd60b1461042057610204565b8063095ea7b3116101d7578063095ea7b3146102d757806316c38b3c1461030057806318160ddd146103295780631caaa4871461035457610204565b806301e2d99f1461020957806301ffc9a71461023257806306fdde031461026f578063081812fc1461029a575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b919061300f565b61084f565b005b34801561023e57600080fd5b5061025960048036038101906102549190613094565b610874565b60405161026691906130d0565b60405180910390f35b34801561027b57600080fd5b506102846108ee565b604051610291919061317b565b60405180910390f35b3480156102a657600080fd5b506102c160048036038101906102bc91906131d3565b610980565b6040516102ce9190613241565b60405180910390f35b3480156102e357600080fd5b506102fe60048036038101906102f99190613288565b6109c6565b005b34801561030c57600080fd5b506103276004803603810190610322919061300f565b6109fb565b005b34801561033557600080fd5b5061033e610a20565b60405161034b91906132d7565b60405180910390f35b34801561036057600080fd5b5061037b600480360381019061037691906131d3565b610a2d565b6040516103889190613241565b60405180910390f35b34801561039d57600080fd5b506103b860048036038101906103b391906132f2565b610a60565b005b3480156103c657600080fd5b506103e160048036038101906103dc9190613288565b610acb565b6040516103ee91906132d7565b60405180910390f35b34801561040357600080fd5b5061041e600480360381019061041991906131d3565b610b70565b005b34801561042c57600080fd5b50610435610cb1565b005b34801561044357600080fd5b5061045e600480360381019061045991906132f2565b610d68565b005b34801561046c57600080fd5b50610487600480360381019061048291906131d3565b610dd3565b60405161049491906132d7565b60405180910390f35b3480156104a957600080fd5b506104c460048036038101906104bf919061347a565b610e44565b005b3480156104d257600080fd5b506104db610e7e565b6040516104e891906130d0565b60405180910390f35b3480156104fd57600080fd5b50610518600480360381019061051391906131d3565b610e91565b6040516105259190613241565b60405180910390f35b34801561053a57600080fd5b50610543610f17565b604051610550919061317b565b60405180910390f35b34801561056557600080fd5b50610580600480360381019061057b919061358b565b610fa5565b005b34801561058e57600080fd5b506105a960048036038101906105a491906135e7565b611095565b6040516105b691906132d7565b60405180910390f35b3480156105cb57600080fd5b506105d461114c565b005b3480156105e257600080fd5b506105eb611160565b6040516105f89190613241565b60405180910390f35b34801561060d57600080fd5b50610616611189565b604051610623919061317b565b60405180910390f35b34801561063857600080fd5b5061064161121b565b60405161064e91906132d7565b60405180910390f35b610671600480360381019061066c91906131d3565b611220565b005b34801561067f57600080fd5b5061069a60048036038101906106959190613614565b6113b2565b005b3480156106a857600080fd5b506106c360048036038101906106be91906136f5565b6113e7565b005b3480156106d157600080fd5b506106da611454565b6040516106e7919061317b565b60405180910390f35b3480156106fc57600080fd5b50610717600480360381019061071291906131d3565b6114e2565b604051610724919061317b565b60405180910390f35b34801561073957600080fd5b5061074261154c565b60405161074f91906132d7565b60405180910390f35b34801561076457600080fd5b5061076d611552565b60405161077a91906130d0565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a59190613778565b611565565b6040516107b791906130d0565b60405180910390f35b3480156107cc57600080fd5b506107e760048036038101906107e291906135e7565b6115f9565b6040516107f491906132d7565b60405180910390f35b34801561080957600080fd5b50610824600480360381019061081f91906135e7565b611611565b005b34801561083257600080fd5b5061084d600480360381019061084891906131d3565b611694565b005b6108576117d3565b80600f60016101000a81548160ff02191690831515021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e757506108e682611851565b5b9050919050565b6060600180546108fd906137e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610929906137e7565b80156109765780601f1061094b57610100808354040283529160200191610976565b820191906000526020600020905b81548152906001019060200180831161095957829003601f168201915b5050505050905090565b600061098b82611933565b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b816109d08161197e565b6109ec576109dc611985565b156109eb576109ea8161198e565b5b5b6109f683836119d2565b505050565b610a036117d3565b80600f60006101000a81548160ff02191690831515021790555050565b6000600980549050905090565b60106020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610aba57610a9d3361197e565b610ab957610aa9611985565b15610ab857610ab73361198e565b5b5b5b610ac5848484611ae9565b50505050565b6000610ad683611095565b8210610b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0e9061388a565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000339050610b7e82611b49565b610bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb4906138f6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166010600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5690613962565b60405180910390fd5b610c698183611b8a565b818173ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d460405160405180910390a35050565b610cb96117d3565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610cdf906139b3565b60006040518083038185875af1925050503d8060008114610d1c576040519150601f19603f3d011682016040523d82523d6000602084013e610d21565b606091505b5050905080610d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5c90613a14565b60405180910390fd5b50565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dc257610da53361197e565b610dc157610db1611985565b15610dc057610dbf3361198e565b5b5b5b610dcd848484611da7565b50505050565b6000610ddd610a20565b8210610e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1590613aa6565b60405180910390fd5b60098281548110610e3257610e31613ac6565b5b90600052602060002001549050919050565b610e4c6117d3565b80604051602001610e5d9190613b31565b604051602081830303815290604052600d9081610e7a9190613cf4565b5050565b600f60009054906101000a900460ff1681565b600080610e9d83611dc7565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0590613e12565b60405180910390fd5b80915050919050565b600d8054610f24906137e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610f50906137e7565b8015610f9d5780601f10610f7257610100808354040283529160200191610f9d565b820191906000526020600020905b815481529060010190602001808311610f8057829003601f168201915b505050505081565b600f60019054906101000a900460ff16610ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610feb90613e7e565b60405180910390fd5b611005610fff611e04565b83611e0c565b611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103b90613eea565b60405180910390fd5b6000815190506000805b8281101561108457600084828151811061106b5761106a613ac6565b5b6020026020010151905061107e81611ea1565b5061104e565b5061108f3385611fef565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fc90613f7c565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111546117d3565b61115e600061200d565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611198906137e7565b80601f01602080910402602001604051908101604052809291908181526020018280546111c4906137e7565b80156112115780601f106111e657610100808354040283529160200191611211565b820191906000526020600020905b8154815290600101906020018083116111f457829003601f168201915b5050505050905090565b600181565b6611c37937e0800034101561126a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126190613fe8565b60405180910390fd5b600b54600c54106112b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a790614054565b60405180910390fd5b600b5481106112f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112eb906140e6565b60405180910390fd5b6112fd81611b49565b1561133d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133490614178565b60405180910390fd5b600f60009054906101000a900460ff161561138d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611384906141e4565b60405180910390fd5b600c60008154809291906113a090614233565b91905055506113af3382611fef565b50565b816113bc8161197e565b6113d8576113c8611985565b156113d7576113d68161198e565b5b5b6113e283836120d1565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611441576114243361197e565b61144057611430611985565b1561143f5761143e3361198e565b5b5b5b61144d858585856120e7565b5050505050565b600e8054611461906137e7565b80601f016020809104026020016040519081016040528092919081815260200182805461148d906137e7565b80156114da5780601f106114af576101008083540402835291602001916114da565b820191906000526020600020905b8154815290600101906020018083116114bd57829003601f168201915b505050505081565b60606114ed82611b49565b506000600d80546114fd906137e7565b9050116115195760405180602001604052806000815250611545565b600d61152483612149565b60405160200161153592919061434a565b6040516020818303038152906040525b9050919050565b600b5481565b600f60019054906101000a900460ff1681565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60116020528060005260406000206000915090505481565b6116196117d3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611688576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167f906143eb565b60405180910390fd5b6116918161200d565b50565b61169d81611b49565b6116dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d3906138f6565b60405180910390fd5b60006010600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177990614457565b60405180910390fd5b61178b82611ea1565b818173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca560405160405180910390a35050565b6117db611e04565b73ffffffffffffffffffffffffffffffffffffffff166117f9611160565b73ffffffffffffffffffffffffffffffffffffffff161461184f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611846906144c3565b60405180910390fd5b565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061191c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061192c575061192b82612217565b5b9050919050565b61193c81611b49565b61197b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197290613e12565b60405180910390fd5b50565b6000919050565b60006001905090565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa6119ca573d6000803e3d6000fd5b6000603a5250565b60006119dd82610e91565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4490614555565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611a6c611e04565b73ffffffffffffffffffffffffffffffffffffffff161480611a9b5750611a9a81611a95611e04565b611565565b5b611ada576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad1906145e7565b60405180910390fd5b611ae48383612281565b505050565b611afa611af4611e04565b82611e0c565b611b39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3090614679565b60405180910390fd5b611b4483838361233a565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff16611b6b83611dc7565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf0906146e5565b60405180910390fd5b611c0281611b49565b15611c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3990614751565b60405180910390fd5b611c50600083836001612633565b611c5981611b49565b15611c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9090614751565b60405180910390fd5b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611da3600083836001612791565b5050565b611dc2838383604051806020016040528060008152506113e7565b505050565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600033905090565b600080611e1883610e91565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e5a5750611e598185611565565b5b80611e9857508373ffffffffffffffffffffffffffffffffffffffff16611e8084610980565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000611eac82610e91565b9050611ebc816000846001612633565b611ec582610e91565b90506005600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611feb816000846001612791565b5050565b612009828260405180602001604052806000815250612797565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6120e36120dc611e04565b83836127f2565b5050565b6120f86120f2611e04565b83611e0c565b612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e90614679565b60405180910390fd5b6121438484848461295e565b50505050565b606060006001612158846129ba565b01905060008167ffffffffffffffff8111156121775761217661334f565b5b6040519080825280601f01601f1916602001820160405280156121a95781602001600182028036833780820191505090505b509050600082602001820190505b60011561220c578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612200576121ff614771565b5b049450600085036121b7575b819350505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122f483610e91565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8273ffffffffffffffffffffffffffffffffffffffff1661235a82610e91565b73ffffffffffffffffffffffffffffffffffffffff16146123b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a790614812565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361241f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612416906148a4565b60405180910390fd5b61242c8383836001612633565b8273ffffffffffffffffffffffffffffffffffffffff1661244c82610e91565b73ffffffffffffffffffffffffffffffffffffffff16146124a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249990614812565b60405180910390fd5b6005600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461262e8383836001612791565b505050565b61263f84848484612b0d565b6001811115612683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267a90614936565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036126ca576126c581612b13565b612709565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614612708576127078582612b5c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361274b5761274681612cc9565b61278a565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612789576127888482612d9a565b5b5b5050505050565b50505050565b6127a18383611b8a565b6127ae6000848484612e19565b6127ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e4906149c8565b60405180910390fd5b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612860576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285790614a34565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161295191906130d0565b60405180910390a3505050565b61296984848461233a565b61297584848484612e19565b6129b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ab906149c8565b60405180910390fd5b50505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612a18577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612a0e57612a0d614771565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612a55576d04ee2d6d415b85acef81000000008381612a4b57612a4a614771565b5b0492506020810190505b662386f26fc100008310612a8457662386f26fc100008381612a7a57612a79614771565b5b0492506010810190505b6305f5e1008310612aad576305f5e1008381612aa357612aa2614771565b5b0492506008810190505b6127108310612ad2576127108381612ac857612ac7614771565b5b0492506004810190505b60648310612af55760648381612aeb57612aea614771565b5b0492506002810190505b600a8310612b04576001810190505b80915050919050565b50505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612b6984611095565b612b739190614a54565b9050600060086000848152602001908152602001600020549050818114612c58576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612cdd9190614a54565b90506000600a6000848152602001908152602001600020549050600060098381548110612d0d57612d0c613ac6565b5b906000526020600020015490508060098381548110612d2f57612d2e613ac6565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480612d7e57612d7d614a88565b5b6001900381819060005260206000200160009055905550505050565b6000612da583611095565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b6000612e3a8473ffffffffffffffffffffffffffffffffffffffff16612fa0565b15612f93578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e63611e04565b8786866040518563ffffffff1660e01b8152600401612e859493929190614b0c565b6020604051808303816000875af1925050508015612ec157506040513d601f19601f82011682018060405250810190612ebe9190614b6d565b60015b612f43573d8060008114612ef1576040519150601f19603f3d011682016040523d82523d6000602084013e612ef6565b606091505b506000815103612f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f32906149c8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f98565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60008115159050919050565b612fec81612fd7565b8114612ff757600080fd5b50565b60008135905061300981612fe3565b92915050565b60006020828403121561302557613024612fcd565b5b600061303384828501612ffa565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130718161303c565b811461307c57600080fd5b50565b60008135905061308e81613068565b92915050565b6000602082840312156130aa576130a9612fcd565b5b60006130b88482850161307f565b91505092915050565b6130ca81612fd7565b82525050565b60006020820190506130e560008301846130c1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561312557808201518184015260208101905061310a565b60008484015250505050565b6000601f19601f8301169050919050565b600061314d826130eb565b61315781856130f6565b9350613167818560208601613107565b61317081613131565b840191505092915050565b600060208201905081810360008301526131958184613142565b905092915050565b6000819050919050565b6131b08161319d565b81146131bb57600080fd5b50565b6000813590506131cd816131a7565b92915050565b6000602082840312156131e9576131e8612fcd565b5b60006131f7848285016131be565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061322b82613200565b9050919050565b61323b81613220565b82525050565b60006020820190506132566000830184613232565b92915050565b61326581613220565b811461327057600080fd5b50565b6000813590506132828161325c565b92915050565b6000806040838503121561329f5761329e612fcd565b5b60006132ad85828601613273565b92505060206132be858286016131be565b9150509250929050565b6132d18161319d565b82525050565b60006020820190506132ec60008301846132c8565b92915050565b60008060006060848603121561330b5761330a612fcd565b5b600061331986828701613273565b935050602061332a86828701613273565b925050604061333b868287016131be565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61338782613131565b810181811067ffffffffffffffff821117156133a6576133a561334f565b5b80604052505050565b60006133b9612fc3565b90506133c5828261337e565b919050565b600067ffffffffffffffff8211156133e5576133e461334f565b5b6133ee82613131565b9050602081019050919050565b82818337600083830152505050565b600061341d613418846133ca565b6133af565b9050828152602081018484840111156134395761343861334a565b5b6134448482856133fb565b509392505050565b600082601f83011261346157613460613345565b5b813561347184826020860161340a565b91505092915050565b6000602082840312156134905761348f612fcd565b5b600082013567ffffffffffffffff8111156134ae576134ad612fd2565b5b6134ba8482850161344c565b91505092915050565b600067ffffffffffffffff8211156134de576134dd61334f565b5b602082029050602081019050919050565b600080fd5b6000613507613502846134c3565b6133af565b9050808382526020820190506020840283018581111561352a576135296134ef565b5b835b81811015613553578061353f88826131be565b84526020840193505060208101905061352c565b5050509392505050565b600082601f83011261357257613571613345565b5b81356135828482602086016134f4565b91505092915050565b600080604083850312156135a2576135a1612fcd565b5b60006135b0858286016131be565b925050602083013567ffffffffffffffff8111156135d1576135d0612fd2565b5b6135dd8582860161355d565b9150509250929050565b6000602082840312156135fd576135fc612fcd565b5b600061360b84828501613273565b91505092915050565b6000806040838503121561362b5761362a612fcd565b5b600061363985828601613273565b925050602061364a85828601612ffa565b9150509250929050565b600067ffffffffffffffff82111561366f5761366e61334f565b5b61367882613131565b9050602081019050919050565b600061369861369384613654565b6133af565b9050828152602081018484840111156136b4576136b361334a565b5b6136bf8482856133fb565b509392505050565b600082601f8301126136dc576136db613345565b5b81356136ec848260208601613685565b91505092915050565b6000806000806080858703121561370f5761370e612fcd565b5b600061371d87828801613273565b945050602061372e87828801613273565b935050604061373f878288016131be565b925050606085013567ffffffffffffffff8111156137605761375f612fd2565b5b61376c878288016136c7565b91505092959194509250565b6000806040838503121561378f5761378e612fcd565b5b600061379d85828601613273565b92505060206137ae85828601613273565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806137ff57607f821691505b602082108103613812576138116137b8565b5b50919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613874602b836130f6565b915061387f82613818565b604082019050919050565b600060208201905081810360008301526138a381613867565b9050919050565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b60006138e06014836130f6565b91506138eb826138aa565b602082019050919050565b6000602082019050818103600083015261390f816138d3565b9050919050565b7f546f6b656e20616c7265616479206f776e656400000000000000000000000000600082015250565b600061394c6013836130f6565b915061395782613916565b602082019050919050565b6000602082019050818103600083015261397b8161393f565b9050919050565b600081905092915050565b50565b600061399d600083613982565b91506139a88261398d565b600082019050919050565b60006139be82613990565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006139fe6010836130f6565b9150613a09826139c8565b602082019050919050565b60006020820190508181036000830152613a2d816139f1565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613a90602c836130f6565b9150613a9b82613a34565b604082019050919050565b60006020820190508181036000830152613abf81613a83565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b6000613b0b826130eb565b613b158185613af5565b9350613b25818560208601613107565b80840191505092915050565b6000613b3d8284613b00565b915081905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613baa7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613b6d565b613bb48683613b6d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613bf1613bec613be78461319d565b613bcc565b61319d565b9050919050565b6000819050919050565b613c0b83613bd6565b613c1f613c1782613bf8565b848454613b7a565b825550505050565b600090565b613c34613c27565b613c3f818484613c02565b505050565b5b81811015613c6357613c58600082613c2c565b600181019050613c45565b5050565b601f821115613ca857613c7981613b48565b613c8284613b5d565b81016020851015613c91578190505b613ca5613c9d85613b5d565b830182613c44565b50505b505050565b600082821c905092915050565b6000613ccb60001984600802613cad565b1980831691505092915050565b6000613ce48383613cba565b9150826002028217905092915050565b613cfd826130eb565b67ffffffffffffffff811115613d1657613d1561334f565b5b613d2082546137e7565b613d2b828285613c67565b600060209050601f831160018114613d5e5760008415613d4c578287015190505b613d568582613cd8565b865550613dbe565b601f198416613d6c86613b48565b60005b82811015613d9457848901518255600182019150602085019450602081019050613d6f565b86831015613db15784890151613dad601f891682613cba565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613dfc6018836130f6565b9150613e0782613dc6565b602082019050919050565b60006020820190508181036000830152613e2b81613def565b9050919050565b7f43616e2774206d65726765207965742e00000000000000000000000000000000600082015250565b6000613e686010836130f6565b9150613e7382613e32565b602082019050919050565b60006020820190508181036000830152613e9781613e5b565b9050919050565b7f4e6f7420617070726f7665642e00000000000000000000000000000000000000600082015250565b6000613ed4600d836130f6565b9150613edf82613e9e565b602082019050919050565b60006020820190508181036000830152613f0381613ec7565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613f666029836130f6565b9150613f7182613f0a565b604082019050919050565b60006020820190508181036000830152613f9581613f59565b9050919050565b7f496e73756666696369656e74207061796d656e742e0000000000000000000000600082015250565b6000613fd26015836130f6565b9150613fdd82613f9c565b602082019050919050565b6000602082019050818103600083015261400181613fc5565b9050919050565b7f4d617820537570706c79206973203939392e0000000000000000000000000000600082015250565b600061403e6012836130f6565b915061404982614008565b602082019050919050565b6000602082019050818103600083015261406d81614031565b9050919050565b7f596f7572206368617261637465722049442073686f756c64206265206265747760008201527f65656e20302d3939382e00000000000000000000000000000000000000000000602082015250565b60006140d0602a836130f6565b91506140db82614074565b604082019050919050565b600060208201905081810360008301526140ff816140c3565b9050919050565b7f416e6f7468657220757365722068617320636c61696d6564207468697320636860008201527f617261637465722e000000000000000000000000000000000000000000000000602082015250565b60006141626028836130f6565b915061416d82614106565b604082019050919050565b6000602082019050818103600083015261419181614155565b9050919050565b7f576f726d73206973206e6f74206c6976652c20706c6561736520776169742e00600082015250565b60006141ce601f836130f6565b91506141d982614198565b602082019050919050565b600060208201905081810360008301526141fd816141c1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061423e8261319d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036142705761426f614204565b5b600182019050919050565b60008154614288816137e7565b6142928186613af5565b945060018216600081146142ad57600181146142c2576142f5565b60ff19831686528115158202860193506142f5565b6142cb85613b48565b60005b838110156142ed578154818901526001820191506020810190506142ce565b838801955050505b50505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614334600583613af5565b915061433f826142fe565b600582019050919050565b6000614356828561427b565b91506143628284613b00565b915061436d82614327565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006143d56026836130f6565b91506143e082614379565b604082019050919050565b60006020820190508181036000830152614404816143c8565b9050919050565b7f4f6e6c7920746f6b656e206f776e65722063616e206275726e00000000000000600082015250565b60006144416019836130f6565b915061444c8261440b565b602082019050919050565b6000602082019050818103600083015261447081614434565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144ad6020836130f6565b91506144b882614477565b602082019050919050565b600060208201905081810360008301526144dc816144a0565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061453f6021836130f6565b915061454a826144e3565b604082019050919050565b6000602082019050818103600083015261456e81614532565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b60006145d1603d836130f6565b91506145dc82614575565b604082019050919050565b60006020820190508181036000830152614600816145c4565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614663602d836130f6565b915061466e82614607565b604082019050919050565b6000602082019050818103600083015261469281614656565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006146cf6020836130f6565b91506146da82614699565b602082019050919050565b600060208201905081810360008301526146fe816146c2565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061473b601c836130f6565b915061474682614705565b602082019050919050565b6000602082019050818103600083015261476a8161472e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006147fc6025836130f6565b9150614807826147a0565b604082019050919050565b6000602082019050818103600083015261482b816147ef565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061488e6024836130f6565b915061489982614832565b604082019050919050565b600060208201905081810360008301526148bd81614881565b9050919050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b60006149206035836130f6565b915061492b826148c4565b604082019050919050565b6000602082019050818103600083015261494f81614913565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006149b26032836130f6565b91506149bd82614956565b604082019050919050565b600060208201905081810360008301526149e1816149a5565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614a1e6019836130f6565b9150614a29826149e8565b602082019050919050565b60006020820190508181036000830152614a4d81614a11565b9050919050565b6000614a5f8261319d565b9150614a6a8361319d565b9250828203905081811115614a8257614a81614204565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000614ade82614ab7565b614ae88185614ac2565b9350614af8818560208601613107565b614b0181613131565b840191505092915050565b6000608082019050614b216000830187613232565b614b2e6020830186613232565b614b3b60408301856132c8565b8181036060830152614b4d8184614ad3565b905095945050505050565b600081519050614b6781613068565b92915050565b600060208284031215614b8357614b82612fcd565b5b6000614b9184828501614b58565b9150509291505056fea26469706673582212200c06835eb7deffe013615f311f13d54a6994474292058129d871d60cbcbd708164736f6c63430008110033
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.