ERC-721
Overview
Max Total Supply
74 SHROOM
Holders
52
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SHROOMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ShroomMate
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; //@@@@@@@*..,@@@@@@@@@@@@@@@@@@....*.@@@@@@@@**@*@@@@@@@@@@@@..*@@,,@(..@@@@@@ //@&..............@@@@......@@@......@%@@@@@.........@@@@@@@..............@@@@ //@@......#.......@%@@@....../@......@%@@@@@.........@@@@@@@*......@@%....@%@@ //@@,,,,,@@&@@@@@@@@@@@.@#...........@%@@@@....@.%@..@%@@@@@@.....@@@@...@@%@@ //@@*&***@%@(***,,@@@@@,,,,,,,,,,,,,@@%@@@#,@,,@@@,@,,@@@@@@@,*,*********%@&@@ //@@/(%///@@@/////@@@@@@///&////****@@@@@@/*////*/////@@&@@@@///////////@@@@@@ //@@/&///////////&@&@@@//////@#////(@@@@@/////@#(/@/////@@@@@/@////@//////@@@@ //@@@@(//////////@@%@@@%//////@@@///@@@@@//%///(@@@/////#@@@@////@@@@/////@@@@ //@@@@@@/&@@#/@@@%@@@@@@@@@@/@%@@@/@@@%@@@@&@@@&%@@@@(@@&%@@@@///@@@@@//@@%@@@ //@@@@@@@@@%@@@@@@@@@@@@@@@@@@@@@@(@%@@@@@@@@@%@@@@@@&@&@@@@@@@@%@@@@@@@@@@@@@ //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ //@@@@@@@@@,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ //@@@@(.......@@@@@@@@@@@....%...*@@@@@@@...........@@@@**@@...........@@@@ //@@@@(..%...@@@@@@@@@@@.........@@@@@@@@@.....@.....@@@*,@@...........@@@@ //@@@@..,....*@@@@@@@@@@@...@.(.*.@&@@@@@@....#@....(.@@@,@(.....@@.(.%@@@@ //@@@@%,,,,,,@@@@@@@@@@@,,,,@@@@,,,@@@@@@@,,,,,,,,,,,*@@**@%,,..,.,,,@@&@@@ //@@@@*******@%@@@@@@@@***(**/****(**&@@@@****@/@&&****@@@@@@@@&/,,,,,,@@@@ //@@@@@(@////(/&@/@@@@@////**%*******@@@@@@***#@@*&***%@@@@@@@@@@****%*@&@@ //@@@@%/////@/////(@&@%/////(@@@//////@@@@///////////@#@@@@///////////@@%@@ //@@@@//%@(//////@@%@@@@@#//@@%@@/#@/@@@@@//@%/(/@@@/@%@/@@///////&@/@@&@@@ //@@@@@@@@@@@@@@//@@@@@@@@/@%@@@@@@/@@@@@@@@@@@@/(%@@@@@/,@%/@@@//@@%@@@@@@ //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@@@@/@%@@@@@@@@@@@@@@@@@@@@@@@@ //%%%%%%%%%%%%%%%&%%%%&&&&&&%%&&&&&&&&&&&&%&&&&&&&&%&&&&&&%&%&&&&&&&&&&&&&&&%&&&%% //%&%%%%%%%%%%%%%%%%%%&%%%%&&%&%@@&@@%&&&&&&&&&&%%%%%%%%&%%&&&&&&&&&&&&&&%%%%%%&&% //%%%%%%%%%%%%%%%%%%%%%%@@@% &@@@@@ @@@@ .&&%%%&&%%%%%&&%&&&%&%%&%%&%%%%&%%& //%%%%%%%%%%%%%%%%%%, @@@/ *@@@@@ @@@# @. @&&%%&%&%%%&%%%%%%%%%%&&%%% //%%%%%%%%%%%%%%& &@@. ...@@@@....@@@@@. .@ @@. @@@.&&%%&%%&&%&&&&&&&%%%%% //%%%%%%%%%%%%@@@&.(@@.....@@@@@....@@@@,........ .@. .@@@. %%&&%&%%&&&&&&%%%%%% //%%%%%%&%%%& ,@@@@@@*.....@@@@@(...#@@@@@#.........@# &@@@ (%&&&%&%%%%%%%%%%% //%%%%%%%%%&. ...@@@@@@....,*@@@@@@*...#@@@@@@@.......,#. @@@@ @@%%%%%%%%%%%%%% //%%%%%%%%%@@,.....@@@%%%%&%%%&%%%%&%%%%@&@@@@@@@@(........@@@. #@@&%%%%%%%%%%%% //&&&&&%%%%@@@,....@&%%%&%%%%%%%%%%%%%%%%%%%%@@@@@@@@&......@@@ @@& #%%%%%%%%%% //%%%%%%%%%@@@@,..,%&%%%%&%%%%%&%&%%&%%&%%%%&%%&%@@@@@@@....%@@,. @@& &%%%%%%%%% //&&%%%%%%%&@@@@...@&%%%%%%&%&%%&%%%&%%%%%%%%&%%%%%&@@@@@#..*@@...,@@ @%%%%%%%% //%&%&%%%%%%%@@@@...@&%&%&%&*&%%*&%&%%%%%@%&%%%%%%%%%&&@@@@..@#...@@ @@@%%%%%%% //%%%%%%%%%%%%@@@,....%&%&%/ #%%%,,,,,,*,/,&%&%%%%&%%%%%@@@@.@*..@.. *@@@ @%%%%%% //%%%%%%%%%%%%%%@(......&&*%&/,,,, ( ,,,,((,%%%%&&%%%%&%(@@@&......@@@ @@%%%%%% //%%%%%%%%%%%%%%%%(....@&*&%,,,,,,(&&/,*#/ //%&(@%%&&%%%%%@@@@*....@@ @@@%%%%%% //*#%&&%%%%%%%%%%%%%%,..,@%(,,,,,@@@@*.#/ %//,#./%%%%%%%%%%%#@@@...(@@ @@,%%%%%%% //#/****/**%%%%%%%%%%%%%( *.(,,,,,(%(@@*/////,&,@&&%%&&%%%%%&.@@@..(@@ /@. @%%%%%% //////*****///%&%%%%%%.%@%*,,,,,,,,,***////,,&&&&&%&%&&%%%%%%.,@@@.,@% &@ @%%%%%%% //////********//////&,, ,,,,,,,,&/*.&&%/,&%%/%%&&&&%&&%&%&(..%@@,.@, /%%%%%%%%% ///////%***///***/(,,,,,,,,,,,,,,,***////,% .&@@.@@@@@@@@@@@&...@@/.@ %%%%%%%%%%% ///////**#**%%***%,,,%.#&&/,,,,,,***# *%%%&*@@.*@@/...,@@@#..%@& .%%%%%%%%%%%%% //((/////*(///**,,,,,, (&&,,,,,/ .&. %@%@& .&%%%%%%&@#. .@@@. #%%%%%%%%%%%%%%%%% //(***////**.@&,#,,,,,,,%..*,*/%@##. . ,.@%%****/******&%%%%%%%%%%%%%&#**(&/*&&&#* ///********/%/@*%.,,.&,,#* (,,,/@@**///*,//%/(*******%**/*&%%%%%%&%***//**//////// /////******@.%&@/,,.%*,,,,,*%#,***/////*,///(********///////*****************(/*** //&#//**********/(./*,,,,/@&,,,**//////,,**//////////////*****************//(((/** ///**/////////*****&#& #,,,,,,*//(////,,&***/*///////*********//////***////(((///* //***//****(((//**** &,,/*& %@* @,,&********//*******(#**//********//(((((//** //***/*****/((((/%(*****/&#&/*%@@%@ %,**********//*******//*************/((((//*** ///*******/(((((((//*******(,,,,*,&%//#%********////((////**************(((******* ///******//((((((((((///******///////(//#//((////////******************/((******** import "./ShroomMateERC721.sol"; interface IGnarToken { function burn(address _from, uint256 _amount) external; function updateReward(address _from, address _to) external; } contract ShroomMate is ShroomMateERC721 { struct ShroomData { string name; } modifier ShroomOwner(uint256 ShroomId) { require(ownerOf(ShroomId) == msg.sender, "Cannot interact with a ShroomMate you do not own"); _; } IGnarToken public GnarToken; uint256 constant public NAME_CHANGE_PRICE = 150 ether; mapping(uint256 => ShroomData) public shroomData; event NameChanged(uint256 ShroomId, string ShroomName); constructor(string memory name, string memory symbol) ShroomMateERC721(name, symbol) {} function changeName(uint256 ShroomId, string memory newName) external ShroomOwner(ShroomId) { bytes memory n = bytes(newName); require(n.length > 0 && n.length < 25, "Invalid name length"); require(sha256(n) != sha256(bytes(shroomData[ShroomId].name)), "New name is same as current name"); GnarToken.burn(msg.sender, NAME_CHANGE_PRICE); shroomData[ShroomId].name = newName; emit NameChanged(ShroomId, newName); } function setGnarToken(address GnarTokenAddress) external onlyOwner { GnarToken = IGnarToken(GnarTokenAddress); } function transferFrom(address from, address to, uint256 tokenId) public override { if (tokenId < maxSupply) { GnarToken.updateReward(from, to); genBalance[from]--; genBalance[to]++; } ERC721.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override { if (tokenId < maxSupply) { GnarToken.updateReward(from, to); genBalance[from]--; genBalance[to]++; } ERC721.safeTransferFrom(from, to, tokenId, data); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; //@@@@@@@*..,@@@@@@@@@@@@@@@@@@....*.@@@@@@@@**@*@@@@@@@@@@@@..*@@,,@(..@@@@@@ //@&..............@@@@......@@@......@%@@@@@.........@@@@@@@..............@@@@ //@@......#.......@%@@@....../@......@%@@@@@.........@@@@@@@*......@@%....@%@@ //@@,,,,,@@&@@@@@@@@@@@.@#...........@%@@@@....@.%@..@%@@@@@@.....@@@@...@@%@@ //@@*&***@%@(***,,@@@@@,,,,,,,,,,,,,@@%@@@#,@,,@@@,@,,@@@@@@@,*,*********%@&@@ //@@/(%///@@@/////@@@@@@///&////****@@@@@@/*////*/////@@&@@@@///////////@@@@@@ //@@/&///////////&@&@@@//////@#////(@@@@@/////@#(/@/////@@@@@/@////@//////@@@@ //@@@@(//////////@@%@@@%//////@@@///@@@@@//%///(@@@/////#@@@@////@@@@/////@@@@ //@@@@@@/&@@#/@@@%@@@@@@@@@@/@%@@@/@@@%@@@@&@@@&%@@@@(@@&%@@@@///@@@@@//@@%@@@ //@@@@@@@@@%@@@@@@@@@@@@@@@@@@@@@@(@%@@@@@@@@@%@@@@@@&@&@@@@@@@@%@@@@@@@@@@@@@ //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ //@@@@@@@@@,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ //@@@@(.......@@@@@@@@@@@....%...*@@@@@@@...........@@@@**@@...........@@@@ //@@@@(..%...@@@@@@@@@@@.........@@@@@@@@@.....@.....@@@*,@@...........@@@@ //@@@@..,....*@@@@@@@@@@@...@.(.*.@&@@@@@@....#@....(.@@@,@(.....@@.(.%@@@@ //@@@@%,,,,,,@@@@@@@@@@@,,,,@@@@,,,@@@@@@@,,,,,,,,,,,*@@**@%,,..,.,,,@@&@@@ //@@@@*******@%@@@@@@@@***(**/****(**&@@@@****@/@&&****@@@@@@@@&/,,,,,,@@@@ //@@@@@(@////(/&@/@@@@@////**%*******@@@@@@***#@@*&***%@@@@@@@@@@****%*@&@@ //@@@@%/////@/////(@&@%/////(@@@//////@@@@///////////@#@@@@///////////@@%@@ //@@@@//%@(//////@@%@@@@@#//@@%@@/#@/@@@@@//@%/(/@@@/@%@/@@///////&@/@@&@@@ //@@@@@@@@@@@@@@//@@@@@@@@/@%@@@@@@/@@@@@@@@@@@@/(%@@@@@/,@%/@@@//@@%@@@@@@ //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@@@@/@%@@@@@@@@@@@@@@@@@@@@@@@@ //%%%%%%%%%%%%%%%&%%%%&&&&&&%%&&&&&&&&&&&&%&&&&&&&&%&&&&&&%&%&&&&&&&&&&&&&&&%&&&%% //%&%%%%%%%%%%%%%%%%%%&%%%%&&%&%@@&@@%&&&&&&&&&&%%%%%%%%&%%&&&&&&&&&&&&&&%%%%%%&&% //%%%%%%%%%%%%%%%%%%%%%%@@@% &@@@@@ @@@@ .&&%%%&&%%%%%&&%&&&%&%%&%%&%%%%&%%& //%%%%%%%%%%%%%%%%%%, @@@/ *@@@@@ @@@# @. @&&%%&%&%%%&%%%%%%%%%%&&%%% //%%%%%%%%%%%%%%& &@@. ...@@@@....@@@@@. .@ @@. @@@.&&%%&%%&&%&&&&&&&%%%%% //%%%%%%%%%%%%@@@&.(@@.....@@@@@....@@@@,........ .@. .@@@. %%&&%&%%&&&&&&%%%%%% //%%%%%%&%%%& ,@@@@@@*.....@@@@@(...#@@@@@#.........@# &@@@ (%&&&%&%%%%%%%%%%% //%%%%%%%%%&. ...@@@@@@....,*@@@@@@*...#@@@@@@@.......,#. @@@@ @@%%%%%%%%%%%%%% //%%%%%%%%%@@,.....@@@%%%%&%%%&%%%%&%%%%@&@@@@@@@@(........@@@. #@@&%%%%%%%%%%%% //&&&&&%%%%@@@,....@&%%%&%%%%%%%%%%%%%%%%%%%%@@@@@@@@&......@@@ @@& #%%%%%%%%%% //%%%%%%%%%@@@@,..,%&%%%%&%%%%%&%&%%&%%&%%%%&%%&%@@@@@@@....%@@,. @@& &%%%%%%%%% //&&%%%%%%%&@@@@...@&%%%%%%&%&%%&%%%&%%%%%%%%&%%%%%&@@@@@#..*@@...,@@ @%%%%%%%% //%&%&%%%%%%%@@@@...@&%&%&%&*&%%*&%&%%%%%@%&%%%%%%%%%&&@@@@..@#...@@ @@@%%%%%%% //%%%%%%%%%%%%@@@,....%&%&%/ #%%%,,,,,,*,/,&%&%%%%&%%%%%@@@@.@*..@.. *@@@ @%%%%%% //%%%%%%%%%%%%%%@(......&&*%&/,,,, ( ,,,,((,%%%%&&%%%%&%(@@@&......@@@ @@%%%%%% //%%%%%%%%%%%%%%%%(....@&*&%,,,,,,(&&/,*#/ //%&(@%%&&%%%%%@@@@*....@@ @@@%%%%%% //*#%&&%%%%%%%%%%%%%%,..,@%(,,,,,@@@@*.#/ %//,#./%%%%%%%%%%%#@@@...(@@ @@,%%%%%%% //#/****/**%%%%%%%%%%%%%( *.(,,,,,(%(@@*/////,&,@&&%%&&%%%%%&.@@@..(@@ /@. @%%%%%% //////*****///%&%%%%%%.%@%*,,,,,,,,,***////,,&&&&&%&%&&%%%%%%.,@@@.,@% &@ @%%%%%%% //////********//////&,, ,,,,,,,,&/*.&&%/,&%%/%%&&&&%&&%&%&(..%@@,.@, /%%%%%%%%% ///////%***///***/(,,,,,,,,,,,,,,,***////,% .&@@.@@@@@@@@@@@&...@@/.@ %%%%%%%%%%% ///////**#**%%***%,,,%.#&&/,,,,,,***# *%%%&*@@.*@@/...,@@@#..%@& .%%%%%%%%%%%%% //((/////*(///**,,,,,, (&&,,,,,/ .&. %@%@& .&%%%%%%&@#. .@@@. #%%%%%%%%%%%%%%%%% //(***////**.@&,#,,,,,,,%..*,*/%@##. . ,.@%%****/******&%%%%%%%%%%%%%&#**(&/*&&&#* ///********/%/@*%.,,.&,,#* (,,,/@@**///*,//%/(*******%**/*&%%%%%%&%***//**//////// /////******@.%&@/,,.%*,,,,,*%#,***/////*,///(********///////*****************(/*** //&#//**********/(./*,,,,/@&,,,**//////,,**//////////////*****************//(((/** ///**/////////*****&#& #,,,,,,*//(////,,&***/*///////*********//////***////(((///* //***//****(((//**** &,,/*& %@* @,,&********//*******(#**//********//(((((//** //***/*****/((((/%(*****/&#&/*%@@%@ %,**********//*******//*************/((((//*** ///*******/(((((((//*******(,,,,*,&%//#%********////((////**************(((******* ///******//((((((((((///******///////(//#//((////////******************/((******** import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract ShroomMateERC721 is ERC721Enumerable, Ownable, ReentrancyGuard { using Strings for uint; using SafeMath for uint256; using Address for address; string private baseURI; bytes32 private root; string public provinanceHash; uint256 public maxSupply = 7777; uint256 public maxBuyable = 7700; uint256 public price = 0.035 ether; bool public presaleActive = false; bool public saleActive = false; uint256 public buffer; mapping (address => uint256) public genBalance; constructor(string memory name, string memory symbol) ERC721(name, symbol) { } function mint(uint256 numberOfMints) public payable{ uint256 supply = totalSupply(); require(saleActive, "Sale must be active to mint"); require(numberOfMints > 0 && numberOfMints < 7, "Invalid purchase amount"); uint256 maxSupplyBuff = maxBuyable + buffer; require(supply.add(numberOfMints) <= maxSupplyBuff, "Purchase would exceed max supply of ShroomMate"); require(genBalance[msg.sender].add(numberOfMints) <= 7 , "Max number of mints per wallet is 7"); require(msg.value >= price * numberOfMints, "Ether value sent is below the price"); for(uint256 i; i < numberOfMints; i++) { _safeMint(msg.sender, supply + i); genBalance[msg.sender]++; } } function gift(uint256 numberOfMints, address _to) public onlyOwner{ uint256 supply = totalSupply(); require(numberOfMints > 0, "Invalid purchase amount"); require(supply.add(numberOfMints) <= maxSupply, "Purchase would exceed max supply of ShroomMate"); buffer++; for(uint256 i; i < numberOfMints; i++) { _safeMint(_to, supply + i); genBalance[msg.sender]++; } } function whiteListMint(uint256 numberOfMints, bytes32[] calldata _proof) public payable { uint256 supply = totalSupply(); require(presaleActive, "Sale must be active to mint"); require(numberOfMints > 0 && numberOfMints < 7, "Invalid purchase amount"); uint256 maxSupplyBuff = maxBuyable + buffer; require(supply.add(numberOfMints) <= maxSupplyBuff, "Purchase would exceed max supply of ShroomMate"); require(genBalance[msg.sender].add(numberOfMints) <= 7 , "Max number of mints per wallet is 7"); require(msg.value >= price * numberOfMints, "Ether value sent is below the price"); require(_verify( _proof, _leaf(msg.sender)) ); for(uint256 i; i < numberOfMints; i++) { _safeMint(msg.sender, supply + i); genBalance[msg.sender]++; } } function _leaf(address wallet) internal pure returns (bytes32) { return keccak256(abi.encodePacked(wallet)); } function _verify(bytes32[] memory _proof, bytes32 leaf) internal view returns (bool) { return MerkleProof.verify(_proof, root, leaf); } function walletOfOwner(address owner) external view returns(uint256[] memory) { uint256 tokenCount = balanceOf(owner); uint256[] memory tokensId = new uint256[](tokenCount); for(uint256 i; i < tokenCount; i++){ tokensId[i] = tokenOfOwnerByIndex(owner, i); } return tokensId; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function togglePresale() public onlyOwner { presaleActive = !presaleActive; } function toggleSale() public onlyOwner { saleActive = !saleActive; } function setPrice(uint256 newPrice) public onlyOwner { price = newPrice; } function setRoot(bytes32 _root) public onlyOwner { root = _root; } function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function setHash(string memory _hash) public onlyOwner { provinanceHash = _hash; } function _baseURI() internal view override returns (string memory) { return baseURI; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: 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 { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: 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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev 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 // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) 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 making 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 // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","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":false,"internalType":"uint256","name":"ShroomId","type":"uint256"},{"indexed":false,"internalType":"string","name":"ShroomName","type":"string"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"GnarToken","outputs":[{"internalType":"contract IGnarToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NAME_CHANGE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buffer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"ShroomId","type":"uint256"},{"internalType":"string","name":"newName","type":"string"}],"name":"changeName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"genBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provinanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"GnarTokenAddress","type":"address"}],"name":"setGnarToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hash","type":"string"}],"name":"setHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"shroomData","outputs":[{"internalType":"string","name":"name","type":"string"}],"stateMutability":"view","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":[],"name":"togglePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","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"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"whiteListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052611e61600f55611e14601055667c5850872380006011556000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff0219169083151502179055503480156200005e57600080fd5b5060405162005d4f38038062005d4f8339818101604052810190620000849190620002de565b818181818160009080519060200190620000a0929190620001bc565b508060019080519060200190620000b9929190620001bc565b505050620000dc620000d0620000ee60201b60201c565b620000f660201b60201c565b6001600b819055505050505062000482565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ca90620003ee565b90600052602060002090601f016020900481019282620001ee57600085556200023a565b82601f106200020957805160ff19168380011785556200023a565b828001600101855582156200023a579182015b82811115620002395782518255916020019190600101906200021c565b5b5090506200024991906200024d565b5090565b5b80821115620002685760008160009055506001016200024e565b5090565b6000620002836200027d8462000385565b62000351565b9050828152602081018484840111156200029c57600080fd5b620002a9848285620003b8565b509392505050565b600082601f830112620002c357600080fd5b8151620002d58482602086016200026c565b91505092915050565b60008060408385031215620002f257600080fd5b600083015167ffffffffffffffff8111156200030d57600080fd5b6200031b85828601620002b1565b925050602083015167ffffffffffffffff8111156200033957600080fd5b6200034785828601620002b1565b9150509250929050565b6000604051905081810181811067ffffffffffffffff821117156200037b576200037a62000453565b5b8060405250919050565b600067ffffffffffffffff821115620003a357620003a262000453565b5b601f19601f8301169050602081019050919050565b60005b83811015620003d8578082015181840152602081019050620003bb565b83811115620003e8576000848401525b50505050565b600060028204905060018216806200040757607f821691505b602082108114156200041e576200041d62000424565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6158bd80620004926000396000f3fe60806040526004361061025c5760003560e01c806370a0823111610144578063a22cb465116100b6578063c87b56dd1161007a578063c87b56dd146108b6578063d5abeb01146108f3578063dab5f3401461091e578063e985e9c514610947578063edaafe2014610984578063f2fde38b146109af5761025c565b8063a22cb465146107e5578063a9fc729d1461080e578063aecbd5d414610839578063b88d4fde14610864578063c39cbef11461088d5761025c565b8063841bae6511610108578063841bae65146106f65780638da5cb5b1461071f57806391b7f5ed1461074a57806395d89b4114610773578063a035b1fe1461079e578063a0712d68146107c95761025c565b806370a0823114610625578063715018a6146106625780637d8966e4146106795780637ff768af1461069057806383a076be146106cd5761025c565b80632f745c59116101dd5780634f6ccce7116101a15780634f6ccce71461050157806353135ca01461053e57806354b6f1611461056957806355f804b3146105945780636352211e146105bd57806368428a1b146105fa5761025c565b80632f745c5914610430578063343937431461046d5780633ccfd60b1461048457806342842e0e1461049b578063438b6300146104c45761025c565b80631187687511610224578063118768751461035a57806318160ddd146103765780631ed83fd4146103a157806323b872dd146103ca5780632ea003af146103f35761025c565b806301ffc9a714610261578063040d32241461029e57806306fdde03146102c9578063081812fc146102f4578063095ea7b314610331575b600080fd5b34801561026d57600080fd5b50610288600480360381019061028391906140a7565b6109d8565b6040516102959190614f2d565b60405180910390f35b3480156102aa57600080fd5b506102b3610a52565b6040516102c09190614f63565b60405180910390f35b3480156102d557600080fd5b506102de610ae0565b6040516102eb9190614f63565b60405180910390f35b34801561030057600080fd5b5061031b6004803603810190610316919061413a565b610b72565b6040516103289190614e52565b60405180910390f35b34801561033d57600080fd5b5061035860048036038101906103539190614019565b610bf7565b005b610374600480360381019061036f919061419f565b610d0f565b005b34801561038257600080fd5b5061038b610ff3565b60405161039891906152c5565b60405180910390f35b3480156103ad57600080fd5b506103c860048036038101906103c391906140f9565b611000565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190613f13565b611096565b005b3480156103ff57600080fd5b5061041a6004803603810190610415919061413a565b6111ea565b6040516104279190614f63565b60405180910390f35b34801561043c57600080fd5b5061045760048036038101906104529190614019565b611290565b60405161046491906152c5565b60405180910390f35b34801561047957600080fd5b50610482611335565b005b34801561049057600080fd5b506104996113dd565b005b3480156104a757600080fd5b506104c260048036038101906104bd9190613f13565b6114a8565b005b3480156104d057600080fd5b506104eb60048036038101906104e69190613eae565b6114c8565b6040516104f89190614f0b565b60405180910390f35b34801561050d57600080fd5b506105286004803603810190610523919061413a565b6115c2565b60405161053591906152c5565b60405180910390f35b34801561054a57600080fd5b50610553611659565b6040516105609190614f2d565b60405180910390f35b34801561057557600080fd5b5061057e61166c565b60405161058b91906152c5565b60405180910390f35b3480156105a057600080fd5b506105bb60048036038101906105b691906140f9565b611679565b005b3480156105c957600080fd5b506105e460048036038101906105df919061413a565b61170f565b6040516105f19190614e52565b60405180910390f35b34801561060657600080fd5b5061060f6117c1565b60405161061c9190614f2d565b60405180910390f35b34801561063157600080fd5b5061064c60048036038101906106479190613eae565b6117d4565b60405161065991906152c5565b60405180910390f35b34801561066e57600080fd5b5061067761188c565b005b34801561068557600080fd5b5061068e611914565b005b34801561069c57600080fd5b506106b760048036038101906106b29190613eae565b6119bc565b6040516106c491906152c5565b60405180910390f35b3480156106d957600080fd5b506106f460048036038101906106ef9190614163565b6119d4565b005b34801561070257600080fd5b5061071d60048036038101906107189190613eae565b611b9c565b005b34801561072b57600080fd5b50610734611c5c565b6040516107419190614e52565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c919061413a565b611c86565b005b34801561077f57600080fd5b50610788611d0c565b6040516107959190614f63565b60405180910390f35b3480156107aa57600080fd5b506107b3611d9e565b6040516107c091906152c5565b60405180910390f35b6107e360048036038101906107de919061413a565b611da4565b005b3480156107f157600080fd5b5061080c60048036038101906108079190613fdd565b61202a565b005b34801561081a57600080fd5b50610823612040565b60405161083091906152c5565b60405180910390f35b34801561084557600080fd5b5061084e612046565b60405161085b9190614f48565b60405180910390f35b34801561087057600080fd5b5061088b60048036038101906108869190613f62565b61206c565b005b34801561089957600080fd5b506108b460048036038101906108af91906141f7565b6121c2565b005b3480156108c257600080fd5b506108dd60048036038101906108d8919061413a565b612487565b6040516108ea9190614f63565b60405180910390f35b3480156108ff57600080fd5b5061090861252e565b60405161091591906152c5565b60405180910390f35b34801561092a57600080fd5b5061094560048036038101906109409190614055565b612534565b005b34801561095357600080fd5b5061096e60048036038101906109699190613ed7565b6125ba565b60405161097b9190614f2d565b60405180910390f35b34801561099057600080fd5b5061099961264e565b6040516109a691906152c5565b60405180910390f35b3480156109bb57600080fd5b506109d660048036038101906109d19190613eae565b612654565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a4b5750610a4a8261274c565b5b9050919050565b600e8054610a5f90615660565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8b90615660565b8015610ad85780601f10610aad57610100808354040283529160200191610ad8565b820191906000526020600020905b815481529060010190602001808311610abb57829003601f168201915b505050505081565b606060008054610aef90615660565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1b90615660565b8015610b685780601f10610b3d57610100808354040283529160200191610b68565b820191906000526020600020905b815481529060010190602001808311610b4b57829003601f168201915b5050505050905090565b6000610b7d8261282e565b610bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb390615165565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c028261170f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6a906151e5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c9261289a565b73ffffffffffffffffffffffffffffffffffffffff161480610cc15750610cc081610cbb61289a565b6125ba565b5b610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf7906150c5565b60405180910390fd5b610d0a83836128a2565b505050565b6000610d19610ff3565b9050601260009054906101000a900460ff16610d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6190615065565b60405180910390fd5b600084118015610d7a5750600784105b610db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db090615285565b60405180910390fd5b6000601354601054610dcb919061543d565b905080610de1868461295b90919063ffffffff16565b1115610e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1990614fc5565b60405180910390fd5b6007610e7686601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461295b90919063ffffffff16565b1115610eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eae906150a5565b60405180910390fd5b84601154610ec591906154c4565b341015610f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efe90615125565b60405180910390fd5b610f5a848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050610f5533612971565b6129a1565b610f6357600080fd5b60005b85811015610feb57610f83338285610f7e919061543d565b6129b8565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610fd390615692565b91905055508080610fe390615692565b915050610f66565b505050505050565b6000600880549050905090565b61100861289a565b73ffffffffffffffffffffffffffffffffffffffff16611026611c5c565b73ffffffffffffffffffffffffffffffffffffffff161461107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107390615185565b60405180910390fd5b80600e9080519060200190611092929190613c5e565b5050565b600f548110156111da57601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a84846040518363ffffffff1660e01b81526004016110fd929190614e6d565b600060405180830381600087803b15801561111757600080fd5b505af115801561112b573d6000803e3d6000fd5b50505050601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061117f90615636565b9190505550601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906111d490615692565b91905055505b6111e58383836129d6565b505050565b601660205280600052604060002060009150905080600001805461120d90615660565b80601f016020809104026020016040519081016040528092919081815260200182805461123990615660565b80156112865780601f1061125b57610100808354040283529160200191611286565b820191906000526020600020905b81548152906001019060200180831161126957829003601f168201915b5050505050905081565b600061129b836117d4565b82106112dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d390614f85565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61133d61289a565b73ffffffffffffffffffffffffffffffffffffffff1661135b611c5c565b73ffffffffffffffffffffffffffffffffffffffff16146113b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a890615185565b60405180910390fd5b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b6113e561289a565b73ffffffffffffffffffffffffffffffffffffffff16611403611c5c565b73ffffffffffffffffffffffffffffffffffffffff1614611459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145090615185565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156114a4573d6000803e3d6000fd5b5050565b6114c38383836040518060200160405280600081525061206c565b505050565b606060006114d5836117d4565b905060008167ffffffffffffffff811115611519577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156115475781602001602082028036833780820191505090505b50905060005b828110156115b75761155f8582611290565b828281518110611598577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806115af90615692565b91505061154d565b508092505050919050565b60006115cc610ff3565b821061160d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160490615265565b60405180910390fd5b60088281548110611647577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601260009054906101000a900460ff1681565b680821ab0d441498000081565b61168161289a565b73ffffffffffffffffffffffffffffffffffffffff1661169f611c5c565b73ffffffffffffffffffffffffffffffffffffffff16146116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec90615185565b60405180910390fd5b80600c908051906020019061170b929190613c5e565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af90615105565b60405180910390fd5b80915050919050565b601260019054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183c906150e5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61189461289a565b73ffffffffffffffffffffffffffffffffffffffff166118b2611c5c565b73ffffffffffffffffffffffffffffffffffffffff1614611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff90615185565b60405180910390fd5b6119126000612a36565b565b61191c61289a565b73ffffffffffffffffffffffffffffffffffffffff1661193a611c5c565b73ffffffffffffffffffffffffffffffffffffffff1614611990576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198790615185565b60405180910390fd5b601260019054906101000a900460ff1615601260016101000a81548160ff021916908315150217905550565b60146020528060005260406000206000915090505481565b6119dc61289a565b73ffffffffffffffffffffffffffffffffffffffff166119fa611c5c565b73ffffffffffffffffffffffffffffffffffffffff1614611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4790615185565b60405180910390fd5b6000611a5a610ff3565b905060008311611a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9690615285565b60405180910390fd5b600f54611ab5848361295b90919063ffffffff16565b1115611af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aed90614fc5565b60405180910390fd5b60136000815480929190611b0990615692565b919050555060005b83811015611b9657611b2e838284611b29919061543d565b6129b8565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611b7e90615692565b91905055508080611b8e90615692565b915050611b11565b50505050565b611ba461289a565b73ffffffffffffffffffffffffffffffffffffffff16611bc2611c5c565b73ffffffffffffffffffffffffffffffffffffffff1614611c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0f90615185565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611c8e61289a565b73ffffffffffffffffffffffffffffffffffffffff16611cac611c5c565b73ffffffffffffffffffffffffffffffffffffffff1614611d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf990615185565b60405180910390fd5b8060118190555050565b606060018054611d1b90615660565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4790615660565b8015611d945780601f10611d6957610100808354040283529160200191611d94565b820191906000526020600020905b815481529060010190602001808311611d7757829003601f168201915b5050505050905090565b60115481565b6000611dae610ff3565b9050601260019054906101000a900460ff16611dff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df690615065565b60405180910390fd5b600082118015611e0f5750600782105b611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4590615285565b60405180910390fd5b6000601354601054611e60919061543d565b905080611e76848461295b90919063ffffffff16565b1115611eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eae90614fc5565b60405180910390fd5b6007611f0b84601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461295b90919063ffffffff16565b1115611f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f43906150a5565b60405180910390fd5b82601154611f5a91906154c4565b341015611f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9390615125565b60405180910390fd5b60005b8381101561202457611fbc338285611fb7919061543d565b6129b8565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061200c90615692565b9190505550808061201c90615692565b915050611f9f565b50505050565b61203c61203561289a565b8383612afc565b5050565b60105481565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f548210156121b057601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a85856040518363ffffffff1660e01b81526004016120d3929190614e6d565b600060405180830381600087803b1580156120ed57600080fd5b505af1158015612101573d6000803e3d6000fd5b50505050601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061215590615636565b9190505550601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906121aa90615692565b91905055505b6121bc84848484612c69565b50505050565b813373ffffffffffffffffffffffffffffffffffffffff166121e38261170f565b73ffffffffffffffffffffffffffffffffffffffff1614612239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223090615225565b60405180910390fd5b600082905060008151118015612250575060198151105b61228f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228690615205565b60405180910390fd5b6002601660008681526020019081526020016000206000016040516122b49190614e17565b602060405180830381855afa1580156122d1573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906122f4919061407e565b6002826040516123049190614e00565b602060405180830381855afa158015612321573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190612344919061407e565b1415612385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237c906152a5565b60405180910390fd5b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33680821ab0d44149800006040518363ffffffff1660e01b81526004016123eb929190614ee2565b600060405180830381600087803b15801561240557600080fd5b505af1158015612419573d6000803e3d6000fd5b5050505082601660008681526020019081526020016000206000019080519060200190612447929190613c5e565b507f8edfa912e70e283a8ef6d6f52cd1faef9690ff989eff2f11a134e8478ba7b28b84846040516124799291906152e0565b60405180910390a150505050565b60606124928261282e565b6124d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c8906151c5565b60405180910390fd5b60006124db612ccb565b905060008151116124fb5760405180602001604052806000815250612526565b8061250584612d5d565b604051602001612516929190614e2e565b6040516020818303038152906040525b915050919050565b600f5481565b61253c61289a565b73ffffffffffffffffffffffffffffffffffffffff1661255a611c5c565b73ffffffffffffffffffffffffffffffffffffffff16146125b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a790615185565b60405180910390fd5b80600d8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60135481565b61265c61289a565b73ffffffffffffffffffffffffffffffffffffffff1661267a611c5c565b73ffffffffffffffffffffffffffffffffffffffff16146126d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c790615185565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273790614fe5565b60405180910390fd5b61274981612a36565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061281757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612827575061282682612f0a565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129158361170f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008183612969919061543d565b905092915050565b6000816040516020016129849190614db9565b604051602081830303815290604052805190602001209050919050565b60006129b083600d5484612f74565b905092915050565b6129d2828260405180602001604052806000815250612f8b565b5050565b6129e76129e161289a565b82612fe6565b612a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1d90615245565b60405180910390fd5b612a318383836130c4565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6290615045565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612c5c9190614f2d565b60405180910390a3505050565b612c7a612c7461289a565b83612fe6565b612cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb090615245565b60405180910390fd5b612cc584848484613320565b50505050565b6060600c8054612cda90615660565b80601f0160208091040260200160405190810160405280929190818152602001828054612d0690615660565b8015612d535780601f10612d2857610100808354040283529160200191612d53565b820191906000526020600020905b815481529060010190602001808311612d3657829003601f168201915b5050505050905090565b60606000821415612da5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f05565b600082905060005b60008214612dd7578080612dc090615692565b915050600a82612dd09190615493565b9150612dad565b60008167ffffffffffffffff811115612e19577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e4b5781602001600182028036833780820191505090505b5090505b60008514612efe57600182612e64919061551e565b9150600a85612e739190615709565b6030612e7f919061543d565b60f81b818381518110612ebb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ef79190615493565b9450612e4f565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600082612f81858461337c565b1490509392505050565b612f958383613455565b612fa26000848484613623565b612fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd890614fa5565b60405180910390fd5b505050565b6000612ff18261282e565b613030576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302790615085565b60405180910390fd5b600061303b8361170f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806130aa57508373ffffffffffffffffffffffffffffffffffffffff1661309284610b72565b73ffffffffffffffffffffffffffffffffffffffff16145b806130bb57506130ba81856125ba565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166130e48261170f565b73ffffffffffffffffffffffffffffffffffffffff161461313a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613131906151a5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a190615025565b60405180910390fd5b6131b58383836137ba565b6131c06000826128a2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613210919061551e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613267919061543d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61332b8484846130c4565b61333784848484613623565b613376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336d90614fa5565b60405180910390fd5b50505050565b60008082905060005b845181101561344a5760008582815181106133c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161340a5782816040516020016133ed929190614dd4565b604051602081830303815290604052805190602001209250613436565b808360405160200161341d929190614dd4565b6040516020818303038152906040528051906020012092505b50808061344290615692565b915050613385565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134bc90615145565b60405180910390fd5b6134ce8161282e565b1561350e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350590615005565b60405180910390fd5b61351a600083836137ba565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461356a919061543d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006136448473ffffffffffffffffffffffffffffffffffffffff166138ce565b156137ad578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261366d61289a565b8786866040518563ffffffff1660e01b815260040161368f9493929190614e96565b602060405180830381600087803b1580156136a957600080fd5b505af19250505080156136da57506040513d601f19601f820116820180604052508101906136d791906140d0565b60015b61375d573d806000811461370a576040519150601f19603f3d011682016040523d82523d6000602084013e61370f565b606091505b50600081511415613755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374c90614fa5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137b2565b600190505b949350505050565b6137c58383836138e1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561380857613803816138e6565b613847565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461384657613845838261392f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561388a5761388581613a9c565b6138c9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146138c8576138c78282613bdf565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161393c846117d4565b613946919061551e565b9050600060076000848152602001908152602001600020549050818114613a2b576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613ab0919061551e565b9050600060096000848152602001908152602001600020549050600060088381548110613b06577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613b4e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613bc3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613bea836117d4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613c6a90615660565b90600052602060002090601f016020900481019282613c8c5760008555613cd3565b82601f10613ca557805160ff1916838001178555613cd3565b82800160010185558215613cd3579182015b82811115613cd2578251825591602001919060010190613cb7565b5b509050613ce09190613ce4565b5090565b5b80821115613cfd576000816000905550600101613ce5565b5090565b6000613d14613d0f84615341565b615310565b905082815260208101848484011115613d2c57600080fd5b613d378482856155f4565b509392505050565b6000613d52613d4d84615371565b615310565b905082815260208101848484011115613d6a57600080fd5b613d758482856155f4565b509392505050565b600081359050613d8c81615814565b92915050565b60008083601f840112613da457600080fd5b8235905067ffffffffffffffff811115613dbd57600080fd5b602083019150836020820283011115613dd557600080fd5b9250929050565b600081359050613deb8161582b565b92915050565b600081359050613e0081615842565b92915050565b600081519050613e1581615842565b92915050565b600081359050613e2a81615859565b92915050565b600081519050613e3f81615859565b92915050565b600082601f830112613e5657600080fd5b8135613e66848260208601613d01565b91505092915050565b600082601f830112613e8057600080fd5b8135613e90848260208601613d3f565b91505092915050565b600081359050613ea881615870565b92915050565b600060208284031215613ec057600080fd5b6000613ece84828501613d7d565b91505092915050565b60008060408385031215613eea57600080fd5b6000613ef885828601613d7d565b9250506020613f0985828601613d7d565b9150509250929050565b600080600060608486031215613f2857600080fd5b6000613f3686828701613d7d565b9350506020613f4786828701613d7d565b9250506040613f5886828701613e99565b9150509250925092565b60008060008060808587031215613f7857600080fd5b6000613f8687828801613d7d565b9450506020613f9787828801613d7d565b9350506040613fa887828801613e99565b925050606085013567ffffffffffffffff811115613fc557600080fd5b613fd187828801613e45565b91505092959194509250565b60008060408385031215613ff057600080fd5b6000613ffe85828601613d7d565b925050602061400f85828601613ddc565b9150509250929050565b6000806040838503121561402c57600080fd5b600061403a85828601613d7d565b925050602061404b85828601613e99565b9150509250929050565b60006020828403121561406757600080fd5b600061407584828501613df1565b91505092915050565b60006020828403121561409057600080fd5b600061409e84828501613e06565b91505092915050565b6000602082840312156140b957600080fd5b60006140c784828501613e1b565b91505092915050565b6000602082840312156140e257600080fd5b60006140f084828501613e30565b91505092915050565b60006020828403121561410b57600080fd5b600082013567ffffffffffffffff81111561412557600080fd5b61413184828501613e6f565b91505092915050565b60006020828403121561414c57600080fd5b600061415a84828501613e99565b91505092915050565b6000806040838503121561417657600080fd5b600061418485828601613e99565b925050602061419585828601613d7d565b9150509250929050565b6000806000604084860312156141b457600080fd5b60006141c286828701613e99565b935050602084013567ffffffffffffffff8111156141df57600080fd5b6141eb86828701613d92565b92509250509250925092565b6000806040838503121561420a57600080fd5b600061421885828601613e99565b925050602083013567ffffffffffffffff81111561423557600080fd5b61424185828601613e6f565b9150509250929050565b60006142578383614d9b565b60208301905092915050565b61426c81615552565b82525050565b61428361427e82615552565b6156db565b82525050565b6000614294826153c6565b61429e81856153f4565b93506142a9836153a1565b8060005b838110156142da5781516142c1888261424b565b97506142cc836153e7565b9250506001810190506142ad565b5085935050505092915050565b6142f081615564565b82525050565b61430761430282615570565b6156ed565b82525050565b6000614318826153d1565b6143228185615405565b9350614332818560208601615603565b61433b816157f6565b840191505092915050565b6000614351826153d1565b61435b8185615416565b935061436b818560208601615603565b80840191505092915050565b6000815461438481615660565b61438e8186615416565b945060018216600081146143a957600181146143ba576143ed565b60ff198316865281860193506143ed565b6143c3856153b1565b60005b838110156143e5578154818901526001820191506020810190506143c6565b838801955050505b50505092915050565b6143ff816155d0565b82525050565b6000614410826153dc565b61441a8185615421565b935061442a818560208601615603565b614433816157f6565b840191505092915050565b6000614449826153dc565b6144538185615432565b9350614463818560208601615603565b80840191505092915050565b600061447c602b83615421565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006144e2603283615421565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614548602e83615421565b91507f507572636861736520776f756c6420657863656564206d617820737570706c7960008301527f206f66205368726f6f6d4d6174650000000000000000000000000000000000006020830152604082019050919050565b60006145ae602683615421565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614614601c83615421565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000614654602483615421565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146ba601983615421565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006146fa601b83615421565b91507f53616c65206d7573742062652061637469766520746f206d696e7400000000006000830152602082019050919050565b600061473a602c83615421565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006147a0602383615421565b91507f4d6178206e756d626572206f66206d696e7473207065722077616c6c6574206960008301527f73203700000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614806603883615421565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061486c602a83615421565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006148d2602983615421565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614938602383615421565b91507f45746865722076616c75652073656e742069732062656c6f772074686520707260008301527f69636500000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061499e602083615421565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006149de602c83615421565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614a44602083615421565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614a84602983615421565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614aea602f83615421565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614b50602183615421565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614bb6601383615421565b91507f496e76616c6964206e616d65206c656e677468000000000000000000000000006000830152602082019050919050565b6000614bf6603083615421565b91507f43616e6e6f7420696e74657261637420776974682061205368726f6f6d4d617460008301527f6520796f7520646f206e6f74206f776e000000000000000000000000000000006020830152604082019050919050565b6000614c5c603183615421565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614cc2602c83615421565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614d28601783615421565b91507f496e76616c696420707572636861736520616d6f756e740000000000000000006000830152602082019050919050565b6000614d68602083615421565b91507f4e6577206e616d652069732073616d652061732063757272656e74206e616d656000830152602082019050919050565b614da4816155c6565b82525050565b614db3816155c6565b82525050565b6000614dc58284614272565b60148201915081905092915050565b6000614de082856142f6565b602082019150614df082846142f6565b6020820191508190509392505050565b6000614e0c8284614346565b915081905092915050565b6000614e238284614377565b915081905092915050565b6000614e3a828561443e565b9150614e46828461443e565b91508190509392505050565b6000602082019050614e676000830184614263565b92915050565b6000604082019050614e826000830185614263565b614e8f6020830184614263565b9392505050565b6000608082019050614eab6000830187614263565b614eb86020830186614263565b614ec56040830185614daa565b8181036060830152614ed7818461430d565b905095945050505050565b6000604082019050614ef76000830185614263565b614f046020830184614daa565b9392505050565b60006020820190508181036000830152614f258184614289565b905092915050565b6000602082019050614f4260008301846142e7565b92915050565b6000602082019050614f5d60008301846143f6565b92915050565b60006020820190508181036000830152614f7d8184614405565b905092915050565b60006020820190508181036000830152614f9e8161446f565b9050919050565b60006020820190508181036000830152614fbe816144d5565b9050919050565b60006020820190508181036000830152614fde8161453b565b9050919050565b60006020820190508181036000830152614ffe816145a1565b9050919050565b6000602082019050818103600083015261501e81614607565b9050919050565b6000602082019050818103600083015261503e81614647565b9050919050565b6000602082019050818103600083015261505e816146ad565b9050919050565b6000602082019050818103600083015261507e816146ed565b9050919050565b6000602082019050818103600083015261509e8161472d565b9050919050565b600060208201905081810360008301526150be81614793565b9050919050565b600060208201905081810360008301526150de816147f9565b9050919050565b600060208201905081810360008301526150fe8161485f565b9050919050565b6000602082019050818103600083015261511e816148c5565b9050919050565b6000602082019050818103600083015261513e8161492b565b9050919050565b6000602082019050818103600083015261515e81614991565b9050919050565b6000602082019050818103600083015261517e816149d1565b9050919050565b6000602082019050818103600083015261519e81614a37565b9050919050565b600060208201905081810360008301526151be81614a77565b9050919050565b600060208201905081810360008301526151de81614add565b9050919050565b600060208201905081810360008301526151fe81614b43565b9050919050565b6000602082019050818103600083015261521e81614ba9565b9050919050565b6000602082019050818103600083015261523e81614be9565b9050919050565b6000602082019050818103600083015261525e81614c4f565b9050919050565b6000602082019050818103600083015261527e81614cb5565b9050919050565b6000602082019050818103600083015261529e81614d1b565b9050919050565b600060208201905081810360008301526152be81614d5b565b9050919050565b60006020820190506152da6000830184614daa565b92915050565b60006040820190506152f56000830185614daa565b81810360208301526153078184614405565b90509392505050565b6000604051905081810181811067ffffffffffffffff82111715615337576153366157c7565b5b8060405250919050565b600067ffffffffffffffff82111561535c5761535b6157c7565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561538c5761538b6157c7565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615448826155c6565b9150615453836155c6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156154885761548761573a565b5b828201905092915050565b600061549e826155c6565b91506154a9836155c6565b9250826154b9576154b8615769565b5b828204905092915050565b60006154cf826155c6565b91506154da836155c6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156155135761551261573a565b5b828202905092915050565b6000615529826155c6565b9150615534836155c6565b9250828210156155475761554661573a565b5b828203905092915050565b600061555d826155a6565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006155db826155e2565b9050919050565b60006155ed826155a6565b9050919050565b82818337600083830152505050565b60005b83811015615621578082015181840152602081019050615606565b83811115615630576000848401525b50505050565b6000615641826155c6565b915060008214156156555761565461573a565b5b600182039050919050565b6000600282049050600182168061567857607f821691505b6020821081141561568c5761568b615798565b5b50919050565b600061569d826155c6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156d0576156cf61573a565b5b600182019050919050565b60006156e6826156f7565b9050919050565b6000819050919050565b600061570282615807565b9050919050565b6000615714826155c6565b915061571f836155c6565b92508261572f5761572e615769565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b61581d81615552565b811461582857600080fd5b50565b61583481615564565b811461583f57600080fd5b50565b61584b81615570565b811461585657600080fd5b50565b6158628161557a565b811461586d57600080fd5b50565b615879816155c6565b811461588457600080fd5b5056fea264697066735822122082d44e848611336a70271731c32c4ba433dc0f62087a5f03de063c460ee34f1b64736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a5368726f6f6d617465730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065348524f4f4d0000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061025c5760003560e01c806370a0823111610144578063a22cb465116100b6578063c87b56dd1161007a578063c87b56dd146108b6578063d5abeb01146108f3578063dab5f3401461091e578063e985e9c514610947578063edaafe2014610984578063f2fde38b146109af5761025c565b8063a22cb465146107e5578063a9fc729d1461080e578063aecbd5d414610839578063b88d4fde14610864578063c39cbef11461088d5761025c565b8063841bae6511610108578063841bae65146106f65780638da5cb5b1461071f57806391b7f5ed1461074a57806395d89b4114610773578063a035b1fe1461079e578063a0712d68146107c95761025c565b806370a0823114610625578063715018a6146106625780637d8966e4146106795780637ff768af1461069057806383a076be146106cd5761025c565b80632f745c59116101dd5780634f6ccce7116101a15780634f6ccce71461050157806353135ca01461053e57806354b6f1611461056957806355f804b3146105945780636352211e146105bd57806368428a1b146105fa5761025c565b80632f745c5914610430578063343937431461046d5780633ccfd60b1461048457806342842e0e1461049b578063438b6300146104c45761025c565b80631187687511610224578063118768751461035a57806318160ddd146103765780631ed83fd4146103a157806323b872dd146103ca5780632ea003af146103f35761025c565b806301ffc9a714610261578063040d32241461029e57806306fdde03146102c9578063081812fc146102f4578063095ea7b314610331575b600080fd5b34801561026d57600080fd5b50610288600480360381019061028391906140a7565b6109d8565b6040516102959190614f2d565b60405180910390f35b3480156102aa57600080fd5b506102b3610a52565b6040516102c09190614f63565b60405180910390f35b3480156102d557600080fd5b506102de610ae0565b6040516102eb9190614f63565b60405180910390f35b34801561030057600080fd5b5061031b6004803603810190610316919061413a565b610b72565b6040516103289190614e52565b60405180910390f35b34801561033d57600080fd5b5061035860048036038101906103539190614019565b610bf7565b005b610374600480360381019061036f919061419f565b610d0f565b005b34801561038257600080fd5b5061038b610ff3565b60405161039891906152c5565b60405180910390f35b3480156103ad57600080fd5b506103c860048036038101906103c391906140f9565b611000565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190613f13565b611096565b005b3480156103ff57600080fd5b5061041a6004803603810190610415919061413a565b6111ea565b6040516104279190614f63565b60405180910390f35b34801561043c57600080fd5b5061045760048036038101906104529190614019565b611290565b60405161046491906152c5565b60405180910390f35b34801561047957600080fd5b50610482611335565b005b34801561049057600080fd5b506104996113dd565b005b3480156104a757600080fd5b506104c260048036038101906104bd9190613f13565b6114a8565b005b3480156104d057600080fd5b506104eb60048036038101906104e69190613eae565b6114c8565b6040516104f89190614f0b565b60405180910390f35b34801561050d57600080fd5b506105286004803603810190610523919061413a565b6115c2565b60405161053591906152c5565b60405180910390f35b34801561054a57600080fd5b50610553611659565b6040516105609190614f2d565b60405180910390f35b34801561057557600080fd5b5061057e61166c565b60405161058b91906152c5565b60405180910390f35b3480156105a057600080fd5b506105bb60048036038101906105b691906140f9565b611679565b005b3480156105c957600080fd5b506105e460048036038101906105df919061413a565b61170f565b6040516105f19190614e52565b60405180910390f35b34801561060657600080fd5b5061060f6117c1565b60405161061c9190614f2d565b60405180910390f35b34801561063157600080fd5b5061064c60048036038101906106479190613eae565b6117d4565b60405161065991906152c5565b60405180910390f35b34801561066e57600080fd5b5061067761188c565b005b34801561068557600080fd5b5061068e611914565b005b34801561069c57600080fd5b506106b760048036038101906106b29190613eae565b6119bc565b6040516106c491906152c5565b60405180910390f35b3480156106d957600080fd5b506106f460048036038101906106ef9190614163565b6119d4565b005b34801561070257600080fd5b5061071d60048036038101906107189190613eae565b611b9c565b005b34801561072b57600080fd5b50610734611c5c565b6040516107419190614e52565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c919061413a565b611c86565b005b34801561077f57600080fd5b50610788611d0c565b6040516107959190614f63565b60405180910390f35b3480156107aa57600080fd5b506107b3611d9e565b6040516107c091906152c5565b60405180910390f35b6107e360048036038101906107de919061413a565b611da4565b005b3480156107f157600080fd5b5061080c60048036038101906108079190613fdd565b61202a565b005b34801561081a57600080fd5b50610823612040565b60405161083091906152c5565b60405180910390f35b34801561084557600080fd5b5061084e612046565b60405161085b9190614f48565b60405180910390f35b34801561087057600080fd5b5061088b60048036038101906108869190613f62565b61206c565b005b34801561089957600080fd5b506108b460048036038101906108af91906141f7565b6121c2565b005b3480156108c257600080fd5b506108dd60048036038101906108d8919061413a565b612487565b6040516108ea9190614f63565b60405180910390f35b3480156108ff57600080fd5b5061090861252e565b60405161091591906152c5565b60405180910390f35b34801561092a57600080fd5b5061094560048036038101906109409190614055565b612534565b005b34801561095357600080fd5b5061096e60048036038101906109699190613ed7565b6125ba565b60405161097b9190614f2d565b60405180910390f35b34801561099057600080fd5b5061099961264e565b6040516109a691906152c5565b60405180910390f35b3480156109bb57600080fd5b506109d660048036038101906109d19190613eae565b612654565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a4b5750610a4a8261274c565b5b9050919050565b600e8054610a5f90615660565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8b90615660565b8015610ad85780601f10610aad57610100808354040283529160200191610ad8565b820191906000526020600020905b815481529060010190602001808311610abb57829003601f168201915b505050505081565b606060008054610aef90615660565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1b90615660565b8015610b685780601f10610b3d57610100808354040283529160200191610b68565b820191906000526020600020905b815481529060010190602001808311610b4b57829003601f168201915b5050505050905090565b6000610b7d8261282e565b610bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb390615165565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c028261170f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6a906151e5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c9261289a565b73ffffffffffffffffffffffffffffffffffffffff161480610cc15750610cc081610cbb61289a565b6125ba565b5b610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf7906150c5565b60405180910390fd5b610d0a83836128a2565b505050565b6000610d19610ff3565b9050601260009054906101000a900460ff16610d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6190615065565b60405180910390fd5b600084118015610d7a5750600784105b610db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db090615285565b60405180910390fd5b6000601354601054610dcb919061543d565b905080610de1868461295b90919063ffffffff16565b1115610e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1990614fc5565b60405180910390fd5b6007610e7686601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461295b90919063ffffffff16565b1115610eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eae906150a5565b60405180910390fd5b84601154610ec591906154c4565b341015610f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efe90615125565b60405180910390fd5b610f5a848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050610f5533612971565b6129a1565b610f6357600080fd5b60005b85811015610feb57610f83338285610f7e919061543d565b6129b8565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610fd390615692565b91905055508080610fe390615692565b915050610f66565b505050505050565b6000600880549050905090565b61100861289a565b73ffffffffffffffffffffffffffffffffffffffff16611026611c5c565b73ffffffffffffffffffffffffffffffffffffffff161461107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107390615185565b60405180910390fd5b80600e9080519060200190611092929190613c5e565b5050565b600f548110156111da57601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a84846040518363ffffffff1660e01b81526004016110fd929190614e6d565b600060405180830381600087803b15801561111757600080fd5b505af115801561112b573d6000803e3d6000fd5b50505050601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061117f90615636565b9190505550601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906111d490615692565b91905055505b6111e58383836129d6565b505050565b601660205280600052604060002060009150905080600001805461120d90615660565b80601f016020809104026020016040519081016040528092919081815260200182805461123990615660565b80156112865780601f1061125b57610100808354040283529160200191611286565b820191906000526020600020905b81548152906001019060200180831161126957829003601f168201915b5050505050905081565b600061129b836117d4565b82106112dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d390614f85565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61133d61289a565b73ffffffffffffffffffffffffffffffffffffffff1661135b611c5c565b73ffffffffffffffffffffffffffffffffffffffff16146113b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a890615185565b60405180910390fd5b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b6113e561289a565b73ffffffffffffffffffffffffffffffffffffffff16611403611c5c565b73ffffffffffffffffffffffffffffffffffffffff1614611459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145090615185565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156114a4573d6000803e3d6000fd5b5050565b6114c38383836040518060200160405280600081525061206c565b505050565b606060006114d5836117d4565b905060008167ffffffffffffffff811115611519577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156115475781602001602082028036833780820191505090505b50905060005b828110156115b75761155f8582611290565b828281518110611598577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806115af90615692565b91505061154d565b508092505050919050565b60006115cc610ff3565b821061160d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160490615265565b60405180910390fd5b60088281548110611647577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601260009054906101000a900460ff1681565b680821ab0d441498000081565b61168161289a565b73ffffffffffffffffffffffffffffffffffffffff1661169f611c5c565b73ffffffffffffffffffffffffffffffffffffffff16146116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec90615185565b60405180910390fd5b80600c908051906020019061170b929190613c5e565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af90615105565b60405180910390fd5b80915050919050565b601260019054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183c906150e5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61189461289a565b73ffffffffffffffffffffffffffffffffffffffff166118b2611c5c565b73ffffffffffffffffffffffffffffffffffffffff1614611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff90615185565b60405180910390fd5b6119126000612a36565b565b61191c61289a565b73ffffffffffffffffffffffffffffffffffffffff1661193a611c5c565b73ffffffffffffffffffffffffffffffffffffffff1614611990576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198790615185565b60405180910390fd5b601260019054906101000a900460ff1615601260016101000a81548160ff021916908315150217905550565b60146020528060005260406000206000915090505481565b6119dc61289a565b73ffffffffffffffffffffffffffffffffffffffff166119fa611c5c565b73ffffffffffffffffffffffffffffffffffffffff1614611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4790615185565b60405180910390fd5b6000611a5a610ff3565b905060008311611a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9690615285565b60405180910390fd5b600f54611ab5848361295b90919063ffffffff16565b1115611af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aed90614fc5565b60405180910390fd5b60136000815480929190611b0990615692565b919050555060005b83811015611b9657611b2e838284611b29919061543d565b6129b8565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611b7e90615692565b91905055508080611b8e90615692565b915050611b11565b50505050565b611ba461289a565b73ffffffffffffffffffffffffffffffffffffffff16611bc2611c5c565b73ffffffffffffffffffffffffffffffffffffffff1614611c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0f90615185565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611c8e61289a565b73ffffffffffffffffffffffffffffffffffffffff16611cac611c5c565b73ffffffffffffffffffffffffffffffffffffffff1614611d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf990615185565b60405180910390fd5b8060118190555050565b606060018054611d1b90615660565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4790615660565b8015611d945780601f10611d6957610100808354040283529160200191611d94565b820191906000526020600020905b815481529060010190602001808311611d7757829003601f168201915b5050505050905090565b60115481565b6000611dae610ff3565b9050601260019054906101000a900460ff16611dff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df690615065565b60405180910390fd5b600082118015611e0f5750600782105b611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4590615285565b60405180910390fd5b6000601354601054611e60919061543d565b905080611e76848461295b90919063ffffffff16565b1115611eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eae90614fc5565b60405180910390fd5b6007611f0b84601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461295b90919063ffffffff16565b1115611f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f43906150a5565b60405180910390fd5b82601154611f5a91906154c4565b341015611f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9390615125565b60405180910390fd5b60005b8381101561202457611fbc338285611fb7919061543d565b6129b8565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061200c90615692565b9190505550808061201c90615692565b915050611f9f565b50505050565b61203c61203561289a565b8383612afc565b5050565b60105481565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f548210156121b057601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a85856040518363ffffffff1660e01b81526004016120d3929190614e6d565b600060405180830381600087803b1580156120ed57600080fd5b505af1158015612101573d6000803e3d6000fd5b50505050601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061215590615636565b9190505550601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906121aa90615692565b91905055505b6121bc84848484612c69565b50505050565b813373ffffffffffffffffffffffffffffffffffffffff166121e38261170f565b73ffffffffffffffffffffffffffffffffffffffff1614612239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223090615225565b60405180910390fd5b600082905060008151118015612250575060198151105b61228f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228690615205565b60405180910390fd5b6002601660008681526020019081526020016000206000016040516122b49190614e17565b602060405180830381855afa1580156122d1573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906122f4919061407e565b6002826040516123049190614e00565b602060405180830381855afa158015612321573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190612344919061407e565b1415612385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237c906152a5565b60405180910390fd5b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33680821ab0d44149800006040518363ffffffff1660e01b81526004016123eb929190614ee2565b600060405180830381600087803b15801561240557600080fd5b505af1158015612419573d6000803e3d6000fd5b5050505082601660008681526020019081526020016000206000019080519060200190612447929190613c5e565b507f8edfa912e70e283a8ef6d6f52cd1faef9690ff989eff2f11a134e8478ba7b28b84846040516124799291906152e0565b60405180910390a150505050565b60606124928261282e565b6124d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c8906151c5565b60405180910390fd5b60006124db612ccb565b905060008151116124fb5760405180602001604052806000815250612526565b8061250584612d5d565b604051602001612516929190614e2e565b6040516020818303038152906040525b915050919050565b600f5481565b61253c61289a565b73ffffffffffffffffffffffffffffffffffffffff1661255a611c5c565b73ffffffffffffffffffffffffffffffffffffffff16146125b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a790615185565b60405180910390fd5b80600d8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60135481565b61265c61289a565b73ffffffffffffffffffffffffffffffffffffffff1661267a611c5c565b73ffffffffffffffffffffffffffffffffffffffff16146126d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c790615185565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273790614fe5565b60405180910390fd5b61274981612a36565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061281757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612827575061282682612f0a565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129158361170f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008183612969919061543d565b905092915050565b6000816040516020016129849190614db9565b604051602081830303815290604052805190602001209050919050565b60006129b083600d5484612f74565b905092915050565b6129d2828260405180602001604052806000815250612f8b565b5050565b6129e76129e161289a565b82612fe6565b612a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1d90615245565b60405180910390fd5b612a318383836130c4565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6290615045565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612c5c9190614f2d565b60405180910390a3505050565b612c7a612c7461289a565b83612fe6565b612cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb090615245565b60405180910390fd5b612cc584848484613320565b50505050565b6060600c8054612cda90615660565b80601f0160208091040260200160405190810160405280929190818152602001828054612d0690615660565b8015612d535780601f10612d2857610100808354040283529160200191612d53565b820191906000526020600020905b815481529060010190602001808311612d3657829003601f168201915b5050505050905090565b60606000821415612da5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f05565b600082905060005b60008214612dd7578080612dc090615692565b915050600a82612dd09190615493565b9150612dad565b60008167ffffffffffffffff811115612e19577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e4b5781602001600182028036833780820191505090505b5090505b60008514612efe57600182612e64919061551e565b9150600a85612e739190615709565b6030612e7f919061543d565b60f81b818381518110612ebb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ef79190615493565b9450612e4f565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600082612f81858461337c565b1490509392505050565b612f958383613455565b612fa26000848484613623565b612fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd890614fa5565b60405180910390fd5b505050565b6000612ff18261282e565b613030576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302790615085565b60405180910390fd5b600061303b8361170f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806130aa57508373ffffffffffffffffffffffffffffffffffffffff1661309284610b72565b73ffffffffffffffffffffffffffffffffffffffff16145b806130bb57506130ba81856125ba565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166130e48261170f565b73ffffffffffffffffffffffffffffffffffffffff161461313a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613131906151a5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a190615025565b60405180910390fd5b6131b58383836137ba565b6131c06000826128a2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613210919061551e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613267919061543d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61332b8484846130c4565b61333784848484613623565b613376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336d90614fa5565b60405180910390fd5b50505050565b60008082905060005b845181101561344a5760008582815181106133c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161340a5782816040516020016133ed929190614dd4565b604051602081830303815290604052805190602001209250613436565b808360405160200161341d929190614dd4565b6040516020818303038152906040528051906020012092505b50808061344290615692565b915050613385565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134bc90615145565b60405180910390fd5b6134ce8161282e565b1561350e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350590615005565b60405180910390fd5b61351a600083836137ba565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461356a919061543d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006136448473ffffffffffffffffffffffffffffffffffffffff166138ce565b156137ad578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261366d61289a565b8786866040518563ffffffff1660e01b815260040161368f9493929190614e96565b602060405180830381600087803b1580156136a957600080fd5b505af19250505080156136da57506040513d601f19601f820116820180604052508101906136d791906140d0565b60015b61375d573d806000811461370a576040519150601f19603f3d011682016040523d82523d6000602084013e61370f565b606091505b50600081511415613755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374c90614fa5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137b2565b600190505b949350505050565b6137c58383836138e1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561380857613803816138e6565b613847565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461384657613845838261392f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561388a5761388581613a9c565b6138c9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146138c8576138c78282613bdf565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161393c846117d4565b613946919061551e565b9050600060076000848152602001908152602001600020549050818114613a2b576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613ab0919061551e565b9050600060096000848152602001908152602001600020549050600060088381548110613b06577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613b4e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613bc3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613bea836117d4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613c6a90615660565b90600052602060002090601f016020900481019282613c8c5760008555613cd3565b82601f10613ca557805160ff1916838001178555613cd3565b82800160010185558215613cd3579182015b82811115613cd2578251825591602001919060010190613cb7565b5b509050613ce09190613ce4565b5090565b5b80821115613cfd576000816000905550600101613ce5565b5090565b6000613d14613d0f84615341565b615310565b905082815260208101848484011115613d2c57600080fd5b613d378482856155f4565b509392505050565b6000613d52613d4d84615371565b615310565b905082815260208101848484011115613d6a57600080fd5b613d758482856155f4565b509392505050565b600081359050613d8c81615814565b92915050565b60008083601f840112613da457600080fd5b8235905067ffffffffffffffff811115613dbd57600080fd5b602083019150836020820283011115613dd557600080fd5b9250929050565b600081359050613deb8161582b565b92915050565b600081359050613e0081615842565b92915050565b600081519050613e1581615842565b92915050565b600081359050613e2a81615859565b92915050565b600081519050613e3f81615859565b92915050565b600082601f830112613e5657600080fd5b8135613e66848260208601613d01565b91505092915050565b600082601f830112613e8057600080fd5b8135613e90848260208601613d3f565b91505092915050565b600081359050613ea881615870565b92915050565b600060208284031215613ec057600080fd5b6000613ece84828501613d7d565b91505092915050565b60008060408385031215613eea57600080fd5b6000613ef885828601613d7d565b9250506020613f0985828601613d7d565b9150509250929050565b600080600060608486031215613f2857600080fd5b6000613f3686828701613d7d565b9350506020613f4786828701613d7d565b9250506040613f5886828701613e99565b9150509250925092565b60008060008060808587031215613f7857600080fd5b6000613f8687828801613d7d565b9450506020613f9787828801613d7d565b9350506040613fa887828801613e99565b925050606085013567ffffffffffffffff811115613fc557600080fd5b613fd187828801613e45565b91505092959194509250565b60008060408385031215613ff057600080fd5b6000613ffe85828601613d7d565b925050602061400f85828601613ddc565b9150509250929050565b6000806040838503121561402c57600080fd5b600061403a85828601613d7d565b925050602061404b85828601613e99565b9150509250929050565b60006020828403121561406757600080fd5b600061407584828501613df1565b91505092915050565b60006020828403121561409057600080fd5b600061409e84828501613e06565b91505092915050565b6000602082840312156140b957600080fd5b60006140c784828501613e1b565b91505092915050565b6000602082840312156140e257600080fd5b60006140f084828501613e30565b91505092915050565b60006020828403121561410b57600080fd5b600082013567ffffffffffffffff81111561412557600080fd5b61413184828501613e6f565b91505092915050565b60006020828403121561414c57600080fd5b600061415a84828501613e99565b91505092915050565b6000806040838503121561417657600080fd5b600061418485828601613e99565b925050602061419585828601613d7d565b9150509250929050565b6000806000604084860312156141b457600080fd5b60006141c286828701613e99565b935050602084013567ffffffffffffffff8111156141df57600080fd5b6141eb86828701613d92565b92509250509250925092565b6000806040838503121561420a57600080fd5b600061421885828601613e99565b925050602083013567ffffffffffffffff81111561423557600080fd5b61424185828601613e6f565b9150509250929050565b60006142578383614d9b565b60208301905092915050565b61426c81615552565b82525050565b61428361427e82615552565b6156db565b82525050565b6000614294826153c6565b61429e81856153f4565b93506142a9836153a1565b8060005b838110156142da5781516142c1888261424b565b97506142cc836153e7565b9250506001810190506142ad565b5085935050505092915050565b6142f081615564565b82525050565b61430761430282615570565b6156ed565b82525050565b6000614318826153d1565b6143228185615405565b9350614332818560208601615603565b61433b816157f6565b840191505092915050565b6000614351826153d1565b61435b8185615416565b935061436b818560208601615603565b80840191505092915050565b6000815461438481615660565b61438e8186615416565b945060018216600081146143a957600181146143ba576143ed565b60ff198316865281860193506143ed565b6143c3856153b1565b60005b838110156143e5578154818901526001820191506020810190506143c6565b838801955050505b50505092915050565b6143ff816155d0565b82525050565b6000614410826153dc565b61441a8185615421565b935061442a818560208601615603565b614433816157f6565b840191505092915050565b6000614449826153dc565b6144538185615432565b9350614463818560208601615603565b80840191505092915050565b600061447c602b83615421565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006144e2603283615421565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614548602e83615421565b91507f507572636861736520776f756c6420657863656564206d617820737570706c7960008301527f206f66205368726f6f6d4d6174650000000000000000000000000000000000006020830152604082019050919050565b60006145ae602683615421565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614614601c83615421565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000614654602483615421565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146ba601983615421565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006146fa601b83615421565b91507f53616c65206d7573742062652061637469766520746f206d696e7400000000006000830152602082019050919050565b600061473a602c83615421565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006147a0602383615421565b91507f4d6178206e756d626572206f66206d696e7473207065722077616c6c6574206960008301527f73203700000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614806603883615421565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061486c602a83615421565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006148d2602983615421565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614938602383615421565b91507f45746865722076616c75652073656e742069732062656c6f772074686520707260008301527f69636500000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061499e602083615421565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006149de602c83615421565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614a44602083615421565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614a84602983615421565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614aea602f83615421565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614b50602183615421565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614bb6601383615421565b91507f496e76616c6964206e616d65206c656e677468000000000000000000000000006000830152602082019050919050565b6000614bf6603083615421565b91507f43616e6e6f7420696e74657261637420776974682061205368726f6f6d4d617460008301527f6520796f7520646f206e6f74206f776e000000000000000000000000000000006020830152604082019050919050565b6000614c5c603183615421565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614cc2602c83615421565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614d28601783615421565b91507f496e76616c696420707572636861736520616d6f756e740000000000000000006000830152602082019050919050565b6000614d68602083615421565b91507f4e6577206e616d652069732073616d652061732063757272656e74206e616d656000830152602082019050919050565b614da4816155c6565b82525050565b614db3816155c6565b82525050565b6000614dc58284614272565b60148201915081905092915050565b6000614de082856142f6565b602082019150614df082846142f6565b6020820191508190509392505050565b6000614e0c8284614346565b915081905092915050565b6000614e238284614377565b915081905092915050565b6000614e3a828561443e565b9150614e46828461443e565b91508190509392505050565b6000602082019050614e676000830184614263565b92915050565b6000604082019050614e826000830185614263565b614e8f6020830184614263565b9392505050565b6000608082019050614eab6000830187614263565b614eb86020830186614263565b614ec56040830185614daa565b8181036060830152614ed7818461430d565b905095945050505050565b6000604082019050614ef76000830185614263565b614f046020830184614daa565b9392505050565b60006020820190508181036000830152614f258184614289565b905092915050565b6000602082019050614f4260008301846142e7565b92915050565b6000602082019050614f5d60008301846143f6565b92915050565b60006020820190508181036000830152614f7d8184614405565b905092915050565b60006020820190508181036000830152614f9e8161446f565b9050919050565b60006020820190508181036000830152614fbe816144d5565b9050919050565b60006020820190508181036000830152614fde8161453b565b9050919050565b60006020820190508181036000830152614ffe816145a1565b9050919050565b6000602082019050818103600083015261501e81614607565b9050919050565b6000602082019050818103600083015261503e81614647565b9050919050565b6000602082019050818103600083015261505e816146ad565b9050919050565b6000602082019050818103600083015261507e816146ed565b9050919050565b6000602082019050818103600083015261509e8161472d565b9050919050565b600060208201905081810360008301526150be81614793565b9050919050565b600060208201905081810360008301526150de816147f9565b9050919050565b600060208201905081810360008301526150fe8161485f565b9050919050565b6000602082019050818103600083015261511e816148c5565b9050919050565b6000602082019050818103600083015261513e8161492b565b9050919050565b6000602082019050818103600083015261515e81614991565b9050919050565b6000602082019050818103600083015261517e816149d1565b9050919050565b6000602082019050818103600083015261519e81614a37565b9050919050565b600060208201905081810360008301526151be81614a77565b9050919050565b600060208201905081810360008301526151de81614add565b9050919050565b600060208201905081810360008301526151fe81614b43565b9050919050565b6000602082019050818103600083015261521e81614ba9565b9050919050565b6000602082019050818103600083015261523e81614be9565b9050919050565b6000602082019050818103600083015261525e81614c4f565b9050919050565b6000602082019050818103600083015261527e81614cb5565b9050919050565b6000602082019050818103600083015261529e81614d1b565b9050919050565b600060208201905081810360008301526152be81614d5b565b9050919050565b60006020820190506152da6000830184614daa565b92915050565b60006040820190506152f56000830185614daa565b81810360208301526153078184614405565b90509392505050565b6000604051905081810181811067ffffffffffffffff82111715615337576153366157c7565b5b8060405250919050565b600067ffffffffffffffff82111561535c5761535b6157c7565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561538c5761538b6157c7565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615448826155c6565b9150615453836155c6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156154885761548761573a565b5b828201905092915050565b600061549e826155c6565b91506154a9836155c6565b9250826154b9576154b8615769565b5b828204905092915050565b60006154cf826155c6565b91506154da836155c6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156155135761551261573a565b5b828202905092915050565b6000615529826155c6565b9150615534836155c6565b9250828210156155475761554661573a565b5b828203905092915050565b600061555d826155a6565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006155db826155e2565b9050919050565b60006155ed826155a6565b9050919050565b82818337600083830152505050565b60005b83811015615621578082015181840152602081019050615606565b83811115615630576000848401525b50505050565b6000615641826155c6565b915060008214156156555761565461573a565b5b600182039050919050565b6000600282049050600182168061567857607f821691505b6020821081141561568c5761568b615798565b5b50919050565b600061569d826155c6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156d0576156cf61573a565b5b600182019050919050565b60006156e6826156f7565b9050919050565b6000819050919050565b600061570282615807565b9050919050565b6000615714826155c6565b915061571f836155c6565b92508261572f5761572e615769565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b61581d81615552565b811461582857600080fd5b50565b61583481615564565b811461583f57600080fd5b50565b61584b81615570565b811461585657600080fd5b50565b6158628161557a565b811461586d57600080fd5b50565b615879816155c6565b811461588457600080fd5b5056fea264697066735822122082d44e848611336a70271731c32c4ba433dc0f62087a5f03de063c460ee34f1b64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a5368726f6f6d617465730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065348524f4f4d0000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Shroomates
Arg [1] : symbol (string): SHROOM
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 5368726f6f6d6174657300000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 5348524f4f4d0000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.