Feature Tip: Add private address tag to any address under My Name Tag !
Overview
TokenID
1076
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Looterra
Compiler Version
v0.8.4+commit.c7e474f2
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/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; interface LootInterface { function ownerOf(uint256 tokenId) external view returns (address owner); } /// @title A ERC721 contract to mint random planets with random on-chain resources. /// @author Brandon Mercado [email protected] /// @notice Big shout out to Jenna and Devon for putting up with me while working on Looterra. /// @notice Looterra was inspired by Dom Hofmann's Loot project and Sam Mason de Caires's Maps Project. Special thanks to Deep-Fold. contract Looterra is ERC721, ERC721Enumerable, ReentrancyGuard, Ownable{ uint256 public lootOwnerPrice = 25000000000000000; //0.025 ETH uint256 public publicPrice = 50000000000000000; //0.05 ETH address public lootAddress = 0xFF9C1b15B16263C61d017ee9F65C50e4AE0113D7; uint256[2] private resourceRange = [3, 10]; LootInterface lootContract = LootInterface(lootAddress); using Strings for uint256; string private baseURI; constructor(string memory baseUri) ERC721("Looterra", "Terra") { baseURI = baseUri; } string[] private resource = [ "Hydrogen Node", "Helium Node", "Oxygen Node", "Nitrogen Node", "Aluminium Node", "Carbon Node", "Silicon Node", "Magnesium Node", "Iron Node", "Sulphur Node" ]; //randomize functions function _random(string memory input) internal pure returns (uint256) { return uint256(keccak256(abi.encodePacked(input))); } function randomFromRange(uint256 tokenId, uint256[2] memory rangeTuple)internal pure returns (uint256){ uint256 rand = _random(string(abi.encodePacked(Strings.toString(tokenId)))); return (rand % (rangeTuple[1] - rangeTuple[0])) + rangeTuple[0]; } // functions to check planet resource nodes function getResourceCount(uint256 tokenId) public view returns (uint256){ require(_exists(tokenId), "Token ID is invalid"); return randomFromRange(tokenId, resourceRange); } function getResourceNode(uint256 tokenId, uint256 resourceIndex) public view returns (string memory){ require(_exists(tokenId), "Token ID is invalid"); uint256 resourceCount = getResourceCount(tokenId); require(resourceIndex >= 0 && resourceIndex < resourceCount,"Resource Index is invalid"); uint256 rand = _random(string(abi.encodePacked(Strings.toString(tokenId),Strings.toString(resourceIndex)))); string memory output; string memory resourceName; uint256 roll = rand % 100; resourceName = resource[rand % resource.length]; output = string(abi.encodePacked(" ", resourceName, output)); if (roll <= 5) { output = string(abi.encodePacked("Rich ", output)); } if (roll > 5 && roll <= 15) { output = string(abi.encodePacked("Abundant ", output)); } if (roll > 60) { output = string(abi.encodePacked("Common ", output)); } if (roll > 30 && roll <= 60) { output = string(abi.encodePacked("Poor ", output)); } if (roll > 15 && roll <= 30) { output = string(abi.encodePacked("Scarce ", output)); } return output; } function getAllResourceNodes(uint256 tokenId) public view returns (string[] memory){ require(_exists(tokenId), "Token ID is invalid"); uint256 resourceCount = getResourceCount(tokenId); string[] memory arr = new string[](resourceCount); for (uint256 index = 0; index < resourceCount; index++) { string memory name = getResourceNode(tokenId, index); arr[index] = name; } return arr; } function setBaseURI(string memory baseURI_) external onlyOwner() { baseURI = baseURI_; } function tokenURI(uint256 tokenId) override view public returns (string memory) { return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } function lootOwnerMint(uint256 tokenId) public payable nonReentrant { require(msg.value >= lootOwnerPrice, "Ether value sent is not correct"); require(lootContract.ownerOf(tokenId) == msg.sender, "Not Loot owner"); require(tokenId > 0 && tokenId < 8001, "Token ID invalid"); _safeMint(msg.sender, tokenId); } function lootOwnerMultiMint(uint[] memory lootIds) public payable nonReentrant { require(msg.value >= (lootOwnerPrice * lootIds.length), "Ether value sent is not correct"); for (uint i=0; i<lootIds.length; i++) { require(lootContract.ownerOf(lootIds[i]) == msg.sender, "Not the owner of this loot"); require(!_exists(lootIds[i]), "One of these tokens has already been minted"); _safeMint(msg.sender, lootIds[i]); } } function publicMint(uint256 tokenId) public payable nonReentrant { require(msg.value >= publicPrice, "Ether value sent is not correct"); require(tokenId > 8000 && tokenId < 9901, "Token ID invalid"); _safeMint(msg.sender, tokenId); } function ownerClaim(uint256 tokenId) public nonReentrant onlyOwner { require(tokenId > 9900 && tokenId < 10002, "Token ID invalid"); _safeMint(owner(), tokenId); } function sendEther(address payable recipient) external onlyOwner { recipient.transfer(address(this).balance); } function setPublicPrice(uint256 newPrice) public onlyOwner { publicPrice = newPrice; } function setlootOwnerPrice(uint256 newPrice) public onlyOwner { lootOwnerPrice = newPrice; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable){ super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// 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 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 "./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; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// 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 "../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/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; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT 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 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; 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; 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getAllResourceNodes","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getResourceCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"resourceIndex","type":"uint256"}],"name":"getResourceNode","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"lootAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"lootOwnerMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"lootIds","type":"uint256[]"}],"name":"lootOwnerMultiMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"lootOwnerPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","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 payable","name":"recipient","type":"address"}],"name":"sendEther","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":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setlootOwnerPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526658d15e17628000600c5566b1a2bc2ec50000600d5573ff9c1b15b16263c61d017ee9f65c50e4ae0113d7600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280600360ff168152602001600a60ff16815250600f9060026200009e92919062000556565b50600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518061014001604052806040518060400160405280600d81526020017f487964726f67656e204e6f64650000000000000000000000000000000000000081525081526020016040518060400160405280600b81526020017f48656c69756d204e6f646500000000000000000000000000000000000000000081525081526020016040518060400160405280600b81526020017f4f787967656e204e6f646500000000000000000000000000000000000000000081525081526020016040518060400160405280600d81526020017f4e6974726f67656e204e6f64650000000000000000000000000000000000000081525081526020016040518060400160405280600e81526020017f416c756d696e69756d204e6f646500000000000000000000000000000000000081525081526020016040518060400160405280600b81526020017f436172626f6e204e6f646500000000000000000000000000000000000000000081525081526020016040518060400160405280600c81526020017f53696c69636f6e204e6f6465000000000000000000000000000000000000000081525081526020016040518060400160405280600e81526020017f4d61676e657369756d204e6f646500000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f49726f6e204e6f6465000000000000000000000000000000000000000000000081525081526020016040518060400160405280600c81526020017f53756c70687572204e6f64650000000000000000000000000000000000000000815250815250601390600a6200036c929190620005a0565b503480156200037a57600080fd5b5060405162005b4d38038062005b4d8339818101604052810190620003a0919062000797565b6040518060400160405280600881526020017f4c6f6f74657272610000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f546572726100000000000000000000000000000000000000000000000000000081525081600090805190602001906200042492919062000607565b5080600190805190602001906200043d92919062000607565b5050506001600a81905550620004686200045c6200048860201b60201c565b6200049060201b60201c565b80601290805190602001906200048092919062000607565b50506200094c565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82600281019282156200058d579160200282015b828111156200058c578251829060ff169055916020019190600101906200056a565b5b5090506200059c919062000698565b5090565b828054828255906000526020600020908101928215620005f4579160200282015b82811115620005f3578251829080519060200190620005e292919062000607565b5091602001919060010190620005c1565b5b509050620006039190620006b7565b5090565b828054620006159062000871565b90600052602060002090601f01602090048101928262000639576000855562000685565b82601f106200065457805160ff191683800117855562000685565b8280016001018555821562000685579182015b828111156200068457825182559160200191906001019062000667565b5b50905062000694919062000698565b5090565b5b80821115620006b357600081600090555060010162000699565b5090565b5b80821115620006db5760008181620006d19190620006df565b50600101620006b8565b5090565b508054620006ed9062000871565b6000825580601f1062000701575062000722565b601f01602090049060005260206000209081019062000721919062000698565b5b50565b60006200073c620007368462000805565b620007dc565b9050828152602081018484840111156200075557600080fd5b620007628482856200083b565b509392505050565b600082601f8301126200077c57600080fd5b81516200078e84826020860162000725565b91505092915050565b600060208284031215620007aa57600080fd5b600082015167ffffffffffffffff811115620007c557600080fd5b620007d3848285016200076a565b91505092915050565b6000620007e8620007fb565b9050620007f68282620008a7565b919050565b6000604051905090565b600067ffffffffffffffff8211156200082357620008226200090c565b5b6200082e826200093b565b9050602081019050919050565b60005b838110156200085b5780820151818401526020810190506200083e565b838111156200086b576000848401525b50505050565b600060028204905060018216806200088a57607f821691505b60208210811415620008a157620008a0620008dd565b5b50919050565b620008b2826200093b565b810181811067ffffffffffffffff82111715620008d457620008d36200090c565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6151f1806200095c6000396000f3fe6080604052600436106101ee5760003560e01c806370a082311161010d578063a945bf80116100a0578063c87b56dd1161006f578063c87b56dd146106f1578063d5b8bed91461072e578063e985e9c51461076b578063eefc3f9f146107a8578063f2fde38b146107c4576101ee565b8063a945bf8014610637578063acfc83e614610662578063b88d4fde1461069f578063c6275255146106c8576101ee565b806395d89b41116100dc57806395d89b411461057d5780639a4a6d99146105a85780639e78d2f7146105d1578063a22cb4651461060e576101ee565b806370a08231146104d3578063715018a6146105105780638ce79f9b146105275780638da5cb5b14610552576101ee565b80632f745c59116101855780634f6ccce7116101545780634f6ccce71461041457806355f804b3146104515780636352211e1461047a5780636b0f2d21146104b7576101ee565b80632f745c591461035c57806342842e0e14610399578063434f48c4146103c257806348c981e2146103eb576101ee565b80630e439326116101c15780630e439326146102c157806318160ddd146102ec57806323b872dd146103175780632db1154414610340576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a600480360381019061021591906138e2565b6107ed565b60405161022791906141e9565b60405180910390f35b34801561023c57600080fd5b506102456107ff565b6040516102529190614204565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190613975565b610891565b60405161028f9190614160565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190613865565b610916565b005b3480156102cd57600080fd5b506102d6610a2e565b6040516102e39190614160565b60405180910390f35b3480156102f857600080fd5b50610301610a54565b60405161030e9190614546565b60405180910390f35b34801561032357600080fd5b5061033e6004803603810190610339919061375f565b610a61565b005b61035a60048036038101906103559190613975565b610ac1565b005b34801561036857600080fd5b50610383600480360381019061037e9190613865565b610bba565b6040516103909190614546565b60405180910390f35b3480156103a557600080fd5b506103c060048036038101906103bb919061375f565b610c5f565b005b3480156103ce57600080fd5b506103e960048036038101906103e49190613975565b610c7f565b005b3480156103f757600080fd5b50610412600480360381019061040d91906136fa565b610db6565b005b34801561042057600080fd5b5061043b60048036038101906104369190613975565b610e7c565b6040516104489190614546565b60405180910390f35b34801561045d57600080fd5b5061047860048036038101906104739190613934565b610f13565b005b34801561048657600080fd5b506104a1600480360381019061049c9190613975565b610fa9565b6040516104ae9190614160565b60405180910390f35b6104d160048036038101906104cc9190613975565b61105b565b005b3480156104df57600080fd5b506104fa60048036038101906104f591906136a8565b61126b565b6040516105079190614546565b60405180910390f35b34801561051c57600080fd5b50610525611323565b005b34801561053357600080fd5b5061053c6113ab565b6040516105499190614546565b60405180910390f35b34801561055e57600080fd5b506105676113b1565b6040516105749190614160565b60405180910390f35b34801561058957600080fd5b506105926113db565b60405161059f9190614204565b60405180910390f35b3480156105b457600080fd5b506105cf60048036038101906105ca9190613975565b61146d565b005b3480156105dd57600080fd5b506105f860048036038101906105f3919061399e565b6114f3565b6040516106059190614204565b60405180910390f35b34801561061a57600080fd5b5061063560048036038101906106309190613829565b6117fd565b005b34801561064357600080fd5b5061064c61197e565b6040516106599190614546565b60405180910390f35b34801561066e57600080fd5b5061068960048036038101906106849190613975565b611984565b60405161069691906141c7565b60405180910390f35b3480156106ab57600080fd5b506106c660048036038101906106c191906137ae565b611ad0565b005b3480156106d457600080fd5b506106ef60048036038101906106ea9190613975565b611b32565b005b3480156106fd57600080fd5b5061071860048036038101906107139190613975565b611bb8565b6040516107259190614204565b60405180910390f35b34801561073a57600080fd5b5061075560048036038101906107509190613975565b611c18565b6040516107629190614546565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d9190613723565b611cb0565b60405161079f91906141e9565b60405180910390f35b6107c260048036038101906107bd91906138a1565b611d44565b005b3480156107d057600080fd5b506107eb60048036038101906107e691906136a8565b612039565b005b60006107f882612131565b9050919050565b60606000805461080e90614893565b80601f016020809104026020016040519081016040528092919081815260200182805461083a90614893565b80156108875780601f1061085c57610100808354040283529160200191610887565b820191906000526020600020905b81548152906001019060200180831161086a57829003601f168201915b5050505050905090565b600061089c826121ab565b6108db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d2906143e6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061092182610fa9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610992576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610989906144a6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109b1612217565b73ffffffffffffffffffffffffffffffffffffffff1614806109e057506109df816109da612217565b611cb0565b5b610a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1690614366565b60405180910390fd5b610a29838361221f565b505050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600880549050905090565b610a72610a6c612217565b826122d8565b610ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa8906144c6565b60405180910390fd5b610abc8383836123b6565b505050565b6002600a541415610b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afe90614526565b60405180910390fd5b6002600a81905550600d54341015610b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4b90614306565b60405180910390fd5b611f4081118015610b6657506126ad81105b610ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9c90614426565b60405180910390fd5b610baf3382612612565b6001600a8190555050565b6000610bc58361126b565b8210610c06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfd90614226565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c7a83838360405180602001604052806000815250611ad0565b505050565b6002600a541415610cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbc90614526565b60405180910390fd5b6002600a81905550610cd5612217565b73ffffffffffffffffffffffffffffffffffffffff16610cf36113b1565b73ffffffffffffffffffffffffffffffffffffffff1614610d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4090614406565b60405180910390fd5b6126ac81118015610d5b575061271281105b610d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9190614426565b60405180910390fd5b610dab610da56113b1565b82612612565b6001600a8190555050565b610dbe612217565b73ffffffffffffffffffffffffffffffffffffffff16610ddc6113b1565b73ffffffffffffffffffffffffffffffffffffffff1614610e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2990614406565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e78573d6000803e3d6000fd5b5050565b6000610e86610a54565b8210610ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebe906144e6565b60405180910390fd5b60088281548110610f01577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610f1b612217565b73ffffffffffffffffffffffffffffffffffffffff16610f396113b1565b73ffffffffffffffffffffffffffffffffffffffff1614610f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8690614406565b60405180910390fd5b8060129080519060200190610fa592919061340c565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611052576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611049906143a6565b60405180910390fd5b80915050919050565b6002600a5414156110a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109890614526565b60405180910390fd5b6002600a81905550600c543410156110ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e590614306565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016111609190614546565b60206040518083038186803b15801561117857600080fd5b505afa15801561118c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b091906136d1565b73ffffffffffffffffffffffffffffffffffffffff1614611206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fd906142a6565b60405180910390fd5b6000811180156112175750611f4181105b611256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124d90614426565b60405180910390fd5b6112603382612612565b6001600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d390614386565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61132b612217565b73ffffffffffffffffffffffffffffffffffffffff166113496113b1565b73ffffffffffffffffffffffffffffffffffffffff161461139f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139690614406565b60405180910390fd5b6113a96000612630565b565b600c5481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546113ea90614893565b80601f016020809104026020016040519081016040528092919081815260200182805461141690614893565b80156114635780601f1061143857610100808354040283529160200191611463565b820191906000526020600020905b81548152906001019060200180831161144657829003601f168201915b5050505050905090565b611475612217565b73ffffffffffffffffffffffffffffffffffffffff166114936113b1565b73ffffffffffffffffffffffffffffffffffffffff16146114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e090614406565b60405180910390fd5b80600c8190555050565b60606114fe836121ab565b61153d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153490614466565b60405180910390fd5b600061154884611c18565b90506000831015801561155a57508083105b611599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159090614506565b60405180910390fd5b60006115d56115a7866126f6565b6115b0866126f6565b6040516020016115c192919061403f565b6040516020818303038152906040526128a3565b905060608060006064846115e9919061493f565b905060138080549050856115fd919061493f565b81548110611634577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001805461164990614893565b80601f016020809104026020016040519081016040528092919081815260200182805461167590614893565b80156116c25780601f10611697576101008083540402835291602001916116c2565b820191906000526020600020905b8154815290600101906020018083116116a557829003601f168201915b5050505050915081836040516020016116dc9291906140ed565b6040516020818303038152906040529250600581116117185782604051602001611706919061411c565b60405160208183030381529060405292505b6005811180156117295750600f8111155b15611751578260405160200161173f9190614087565b60405160208183030381529060405292505b603c81111561177d578260405160200161176b91906140a9565b60405160208183030381529060405292505b601e8111801561178e5750603c8111155b156117b657826040516020016117a4919061413e565b60405160208183030381529060405292505b600f811180156117c75750601e8111155b156117ef57826040516020016117dd91906140cb565b60405160208183030381529060405292505b829550505050505092915050565b611805612217565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186a906142e6565b60405180910390fd5b8060056000611880612217565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661192d612217565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161197291906141e9565b60405180910390a35050565b600d5481565b606061198f826121ab565b6119ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c590614466565b60405180910390fd5b60006119d983611c18565b905060008167ffffffffffffffff811115611a1d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611a5057816020015b6060815260200190600190039081611a3b5790505b50905060005b82811015611ac5576000611a6a86836114f3565b905080838381518110611aa6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250508080611abd906148f6565b915050611a56565b508092505050919050565b611ae1611adb612217565b836122d8565b611b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b17906144c6565b60405180910390fd5b611b2c848484846128d6565b50505050565b611b3a612217565b73ffffffffffffffffffffffffffffffffffffffff16611b586113b1565b73ffffffffffffffffffffffffffffffffffffffff1614611bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba590614406565b60405180910390fd5b80600d8190555050565b6060600060128054611bc990614893565b905011611be55760405180602001604052806000815250611c11565b6012611bf0836126f6565b604051602001611c01929190614063565b6040516020818303038152906040525b9050919050565b6000611c23826121ab565b611c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5990614466565b60405180910390fd5b611ca982600f600280602002604051908101604052809291908260028015611c9f576020028201915b815481526020019060010190808311611c8b575b5050505050612932565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6002600a541415611d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8190614526565b60405180910390fd5b6002600a819055508051600c54611da1919061473d565b341015611de3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dda90614306565b60405180910390fd5b60005b815181101561202d573373ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e848481518110611e7d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b8152600401611ea19190614546565b60206040518083038186803b158015611eb957600080fd5b505afa158015611ecd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef191906136d1565b73ffffffffffffffffffffffffffffffffffffffff1614611f47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3e90614326565b60405180910390fd5b611f90828281518110611f83577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516121ab565b15611fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc790614486565b60405180910390fd5b61201a3383838151811061200d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612612565b8080612025906148f6565b915050611de6565b506001600a8190555050565b612041612217565b73ffffffffffffffffffffffffffffffffffffffff1661205f6113b1565b73ffffffffffffffffffffffffffffffffffffffff16146120b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ac90614406565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612125576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211c90614266565b60405180910390fd5b61212e81612630565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121a457506121a382612a4c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661229283610fa9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122e3826121ab565b612322576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231990614346565b60405180910390fd5b600061232d83610fa9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061239c57508373ffffffffffffffffffffffffffffffffffffffff1661238484610891565b73ffffffffffffffffffffffffffffffffffffffff16145b806123ad57506123ac8185611cb0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123d682610fa9565b73ffffffffffffffffffffffffffffffffffffffff161461242c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242390614446565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561249c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612493906142c6565b60405180910390fd5b6124a7838383612b2e565b6124b260008261221f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125029190614797565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461255991906146b6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61262c828260405180602001604052806000815250612b3e565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6060600082141561273e576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061289e565b600082905060005b60008214612770578080612759906148f6565b915050600a82612769919061470c565b9150612746565b60008167ffffffffffffffff8111156127b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127e45781602001600182028036833780820191505090505b5090505b60008514612897576001826127fd9190614797565b9150600a8561280c919061493f565b603061281891906146b6565b60f81b818381518110612854577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612890919061470c565b94506127e8565b8093505050505b919050565b6000816040516020016128b69190614028565b6040516020818303038152906040528051906020012060001c9050919050565b6128e18484846123b6565b6128ed84848484612b99565b61292c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292390614246565b60405180910390fd5b50505050565b600080612965612941856126f6565b6040516020016129519190614028565b6040516020818303038152906040526128a3565b9050826000600281106129a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151836000600281106129e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015184600160028110612a1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151612a2e9190614797565b82612a39919061493f565b612a4391906146b6565b91505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b1757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b275750612b2682612d30565b5b9050919050565b612b39838383612d9a565b505050565b612b488383612eae565b612b556000848484612b99565b612b94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8b90614246565b60405180910390fd5b505050565b6000612bba8473ffffffffffffffffffffffffffffffffffffffff1661307c565b15612d23578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612be3612217565b8786866040518563ffffffff1660e01b8152600401612c05949392919061417b565b602060405180830381600087803b158015612c1f57600080fd5b505af1925050508015612c5057506040513d601f19601f82011682018060405250810190612c4d919061390b565b60015b612cd3573d8060008114612c80576040519150601f19603f3d011682016040523d82523d6000602084013e612c85565b606091505b50600081511415612ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc290614246565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d28565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612da583838361308f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612de857612de381613094565b612e27565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612e2657612e2583826130dd565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e6a57612e658161324a565b612ea9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612ea857612ea7828261338d565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f15906143c6565b60405180910390fd5b612f27816121ab565b15612f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5e90614286565b60405180910390fd5b612f7360008383612b2e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fc391906146b6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016130ea8461126b565b6130f49190614797565b90506000600760008481526020019081526020016000205490508181146131d9576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061325e9190614797565b90506000600960008481526020019081526020016000205490506000600883815481106132b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106132fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613371577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006133988361126b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461341890614893565b90600052602060002090601f01602090048101928261343a5760008555613481565b82601f1061345357805160ff1916838001178555613481565b82800160010185558215613481579182015b82811115613480578251825591602001919060010190613465565b5b50905061348e9190613492565b5090565b5b808211156134ab576000816000905550600101613493565b5090565b60006134c26134bd84614586565b614561565b905080838252602082019050828560208602820111156134e157600080fd5b60005b8581101561351157816134f78882613693565b8452602084019350602083019250506001810190506134e4565b5050509392505050565b600061352e613529846145b2565b614561565b90508281526020810184848401111561354657600080fd5b613551848285614851565b509392505050565b600061356c613567846145e3565b614561565b90508281526020810184848401111561358457600080fd5b61358f848285614851565b509392505050565b6000813590506135a681615148565b92915050565b6000815190506135bb81615148565b92915050565b6000813590506135d08161515f565b92915050565b600082601f8301126135e757600080fd5b81356135f78482602086016134af565b91505092915050565b60008135905061360f81615176565b92915050565b6000813590506136248161518d565b92915050565b6000815190506136398161518d565b92915050565b600082601f83011261365057600080fd5b813561366084826020860161351b565b91505092915050565b600082601f83011261367a57600080fd5b813561368a848260208601613559565b91505092915050565b6000813590506136a2816151a4565b92915050565b6000602082840312156136ba57600080fd5b60006136c884828501613597565b91505092915050565b6000602082840312156136e357600080fd5b60006136f1848285016135ac565b91505092915050565b60006020828403121561370c57600080fd5b600061371a848285016135c1565b91505092915050565b6000806040838503121561373657600080fd5b600061374485828601613597565b925050602061375585828601613597565b9150509250929050565b60008060006060848603121561377457600080fd5b600061378286828701613597565b935050602061379386828701613597565b92505060406137a486828701613693565b9150509250925092565b600080600080608085870312156137c457600080fd5b60006137d287828801613597565b94505060206137e387828801613597565b93505060406137f487828801613693565b925050606085013567ffffffffffffffff81111561381157600080fd5b61381d8782880161363f565b91505092959194509250565b6000806040838503121561383c57600080fd5b600061384a85828601613597565b925050602061385b85828601613600565b9150509250929050565b6000806040838503121561387857600080fd5b600061388685828601613597565b925050602061389785828601613693565b9150509250929050565b6000602082840312156138b357600080fd5b600082013567ffffffffffffffff8111156138cd57600080fd5b6138d9848285016135d6565b91505092915050565b6000602082840312156138f457600080fd5b600061390284828501613615565b91505092915050565b60006020828403121561391d57600080fd5b600061392b8482850161362a565b91505092915050565b60006020828403121561394657600080fd5b600082013567ffffffffffffffff81111561396057600080fd5b61396c84828501613669565b91505092915050565b60006020828403121561398757600080fd5b600061399584828501613693565b91505092915050565b600080604083850312156139b157600080fd5b60006139bf85828601613693565b92505060206139d085828601613693565b9150509250929050565b60006139e68383613aba565b905092915050565b6139f7816147cb565b82525050565b6000613a0882614639565b613a128185614667565b935083602082028501613a2485614614565b8060005b85811015613a605784840389528151613a4185826139da565b9450613a4c8361465a565b925060208a01995050600181019050613a28565b50829750879550505050505092915050565b613a7b816147ef565b82525050565b6000613a8c82614644565b613a968185614678565b9350613aa6818560208601614860565b613aaf81614a2c565b840191505092915050565b6000613ac58261464f565b613acf8185614689565b9350613adf818560208601614860565b613ae881614a2c565b840191505092915050565b6000613afe8261464f565b613b08818561469a565b9350613b18818560208601614860565b613b2181614a2c565b840191505092915050565b6000613b378261464f565b613b4181856146ab565b9350613b51818560208601614860565b80840191505092915050565b60008154613b6a81614893565b613b7481866146ab565b94506001821660008114613b8f5760018114613ba057613bd3565b60ff19831686528186019350613bd3565b613ba985614624565b60005b83811015613bcb57815481890152600182019150602081019050613bac565b838801955050505b50505092915050565b6000613be96009836146ab565b9150613bf482614a3d565b600982019050919050565b6000613c0c602b8361469a565b9150613c1782614a66565b604082019050919050565b6000613c2f60328361469a565b9150613c3a82614ab5565b604082019050919050565b6000613c5260268361469a565b9150613c5d82614b04565b604082019050919050565b6000613c756007836146ab565b9150613c8082614b53565b600782019050919050565b6000613c98601c8361469a565b9150613ca382614b7c565b602082019050919050565b6000613cbb600e8361469a565b9150613cc682614ba5565b602082019050919050565b6000613cde6007836146ab565b9150613ce982614bce565b600782019050919050565b6000613d0160248361469a565b9150613d0c82614bf7565b604082019050919050565b6000613d2460198361469a565b9150613d2f82614c46565b602082019050919050565b6000613d47601f8361469a565b9150613d5282614c6f565b602082019050919050565b6000613d6a601a8361469a565b9150613d7582614c98565b602082019050919050565b6000613d8d602c8361469a565b9150613d9882614cc1565b604082019050919050565b6000613db06001836146ab565b9150613dbb82614d10565b600182019050919050565b6000613dd360388361469a565b9150613dde82614d39565b604082019050919050565b6000613df6602a8361469a565b9150613e0182614d88565b604082019050919050565b6000613e1960298361469a565b9150613e2482614dd7565b604082019050919050565b6000613e3c60208361469a565b9150613e4782614e26565b602082019050919050565b6000613e5f602c8361469a565b9150613e6a82614e4f565b604082019050919050565b6000613e8260208361469a565b9150613e8d82614e9e565b602082019050919050565b6000613ea560108361469a565b9150613eb082614ec7565b602082019050919050565b6000613ec860298361469a565b9150613ed382614ef0565b604082019050919050565b6000613eeb60138361469a565b9150613ef682614f3f565b602082019050919050565b6000613f0e602b8361469a565b9150613f1982614f68565b604082019050919050565b6000613f3160218361469a565b9150613f3c82614fb7565b604082019050919050565b6000613f546005836146ab565b9150613f5f82615006565b600582019050919050565b6000613f7760318361469a565b9150613f828261502f565b604082019050919050565b6000613f9a602c8361469a565b9150613fa58261507e565b604082019050919050565b6000613fbd6005836146ab565b9150613fc8826150cd565b600582019050919050565b6000613fe060198361469a565b9150613feb826150f6565b602082019050919050565b6000614003601f8361469a565b915061400e8261511f565b602082019050919050565b61402281614847565b82525050565b60006140348284613b2c565b915081905092915050565b600061404b8285613b2c565b91506140578284613b2c565b91508190509392505050565b600061406f8285613b5d565b915061407b8284613b2c565b91508190509392505050565b600061409282613bdc565b915061409e8284613b2c565b915081905092915050565b60006140b482613c68565b91506140c08284613b2c565b915081905092915050565b60006140d682613cd1565b91506140e28284613b2c565b915081905092915050565b60006140f882613da3565b91506141048285613b2c565b91506141108284613b2c565b91508190509392505050565b600061412782613f47565b91506141338284613b2c565b915081905092915050565b600061414982613fb0565b91506141558284613b2c565b915081905092915050565b600060208201905061417560008301846139ee565b92915050565b600060808201905061419060008301876139ee565b61419d60208301866139ee565b6141aa6040830185614019565b81810360608301526141bc8184613a81565b905095945050505050565b600060208201905081810360008301526141e181846139fd565b905092915050565b60006020820190506141fe6000830184613a72565b92915050565b6000602082019050818103600083015261421e8184613af3565b905092915050565b6000602082019050818103600083015261423f81613bff565b9050919050565b6000602082019050818103600083015261425f81613c22565b9050919050565b6000602082019050818103600083015261427f81613c45565b9050919050565b6000602082019050818103600083015261429f81613c8b565b9050919050565b600060208201905081810360008301526142bf81613cae565b9050919050565b600060208201905081810360008301526142df81613cf4565b9050919050565b600060208201905081810360008301526142ff81613d17565b9050919050565b6000602082019050818103600083015261431f81613d3a565b9050919050565b6000602082019050818103600083015261433f81613d5d565b9050919050565b6000602082019050818103600083015261435f81613d80565b9050919050565b6000602082019050818103600083015261437f81613dc6565b9050919050565b6000602082019050818103600083015261439f81613de9565b9050919050565b600060208201905081810360008301526143bf81613e0c565b9050919050565b600060208201905081810360008301526143df81613e2f565b9050919050565b600060208201905081810360008301526143ff81613e52565b9050919050565b6000602082019050818103600083015261441f81613e75565b9050919050565b6000602082019050818103600083015261443f81613e98565b9050919050565b6000602082019050818103600083015261445f81613ebb565b9050919050565b6000602082019050818103600083015261447f81613ede565b9050919050565b6000602082019050818103600083015261449f81613f01565b9050919050565b600060208201905081810360008301526144bf81613f24565b9050919050565b600060208201905081810360008301526144df81613f6a565b9050919050565b600060208201905081810360008301526144ff81613f8d565b9050919050565b6000602082019050818103600083015261451f81613fd3565b9050919050565b6000602082019050818103600083015261453f81613ff6565b9050919050565b600060208201905061455b6000830184614019565b92915050565b600061456b61457c565b905061457782826148c5565b919050565b6000604051905090565b600067ffffffffffffffff8211156145a1576145a06149fd565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156145cd576145cc6149fd565b5b6145d682614a2c565b9050602081019050919050565b600067ffffffffffffffff8211156145fe576145fd6149fd565b5b61460782614a2c565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006146c182614847565b91506146cc83614847565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561470157614700614970565b5b828201905092915050565b600061471782614847565b915061472283614847565b9250826147325761473161499f565b5b828204905092915050565b600061474882614847565b915061475383614847565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561478c5761478b614970565b5b828202905092915050565b60006147a282614847565b91506147ad83614847565b9250828210156147c0576147bf614970565b5b828203905092915050565b60006147d682614827565b9050919050565b60006147e882614827565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561487e578082015181840152602081019050614863565b8381111561488d576000848401525b50505050565b600060028204905060018216806148ab57607f821691505b602082108114156148bf576148be6149ce565b5b50919050565b6148ce82614a2c565b810181811067ffffffffffffffff821117156148ed576148ec6149fd565b5b80604052505050565b600061490182614847565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561493457614933614970565b5b600182019050919050565b600061494a82614847565b915061495583614847565b9250826149655761496461499f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4162756e64616e74200000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f436f6d6d6f6e2000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f74204c6f6f74206f776e6572000000000000000000000000000000000000600082015250565b7f5363617263652000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4e6f7420746865206f776e6572206f662074686973206c6f6f74000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546f6b656e20494420696e76616c696400000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20494420697320696e76616c696400000000000000000000000000600082015250565b7f4f6e65206f6620746865736520746f6b656e732068617320616c72656164792060008201527f6265656e206d696e746564000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5269636820000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f506f6f7220000000000000000000000000000000000000000000000000000000600082015250565b7f5265736f7572636520496e64657820697320696e76616c696400000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b615151816147cb565b811461515c57600080fd5b50565b615168816147dd565b811461517357600080fd5b50565b61517f816147ef565b811461518a57600080fd5b50565b615196816147fb565b81146151a157600080fd5b50565b6151ad81614847565b81146151b857600080fd5b5056fea26469706673582212200613edce9d3c49aaa3e3d8c9e3077a5ad8ee21b4427c10265ca1c088911a1e6764736f6c634300080400330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005468747470733a2f2f6c6f6f74657272612e6d7970696e6174612e636c6f75642f697066732f516d4e726f7968695744334a46394d56706d63504873527953726d68553475454b37714b46584c75704352784e462f000000000000000000000000
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c806370a082311161010d578063a945bf80116100a0578063c87b56dd1161006f578063c87b56dd146106f1578063d5b8bed91461072e578063e985e9c51461076b578063eefc3f9f146107a8578063f2fde38b146107c4576101ee565b8063a945bf8014610637578063acfc83e614610662578063b88d4fde1461069f578063c6275255146106c8576101ee565b806395d89b41116100dc57806395d89b411461057d5780639a4a6d99146105a85780639e78d2f7146105d1578063a22cb4651461060e576101ee565b806370a08231146104d3578063715018a6146105105780638ce79f9b146105275780638da5cb5b14610552576101ee565b80632f745c59116101855780634f6ccce7116101545780634f6ccce71461041457806355f804b3146104515780636352211e1461047a5780636b0f2d21146104b7576101ee565b80632f745c591461035c57806342842e0e14610399578063434f48c4146103c257806348c981e2146103eb576101ee565b80630e439326116101c15780630e439326146102c157806318160ddd146102ec57806323b872dd146103175780632db1154414610340576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a600480360381019061021591906138e2565b6107ed565b60405161022791906141e9565b60405180910390f35b34801561023c57600080fd5b506102456107ff565b6040516102529190614204565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190613975565b610891565b60405161028f9190614160565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190613865565b610916565b005b3480156102cd57600080fd5b506102d6610a2e565b6040516102e39190614160565b60405180910390f35b3480156102f857600080fd5b50610301610a54565b60405161030e9190614546565b60405180910390f35b34801561032357600080fd5b5061033e6004803603810190610339919061375f565b610a61565b005b61035a60048036038101906103559190613975565b610ac1565b005b34801561036857600080fd5b50610383600480360381019061037e9190613865565b610bba565b6040516103909190614546565b60405180910390f35b3480156103a557600080fd5b506103c060048036038101906103bb919061375f565b610c5f565b005b3480156103ce57600080fd5b506103e960048036038101906103e49190613975565b610c7f565b005b3480156103f757600080fd5b50610412600480360381019061040d91906136fa565b610db6565b005b34801561042057600080fd5b5061043b60048036038101906104369190613975565b610e7c565b6040516104489190614546565b60405180910390f35b34801561045d57600080fd5b5061047860048036038101906104739190613934565b610f13565b005b34801561048657600080fd5b506104a1600480360381019061049c9190613975565b610fa9565b6040516104ae9190614160565b60405180910390f35b6104d160048036038101906104cc9190613975565b61105b565b005b3480156104df57600080fd5b506104fa60048036038101906104f591906136a8565b61126b565b6040516105079190614546565b60405180910390f35b34801561051c57600080fd5b50610525611323565b005b34801561053357600080fd5b5061053c6113ab565b6040516105499190614546565b60405180910390f35b34801561055e57600080fd5b506105676113b1565b6040516105749190614160565b60405180910390f35b34801561058957600080fd5b506105926113db565b60405161059f9190614204565b60405180910390f35b3480156105b457600080fd5b506105cf60048036038101906105ca9190613975565b61146d565b005b3480156105dd57600080fd5b506105f860048036038101906105f3919061399e565b6114f3565b6040516106059190614204565b60405180910390f35b34801561061a57600080fd5b5061063560048036038101906106309190613829565b6117fd565b005b34801561064357600080fd5b5061064c61197e565b6040516106599190614546565b60405180910390f35b34801561066e57600080fd5b5061068960048036038101906106849190613975565b611984565b60405161069691906141c7565b60405180910390f35b3480156106ab57600080fd5b506106c660048036038101906106c191906137ae565b611ad0565b005b3480156106d457600080fd5b506106ef60048036038101906106ea9190613975565b611b32565b005b3480156106fd57600080fd5b5061071860048036038101906107139190613975565b611bb8565b6040516107259190614204565b60405180910390f35b34801561073a57600080fd5b5061075560048036038101906107509190613975565b611c18565b6040516107629190614546565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d9190613723565b611cb0565b60405161079f91906141e9565b60405180910390f35b6107c260048036038101906107bd91906138a1565b611d44565b005b3480156107d057600080fd5b506107eb60048036038101906107e691906136a8565b612039565b005b60006107f882612131565b9050919050565b60606000805461080e90614893565b80601f016020809104026020016040519081016040528092919081815260200182805461083a90614893565b80156108875780601f1061085c57610100808354040283529160200191610887565b820191906000526020600020905b81548152906001019060200180831161086a57829003601f168201915b5050505050905090565b600061089c826121ab565b6108db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d2906143e6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061092182610fa9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610992576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610989906144a6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109b1612217565b73ffffffffffffffffffffffffffffffffffffffff1614806109e057506109df816109da612217565b611cb0565b5b610a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1690614366565b60405180910390fd5b610a29838361221f565b505050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600880549050905090565b610a72610a6c612217565b826122d8565b610ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa8906144c6565b60405180910390fd5b610abc8383836123b6565b505050565b6002600a541415610b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afe90614526565b60405180910390fd5b6002600a81905550600d54341015610b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4b90614306565b60405180910390fd5b611f4081118015610b6657506126ad81105b610ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9c90614426565b60405180910390fd5b610baf3382612612565b6001600a8190555050565b6000610bc58361126b565b8210610c06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfd90614226565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c7a83838360405180602001604052806000815250611ad0565b505050565b6002600a541415610cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbc90614526565b60405180910390fd5b6002600a81905550610cd5612217565b73ffffffffffffffffffffffffffffffffffffffff16610cf36113b1565b73ffffffffffffffffffffffffffffffffffffffff1614610d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4090614406565b60405180910390fd5b6126ac81118015610d5b575061271281105b610d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9190614426565b60405180910390fd5b610dab610da56113b1565b82612612565b6001600a8190555050565b610dbe612217565b73ffffffffffffffffffffffffffffffffffffffff16610ddc6113b1565b73ffffffffffffffffffffffffffffffffffffffff1614610e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2990614406565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e78573d6000803e3d6000fd5b5050565b6000610e86610a54565b8210610ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebe906144e6565b60405180910390fd5b60088281548110610f01577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610f1b612217565b73ffffffffffffffffffffffffffffffffffffffff16610f396113b1565b73ffffffffffffffffffffffffffffffffffffffff1614610f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8690614406565b60405180910390fd5b8060129080519060200190610fa592919061340c565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611052576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611049906143a6565b60405180910390fd5b80915050919050565b6002600a5414156110a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109890614526565b60405180910390fd5b6002600a81905550600c543410156110ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e590614306565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016111609190614546565b60206040518083038186803b15801561117857600080fd5b505afa15801561118c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b091906136d1565b73ffffffffffffffffffffffffffffffffffffffff1614611206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fd906142a6565b60405180910390fd5b6000811180156112175750611f4181105b611256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124d90614426565b60405180910390fd5b6112603382612612565b6001600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d390614386565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61132b612217565b73ffffffffffffffffffffffffffffffffffffffff166113496113b1565b73ffffffffffffffffffffffffffffffffffffffff161461139f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139690614406565b60405180910390fd5b6113a96000612630565b565b600c5481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546113ea90614893565b80601f016020809104026020016040519081016040528092919081815260200182805461141690614893565b80156114635780601f1061143857610100808354040283529160200191611463565b820191906000526020600020905b81548152906001019060200180831161144657829003601f168201915b5050505050905090565b611475612217565b73ffffffffffffffffffffffffffffffffffffffff166114936113b1565b73ffffffffffffffffffffffffffffffffffffffff16146114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e090614406565b60405180910390fd5b80600c8190555050565b60606114fe836121ab565b61153d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153490614466565b60405180910390fd5b600061154884611c18565b90506000831015801561155a57508083105b611599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159090614506565b60405180910390fd5b60006115d56115a7866126f6565b6115b0866126f6565b6040516020016115c192919061403f565b6040516020818303038152906040526128a3565b905060608060006064846115e9919061493f565b905060138080549050856115fd919061493f565b81548110611634577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001805461164990614893565b80601f016020809104026020016040519081016040528092919081815260200182805461167590614893565b80156116c25780601f10611697576101008083540402835291602001916116c2565b820191906000526020600020905b8154815290600101906020018083116116a557829003601f168201915b5050505050915081836040516020016116dc9291906140ed565b6040516020818303038152906040529250600581116117185782604051602001611706919061411c565b60405160208183030381529060405292505b6005811180156117295750600f8111155b15611751578260405160200161173f9190614087565b60405160208183030381529060405292505b603c81111561177d578260405160200161176b91906140a9565b60405160208183030381529060405292505b601e8111801561178e5750603c8111155b156117b657826040516020016117a4919061413e565b60405160208183030381529060405292505b600f811180156117c75750601e8111155b156117ef57826040516020016117dd91906140cb565b60405160208183030381529060405292505b829550505050505092915050565b611805612217565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186a906142e6565b60405180910390fd5b8060056000611880612217565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661192d612217565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161197291906141e9565b60405180910390a35050565b600d5481565b606061198f826121ab565b6119ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c590614466565b60405180910390fd5b60006119d983611c18565b905060008167ffffffffffffffff811115611a1d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611a5057816020015b6060815260200190600190039081611a3b5790505b50905060005b82811015611ac5576000611a6a86836114f3565b905080838381518110611aa6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250508080611abd906148f6565b915050611a56565b508092505050919050565b611ae1611adb612217565b836122d8565b611b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b17906144c6565b60405180910390fd5b611b2c848484846128d6565b50505050565b611b3a612217565b73ffffffffffffffffffffffffffffffffffffffff16611b586113b1565b73ffffffffffffffffffffffffffffffffffffffff1614611bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba590614406565b60405180910390fd5b80600d8190555050565b6060600060128054611bc990614893565b905011611be55760405180602001604052806000815250611c11565b6012611bf0836126f6565b604051602001611c01929190614063565b6040516020818303038152906040525b9050919050565b6000611c23826121ab565b611c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5990614466565b60405180910390fd5b611ca982600f600280602002604051908101604052809291908260028015611c9f576020028201915b815481526020019060010190808311611c8b575b5050505050612932565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6002600a541415611d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8190614526565b60405180910390fd5b6002600a819055508051600c54611da1919061473d565b341015611de3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dda90614306565b60405180910390fd5b60005b815181101561202d573373ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e848481518110611e7d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b8152600401611ea19190614546565b60206040518083038186803b158015611eb957600080fd5b505afa158015611ecd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef191906136d1565b73ffffffffffffffffffffffffffffffffffffffff1614611f47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3e90614326565b60405180910390fd5b611f90828281518110611f83577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516121ab565b15611fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc790614486565b60405180910390fd5b61201a3383838151811061200d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612612565b8080612025906148f6565b915050611de6565b506001600a8190555050565b612041612217565b73ffffffffffffffffffffffffffffffffffffffff1661205f6113b1565b73ffffffffffffffffffffffffffffffffffffffff16146120b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ac90614406565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612125576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211c90614266565b60405180910390fd5b61212e81612630565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121a457506121a382612a4c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661229283610fa9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122e3826121ab565b612322576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231990614346565b60405180910390fd5b600061232d83610fa9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061239c57508373ffffffffffffffffffffffffffffffffffffffff1661238484610891565b73ffffffffffffffffffffffffffffffffffffffff16145b806123ad57506123ac8185611cb0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123d682610fa9565b73ffffffffffffffffffffffffffffffffffffffff161461242c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242390614446565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561249c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612493906142c6565b60405180910390fd5b6124a7838383612b2e565b6124b260008261221f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125029190614797565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461255991906146b6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61262c828260405180602001604052806000815250612b3e565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6060600082141561273e576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061289e565b600082905060005b60008214612770578080612759906148f6565b915050600a82612769919061470c565b9150612746565b60008167ffffffffffffffff8111156127b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127e45781602001600182028036833780820191505090505b5090505b60008514612897576001826127fd9190614797565b9150600a8561280c919061493f565b603061281891906146b6565b60f81b818381518110612854577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612890919061470c565b94506127e8565b8093505050505b919050565b6000816040516020016128b69190614028565b6040516020818303038152906040528051906020012060001c9050919050565b6128e18484846123b6565b6128ed84848484612b99565b61292c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292390614246565b60405180910390fd5b50505050565b600080612965612941856126f6565b6040516020016129519190614028565b6040516020818303038152906040526128a3565b9050826000600281106129a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151836000600281106129e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015184600160028110612a1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151612a2e9190614797565b82612a39919061493f565b612a4391906146b6565b91505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b1757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b275750612b2682612d30565b5b9050919050565b612b39838383612d9a565b505050565b612b488383612eae565b612b556000848484612b99565b612b94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8b90614246565b60405180910390fd5b505050565b6000612bba8473ffffffffffffffffffffffffffffffffffffffff1661307c565b15612d23578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612be3612217565b8786866040518563ffffffff1660e01b8152600401612c05949392919061417b565b602060405180830381600087803b158015612c1f57600080fd5b505af1925050508015612c5057506040513d601f19601f82011682018060405250810190612c4d919061390b565b60015b612cd3573d8060008114612c80576040519150601f19603f3d011682016040523d82523d6000602084013e612c85565b606091505b50600081511415612ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc290614246565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d28565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612da583838361308f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612de857612de381613094565b612e27565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612e2657612e2583826130dd565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e6a57612e658161324a565b612ea9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612ea857612ea7828261338d565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f15906143c6565b60405180910390fd5b612f27816121ab565b15612f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5e90614286565b60405180910390fd5b612f7360008383612b2e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fc391906146b6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016130ea8461126b565b6130f49190614797565b90506000600760008481526020019081526020016000205490508181146131d9576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061325e9190614797565b90506000600960008481526020019081526020016000205490506000600883815481106132b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106132fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613371577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006133988361126b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461341890614893565b90600052602060002090601f01602090048101928261343a5760008555613481565b82601f1061345357805160ff1916838001178555613481565b82800160010185558215613481579182015b82811115613480578251825591602001919060010190613465565b5b50905061348e9190613492565b5090565b5b808211156134ab576000816000905550600101613493565b5090565b60006134c26134bd84614586565b614561565b905080838252602082019050828560208602820111156134e157600080fd5b60005b8581101561351157816134f78882613693565b8452602084019350602083019250506001810190506134e4565b5050509392505050565b600061352e613529846145b2565b614561565b90508281526020810184848401111561354657600080fd5b613551848285614851565b509392505050565b600061356c613567846145e3565b614561565b90508281526020810184848401111561358457600080fd5b61358f848285614851565b509392505050565b6000813590506135a681615148565b92915050565b6000815190506135bb81615148565b92915050565b6000813590506135d08161515f565b92915050565b600082601f8301126135e757600080fd5b81356135f78482602086016134af565b91505092915050565b60008135905061360f81615176565b92915050565b6000813590506136248161518d565b92915050565b6000815190506136398161518d565b92915050565b600082601f83011261365057600080fd5b813561366084826020860161351b565b91505092915050565b600082601f83011261367a57600080fd5b813561368a848260208601613559565b91505092915050565b6000813590506136a2816151a4565b92915050565b6000602082840312156136ba57600080fd5b60006136c884828501613597565b91505092915050565b6000602082840312156136e357600080fd5b60006136f1848285016135ac565b91505092915050565b60006020828403121561370c57600080fd5b600061371a848285016135c1565b91505092915050565b6000806040838503121561373657600080fd5b600061374485828601613597565b925050602061375585828601613597565b9150509250929050565b60008060006060848603121561377457600080fd5b600061378286828701613597565b935050602061379386828701613597565b92505060406137a486828701613693565b9150509250925092565b600080600080608085870312156137c457600080fd5b60006137d287828801613597565b94505060206137e387828801613597565b93505060406137f487828801613693565b925050606085013567ffffffffffffffff81111561381157600080fd5b61381d8782880161363f565b91505092959194509250565b6000806040838503121561383c57600080fd5b600061384a85828601613597565b925050602061385b85828601613600565b9150509250929050565b6000806040838503121561387857600080fd5b600061388685828601613597565b925050602061389785828601613693565b9150509250929050565b6000602082840312156138b357600080fd5b600082013567ffffffffffffffff8111156138cd57600080fd5b6138d9848285016135d6565b91505092915050565b6000602082840312156138f457600080fd5b600061390284828501613615565b91505092915050565b60006020828403121561391d57600080fd5b600061392b8482850161362a565b91505092915050565b60006020828403121561394657600080fd5b600082013567ffffffffffffffff81111561396057600080fd5b61396c84828501613669565b91505092915050565b60006020828403121561398757600080fd5b600061399584828501613693565b91505092915050565b600080604083850312156139b157600080fd5b60006139bf85828601613693565b92505060206139d085828601613693565b9150509250929050565b60006139e68383613aba565b905092915050565b6139f7816147cb565b82525050565b6000613a0882614639565b613a128185614667565b935083602082028501613a2485614614565b8060005b85811015613a605784840389528151613a4185826139da565b9450613a4c8361465a565b925060208a01995050600181019050613a28565b50829750879550505050505092915050565b613a7b816147ef565b82525050565b6000613a8c82614644565b613a968185614678565b9350613aa6818560208601614860565b613aaf81614a2c565b840191505092915050565b6000613ac58261464f565b613acf8185614689565b9350613adf818560208601614860565b613ae881614a2c565b840191505092915050565b6000613afe8261464f565b613b08818561469a565b9350613b18818560208601614860565b613b2181614a2c565b840191505092915050565b6000613b378261464f565b613b4181856146ab565b9350613b51818560208601614860565b80840191505092915050565b60008154613b6a81614893565b613b7481866146ab565b94506001821660008114613b8f5760018114613ba057613bd3565b60ff19831686528186019350613bd3565b613ba985614624565b60005b83811015613bcb57815481890152600182019150602081019050613bac565b838801955050505b50505092915050565b6000613be96009836146ab565b9150613bf482614a3d565b600982019050919050565b6000613c0c602b8361469a565b9150613c1782614a66565b604082019050919050565b6000613c2f60328361469a565b9150613c3a82614ab5565b604082019050919050565b6000613c5260268361469a565b9150613c5d82614b04565b604082019050919050565b6000613c756007836146ab565b9150613c8082614b53565b600782019050919050565b6000613c98601c8361469a565b9150613ca382614b7c565b602082019050919050565b6000613cbb600e8361469a565b9150613cc682614ba5565b602082019050919050565b6000613cde6007836146ab565b9150613ce982614bce565b600782019050919050565b6000613d0160248361469a565b9150613d0c82614bf7565b604082019050919050565b6000613d2460198361469a565b9150613d2f82614c46565b602082019050919050565b6000613d47601f8361469a565b9150613d5282614c6f565b602082019050919050565b6000613d6a601a8361469a565b9150613d7582614c98565b602082019050919050565b6000613d8d602c8361469a565b9150613d9882614cc1565b604082019050919050565b6000613db06001836146ab565b9150613dbb82614d10565b600182019050919050565b6000613dd360388361469a565b9150613dde82614d39565b604082019050919050565b6000613df6602a8361469a565b9150613e0182614d88565b604082019050919050565b6000613e1960298361469a565b9150613e2482614dd7565b604082019050919050565b6000613e3c60208361469a565b9150613e4782614e26565b602082019050919050565b6000613e5f602c8361469a565b9150613e6a82614e4f565b604082019050919050565b6000613e8260208361469a565b9150613e8d82614e9e565b602082019050919050565b6000613ea560108361469a565b9150613eb082614ec7565b602082019050919050565b6000613ec860298361469a565b9150613ed382614ef0565b604082019050919050565b6000613eeb60138361469a565b9150613ef682614f3f565b602082019050919050565b6000613f0e602b8361469a565b9150613f1982614f68565b604082019050919050565b6000613f3160218361469a565b9150613f3c82614fb7565b604082019050919050565b6000613f546005836146ab565b9150613f5f82615006565b600582019050919050565b6000613f7760318361469a565b9150613f828261502f565b604082019050919050565b6000613f9a602c8361469a565b9150613fa58261507e565b604082019050919050565b6000613fbd6005836146ab565b9150613fc8826150cd565b600582019050919050565b6000613fe060198361469a565b9150613feb826150f6565b602082019050919050565b6000614003601f8361469a565b915061400e8261511f565b602082019050919050565b61402281614847565b82525050565b60006140348284613b2c565b915081905092915050565b600061404b8285613b2c565b91506140578284613b2c565b91508190509392505050565b600061406f8285613b5d565b915061407b8284613b2c565b91508190509392505050565b600061409282613bdc565b915061409e8284613b2c565b915081905092915050565b60006140b482613c68565b91506140c08284613b2c565b915081905092915050565b60006140d682613cd1565b91506140e28284613b2c565b915081905092915050565b60006140f882613da3565b91506141048285613b2c565b91506141108284613b2c565b91508190509392505050565b600061412782613f47565b91506141338284613b2c565b915081905092915050565b600061414982613fb0565b91506141558284613b2c565b915081905092915050565b600060208201905061417560008301846139ee565b92915050565b600060808201905061419060008301876139ee565b61419d60208301866139ee565b6141aa6040830185614019565b81810360608301526141bc8184613a81565b905095945050505050565b600060208201905081810360008301526141e181846139fd565b905092915050565b60006020820190506141fe6000830184613a72565b92915050565b6000602082019050818103600083015261421e8184613af3565b905092915050565b6000602082019050818103600083015261423f81613bff565b9050919050565b6000602082019050818103600083015261425f81613c22565b9050919050565b6000602082019050818103600083015261427f81613c45565b9050919050565b6000602082019050818103600083015261429f81613c8b565b9050919050565b600060208201905081810360008301526142bf81613cae565b9050919050565b600060208201905081810360008301526142df81613cf4565b9050919050565b600060208201905081810360008301526142ff81613d17565b9050919050565b6000602082019050818103600083015261431f81613d3a565b9050919050565b6000602082019050818103600083015261433f81613d5d565b9050919050565b6000602082019050818103600083015261435f81613d80565b9050919050565b6000602082019050818103600083015261437f81613dc6565b9050919050565b6000602082019050818103600083015261439f81613de9565b9050919050565b600060208201905081810360008301526143bf81613e0c565b9050919050565b600060208201905081810360008301526143df81613e2f565b9050919050565b600060208201905081810360008301526143ff81613e52565b9050919050565b6000602082019050818103600083015261441f81613e75565b9050919050565b6000602082019050818103600083015261443f81613e98565b9050919050565b6000602082019050818103600083015261445f81613ebb565b9050919050565b6000602082019050818103600083015261447f81613ede565b9050919050565b6000602082019050818103600083015261449f81613f01565b9050919050565b600060208201905081810360008301526144bf81613f24565b9050919050565b600060208201905081810360008301526144df81613f6a565b9050919050565b600060208201905081810360008301526144ff81613f8d565b9050919050565b6000602082019050818103600083015261451f81613fd3565b9050919050565b6000602082019050818103600083015261453f81613ff6565b9050919050565b600060208201905061455b6000830184614019565b92915050565b600061456b61457c565b905061457782826148c5565b919050565b6000604051905090565b600067ffffffffffffffff8211156145a1576145a06149fd565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156145cd576145cc6149fd565b5b6145d682614a2c565b9050602081019050919050565b600067ffffffffffffffff8211156145fe576145fd6149fd565b5b61460782614a2c565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006146c182614847565b91506146cc83614847565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561470157614700614970565b5b828201905092915050565b600061471782614847565b915061472283614847565b9250826147325761473161499f565b5b828204905092915050565b600061474882614847565b915061475383614847565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561478c5761478b614970565b5b828202905092915050565b60006147a282614847565b91506147ad83614847565b9250828210156147c0576147bf614970565b5b828203905092915050565b60006147d682614827565b9050919050565b60006147e882614827565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561487e578082015181840152602081019050614863565b8381111561488d576000848401525b50505050565b600060028204905060018216806148ab57607f821691505b602082108114156148bf576148be6149ce565b5b50919050565b6148ce82614a2c565b810181811067ffffffffffffffff821117156148ed576148ec6149fd565b5b80604052505050565b600061490182614847565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561493457614933614970565b5b600182019050919050565b600061494a82614847565b915061495583614847565b9250826149655761496461499f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4162756e64616e74200000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f436f6d6d6f6e2000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f74204c6f6f74206f776e6572000000000000000000000000000000000000600082015250565b7f5363617263652000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4e6f7420746865206f776e6572206f662074686973206c6f6f74000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546f6b656e20494420696e76616c696400000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20494420697320696e76616c696400000000000000000000000000600082015250565b7f4f6e65206f6620746865736520746f6b656e732068617320616c72656164792060008201527f6265656e206d696e746564000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5269636820000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f506f6f7220000000000000000000000000000000000000000000000000000000600082015250565b7f5265736f7572636520496e64657820697320696e76616c696400000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b615151816147cb565b811461515c57600080fd5b50565b615168816147dd565b811461517357600080fd5b50565b61517f816147ef565b811461518a57600080fd5b50565b615196816147fb565b81146151a157600080fd5b50565b6151ad81614847565b81146151b857600080fd5b5056fea26469706673582212200613edce9d3c49aaa3e3d8c9e3077a5ad8ee21b4427c10265ca1c088911a1e6764736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005468747470733a2f2f6c6f6f74657272612e6d7970696e6174612e636c6f75642f697066732f516d4e726f7968695744334a46394d56706d63504873527953726d68553475454b37714b46584c75704352784e462f000000000000000000000000
-----Decoded View---------------
Arg [0] : baseUri (string): https://looterra.mypinata.cloud/ipfs/QmNroyhiWD3JF9MVpmcPHsRySrmhU4uEK7qKFXLupCRxNF/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000054
Arg [2] : 68747470733a2f2f6c6f6f74657272612e6d7970696e6174612e636c6f75642f
Arg [3] : 697066732f516d4e726f7968695744334a46394d56706d63504873527953726d
Arg [4] : 68553475454b37714b46584c75704352784e462f000000000000000000000000
Loading...
Loading
Loading...
Loading
[ 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.