ERC-721
Overview
Max Total Supply
1,649 ZMBPENGS
Holders
144
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 ZMBPENGSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
ZombiePenguins
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/utils/math/Math.sol'; import '@openzeppelin/contracts/utils/structs/EnumerableSet.sol'; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; contract ZombiePenguins is ERC721Enumerable, IERC721Receiver, Ownable{ using EnumerableSet for EnumerableSet.UintSet; IERC721 public CONTROL = IERC721(address(this)); IERC20 public TOKEN; mapping(address => EnumerableSet.UintSet) private _deposits; mapping(uint256 => uint256) public _deposit_blocks; string public baseTokenURI; uint256 numTokens = 0; bool public onSale = true; bool public canStake = false; uint256 public price = 0.04 ether; uint256 public maxTokensPurchase = 10; uint public MAX_TOKEN_SUPPLY = 10000; uint256 public RATE = 1562500000000000; uint256 public EXPIRATION; address public waddress; constructor() ERC721("Zombie Penguins", "ZMBPENGS") { baseTokenURI = "ipfs://QmUhuRSaPA8nbgqbeAfagoqSGSGCM1ct9RAsLjEFLGmqZ8/"; EXPIRATION = block.number + 100000000; } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function mint(uint numberOfTokens) external payable { require(onSale, "Sale must be active to mint"); require(numberOfTokens <= maxTokensPurchase, "Exceed Max Per"); require(numTokens + numberOfTokens <= MAX_TOKEN_SUPPLY, "Exceed Max Supply"); //require(msg.value >= (price * numberOfTokens), "Ether value sent is not correct"); for(uint i = 0; i < numberOfTokens; i++){ if (numTokens <= MAX_TOKEN_SUPPLY) { _safeMint(msg.sender, numTokens + 1); numTokens = numTokens + 1; } } } //Staking Functions function deposit(uint256[] calldata tokenIds) external { require(canStake || msg.sender == owner(), "Can not Stake yet!"); for (uint256 i; i < tokenIds.length; i++) { safeTransferFrom( msg.sender, address(this), tokenIds[i], '' ); _deposits[msg.sender].add(tokenIds[i]); _deposit_blocks[tokenIds[i]] = block.number; } } function withdraw(uint256[] calldata tokenIds) external { require(canStake || msg.sender == owner(), "Can not Stake yet!"); claimRewards(); for (uint256 i; i < tokenIds.length; i++) { require( _deposits[msg.sender].contains(tokenIds[i]), 'Token not deposited' ); _deposits[msg.sender].remove(tokenIds[i]); CONTROL.safeTransferFrom( address(this), msg.sender, tokenIds[i], '' ); } } //Read Functions function tokensOfOwner(address owner) public view returns (uint256[] memory) { uint256 count = balanceOf(owner); uint256[] memory ids = new uint256[](count); for (uint256 i = 0; i < count; i++) { ids[i] = tokenOfOwnerByIndex(owner, i); } return ids; } function depositsOf(address account) external view returns (uint256[] memory) { EnumerableSet.UintSet storage depositSet = _deposits[account]; uint256[] memory tokenIds = new uint256[](depositSet.length()); for (uint256 i; i < depositSet.length(); i++) { tokenIds[i] = depositSet.at(i); } return tokenIds; } function calculateRewards(address account) public view returns (uint256) { uint256 rewards = 0; EnumerableSet.UintSet storage depositSet = _deposits[account]; uint256[] memory tokenIds = new uint256[](depositSet.length()); for (uint256 i; i < depositSet.length(); i++) { uint256 tokenId = _deposits[account].at(i); rewards = rewards + ( RATE * (Math.min(block.number, EXPIRATION) - _deposit_blocks[tokenId]) ); } return rewards; } function claimRewards() public { uint256 blockNum = Math.min(block.number, EXPIRATION); uint256 rewards = calculateRewards(msg.sender); uint256 numOfDepositedTokens = _deposits[msg.sender].length(); for (uint256 i; i < numOfDepositedTokens; i++) { uint256 tokenId = _deposits[msg.sender].at(i); _deposit_blocks[tokenId] = blockNum; } if (rewards > 0) { try TOKEN.transfer(msg.sender, rewards) returns (bool v) { } catch Error(string memory) {} } } //Setter Functions function setBaseURI(string memory _baseTokenURI) external onlyOwner(){ baseTokenURI = _baseTokenURI; } function changeOnSale() external onlyOwner(){ onSale = !onSale; } function changeCanStake() external onlyOwner(){ canStake = !canStake; } function setToken(address _token) external onlyOwner(){ TOKEN = IERC20(_token); } function setExpiration(uint256 _expiration) external onlyOwner(){ EXPIRATION = _expiration; } function setRate(uint256 _rate) external onlyOwner(){ RATE = _rate; } function setWAddress(address _waddress) external onlyOwner(){ waddress = _waddress; } //Utilities function withdrawAll() external onlyOwner() { require(payable(waddress).send(address(this).balance)); } function onERC721Received( address, address, uint256, bytes calldata ) external pure override returns (bytes4) { return IERC721Receiver.onERC721Received.selector; } }
// SPDX-License-Identifier: MIT 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 Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @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 / b + (a % b == 0 ? 0 : 1); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT 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: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT 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 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CONTROL","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EXPIRATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKEN_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_deposit_blocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"calculateRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canStake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"changeCanStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"changeOnSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"depositsOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"onSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_expiration","type":"uint256"}],"name":"setExpiration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"setRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_waddress","type":"address"}],"name":"setWAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"waddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405230600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060006010556001601160006101000a81548160ff0219169083151502179055506000601160016101000a81548160ff021916908315150217905550668e1bc9bf040000601255600a60135561271060145566058d15e1762800601555348015620000ae57600080fd5b506040518060400160405280600f81526020017f5a6f6d6269652050656e6775696e7300000000000000000000000000000000008152506040518060400160405280600881526020017f5a4d4250454e47530000000000000000000000000000000000000000000000008152508160009080519060200190620001339291906200028d565b5080600190805190602001906200014c9291906200028d565b5050506200016f62000163620001bf60201b60201c565b620001c760201b60201c565b60405180606001604052806036815260200162005b5f60369139600f9080519060200190620001a09291906200028d565b506305f5e10043620001b391906200033d565b60168190555062000438565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200029b90620003a4565b90600052602060002090601f016020900481019282620002bf57600085556200030b565b82601f10620002da57805160ff19168380011785556200030b565b828001600101855582156200030b579182015b828111156200030a578251825591602001919060010190620002ed565b5b5090506200031a91906200031e565b5090565b5b80821115620003395760008160009055506001016200031f565b5090565b60006200034a826200039a565b915062000357836200039a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200038f576200038e620003da565b5b828201905092915050565b6000819050919050565b60006002820490506001821680620003bd57607f821691505b60208210811415620003d457620003d362000409565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61571780620004486000396000f3fe6080604052600436106102885760003560e01c8063715018a61161015a578063a0712d68116100c1578063e3a9db1a1161007a578063e3a9db1a146109c1578063e489d510146109fe578063e985e9c514610a29578063ecea263314610a66578063f2fde38b14610a8f578063fc8bce5114610ab857610288565b8063a0712d68146108c0578063a22cb465146108dc578063b88d4fde14610905578063bb4b57341461092e578063c87b56dd14610959578063d547cfb71461099657610288565b80639551cc28116101135780639551cc28146107ae57806395d89b41146107d9578063983d95ce1461080457806399f3732c1461082d5780639ed278091461086a578063a035b1fe1461089557610288565b8063715018a6146106d6578063758b01ed146106ed57806382bfefc8146107045780638462151c1461072f578063853828b61461076c5780638da5cb5b1461078357610288565b806334fcf437116101fe57806355f804b3116101b757806355f804b3146105a2578063598b8e71146105cb5780636352211e146105f457806364ab867514610631578063664e97041461066e57806370a082311461069957610288565b806334fcf437146104a8578063372500ab146104d157806342842e0e146104e85780634953ecc7146105115780634f6ccce71461053c578063515a20ba1461057957610288565b8063150b7a0211610250578063150b7a021461038457806318160ddd146103c15780631ed9999a146103ec57806323b872dd146104175780632f745c5914610440578063326687b91461047d57610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b314610332578063144fa6d71461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190614254565b610acf565b6040516102c19190614da0565b60405180910390f35b3480156102d657600080fd5b506102df610b49565b6040516102ec9190614e0c565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906142e7565b610bdb565b6040516103299190614ca4565b60405180910390f35b34801561033e57600080fd5b50610359600480360381019061035491906141aa565b610c60565b005b34801561036757600080fd5b50610382600480360381019061037d9190613fbf565b610d78565b005b34801561039057600080fd5b506103ab60048036038101906103a69190614073565b610e38565b6040516103b89190614dbb565b60405180910390f35b3480156103cd57600080fd5b506103d6610e4d565b6040516103e3919061510e565b60405180910390f35b3480156103f857600080fd5b50610401610e5a565b60405161040e9190614ca4565b60405180910390f35b34801561042357600080fd5b5061043e60048036038101906104399190614024565b610e80565b005b34801561044c57600080fd5b50610467600480360381019061046291906141aa565b610ee0565b604051610474919061510e565b60405180910390f35b34801561048957600080fd5b50610492610f85565b60405161049f9190614da0565b60405180910390f35b3480156104b457600080fd5b506104cf60048036038101906104ca91906142e7565b610f98565b005b3480156104dd57600080fd5b506104e661101e565b005b3480156104f457600080fd5b5061050f600480360381019061050a9190614024565b6111f8565b005b34801561051d57600080fd5b50610526611218565b6040516105339190614df1565b60405180910390f35b34801561054857600080fd5b50610563600480360381019061055e91906142e7565b61123e565b604051610570919061510e565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b91906142e7565b6112d5565b005b3480156105ae57600080fd5b506105c960048036038101906105c491906142a6565b61135b565b005b3480156105d757600080fd5b506105f260048036038101906105ed91906141e6565b6113f1565b005b34801561060057600080fd5b5061061b600480360381019061061691906142e7565b6115e5565b6040516106289190614ca4565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190613fbf565b611697565b604051610665919061510e565b60405180910390f35b34801561067a57600080fd5b50610683611828565b604051610690919061510e565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb9190613fbf565b61182e565b6040516106cd919061510e565b60405180910390f35b3480156106e257600080fd5b506106eb6118e6565b005b3480156106f957600080fd5b5061070261196e565b005b34801561071057600080fd5b50610719611a16565b6040516107269190614dd6565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190613fbf565b611a3c565b6040516107639190614d7e565b60405180910390f35b34801561077857600080fd5b50610781611b36565b005b34801561078f57600080fd5b50610798611c14565b6040516107a59190614ca4565b60405180910390f35b3480156107ba57600080fd5b506107c3611c3e565b6040516107d0919061510e565b60405180910390f35b3480156107e557600080fd5b506107ee611c44565b6040516107fb9190614e0c565b60405180910390f35b34801561081057600080fd5b5061082b600480360381019061082691906141e6565b611cd6565b005b34801561083957600080fd5b50610854600480360381019061084f91906142e7565b611fc0565b604051610861919061510e565b60405180910390f35b34801561087657600080fd5b5061087f611fd8565b60405161088c9190614da0565b60405180910390f35b3480156108a157600080fd5b506108aa611feb565b6040516108b7919061510e565b60405180910390f35b6108da60048036038101906108d591906142e7565b611ff1565b005b3480156108e857600080fd5b5061090360048036038101906108fe919061416e565b612132565b005b34801561091157600080fd5b5061092c600480360381019061092791906140f3565b6122b3565b005b34801561093a57600080fd5b50610943612315565b604051610950919061510e565b60405180910390f35b34801561096557600080fd5b50610980600480360381019061097b91906142e7565b61231b565b60405161098d9190614e0c565b60405180910390f35b3480156109a257600080fd5b506109ab6123c2565b6040516109b89190614e0c565b60405180910390f35b3480156109cd57600080fd5b506109e860048036038101906109e39190613fbf565b612450565b6040516109f59190614d7e565b60405180910390f35b348015610a0a57600080fd5b50610a13612599565b604051610a20919061510e565b60405180910390f35b348015610a3557600080fd5b50610a506004803603810190610a4b9190613fe8565b61259f565b604051610a5d9190614da0565b60405180910390f35b348015610a7257600080fd5b50610a8d6004803603810190610a889190613fbf565b612633565b005b348015610a9b57600080fd5b50610ab66004803603810190610ab19190613fbf565b6126f3565b005b348015610ac457600080fd5b50610acd6127eb565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b425750610b4182612893565b5b9050919050565b606060008054610b5890615449565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8490615449565b8015610bd15780601f10610ba657610100808354040283529160200191610bd1565b820191906000526020600020905b815481529060010190602001808311610bb457829003601f168201915b5050505050905090565b6000610be682612975565b610c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1c9061500e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c6b826115e5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd39061508e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cfb6129e1565b73ffffffffffffffffffffffffffffffffffffffff161480610d2a5750610d2981610d246129e1565b61259f565b5b610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6090614f6e565b60405180910390fd5b610d7383836129e9565b505050565b610d806129e1565b73ffffffffffffffffffffffffffffffffffffffff16610d9e611c14565b73ffffffffffffffffffffffffffffffffffffffff1614610df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610deb9061502e565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600063150b7a0260e01b905095945050505050565b6000600880549050905090565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e91610e8b6129e1565b82612aa2565b610ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec7906150ae565b60405180910390fd5b610edb838383612b80565b505050565b6000610eeb8361182e565b8210610f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2390614e2e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601160009054906101000a900460ff1681565b610fa06129e1565b73ffffffffffffffffffffffffffffffffffffffff16610fbe611c14565b73ffffffffffffffffffffffffffffffffffffffff1614611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100b9061502e565b60405180910390fd5b8060158190555050565b600061102c43601654612ddc565b9050600061103933611697565b90506000611084600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612df5565b905060005b818110156111125760006110e482600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612e0a90919063ffffffff16565b905084600e60008381526020019081526020016000208190555050808061110a9061547b565b915050611089565b5060008211156111f357600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401611179929190614d55565b602060405180830381600087803b15801561119357600080fd5b505af19250505080156111c457506040513d601f19601f820116820180604052508101906111c1919061422b565b60015b6111f0576111d06155cf565b806111db57506111e1565b506111eb565b3d6000803e3d6000fd5b6111f2565b505b5b505050565b611213838383604051806020016040528060008152506122b3565b505050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611248610e4d565b8210611289576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611280906150ee565b60405180910390fd5b600882815481106112c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6112dd6129e1565b73ffffffffffffffffffffffffffffffffffffffff166112fb611c14565b73ffffffffffffffffffffffffffffffffffffffff1614611351576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113489061502e565b60405180910390fd5b8060168190555050565b6113636129e1565b73ffffffffffffffffffffffffffffffffffffffff16611381611c14565b73ffffffffffffffffffffffffffffffffffffffff16146113d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ce9061502e565b60405180910390fd5b80600f90805190602001906113ed929190613d3a565b5050565b601160019054906101000a900460ff168061143e575061140f611c14565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61147d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147490614eee565b60405180910390fd5b60005b828290508110156115e0576114e533308585858181106114c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135604051806020016040528060008152506122b3565b611575838383818110611521577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612e2490919063ffffffff16565b5043600e60008585858181106115b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013581526020019081526020016000208190555080806115d89061547b565b915050611480565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561168e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168590614fae565b60405180910390fd5b80915050919050565b600080600090506000600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006116ec82612df5565b67ffffffffffffffff81111561172b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156117595781602001602082028036833780820191505090505b50905060005b61176883612df5565b81101561181c5760006117c282600d60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612e0a90919063ffffffff16565b9050600e6000828152602001908152602001600020546117e443601654612ddc565b6117ee9190615317565b6015546117fb91906152bd565b856118069190615236565b94505080806118149061547b565b91505061175f565b50829350505050919050565b60155481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561189f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189690614f8e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118ee6129e1565b73ffffffffffffffffffffffffffffffffffffffff1661190c611c14565b73ffffffffffffffffffffffffffffffffffffffff1614611962576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119599061502e565b60405180910390fd5b61196c6000612e3e565b565b6119766129e1565b73ffffffffffffffffffffffffffffffffffffffff16611994611c14565b73ffffffffffffffffffffffffffffffffffffffff16146119ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e19061502e565b60405180910390fd5b601160019054906101000a900460ff1615601160016101000a81548160ff021916908315150217905550565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000611a498361182e565b905060008167ffffffffffffffff811115611a8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611abb5781602001602082028036833780820191505090505b50905060005b82811015611b2b57611ad38582610ee0565b828281518110611b0c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611b239061547b565b915050611ac1565b508092505050919050565b611b3e6129e1565b73ffffffffffffffffffffffffffffffffffffffff16611b5c611c14565b73ffffffffffffffffffffffffffffffffffffffff1614611bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba99061502e565b60405180910390fd5b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050611c1257600080fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60135481565b606060018054611c5390615449565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7f90615449565b8015611ccc5780601f10611ca157610100808354040283529160200191611ccc565b820191906000526020600020905b815481529060010190602001808311611caf57829003601f168201915b5050505050905090565b601160019054906101000a900460ff1680611d235750611cf4611c14565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5990614eee565b60405180910390fd5b611d6a61101e565b60005b82829050811015611fbb57611e08838383818110611db4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612f0490919063ffffffff16565b611e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3e90614fce565b60405180910390fd5b611ed7838383818110611e83577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612f1e90919063ffffffff16565b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b88d4fde3033868686818110611f51577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b8152600401611f7693929190614d0b565b600060405180830381600087803b158015611f9057600080fd5b505af1158015611fa4573d6000803e3d6000fd5b505050508080611fb39061547b565b915050611d6d565b505050565b600e6020528060005260406000206000915090505481565b601160019054906101000a900460ff1681565b60125481565b601160009054906101000a900460ff16612040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203790614f0e565b60405180910390fd5b601354811115612085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207c906150ce565b60405180910390fd5b601454816010546120969190615236565b11156120d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ce90614f4e565b60405180910390fd5b60005b8181101561212e576014546010541161211b576121053360016010546121009190615236565b612f38565b60016010546121149190615236565b6010819055505b80806121269061547b565b9150506120da565b5050565b61213a6129e1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219f90614ece565b60405180910390fd5b80600560006121b56129e1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122626129e1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122a79190614da0565b60405180910390a35050565b6122c46122be6129e1565b83612aa2565b612303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fa906150ae565b60405180910390fd5b61230f84848484612f56565b50505050565b60165481565b606061232682612975565b612365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235c9061506e565b60405180910390fd5b600061236f612fb2565b9050600081511161238f57604051806020016040528060008152506123ba565b8061239984613044565b6040516020016123aa929190614c80565b6040516020818303038152906040525b915050919050565b600f80546123cf90615449565b80601f01602080910402602001604051908101604052809291908181526020018280546123fb90615449565b80156124485780601f1061241d57610100808354040283529160200191612448565b820191906000526020600020905b81548152906001019060200180831161242b57829003601f168201915b505050505081565b60606000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006124a082612df5565b67ffffffffffffffff8111156124df577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561250d5781602001602082028036833780820191505090505b50905060005b61251c83612df5565b81101561258e576125368184612e0a90919063ffffffff16565b82828151811061256f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806125869061547b565b915050612513565b508092505050919050565b60145481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61263b6129e1565b73ffffffffffffffffffffffffffffffffffffffff16612659611c14565b73ffffffffffffffffffffffffffffffffffffffff16146126af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a69061502e565b60405180910390fd5b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6126fb6129e1565b73ffffffffffffffffffffffffffffffffffffffff16612719611c14565b73ffffffffffffffffffffffffffffffffffffffff161461276f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127669061502e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d690614e6e565b60405180910390fd5b6127e881612e3e565b50565b6127f36129e1565b73ffffffffffffffffffffffffffffffffffffffff16612811611c14565b73ffffffffffffffffffffffffffffffffffffffff1614612867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285e9061502e565b60405180910390fd5b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061295e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061296e575061296d826131f1565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a5c836115e5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612aad82612975565b612aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae390614f2e565b60405180910390fd5b6000612af7836115e5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b6657508373ffffffffffffffffffffffffffffffffffffffff16612b4e84610bdb565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b775750612b76818561259f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ba0826115e5565b73ffffffffffffffffffffffffffffffffffffffff1614612bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bed9061504e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5d90614eae565b60405180910390fd5b612c7183838361325b565b612c7c6000826129e9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ccc9190615317565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d239190615236565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818310612deb5781612ded565b825b905092915050565b6000612e038260000161336f565b9050919050565b6000612e198360000183613380565b60001c905092915050565b6000612e36836000018360001b6133d1565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612f16836000018360001b613441565b905092915050565b6000612f30836000018360001b613464565b905092915050565b612f528282604051806020016040528060008152506135ea565b5050565b612f61848484612b80565b612f6d84848484613645565b612fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa390614e4e565b60405180910390fd5b50505050565b6060600f8054612fc190615449565b80601f0160208091040260200160405190810160405280929190818152602001828054612fed90615449565b801561303a5780601f1061300f5761010080835404028352916020019161303a565b820191906000526020600020905b81548152906001019060200180831161301d57829003601f168201915b5050505050905090565b6060600082141561308c576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131ec565b600082905060005b600082146130be5780806130a79061547b565b915050600a826130b7919061528c565b9150613094565b60008167ffffffffffffffff811115613100577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156131325781602001600182028036833780820191505090505b5090505b600085146131e55760018261314b9190615317565b9150600a8561315a91906154c4565b60306131669190615236565b60f81b8183815181106131a2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131de919061528c565b9450613136565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6132668383836137dc565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132a9576132a4816137e1565b6132e8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132e7576132e6838261382a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561332b5761332681613997565b61336a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613369576133688282613ada565b5b5b505050565b600081600001805490509050919050565b60008260000182815481106133be577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b60006133dd8383613441565b61343657826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905061343b565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b600080836001016000848152602001908152602001600020549050600081146135de5760006001826134969190615317565b90506000600186600001805490506134ae9190615317565b90508181146135695760008660000182815481106134f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508087600001848154811061353f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b856000018054806135a3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506135e4565b60009150505b92915050565b6135f48383613b59565b6136016000848484613645565b613640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363790614e4e565b60405180910390fd5b505050565b60006136668473ffffffffffffffffffffffffffffffffffffffff16613d27565b156137cf578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261368f6129e1565b8786866040518563ffffffff1660e01b81526004016136b19493929190614cbf565b602060405180830381600087803b1580156136cb57600080fd5b505af19250505080156136fc57506040513d601f19601f820116820180604052508101906136f9919061427d565b60015b61377f573d806000811461372c576040519150601f19603f3d011682016040523d82523d6000602084013e613731565b606091505b50600081511415613777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161376e90614e4e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137d4565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016138378461182e565b6138419190615317565b9050600060076000848152602001908152602001600020549050818114613926576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139ab9190615317565b9050600060096000848152602001908152602001600020549050600060088381548110613a01577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613a49577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613abe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613ae58361182e565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bc090614fee565b60405180910390fd5b613bd281612975565b15613c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c0990614e8e565b60405180910390fd5b613c1e6000838361325b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c6e9190615236565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613d4690615449565b90600052602060002090601f016020900481019282613d685760008555613daf565b82601f10613d8157805160ff1916838001178555613daf565b82800160010185558215613daf579182015b82811115613dae578251825591602001919060010190613d93565b5b509050613dbc9190613dc0565b5090565b5b80821115613dd9576000816000905550600101613dc1565b5090565b6000613df0613deb8461515a565b615129565b905082815260208101848484011115613e0857600080fd5b613e13848285615407565b509392505050565b6000613e2e613e298461518a565b615129565b905082815260208101848484011115613e4657600080fd5b613e51848285615407565b509392505050565b600081359050613e6881615685565b92915050565b60008083601f840112613e8057600080fd5b8235905067ffffffffffffffff811115613e9957600080fd5b602083019150836020820283011115613eb157600080fd5b9250929050565b600081359050613ec78161569c565b92915050565b600081519050613edc8161569c565b92915050565b600081359050613ef1816156b3565b92915050565b600081519050613f06816156b3565b92915050565b60008083601f840112613f1e57600080fd5b8235905067ffffffffffffffff811115613f3757600080fd5b602083019150836001820283011115613f4f57600080fd5b9250929050565b600082601f830112613f6757600080fd5b8135613f77848260208601613ddd565b91505092915050565b600082601f830112613f9157600080fd5b8135613fa1848260208601613e1b565b91505092915050565b600081359050613fb9816156ca565b92915050565b600060208284031215613fd157600080fd5b6000613fdf84828501613e59565b91505092915050565b60008060408385031215613ffb57600080fd5b600061400985828601613e59565b925050602061401a85828601613e59565b9150509250929050565b60008060006060848603121561403957600080fd5b600061404786828701613e59565b935050602061405886828701613e59565b925050604061406986828701613faa565b9150509250925092565b60008060008060006080868803121561408b57600080fd5b600061409988828901613e59565b95505060206140aa88828901613e59565b94505060406140bb88828901613faa565b935050606086013567ffffffffffffffff8111156140d857600080fd5b6140e488828901613f0c565b92509250509295509295909350565b6000806000806080858703121561410957600080fd5b600061411787828801613e59565b945050602061412887828801613e59565b935050604061413987828801613faa565b925050606085013567ffffffffffffffff81111561415657600080fd5b61416287828801613f56565b91505092959194509250565b6000806040838503121561418157600080fd5b600061418f85828601613e59565b92505060206141a085828601613eb8565b9150509250929050565b600080604083850312156141bd57600080fd5b60006141cb85828601613e59565b92505060206141dc85828601613faa565b9150509250929050565b600080602083850312156141f957600080fd5b600083013567ffffffffffffffff81111561421357600080fd5b61421f85828601613e6e565b92509250509250929050565b60006020828403121561423d57600080fd5b600061424b84828501613ecd565b91505092915050565b60006020828403121561426657600080fd5b600061427484828501613ee2565b91505092915050565b60006020828403121561428f57600080fd5b600061429d84828501613ef7565b91505092915050565b6000602082840312156142b857600080fd5b600082013567ffffffffffffffff8111156142d257600080fd5b6142de84828501613f80565b91505092915050565b6000602082840312156142f957600080fd5b600061430784828501613faa565b91505092915050565b600061431c8383614c62565b60208301905092915050565b6143318161534b565b82525050565b6000614342826151ca565b61434c81856151f8565b9350614357836151ba565b8060005b8381101561438857815161436f8882614310565b975061437a836151eb565b92505060018101905061435b565b5085935050505092915050565b61439e8161535d565b82525050565b6143ad81615369565b82525050565b60006143be826151d5565b6143c88185615209565b93506143d8818560208601615416565b6143e1816155b1565b840191505092915050565b6143f5816153bf565b82525050565b614404816153e3565b82525050565b6000614415826151e0565b61441f818561521a565b935061442f818560208601615416565b614438816155b1565b840191505092915050565b600061444e826151e0565b614458818561522b565b9350614468818560208601615416565b80840191505092915050565b6000614481602b8361521a565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006144e760328361521a565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061454d60268361521a565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006145b3601c8361521a565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006145f360248361521a565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061465960198361521a565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061469960128361521a565b91507f43616e206e6f74205374616b65207965742100000000000000000000000000006000830152602082019050919050565b60006146d9601b8361521a565b91507f53616c65206d7573742062652061637469766520746f206d696e7400000000006000830152602082019050919050565b6000614719602c8361521a565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061477f60118361521a565b91507f457863656564204d617820537570706c790000000000000000000000000000006000830152602082019050919050565b60006147bf60388361521a565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614825602a8361521a565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061488b60298361521a565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006148f160138361521a565b91507f546f6b656e206e6f74206465706f7369746564000000000000000000000000006000830152602082019050919050565b600061493160208361521a565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614971602c8361521a565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006149d760208361521a565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614a1760298361521a565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614a7d602f8361521a565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614ae360218361521a565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b49600083615209565b9150600082019050919050565b6000614b6360318361521a565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614bc9600e8361521a565b91507f457863656564204d6178205065720000000000000000000000000000000000006000830152602082019050919050565b6000614c09602c8361521a565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b614c6b816153b5565b82525050565b614c7a816153b5565b82525050565b6000614c8c8285614443565b9150614c988284614443565b91508190509392505050565b6000602082019050614cb96000830184614328565b92915050565b6000608082019050614cd46000830187614328565b614ce16020830186614328565b614cee6040830185614c71565b8181036060830152614d0081846143b3565b905095945050505050565b6000608082019050614d206000830186614328565b614d2d6020830185614328565b614d3a6040830184614c71565b8181036060830152614d4b81614b3c565b9050949350505050565b6000604082019050614d6a6000830185614328565b614d776020830184614c71565b9392505050565b60006020820190508181036000830152614d988184614337565b905092915050565b6000602082019050614db56000830184614395565b92915050565b6000602082019050614dd060008301846143a4565b92915050565b6000602082019050614deb60008301846143ec565b92915050565b6000602082019050614e0660008301846143fb565b92915050565b60006020820190508181036000830152614e26818461440a565b905092915050565b60006020820190508181036000830152614e4781614474565b9050919050565b60006020820190508181036000830152614e67816144da565b9050919050565b60006020820190508181036000830152614e8781614540565b9050919050565b60006020820190508181036000830152614ea7816145a6565b9050919050565b60006020820190508181036000830152614ec7816145e6565b9050919050565b60006020820190508181036000830152614ee78161464c565b9050919050565b60006020820190508181036000830152614f078161468c565b9050919050565b60006020820190508181036000830152614f27816146cc565b9050919050565b60006020820190508181036000830152614f478161470c565b9050919050565b60006020820190508181036000830152614f6781614772565b9050919050565b60006020820190508181036000830152614f87816147b2565b9050919050565b60006020820190508181036000830152614fa781614818565b9050919050565b60006020820190508181036000830152614fc78161487e565b9050919050565b60006020820190508181036000830152614fe7816148e4565b9050919050565b6000602082019050818103600083015261500781614924565b9050919050565b6000602082019050818103600083015261502781614964565b9050919050565b60006020820190508181036000830152615047816149ca565b9050919050565b6000602082019050818103600083015261506781614a0a565b9050919050565b6000602082019050818103600083015261508781614a70565b9050919050565b600060208201905081810360008301526150a781614ad6565b9050919050565b600060208201905081810360008301526150c781614b56565b9050919050565b600060208201905081810360008301526150e781614bbc565b9050919050565b6000602082019050818103600083015261510781614bfc565b9050919050565b60006020820190506151236000830184614c71565b92915050565b6000604051905081810181811067ffffffffffffffff821117156151505761514f615582565b5b8060405250919050565b600067ffffffffffffffff82111561517557615174615582565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156151a5576151a4615582565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615241826153b5565b915061524c836153b5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615281576152806154f5565b5b828201905092915050565b6000615297826153b5565b91506152a2836153b5565b9250826152b2576152b1615524565b5b828204905092915050565b60006152c8826153b5565b91506152d3836153b5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561530c5761530b6154f5565b5b828202905092915050565b6000615322826153b5565b915061532d836153b5565b9250828210156153405761533f6154f5565b5b828203905092915050565b600061535682615395565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006153ca826153d1565b9050919050565b60006153dc82615395565b9050919050565b60006153ee826153f5565b9050919050565b600061540082615395565b9050919050565b82818337600083830152505050565b60005b83811015615434578082015181840152602081019050615419565b83811115615443576000848401525b50505050565b6000600282049050600182168061546157607f821691505b6020821081141561547557615474615553565b5b50919050565b6000615486826153b5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154b9576154b86154f5565b5b600182019050919050565b60006154cf826153b5565b91506154da836153b5565b9250826154ea576154e9615524565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d10156155df57615682565b60046000803e6155f06000516155c2565b6308c379a081146156015750615682565b60405160043d036004823e80513d602482011167ffffffffffffffff8211171561562d57505050615682565b808201805167ffffffffffffffff81111561564c575050505050615682565b8060208301013d850181111561566757505050505050615682565b615670826155b1565b60208401016040528296505050505050505b90565b61568e8161534b565b811461569957600080fd5b50565b6156a58161535d565b81146156b057600080fd5b50565b6156bc81615369565b81146156c757600080fd5b50565b6156d3816153b5565b81146156de57600080fd5b5056fea264697066735822122087492568bf2d63b1ebc059bf7e2334f1666f0d8d936b8f7668be71e68fda7f0e64736f6c63430008000033697066733a2f2f516d5568755253615041386e6267716265416661676f7153475347434d316374395241734c6a45464c476d715a382f
Deployed Bytecode
0x6080604052600436106102885760003560e01c8063715018a61161015a578063a0712d68116100c1578063e3a9db1a1161007a578063e3a9db1a146109c1578063e489d510146109fe578063e985e9c514610a29578063ecea263314610a66578063f2fde38b14610a8f578063fc8bce5114610ab857610288565b8063a0712d68146108c0578063a22cb465146108dc578063b88d4fde14610905578063bb4b57341461092e578063c87b56dd14610959578063d547cfb71461099657610288565b80639551cc28116101135780639551cc28146107ae57806395d89b41146107d9578063983d95ce1461080457806399f3732c1461082d5780639ed278091461086a578063a035b1fe1461089557610288565b8063715018a6146106d6578063758b01ed146106ed57806382bfefc8146107045780638462151c1461072f578063853828b61461076c5780638da5cb5b1461078357610288565b806334fcf437116101fe57806355f804b3116101b757806355f804b3146105a2578063598b8e71146105cb5780636352211e146105f457806364ab867514610631578063664e97041461066e57806370a082311461069957610288565b806334fcf437146104a8578063372500ab146104d157806342842e0e146104e85780634953ecc7146105115780634f6ccce71461053c578063515a20ba1461057957610288565b8063150b7a0211610250578063150b7a021461038457806318160ddd146103c15780631ed9999a146103ec57806323b872dd146104175780632f745c5914610440578063326687b91461047d57610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b314610332578063144fa6d71461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190614254565b610acf565b6040516102c19190614da0565b60405180910390f35b3480156102d657600080fd5b506102df610b49565b6040516102ec9190614e0c565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906142e7565b610bdb565b6040516103299190614ca4565b60405180910390f35b34801561033e57600080fd5b50610359600480360381019061035491906141aa565b610c60565b005b34801561036757600080fd5b50610382600480360381019061037d9190613fbf565b610d78565b005b34801561039057600080fd5b506103ab60048036038101906103a69190614073565b610e38565b6040516103b89190614dbb565b60405180910390f35b3480156103cd57600080fd5b506103d6610e4d565b6040516103e3919061510e565b60405180910390f35b3480156103f857600080fd5b50610401610e5a565b60405161040e9190614ca4565b60405180910390f35b34801561042357600080fd5b5061043e60048036038101906104399190614024565b610e80565b005b34801561044c57600080fd5b50610467600480360381019061046291906141aa565b610ee0565b604051610474919061510e565b60405180910390f35b34801561048957600080fd5b50610492610f85565b60405161049f9190614da0565b60405180910390f35b3480156104b457600080fd5b506104cf60048036038101906104ca91906142e7565b610f98565b005b3480156104dd57600080fd5b506104e661101e565b005b3480156104f457600080fd5b5061050f600480360381019061050a9190614024565b6111f8565b005b34801561051d57600080fd5b50610526611218565b6040516105339190614df1565b60405180910390f35b34801561054857600080fd5b50610563600480360381019061055e91906142e7565b61123e565b604051610570919061510e565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b91906142e7565b6112d5565b005b3480156105ae57600080fd5b506105c960048036038101906105c491906142a6565b61135b565b005b3480156105d757600080fd5b506105f260048036038101906105ed91906141e6565b6113f1565b005b34801561060057600080fd5b5061061b600480360381019061061691906142e7565b6115e5565b6040516106289190614ca4565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190613fbf565b611697565b604051610665919061510e565b60405180910390f35b34801561067a57600080fd5b50610683611828565b604051610690919061510e565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb9190613fbf565b61182e565b6040516106cd919061510e565b60405180910390f35b3480156106e257600080fd5b506106eb6118e6565b005b3480156106f957600080fd5b5061070261196e565b005b34801561071057600080fd5b50610719611a16565b6040516107269190614dd6565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190613fbf565b611a3c565b6040516107639190614d7e565b60405180910390f35b34801561077857600080fd5b50610781611b36565b005b34801561078f57600080fd5b50610798611c14565b6040516107a59190614ca4565b60405180910390f35b3480156107ba57600080fd5b506107c3611c3e565b6040516107d0919061510e565b60405180910390f35b3480156107e557600080fd5b506107ee611c44565b6040516107fb9190614e0c565b60405180910390f35b34801561081057600080fd5b5061082b600480360381019061082691906141e6565b611cd6565b005b34801561083957600080fd5b50610854600480360381019061084f91906142e7565b611fc0565b604051610861919061510e565b60405180910390f35b34801561087657600080fd5b5061087f611fd8565b60405161088c9190614da0565b60405180910390f35b3480156108a157600080fd5b506108aa611feb565b6040516108b7919061510e565b60405180910390f35b6108da60048036038101906108d591906142e7565b611ff1565b005b3480156108e857600080fd5b5061090360048036038101906108fe919061416e565b612132565b005b34801561091157600080fd5b5061092c600480360381019061092791906140f3565b6122b3565b005b34801561093a57600080fd5b50610943612315565b604051610950919061510e565b60405180910390f35b34801561096557600080fd5b50610980600480360381019061097b91906142e7565b61231b565b60405161098d9190614e0c565b60405180910390f35b3480156109a257600080fd5b506109ab6123c2565b6040516109b89190614e0c565b60405180910390f35b3480156109cd57600080fd5b506109e860048036038101906109e39190613fbf565b612450565b6040516109f59190614d7e565b60405180910390f35b348015610a0a57600080fd5b50610a13612599565b604051610a20919061510e565b60405180910390f35b348015610a3557600080fd5b50610a506004803603810190610a4b9190613fe8565b61259f565b604051610a5d9190614da0565b60405180910390f35b348015610a7257600080fd5b50610a8d6004803603810190610a889190613fbf565b612633565b005b348015610a9b57600080fd5b50610ab66004803603810190610ab19190613fbf565b6126f3565b005b348015610ac457600080fd5b50610acd6127eb565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b425750610b4182612893565b5b9050919050565b606060008054610b5890615449565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8490615449565b8015610bd15780601f10610ba657610100808354040283529160200191610bd1565b820191906000526020600020905b815481529060010190602001808311610bb457829003601f168201915b5050505050905090565b6000610be682612975565b610c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1c9061500e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c6b826115e5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd39061508e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cfb6129e1565b73ffffffffffffffffffffffffffffffffffffffff161480610d2a5750610d2981610d246129e1565b61259f565b5b610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6090614f6e565b60405180910390fd5b610d7383836129e9565b505050565b610d806129e1565b73ffffffffffffffffffffffffffffffffffffffff16610d9e611c14565b73ffffffffffffffffffffffffffffffffffffffff1614610df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610deb9061502e565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600063150b7a0260e01b905095945050505050565b6000600880549050905090565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e91610e8b6129e1565b82612aa2565b610ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec7906150ae565b60405180910390fd5b610edb838383612b80565b505050565b6000610eeb8361182e565b8210610f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2390614e2e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601160009054906101000a900460ff1681565b610fa06129e1565b73ffffffffffffffffffffffffffffffffffffffff16610fbe611c14565b73ffffffffffffffffffffffffffffffffffffffff1614611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100b9061502e565b60405180910390fd5b8060158190555050565b600061102c43601654612ddc565b9050600061103933611697565b90506000611084600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612df5565b905060005b818110156111125760006110e482600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612e0a90919063ffffffff16565b905084600e60008381526020019081526020016000208190555050808061110a9061547b565b915050611089565b5060008211156111f357600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401611179929190614d55565b602060405180830381600087803b15801561119357600080fd5b505af19250505080156111c457506040513d601f19601f820116820180604052508101906111c1919061422b565b60015b6111f0576111d06155cf565b806111db57506111e1565b506111eb565b3d6000803e3d6000fd5b6111f2565b505b5b505050565b611213838383604051806020016040528060008152506122b3565b505050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611248610e4d565b8210611289576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611280906150ee565b60405180910390fd5b600882815481106112c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6112dd6129e1565b73ffffffffffffffffffffffffffffffffffffffff166112fb611c14565b73ffffffffffffffffffffffffffffffffffffffff1614611351576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113489061502e565b60405180910390fd5b8060168190555050565b6113636129e1565b73ffffffffffffffffffffffffffffffffffffffff16611381611c14565b73ffffffffffffffffffffffffffffffffffffffff16146113d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ce9061502e565b60405180910390fd5b80600f90805190602001906113ed929190613d3a565b5050565b601160019054906101000a900460ff168061143e575061140f611c14565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61147d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147490614eee565b60405180910390fd5b60005b828290508110156115e0576114e533308585858181106114c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135604051806020016040528060008152506122b3565b611575838383818110611521577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612e2490919063ffffffff16565b5043600e60008585858181106115b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013581526020019081526020016000208190555080806115d89061547b565b915050611480565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561168e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168590614fae565b60405180910390fd5b80915050919050565b600080600090506000600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006116ec82612df5565b67ffffffffffffffff81111561172b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156117595781602001602082028036833780820191505090505b50905060005b61176883612df5565b81101561181c5760006117c282600d60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612e0a90919063ffffffff16565b9050600e6000828152602001908152602001600020546117e443601654612ddc565b6117ee9190615317565b6015546117fb91906152bd565b856118069190615236565b94505080806118149061547b565b91505061175f565b50829350505050919050565b60155481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561189f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189690614f8e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118ee6129e1565b73ffffffffffffffffffffffffffffffffffffffff1661190c611c14565b73ffffffffffffffffffffffffffffffffffffffff1614611962576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119599061502e565b60405180910390fd5b61196c6000612e3e565b565b6119766129e1565b73ffffffffffffffffffffffffffffffffffffffff16611994611c14565b73ffffffffffffffffffffffffffffffffffffffff16146119ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e19061502e565b60405180910390fd5b601160019054906101000a900460ff1615601160016101000a81548160ff021916908315150217905550565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000611a498361182e565b905060008167ffffffffffffffff811115611a8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611abb5781602001602082028036833780820191505090505b50905060005b82811015611b2b57611ad38582610ee0565b828281518110611b0c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611b239061547b565b915050611ac1565b508092505050919050565b611b3e6129e1565b73ffffffffffffffffffffffffffffffffffffffff16611b5c611c14565b73ffffffffffffffffffffffffffffffffffffffff1614611bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba99061502e565b60405180910390fd5b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050611c1257600080fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60135481565b606060018054611c5390615449565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7f90615449565b8015611ccc5780601f10611ca157610100808354040283529160200191611ccc565b820191906000526020600020905b815481529060010190602001808311611caf57829003601f168201915b5050505050905090565b601160019054906101000a900460ff1680611d235750611cf4611c14565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5990614eee565b60405180910390fd5b611d6a61101e565b60005b82829050811015611fbb57611e08838383818110611db4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612f0490919063ffffffff16565b611e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3e90614fce565b60405180910390fd5b611ed7838383818110611e83577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612f1e90919063ffffffff16565b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b88d4fde3033868686818110611f51577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b8152600401611f7693929190614d0b565b600060405180830381600087803b158015611f9057600080fd5b505af1158015611fa4573d6000803e3d6000fd5b505050508080611fb39061547b565b915050611d6d565b505050565b600e6020528060005260406000206000915090505481565b601160019054906101000a900460ff1681565b60125481565b601160009054906101000a900460ff16612040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203790614f0e565b60405180910390fd5b601354811115612085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207c906150ce565b60405180910390fd5b601454816010546120969190615236565b11156120d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ce90614f4e565b60405180910390fd5b60005b8181101561212e576014546010541161211b576121053360016010546121009190615236565b612f38565b60016010546121149190615236565b6010819055505b80806121269061547b565b9150506120da565b5050565b61213a6129e1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219f90614ece565b60405180910390fd5b80600560006121b56129e1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122626129e1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122a79190614da0565b60405180910390a35050565b6122c46122be6129e1565b83612aa2565b612303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fa906150ae565b60405180910390fd5b61230f84848484612f56565b50505050565b60165481565b606061232682612975565b612365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235c9061506e565b60405180910390fd5b600061236f612fb2565b9050600081511161238f57604051806020016040528060008152506123ba565b8061239984613044565b6040516020016123aa929190614c80565b6040516020818303038152906040525b915050919050565b600f80546123cf90615449565b80601f01602080910402602001604051908101604052809291908181526020018280546123fb90615449565b80156124485780601f1061241d57610100808354040283529160200191612448565b820191906000526020600020905b81548152906001019060200180831161242b57829003601f168201915b505050505081565b60606000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006124a082612df5565b67ffffffffffffffff8111156124df577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561250d5781602001602082028036833780820191505090505b50905060005b61251c83612df5565b81101561258e576125368184612e0a90919063ffffffff16565b82828151811061256f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806125869061547b565b915050612513565b508092505050919050565b60145481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61263b6129e1565b73ffffffffffffffffffffffffffffffffffffffff16612659611c14565b73ffffffffffffffffffffffffffffffffffffffff16146126af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a69061502e565b60405180910390fd5b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6126fb6129e1565b73ffffffffffffffffffffffffffffffffffffffff16612719611c14565b73ffffffffffffffffffffffffffffffffffffffff161461276f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127669061502e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d690614e6e565b60405180910390fd5b6127e881612e3e565b50565b6127f36129e1565b73ffffffffffffffffffffffffffffffffffffffff16612811611c14565b73ffffffffffffffffffffffffffffffffffffffff1614612867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285e9061502e565b60405180910390fd5b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061295e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061296e575061296d826131f1565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a5c836115e5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612aad82612975565b612aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae390614f2e565b60405180910390fd5b6000612af7836115e5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b6657508373ffffffffffffffffffffffffffffffffffffffff16612b4e84610bdb565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b775750612b76818561259f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ba0826115e5565b73ffffffffffffffffffffffffffffffffffffffff1614612bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bed9061504e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5d90614eae565b60405180910390fd5b612c7183838361325b565b612c7c6000826129e9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ccc9190615317565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d239190615236565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818310612deb5781612ded565b825b905092915050565b6000612e038260000161336f565b9050919050565b6000612e198360000183613380565b60001c905092915050565b6000612e36836000018360001b6133d1565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612f16836000018360001b613441565b905092915050565b6000612f30836000018360001b613464565b905092915050565b612f528282604051806020016040528060008152506135ea565b5050565b612f61848484612b80565b612f6d84848484613645565b612fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa390614e4e565b60405180910390fd5b50505050565b6060600f8054612fc190615449565b80601f0160208091040260200160405190810160405280929190818152602001828054612fed90615449565b801561303a5780601f1061300f5761010080835404028352916020019161303a565b820191906000526020600020905b81548152906001019060200180831161301d57829003601f168201915b5050505050905090565b6060600082141561308c576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131ec565b600082905060005b600082146130be5780806130a79061547b565b915050600a826130b7919061528c565b9150613094565b60008167ffffffffffffffff811115613100577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156131325781602001600182028036833780820191505090505b5090505b600085146131e55760018261314b9190615317565b9150600a8561315a91906154c4565b60306131669190615236565b60f81b8183815181106131a2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131de919061528c565b9450613136565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6132668383836137dc565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132a9576132a4816137e1565b6132e8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132e7576132e6838261382a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561332b5761332681613997565b61336a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613369576133688282613ada565b5b5b505050565b600081600001805490509050919050565b60008260000182815481106133be577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b60006133dd8383613441565b61343657826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905061343b565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b600080836001016000848152602001908152602001600020549050600081146135de5760006001826134969190615317565b90506000600186600001805490506134ae9190615317565b90508181146135695760008660000182815481106134f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508087600001848154811061353f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b856000018054806135a3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506135e4565b60009150505b92915050565b6135f48383613b59565b6136016000848484613645565b613640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363790614e4e565b60405180910390fd5b505050565b60006136668473ffffffffffffffffffffffffffffffffffffffff16613d27565b156137cf578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261368f6129e1565b8786866040518563ffffffff1660e01b81526004016136b19493929190614cbf565b602060405180830381600087803b1580156136cb57600080fd5b505af19250505080156136fc57506040513d601f19601f820116820180604052508101906136f9919061427d565b60015b61377f573d806000811461372c576040519150601f19603f3d011682016040523d82523d6000602084013e613731565b606091505b50600081511415613777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161376e90614e4e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137d4565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016138378461182e565b6138419190615317565b9050600060076000848152602001908152602001600020549050818114613926576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139ab9190615317565b9050600060096000848152602001908152602001600020549050600060088381548110613a01577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613a49577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613abe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613ae58361182e565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bc090614fee565b60405180910390fd5b613bd281612975565b15613c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c0990614e8e565b60405180910390fd5b613c1e6000838361325b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c6e9190615236565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613d4690615449565b90600052602060002090601f016020900481019282613d685760008555613daf565b82601f10613d8157805160ff1916838001178555613daf565b82800160010185558215613daf579182015b82811115613dae578251825591602001919060010190613d93565b5b509050613dbc9190613dc0565b5090565b5b80821115613dd9576000816000905550600101613dc1565b5090565b6000613df0613deb8461515a565b615129565b905082815260208101848484011115613e0857600080fd5b613e13848285615407565b509392505050565b6000613e2e613e298461518a565b615129565b905082815260208101848484011115613e4657600080fd5b613e51848285615407565b509392505050565b600081359050613e6881615685565b92915050565b60008083601f840112613e8057600080fd5b8235905067ffffffffffffffff811115613e9957600080fd5b602083019150836020820283011115613eb157600080fd5b9250929050565b600081359050613ec78161569c565b92915050565b600081519050613edc8161569c565b92915050565b600081359050613ef1816156b3565b92915050565b600081519050613f06816156b3565b92915050565b60008083601f840112613f1e57600080fd5b8235905067ffffffffffffffff811115613f3757600080fd5b602083019150836001820283011115613f4f57600080fd5b9250929050565b600082601f830112613f6757600080fd5b8135613f77848260208601613ddd565b91505092915050565b600082601f830112613f9157600080fd5b8135613fa1848260208601613e1b565b91505092915050565b600081359050613fb9816156ca565b92915050565b600060208284031215613fd157600080fd5b6000613fdf84828501613e59565b91505092915050565b60008060408385031215613ffb57600080fd5b600061400985828601613e59565b925050602061401a85828601613e59565b9150509250929050565b60008060006060848603121561403957600080fd5b600061404786828701613e59565b935050602061405886828701613e59565b925050604061406986828701613faa565b9150509250925092565b60008060008060006080868803121561408b57600080fd5b600061409988828901613e59565b95505060206140aa88828901613e59565b94505060406140bb88828901613faa565b935050606086013567ffffffffffffffff8111156140d857600080fd5b6140e488828901613f0c565b92509250509295509295909350565b6000806000806080858703121561410957600080fd5b600061411787828801613e59565b945050602061412887828801613e59565b935050604061413987828801613faa565b925050606085013567ffffffffffffffff81111561415657600080fd5b61416287828801613f56565b91505092959194509250565b6000806040838503121561418157600080fd5b600061418f85828601613e59565b92505060206141a085828601613eb8565b9150509250929050565b600080604083850312156141bd57600080fd5b60006141cb85828601613e59565b92505060206141dc85828601613faa565b9150509250929050565b600080602083850312156141f957600080fd5b600083013567ffffffffffffffff81111561421357600080fd5b61421f85828601613e6e565b92509250509250929050565b60006020828403121561423d57600080fd5b600061424b84828501613ecd565b91505092915050565b60006020828403121561426657600080fd5b600061427484828501613ee2565b91505092915050565b60006020828403121561428f57600080fd5b600061429d84828501613ef7565b91505092915050565b6000602082840312156142b857600080fd5b600082013567ffffffffffffffff8111156142d257600080fd5b6142de84828501613f80565b91505092915050565b6000602082840312156142f957600080fd5b600061430784828501613faa565b91505092915050565b600061431c8383614c62565b60208301905092915050565b6143318161534b565b82525050565b6000614342826151ca565b61434c81856151f8565b9350614357836151ba565b8060005b8381101561438857815161436f8882614310565b975061437a836151eb565b92505060018101905061435b565b5085935050505092915050565b61439e8161535d565b82525050565b6143ad81615369565b82525050565b60006143be826151d5565b6143c88185615209565b93506143d8818560208601615416565b6143e1816155b1565b840191505092915050565b6143f5816153bf565b82525050565b614404816153e3565b82525050565b6000614415826151e0565b61441f818561521a565b935061442f818560208601615416565b614438816155b1565b840191505092915050565b600061444e826151e0565b614458818561522b565b9350614468818560208601615416565b80840191505092915050565b6000614481602b8361521a565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006144e760328361521a565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061454d60268361521a565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006145b3601c8361521a565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006145f360248361521a565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061465960198361521a565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061469960128361521a565b91507f43616e206e6f74205374616b65207965742100000000000000000000000000006000830152602082019050919050565b60006146d9601b8361521a565b91507f53616c65206d7573742062652061637469766520746f206d696e7400000000006000830152602082019050919050565b6000614719602c8361521a565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061477f60118361521a565b91507f457863656564204d617820537570706c790000000000000000000000000000006000830152602082019050919050565b60006147bf60388361521a565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614825602a8361521a565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061488b60298361521a565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006148f160138361521a565b91507f546f6b656e206e6f74206465706f7369746564000000000000000000000000006000830152602082019050919050565b600061493160208361521a565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614971602c8361521a565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006149d760208361521a565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614a1760298361521a565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614a7d602f8361521a565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614ae360218361521a565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b49600083615209565b9150600082019050919050565b6000614b6360318361521a565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614bc9600e8361521a565b91507f457863656564204d6178205065720000000000000000000000000000000000006000830152602082019050919050565b6000614c09602c8361521a565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b614c6b816153b5565b82525050565b614c7a816153b5565b82525050565b6000614c8c8285614443565b9150614c988284614443565b91508190509392505050565b6000602082019050614cb96000830184614328565b92915050565b6000608082019050614cd46000830187614328565b614ce16020830186614328565b614cee6040830185614c71565b8181036060830152614d0081846143b3565b905095945050505050565b6000608082019050614d206000830186614328565b614d2d6020830185614328565b614d3a6040830184614c71565b8181036060830152614d4b81614b3c565b9050949350505050565b6000604082019050614d6a6000830185614328565b614d776020830184614c71565b9392505050565b60006020820190508181036000830152614d988184614337565b905092915050565b6000602082019050614db56000830184614395565b92915050565b6000602082019050614dd060008301846143a4565b92915050565b6000602082019050614deb60008301846143ec565b92915050565b6000602082019050614e0660008301846143fb565b92915050565b60006020820190508181036000830152614e26818461440a565b905092915050565b60006020820190508181036000830152614e4781614474565b9050919050565b60006020820190508181036000830152614e67816144da565b9050919050565b60006020820190508181036000830152614e8781614540565b9050919050565b60006020820190508181036000830152614ea7816145a6565b9050919050565b60006020820190508181036000830152614ec7816145e6565b9050919050565b60006020820190508181036000830152614ee78161464c565b9050919050565b60006020820190508181036000830152614f078161468c565b9050919050565b60006020820190508181036000830152614f27816146cc565b9050919050565b60006020820190508181036000830152614f478161470c565b9050919050565b60006020820190508181036000830152614f6781614772565b9050919050565b60006020820190508181036000830152614f87816147b2565b9050919050565b60006020820190508181036000830152614fa781614818565b9050919050565b60006020820190508181036000830152614fc78161487e565b9050919050565b60006020820190508181036000830152614fe7816148e4565b9050919050565b6000602082019050818103600083015261500781614924565b9050919050565b6000602082019050818103600083015261502781614964565b9050919050565b60006020820190508181036000830152615047816149ca565b9050919050565b6000602082019050818103600083015261506781614a0a565b9050919050565b6000602082019050818103600083015261508781614a70565b9050919050565b600060208201905081810360008301526150a781614ad6565b9050919050565b600060208201905081810360008301526150c781614b56565b9050919050565b600060208201905081810360008301526150e781614bbc565b9050919050565b6000602082019050818103600083015261510781614bfc565b9050919050565b60006020820190506151236000830184614c71565b92915050565b6000604051905081810181811067ffffffffffffffff821117156151505761514f615582565b5b8060405250919050565b600067ffffffffffffffff82111561517557615174615582565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156151a5576151a4615582565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615241826153b5565b915061524c836153b5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615281576152806154f5565b5b828201905092915050565b6000615297826153b5565b91506152a2836153b5565b9250826152b2576152b1615524565b5b828204905092915050565b60006152c8826153b5565b91506152d3836153b5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561530c5761530b6154f5565b5b828202905092915050565b6000615322826153b5565b915061532d836153b5565b9250828210156153405761533f6154f5565b5b828203905092915050565b600061535682615395565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006153ca826153d1565b9050919050565b60006153dc82615395565b9050919050565b60006153ee826153f5565b9050919050565b600061540082615395565b9050919050565b82818337600083830152505050565b60005b83811015615434578082015181840152602081019050615419565b83811115615443576000848401525b50505050565b6000600282049050600182168061546157607f821691505b6020821081141561547557615474615553565b5b50919050565b6000615486826153b5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154b9576154b86154f5565b5b600182019050919050565b60006154cf826153b5565b91506154da836153b5565b9250826154ea576154e9615524565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d10156155df57615682565b60046000803e6155f06000516155c2565b6308c379a081146156015750615682565b60405160043d036004823e80513d602482011167ffffffffffffffff8211171561562d57505050615682565b808201805167ffffffffffffffff81111561564c575050505050615682565b8060208301013d850181111561566757505050505050615682565b615670826155b1565b60208401016040528296505050505050505b90565b61568e8161534b565b811461569957600080fd5b50565b6156a58161535d565b81146156b057600080fd5b50565b6156bc81615369565b81146156c757600080fd5b50565b6156d3816153b5565b81146156de57600080fd5b5056fea264697066735822122087492568bf2d63b1ebc059bf7e2334f1666f0d8d936b8f7668be71e68fda7f0e64736f6c63430008000033
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.