ERC-1155
Overview
Max Total Supply
1,831 ING
Holders
114
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
INGREDIENTS
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // ██▓▓████████████████████ // ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░▒▒██████ // ██░░▒▒▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒████ // ██░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒▒▒▒████ // ██░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒████ // ██░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒▒██ // ██░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██ // ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░██ // ████▒▒████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░██ // ██▒▒░░▒▒▒▒▒▒██████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░██ // ▓▓░░░░░░░░▒▒▒▒▒▒▒▒▒▒████▓▓██▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██ // ████▒▒▒▒▒▒░░░░▒▒▒▒░░▒▒▒▒▒▒▒▒▒▒██████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██ // ██▒▒░░░░▒▒▒▒▒▒░░░░▒▒▒▒▒▒▒▒▒▒░░▒▒▒▒▒▒████████░░░░░░░░░░░░░░░░░░░░░░░░██ // ▓▓▒▒░░░░░░▒▒▒▒░░░░░░▒▒▒▒░░░░░░░░▒▒▒▒░░▒▒▒▒▒▒▒▒██▓▓██▓▓░░░░░░░░░░░░░░░░██▒▒▓▓▓▓ // ██▒▒░░▒▒▒▒▒▒░░░░▒▒▒▒▒▒▒▒░░░░░░▒▒▒▒▒▒░░░░░░▒▒▒▒▒▒░░▒▒▒▒████░░░░░░░░░░██░░░░░░░░██ // ████████████████▒▒▒▒██████▒▒▒▒▒▒▒▒░░░░░░▒▒▒▒▒▒░░░░▒▒▒▒▒▒██████████▒▒▒▒▒▒░░░░██ // ████▒▒▓▓▓▓▓▓▓▓████▓▓▓▓██▒▒▒▒▒▒▒▒████████▒▒▒▒░░░░██▒▒▒▒▒▒░░░░▒▒▒▒░░░░▒▒▒▒██ // ██▒▒██▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓████████▓▓▓▓▓▓▓▓██▒▒░░██▓▓██▒▒▒▒░░░░▒▒▒▒▒▒░░░░██ // ██▒▒▒▒▒▒████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓██▒▒██▒▒▒▒▓▓▓▓████▓▓▓▓██▒▒▒▒░░░░████▒▒░░░░░░██ // ██▒▒▒▒▒▒▒▒▒▒██▓▓▓▓██▒▒▒▒▒▒▒▒████▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓██▒▒░░▓▓▒▒▒▒████▒▒▓▓██ // ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒████████▒▒▒▒▒▒▒▒▒▒▒▒██████████▒▒▒▒▒▒▒▒████▒▒▒▒▒▒▒▒▒▒██▒▒▒▒██ // ██████▒▒▒▒██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒████ // ██▒▒▒▒▒▒████▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██ // ██▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒██▒▒▒▒████▓▓▓▓▓▓████▒▒▒▒▒▒██████▓▓▓▓██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██████▓▓▒▒▒▒▒▒▒▒██ // ████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒████▓▓▓▓▓▓▒▒▓▓▓▓▓▓██████▓▓▓▓▓▓▒▒▒▒▓▓██▒▒▒▒▒▒▒▒▒▒██████▓▓▓▓██ ██████▒▒██ // ████▓▓██▒▒▒▒▒▒▒▒▒▒████▓▓▓▓▓▓▓▓▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓████████▓▓▓▓▓▓████░░██ ██ // ██▒▒▒▒▒▒████░░░░████████▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▓▓▓▓▓▓▓▓▒▒▓▓████░░░░██ // ████████▓▓██░░░░░░░░░░░░████████████████████████▓▓▓▓██████▓▓▓▓▓▓██░░██░░░░██ // ██▓▓▓▓▓▓██░░░░░░░░░░░░░░░░░░░░░░░░██▓▓▓▓▓▓▓▓████▓▓▓▓▓▓██████░░░░██░░░░██ // ██▓▓▒▒▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██░░░░▒▒▒▒██░░██ // ████████████░░░░░░░░░░░░████▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓████████░░░░▒▒▒▒▒▒████ // ██▒▒▒▒▒▒░░░░░░██░░░░░░████░░░░██████████████████░░░░██░░░░▒▒▒▒▒▒▒▒██ // ██▒▒▒▒▒▒▒▒▒▒░░▒▒▓▓░░██░░░░░░░░░░░░░░████░░░░░░░░░░▓▓░░▒▒▒▒▒▒▒▒▒▒██ // ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▓▓░░░░██▒▒▒▒▒▒▒▒▒▒▒▒▒▒██ // ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒████▒▒▒▒▒▒▒▒▒▒▒▒▒▒██ // ░░▓▓██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓██░░ // ████▓▓██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██████▓▓ // ██████████████████████████████████ // NhhdNNNNNNNNNNNNNNNMNhhNMMMMMMMMmhhhhdMMMMMMMMMddMMMMMMMMMMMMMMMMMMMMNdhhhhhdMmdddddddddddddddddNNhN // moyo/:::::::::::::::+doy::::::::m....h+-------/dm:-------------------:oy/..ss:-.................-+hN // Mo..................-moo........N....h:.......:dm-.....................-d-/h....................../M // M...................-moo........N....h:.......:dd-......................y++s......................-M // N.........----------:dos........m....h/.......:dd-.......-:::::-........yo+s........:+++++-.......-M // N......../y+++++++++o/os........m....h/.......:dd-......./h++++h........so+s........d/:::h/.......-M // N........oo...........os........m....h/.......:dd-......./h....m........so+y........d-...y/.......-M // M........+h:::::::-...os........m....h/.......-dd-......./h....m........so+y........d-...y+.......-M // M........-///////+os/.os........m....h/.......-dd-......./h....m........so+y........d-...y+.......-M // M..................-y+os........m....h/.......-dd-......./h....m........so+y........d-...y+.......-M // M/..................:dos........m....h/.......-dd:......./h....m........so+y........d-...y+.......-M // Ny/--------..........mos........m....h/.......-dd:......./h....m........so+y........d-...y+.......-M // m-+ooooooooy-........moy........m-...h/.......-dd:......./h....m........so+y........d-...y+.......-M // m..........h+........Noy........d:...h+.......-md:.......:h....N........oo+y........d-...y+........M // m----------h+........N+y........d/---h/.......-Nd:.......:h---:m........oo+y........h:---y+........M // Msoooooooooo-........N/y........:oooo+-.......-Nd:.......-oooo+:........oo+h......../ooooo-........M // M-...................N/y......................-Nd:......................oo+h.......................M // M-..................:d:d......................:dd:.........SUDOSIX2k22..oo+h......................-M // M-................./h/.ss-..................-/h:d:....................:ss..ss-...................:hN // Nsoooooooooooooooos+-...:osooooooooosoooooooo+-.+soooosssssssssssssosso:----/ssooooossssssssssssso:m // Nsssssssssssssss+hsssssh:./hsssssdsssssssssooooos+-ossssssssssssssoysooooooooooooomhooooooooooooossm // N.............-:dh.....y+.oo.....d-.............-ydo-............-sM-.............do............../M // N...............sh.....y+.os.....d-..............+M:......--......+M:.....--------do.....----......M // N.....wagmb.....sh.....y+.os.....d-....:wsup.....+M:....-2018...../M:....-d+++++++ho.....ho+h:.....M // N.....+y:+d.....sh.....y+.os.....d-....:d..m...../M:....-m..d/////oM:....-m/////..so.....m-.y/.....M // N.....:o++/.....hh.....y+.os.....d:....-hooy.....+M:....-m:/+oossssm:....-/////h/.so.....ysss-....-M // N............-/yhh.....y+.os.....d:.....---...--/hm:....-mm///::::oM:..........y+.so............-/yN // N.....-----..-:+dh.....y+.os.....d:...........-:shd:....-mm::...../M:.....:::::y/.ss............:/yN // M...../y+oy.....sh.....s+.os.....d:....-ayyy.....+M:....-m/+m-..../M:....-m++++/-.ss.....ssoy:....-M // M...../h/+h.....oh.....ss/ss.....h:....-m..m-..../M/....-d++m-..../M:....-m+++++++hs.....d-.y+.....N // M.....-///:.....od.....-///-.....h:....-m..m-..../M/.....-::-...../M:.....-:------hs.....d-.y+.....N // M...............ym-.............-m:....-m..m-..../Mo..............+M/.............hs.....d/.y+.....N /////////////////////////////////////////////////////////////////////////////////////////////////////// pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; abstract contract sudoburgerGrill { function grillIngredients(address to, uint256[] memory id) public virtual returns(uint256); } abstract contract ERC721 { function ownerOf(uint256 tokenId) public view virtual returns (address); } contract INGREDIENTS is ERC1155, Ownable, ERC1155Burnable { using SafeMath for uint256; string cURI = "https://us-central1-sudoburger-9b96e.cloudfunctions.net/app/api/ing/"; uint256 tokenId = 0; uint256 dumpsterMax = 2018; uint256 private tokenPrice = 25000000000000000; // 0.025 ETH string name_ = "SUDOBURGER: INGREDIENTS"; string symbol_ = "ING"; address sudoburgerAddress; mapping (address => mapping (uint256 => bool)) usedToken; mapping (address => uint256) sudoContracts; bool marketOpen = false; bool kitchenOpen = false; constructor() ERC1155("") { sudoContracts[0xeF2e3Cf741d34732227De1dAe38cdD86939fE073] = 721; // SUDOBURGER: FRYCOOKS sudoContracts[0x5394603d355482C126f7CF3603e419B67b31b76E] = 1155; // SUDOPASS } event ingMinted(uint256[] newIds, uint8[] mintType, uint256[] tokenId); // Returns contract name function name() external view returns(string memory) { return name_; } // Returns contract symbol function symbol() external view returns(string memory) { return symbol_; } // COOK REDEMPTION function function cookRedeem(address[] calldata contractIds, uint256[] calldata cookIds) public returns(uint256) { require(marketOpen == true, "Market aint open rn."); require(contractIds.length > 0, "Requires contract address."); require(cookIds.length == contractIds.length, "cookIds must match contractIds length."); uint256[] memory newIds = new uint256[](cookIds.length.mul(2)); uint8[] memory mintType = new uint8[](cookIds.length); for(uint256 i = 0; i < contractIds.length; i++) { // Verify token ownership and if already redeemed if(sudoContracts[contractIds[i]] == 721) { // If token is ERC-721 ERC721 contractAddress = ERC721(contractIds[i]); require(contractAddress.ownerOf(cookIds[i]) == msg.sender, "Doesn't own the COOK."); mintType[i] = 1; } else if(sudoContracts[contractIds[i]] == 1155) { // If token is ERC-1155 ERC1155 contractAddress = ERC1155(contractIds[i]); require(contractAddress.balanceOf(msg.sender, cookIds[i]) > 0, "Doesn't own the PASS."); mintType[i] = 2; } else { revert("Token is non-redeemable"); } require(checkIfRedeemed(contractIds[i], cookIds[i]) == false, "Token already redeemed."); usedToken[contractIds[i]][cookIds[i]] = true; } uint256 prevTokenId = tokenId; uint256 toMint = cookIds.length.mul(2); for (uint256 i = 0; i < toMint ; i++) { tokenId++; _mint(msg.sender, tokenId, 1, ""); newIds[i] = tokenId; } emit ingMinted(newIds, mintType, cookIds); return prevTokenId; } // No FRYCOOK? no problem! mint DUMPSTER INGREDIENTS with yr ETH -sd6 function dumpsterDive(uint256 trashAmmt) public payable { require(trashAmmt <= 20, "Only 20 can be minted at a time"); require(marketOpen == true, "Market aint open rn"); require(tokenId + trashAmmt <= dumpsterMax, "Insufficient supply OR Dumpster is empty"); require(msg.value >= tokenPrice.mul(trashAmmt), "Not enough eth"); uint256[] memory newIds = new uint256[](trashAmmt); uint8[] memory mintType = new uint8[](1); uint256[] memory ids = new uint256[](1); // uint256 prevTokenId = tokenId; for(uint256 i = 0; i < trashAmmt; i++) { tokenId++; _mint(msg.sender, tokenId, 1, "dumpster"); newIds[i] = tokenId; } mintType[0] = 3; emit ingMinted(newIds, mintType, ids); } // OwnerBalance - 721 style -sd6 function ownerBalance(address _owner) public view returns(uint256){ uint256 i; uint256 result = 0; for (i = 0; i < tokenId + 1 ; i++) { if (balanceOf(_owner, i) == 1) { result++; } } return result; } // Returns all SUDOBURGER INGREDIENT tokens of owner address -sd6 function tokensOfOwner(address _owner) external view returns(uint256[] memory) { uint256 i; uint256 d = 0; uint256[] memory result = new uint256[](ownerBalance(_owner)); for (i = 0; i <= tokenId ; i++) { if (balanceOf(_owner, i) == 1) { result[d] = i; d++; } } return result; } // Cook your SUDOBURGER INGREDIENTS into a custom SUDOBURGER! function grillBurger(uint256[] calldata id) public returns(uint256){ require(kitchenOpen == true, "The kitchen aint open rn."); require(id.length >= 3, "Minimum 3 ingredients."); require(id.length <= 32, "Maximum 32 ingredients."); require(balanceOf(msg.sender, id[0]) > 0, "Doesn't own the ingredient."); // Check if the user own one of the ERC-1155 uint256 i; uint256[] memory ones = new uint256[](id.length); for (i = 0; i < id.length; i++) {ones[i] = 1;} burnBatch(msg.sender, id, ones); // Burn one the ERC-1155 token sudoburgerGrill sudoburgerContract = sudoburgerGrill(sudoburgerAddress); uint256 burgerId = sudoburgerContract.grillIngredients(msg.sender, id); // Mint your SUDOBURGER return burgerId; } // Check if token has been redeemed for an INGREDIENT -sd6 function checkIfRedeemed(address _contractAddress, uint256 _tokenId) view public returns(bool) { return usedToken[_contractAddress][_tokenId]; } function getPrice() view public returns(uint256) { return tokenPrice; } function getMarket() view public returns(bool) { return marketOpen; } function getKitchen() view public returns(bool) { return kitchenOpen; } // Get amount of 1155 minted -sd6 function totalSupply() view public returns(uint256) { return tokenId; } // Set dynamic URI root // will be changed to IPFS hash once all ingredients are minted -sd6 function setcURI(string memory newuri) public onlyOwner { cURI = newuri; } // Dynamic uri return -sd6 function uri(uint256 id) override public view returns (string memory) { string memory val = INGREDIENTS.cURI; return string(abi.encodePacked(val,Strings.toString(id))); } //ONLYOWNER FUNCTIONS // Specify contract address for SUDOBURGER: SUDOBURGERS function setSudoburgerAddr(address contractAddress) public onlyOwner { sudoburgerAddress = contractAddress; } function setPrice(uint256 newPrice) public onlyOwner { tokenPrice = newPrice; } // Toggle INGREDIENT minting -sd6 function toggleMarket() public onlyOwner { marketOpen = !marketOpen; } // Toggle SUDOBURGER minting -sd6 function toggleKitchen() public onlyOwner { kitchenOpen = !kitchenOpen; } // Transfer ETH out of contract -sd6 function emptyRegister() public onlyOwner { payable(msg.sender).transfer(address(this).balance); } }
// 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/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 (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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Burnable.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burnBatch(account, ids, values); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @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, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// 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/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/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"newIds","type":"uint256[]"},{"indexed":false,"internalType":"uint8[]","name":"mintType","type":"uint8[]"},{"indexed":false,"internalType":"uint256[]","name":"tokenId","type":"uint256[]"}],"name":"ingMinted","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"checkIfRedeemed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"contractIds","type":"address[]"},{"internalType":"uint256[]","name":"cookIds","type":"uint256[]"}],"name":"cookRedeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"trashAmmt","type":"uint256"}],"name":"dumpsterDive","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"emptyRegister","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getKitchen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMarket","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"id","type":"uint256[]"}],"name":"grillBurger","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"ownerBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setSudoburgerAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setcURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleKitchen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMarket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526040518060800160405280604481526020016200617560449139600490805190602001906200003592919062000312565b5060006005556107e26006556658d15e176280006007556040518060400160405280601781526020017f5355444f4255524745523a20494e4752454449454e5453000000000000000000815250600890805190602001906200009992919062000312565b506040518060400160405280600381526020017f494e47000000000000000000000000000000000000000000000000000000000081525060099080519060200190620000e792919062000312565b506000600d60006101000a81548160ff0219169083151502179055506000600d60016101000a81548160ff0219169083151502179055503480156200012b57600080fd5b50604051806020016040528060008152506200014d816200022860201b60201c565b506200016e620001626200024460201b60201c565b6200024c60201b60201c565b6102d1600c600073ef2e3cf741d34732227de1dae38cdd86939fe07373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610483600c6000735394603d355482c126f7cf3603e419b67b31b76e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555062000427565b80600290805190602001906200024092919062000312565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200032090620003c2565b90600052602060002090601f01602090048101928262000344576000855562000390565b82601f106200035f57805160ff191683800117855562000390565b8280016001018555821562000390579182015b828111156200038f57825182559160200191906001019062000372565b5b5090506200039f9190620003a3565b5090565b5b80821115620003be576000816000905550600101620003a4565b5090565b60006002820490506001821680620003db57607f821691505b60208210811415620003f257620003f1620003f8565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615d3e80620004376000396000f3fe6080604052600436106101d75760003560e01c80636951ba9a11610102578063a22cb46511610095578063f1be167911610064578063f1be1679146106ae578063f242432a146106d9578063f2fde38b14610702578063f5298aca1461072b576101d7565b8063a22cb465146105f4578063af90fdfd1461061d578063dd81153e1461065a578063e985e9c514610671576101d7565b80638da5cb5b116100d15780638da5cb5b1461054a57806391b7f5ed1461057557806395d89b411461059e57806398d5fdca146105c9576101d7565b80636951ba9a146104b15780636b20c454146104cd578063715018a6146104f65780638462151c1461050d576101d7565b8063328c9aa31161017a57806347a248371161014957806347a24837146103f55780634e1273f4146104325780635b0f41ec1461046f5780635c60895a14610486576101d7565b8063328c9aa31461033b578063340528a114610364578063465737d4146103a157806346d137a3146103de576101d7565b80630e89341c116101b65780630e89341c1461028157806316bfbc02146102be57806318160ddd146102e75780632eb2c2d614610312576101d7565b8062fdd58e146101dc57806301ffc9a71461021957806306fdde0314610256575b600080fd5b3480156101e857600080fd5b5061020360048036038101906101fe9190613f9b565b610754565b6040516102109190614f0d565b60405180910390f35b34801561022557600080fd5b50610240600480360381019061023b9190614174565b61081d565b60405161024d9190614b10565b60405180910390f35b34801561026257600080fd5b5061026b6108ff565b6040516102789190614b2b565b60405180910390f35b34801561028d57600080fd5b506102a860048036038101906102a39190614217565b610991565b6040516102b59190614b2b565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e091906141ce565b610a54565b005b3480156102f357600080fd5b506102fc610aea565b6040516103099190614f0d565b60405180910390f35b34801561031e57600080fd5b5061033960048036038101906103349190613d6a565b610af4565b005b34801561034757600080fd5b50610362600480360381019061035d9190613cd0565b610b95565b005b34801561037057600080fd5b5061038b60048036038101906103869190614127565b610c55565b6040516103989190614f0d565b60405180910390f35b3480156103ad57600080fd5b506103c860048036038101906103c39190613f9b565b610f49565b6040516103d59190614b10565b60405180910390f35b3480156103ea57600080fd5b506103f3610fb1565b005b34801561040157600080fd5b5061041c6004803603810190610417919061402e565b611059565b6040516104299190614f0d565b60405180910390f35b34801561043e57600080fd5b50610459600480360381019061045491906140af565b6117f8565b6040516104669190614a1d565b60405180910390f35b34801561047b57600080fd5b50610484611911565b005b34801561049257600080fd5b5061049b6119d6565b6040516104a89190614b10565b60405180910390f35b6104cb60048036038101906104c69190614217565b6119ed565b005b3480156104d957600080fd5b506104f460048036038101906104ef9190613ed0565b611d21565b005b34801561050257600080fd5b5061050b611dbe565b005b34801561051957600080fd5b50610534600480360381019061052f9190613cd0565b611e46565b6040516105419190614a1d565b60405180910390f35b34801561055657600080fd5b5061055f611f11565b60405161056c91906148e5565b60405180910390f35b34801561058157600080fd5b5061059c60048036038101906105979190614217565b611f3b565b005b3480156105aa57600080fd5b506105b3611fc1565b6040516105c09190614b2b565b60405180910390f35b3480156105d557600080fd5b506105de612053565b6040516105eb9190614f0d565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613f5b565b61205d565b005b34801561062957600080fd5b50610644600480360381019061063f9190613cd0565b612073565b6040516106519190614f0d565b60405180910390f35b34801561066657600080fd5b5061066f6120d0565b005b34801561067d57600080fd5b5061069860048036038101906106939190613d2a565b612178565b6040516106a59190614b10565b60405180910390f35b3480156106ba57600080fd5b506106c361220c565b6040516106d09190614b10565b60405180910390f35b3480156106e557600080fd5b5061070060048036038101906106fb9190613e39565b612223565b005b34801561070e57600080fd5b5061072960048036038101906107249190613cd0565b6122c4565b005b34801561073757600080fd5b50610752600480360381019061074d9190613fdb565b6123bc565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107bc90614bad565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108f857506108f782612459565b5b9050919050565b60606008805461090e906152bd565b80601f016020809104026020016040519081016040528092919081815260200182805461093a906152bd565b80156109875780601f1061095c57610100808354040283529160200191610987565b820191906000526020600020905b81548152906001019060200180831161096a57829003601f168201915b5050505050905090565b60606000600480546109a2906152bd565b80601f01602080910402602001604051908101604052809291908181526020018280546109ce906152bd565b8015610a1b5780601f106109f057610100808354040283529160200191610a1b565b820191906000526020600020905b8154815290600101906020018083116109fe57829003601f168201915b5050505050905080610a2c846124c3565b604051602001610a3d9291906148c1565b604051602081830303815290604052915050919050565b610a5c612624565b73ffffffffffffffffffffffffffffffffffffffff16610a7a611f11565b73ffffffffffffffffffffffffffffffffffffffff1614610ad0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac790614d2d565b60405180910390fd5b8060049080519060200190610ae69291906138d2565b5050565b6000600554905090565b610afc612624565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610b425750610b4185610b3c612624565b612178565b5b610b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7890614ccd565b60405180910390fd5b610b8e858585858561262c565b5050505050565b610b9d612624565b73ffffffffffffffffffffffffffffffffffffffff16610bbb611f11565b73ffffffffffffffffffffffffffffffffffffffff1614610c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0890614d2d565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060011515600d60019054906101000a900460ff16151514610cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca490614e0d565b60405180910390fd5b6003838390501015610cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ceb90614dad565b60405180910390fd5b6020838390501115610d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3290614d4d565b60405180910390fd5b6000610d613385856000818110610d5557610d54615427565b5b90506020020135610754565b11610da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9890614c8d565b60405180910390fd5b6000808484905067ffffffffffffffff811115610dc157610dc0615456565b5b604051908082528060200260200182016040528015610def5781602001602082028036833780820191505090505b509050600091505b84849050821015610e36576001818381518110610e1757610e16615427565b5b6020026020010181815250508180610e2e90615320565b925050610df7565b610e8233868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505083611d21565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff1663fb12126e3389896040518463ffffffff1660e01b8152600401610ee8939291906149c2565b602060405180830381600087803b158015610f0257600080fd5b505af1158015610f16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3a9190614244565b90508094505050505092915050565b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff16905092915050565b610fb9612624565b73ffffffffffffffffffffffffffffffffffffffff16610fd7611f11565b73ffffffffffffffffffffffffffffffffffffffff161461102d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102490614d2d565b60405180910390fd5b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b600060011515600d60009054906101000a900460ff161515146110b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a890614dcd565b60405180910390fd5b600085859050116110f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ee90614c2d565b60405180910390fd5b84849050838390501461113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690614c4d565b60405180910390fd5b600061115860028585905061294090919063ffffffff16565b67ffffffffffffffff81111561117157611170615456565b5b60405190808252806020026020018201604052801561119f5781602001602082028036833780820191505090505b50905060008484905067ffffffffffffffff8111156111c1576111c0615456565b5b6040519080825280602002602001820160405280156111ef5781602001602082028036833780820191505090505b50905060005b87879050811015611712576102d1600c60008a8a8581811061121a57611219615427565b5b905060200201602081019061122f9190613cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156113da57600088888381811061128557611284615427565b5b905060200201602081019061129a9190613cd0565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e8989868181106112e2576112e1615427565b5b905060200201356040518263ffffffff1660e01b81526004016113059190614f0d565b60206040518083038186803b15801561131d57600080fd5b505afa158015611331573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113559190613cfd565b73ffffffffffffffffffffffffffffffffffffffff16146113ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a290614b8d565b60405180910390fd5b60018383815181106113c0576113bf615427565b5b602002602001019060ff16908160ff1681525050506115c6565b610483600c60008a8a858181106113f4576113f3615427565b5b90506020020160208101906114099190613cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561158a57600088888381811061145f5761145e615427565b5b90506020020160208101906114749190613cd0565b905060008173ffffffffffffffffffffffffffffffffffffffff1662fdd58e338a8a878181106114a7576114a6615427565b5b905060200201356040518363ffffffff1660e01b81526004016114cb9291906149f4565b60206040518083038186803b1580156114e357600080fd5b505afa1580156114f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151b9190614244565b1161155b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155290614d8d565b60405180910390fd5b60028383815181106115705761156f615427565b5b602002602001019060ff16908160ff1681525050506115c5565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bc90614ded565b60405180910390fd5b5b600015156116148989848181106115e0576115df615427565b5b90506020020160208101906115f59190613cd0565b88888581811061160857611607615427565b5b90506020020135610f49565b151514611656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164d90614e6d565b60405180910390fd5b6001600b60008a8a8581811061166f5761166e615427565b5b90506020020160208101906116849190613cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008888858181106116d3576116d2615427565b5b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550808061170a90615320565b9150506111f5565b5060006005549050600061173360028888905061294090919063ffffffff16565b905060005b818110156117ab576005600081548092919061175390615320565b919050555061177633600554600160405180602001604052806000815250612956565b60055485828151811061178c5761178b615427565b5b60200260200101818152505080806117a390615320565b915050611738565b507fa39c0377a0e7fe1cb1b68d110b726987deb6fb279c36214362762df56e5ba7df848489896040516117e19493929190614a76565b60405180910390a181945050505050949350505050565b6060815183511461183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590614e4d565b60405180910390fd5b6000835167ffffffffffffffff81111561185b5761185a615456565b5b6040519080825280602002602001820160405280156118895781602001602082028036833780820191505090505b50905060005b8451811015611906576118d68582815181106118ae576118ad615427565b5b60200260200101518583815181106118c9576118c8615427565b5b6020026020010151610754565b8282815181106118e9576118e8615427565b5b602002602001018181525050806118ff90615320565b905061188f565b508091505092915050565b611919612624565b73ffffffffffffffffffffffffffffffffffffffff16611937611f11565b73ffffffffffffffffffffffffffffffffffffffff161461198d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198490614d2d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156119d3573d6000803e3d6000fd5b50565b6000600d60019054906101000a900460ff16905090565b6014811115611a31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2890614ecd565b60405180910390fd5b60011515600d60009054906101000a900460ff16151514611a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7e90614d6d565b60405180910390fd5b60065481600554611a9891906150e5565b1115611ad9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad090614eed565b60405180910390fd5b611aee8160075461294090919063ffffffff16565b341015611b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2790614c6d565b60405180910390fd5b60008167ffffffffffffffff811115611b4c57611b4b615456565b5b604051908082528060200260200182016040528015611b7a5781602001602082028036833780820191505090505b5090506000600167ffffffffffffffff811115611b9a57611b99615456565b5b604051908082528060200260200182016040528015611bc85781602001602082028036833780820191505090505b5090506000600167ffffffffffffffff811115611be857611be7615456565b5b604051908082528060200260200182016040528015611c165781602001602082028036833780820191505090505b50905060005b84811015611cb55760056000815480929190611c3790615320565b9190505550611c803360055460016040518060400160405280600881526020017f64756d7073746572000000000000000000000000000000000000000000000000815250612956565b600554848281518110611c9657611c95615427565b5b6020026020010181815250508080611cad90615320565b915050611c1c565b50600382600081518110611ccc57611ccb615427565b5b602002602001019060ff16908160ff16815250507fa39c0377a0e7fe1cb1b68d110b726987deb6fb279c36214362762df56e5ba7df838383604051611d1393929190614ac4565b60405180910390a150505050565b611d29612624565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611d6f5750611d6e83611d69612624565b612178565b5b611dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da590614c0d565b60405180910390fd5b611db9838383612aec565b505050565b611dc6612624565b73ffffffffffffffffffffffffffffffffffffffff16611de4611f11565b73ffffffffffffffffffffffffffffffffffffffff1614611e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3190614d2d565b60405180910390fd5b611e446000612d9d565b565b6060600080600090506000611e5a85612073565b67ffffffffffffffff811115611e7357611e72615456565b5b604051908082528060200260200182016040528015611ea15781602001602082028036833780820191505090505b509050600092505b6005548311611f06576001611ebe8685610754565b1415611ef35782818381518110611ed857611ed7615427565b5b6020026020010181815250508180611eef90615320565b9250505b8280611efe90615320565b935050611ea9565b809350505050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611f43612624565b73ffffffffffffffffffffffffffffffffffffffff16611f61611f11565b73ffffffffffffffffffffffffffffffffffffffff1614611fb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fae90614d2d565b60405180910390fd5b8060078190555050565b606060098054611fd0906152bd565b80601f0160208091040260200160405190810160405280929190818152602001828054611ffc906152bd565b80156120495780601f1061201e57610100808354040283529160200191612049565b820191906000526020600020905b81548152906001019060200180831161202c57829003601f168201915b5050505050905090565b6000600754905090565b61206f612068612624565b8383612e63565b5050565b60008060008091505b600160055461208b91906150e5565b8210156120c657600161209e8584610754565b14156120b35780806120af90615320565b9150505b81806120be90615320565b92505061207c565b8092505050919050565b6120d8612624565b73ffffffffffffffffffffffffffffffffffffffff166120f6611f11565b73ffffffffffffffffffffffffffffffffffffffff161461214c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214390614d2d565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600d60009054906101000a900460ff16905090565b61222b612624565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061227157506122708561226b612624565b612178565b5b6122b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a790614c0d565b60405180910390fd5b6122bd8585858585612fd0565b5050505050565b6122cc612624565b73ffffffffffffffffffffffffffffffffffffffff166122ea611f11565b73ffffffffffffffffffffffffffffffffffffffff1614612340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233790614d2d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a790614bcd565b60405180910390fd5b6123b981612d9d565b50565b6123c4612624565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061240a575061240983612404612624565b612178565b5b612449576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244090614c0d565b60405180910390fd5b612454838383613252565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600082141561250b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061261f565b600082905060005b6000821461253d57808061252690615320565b915050600a82612536919061513b565b9150612513565b60008167ffffffffffffffff81111561255957612558615456565b5b6040519080825280601f01601f19166020018201604052801561258b5781602001600182028036833780820191505090505b5090505b60008514612618576001826125a491906151c6565b9150600a856125b39190615369565b60306125bf91906150e5565b60f81b8183815181106125d5576125d4615427565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612611919061513b565b945061258f565b8093505050505b919050565b600033905090565b8151835114612670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266790614e8d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156126e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d790614cad565b60405180910390fd5b60006126ea612624565b90506126fa81878787878761346f565b60005b84518110156128ab57600085828151811061271b5761271a615427565b5b60200260200101519050600085838151811061273a57612739615427565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156127db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d290614d0d565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461289091906150e5565b92505081905550505050806128a490615320565b90506126fd565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612922929190614a3f565b60405180910390a4612938818787878787613477565b505050505050565b6000818361294e919061516c565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129bd90614ead565b60405180910390fd5b60006129d0612624565b90506129f1816000876129e28861365e565b6129eb8861365e565b8761346f565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a5091906150e5565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612ace929190614f28565b60405180910390a4612ae5816000878787876136d8565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5390614ced565b60405180910390fd5b8051825114612ba0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9790614e8d565b60405180910390fd5b6000612baa612624565b9050612bca8185600086866040518060200160405280600081525061346f565b60005b8351811015612d17576000848281518110612beb57612bea615427565b5b602002602001015190506000848381518110612c0a57612c09615427565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca290614bed565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080612d0f90615320565b915050612bcd565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612d8f929190614a3f565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec990614e2d565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612fc39190614b10565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303790614cad565b60405180910390fd5b600061304a612624565b905061306a81878761305b8861365e565b6130648861365e565b8761346f565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015613101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f890614d0d565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131b691906150e5565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051613233929190614f28565b60405180910390a46132498288888888886136d8565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b990614ced565b60405180910390fd5b60006132cc612624565b90506132fc818560006132de8761365e565b6132e78761365e565b6040518060200160405280600081525061346f565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015613393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338a90614bed565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051613460929190614f28565b60405180910390a45050505050565b505050505050565b6134968473ffffffffffffffffffffffffffffffffffffffff166138bf565b15613656578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016134dc959493929190614900565b602060405180830381600087803b1580156134f657600080fd5b505af192505050801561352757506040513d601f19601f8201168201806040525081019061352491906141a1565b60015b6135cd57613533615485565b806308c379a014156135905750613548615c16565b806135535750613592565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135879190614b2b565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135c490614b4d565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161364b90614b6d565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561367d5761367c615456565b5b6040519080825280602002602001820160405280156136ab5781602001602082028036833780820191505090505b50905082816000815181106136c3576136c2615427565b5b60200260200101818152505080915050919050565b6136f78473ffffffffffffffffffffffffffffffffffffffff166138bf565b156138b7578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161373d959493929190614968565b602060405180830381600087803b15801561375757600080fd5b505af192505050801561378857506040513d601f19601f8201168201806040525081019061378591906141a1565b60015b61382e57613794615485565b806308c379a014156137f157506137a9615c16565b806137b457506137f3565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e89190614b2b565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161382590614b4d565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146138b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138ac90614b6d565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b8280546138de906152bd565b90600052602060002090601f0160209004810192826139005760008555613947565b82601f1061391957805160ff1916838001178555613947565b82800160010185558215613947579182015b8281111561394657825182559160200191906001019061392b565b5b5090506139549190613958565b5090565b5b80821115613971576000816000905550600101613959565b5090565b600061398861398384614f76565b614f51565b905080838252602082019050828560208602820111156139ab576139aa6154b1565b5b60005b858110156139db57816139c18882613ad9565b8452602084019350602083019250506001810190506139ae565b5050509392505050565b60006139f86139f384614fa2565b614f51565b90508083825260208201905082856020860282011115613a1b57613a1a6154b1565b5b60005b85811015613a4b5781613a318882613ca6565b845260208401935060208301925050600181019050613a1e565b5050509392505050565b6000613a68613a6384614fce565b614f51565b905082815260208101848484011115613a8457613a836154b6565b5b613a8f84828561527b565b509392505050565b6000613aaa613aa584614fff565b614f51565b905082815260208101848484011115613ac657613ac56154b6565b5b613ad184828561527b565b509392505050565b600081359050613ae881615cac565b92915050565b600081519050613afd81615cac565b92915050565b60008083601f840112613b1957613b186154ac565b5b8235905067ffffffffffffffff811115613b3657613b356154a7565b5b602083019150836020820283011115613b5257613b516154b1565b5b9250929050565b600082601f830112613b6e57613b6d6154ac565b5b8135613b7e848260208601613975565b91505092915050565b60008083601f840112613b9d57613b9c6154ac565b5b8235905067ffffffffffffffff811115613bba57613bb96154a7565b5b602083019150836020820283011115613bd657613bd56154b1565b5b9250929050565b600082601f830112613bf257613bf16154ac565b5b8135613c028482602086016139e5565b91505092915050565b600081359050613c1a81615cc3565b92915050565b600081359050613c2f81615cda565b92915050565b600081519050613c4481615cda565b92915050565b600082601f830112613c5f57613c5e6154ac565b5b8135613c6f848260208601613a55565b91505092915050565b600082601f830112613c8d57613c8c6154ac565b5b8135613c9d848260208601613a97565b91505092915050565b600081359050613cb581615cf1565b92915050565b600081519050613cca81615cf1565b92915050565b600060208284031215613ce657613ce56154c5565b5b6000613cf484828501613ad9565b91505092915050565b600060208284031215613d1357613d126154c5565b5b6000613d2184828501613aee565b91505092915050565b60008060408385031215613d4157613d406154c5565b5b6000613d4f85828601613ad9565b9250506020613d6085828601613ad9565b9150509250929050565b600080600080600060a08688031215613d8657613d856154c5565b5b6000613d9488828901613ad9565b9550506020613da588828901613ad9565b945050604086013567ffffffffffffffff811115613dc657613dc56154bb565b5b613dd288828901613bdd565b935050606086013567ffffffffffffffff811115613df357613df26154bb565b5b613dff88828901613bdd565b925050608086013567ffffffffffffffff811115613e2057613e1f6154bb565b5b613e2c88828901613c4a565b9150509295509295909350565b600080600080600060a08688031215613e5557613e546154c5565b5b6000613e6388828901613ad9565b9550506020613e7488828901613ad9565b9450506040613e8588828901613ca6565b9350506060613e9688828901613ca6565b925050608086013567ffffffffffffffff811115613eb757613eb66154bb565b5b613ec388828901613c4a565b9150509295509295909350565b600080600060608486031215613ee957613ee86154c5565b5b6000613ef786828701613ad9565b935050602084013567ffffffffffffffff811115613f1857613f176154bb565b5b613f2486828701613bdd565b925050604084013567ffffffffffffffff811115613f4557613f446154bb565b5b613f5186828701613bdd565b9150509250925092565b60008060408385031215613f7257613f716154c5565b5b6000613f8085828601613ad9565b9250506020613f9185828601613c0b565b9150509250929050565b60008060408385031215613fb257613fb16154c5565b5b6000613fc085828601613ad9565b9250506020613fd185828601613ca6565b9150509250929050565b600080600060608486031215613ff457613ff36154c5565b5b600061400286828701613ad9565b935050602061401386828701613ca6565b925050604061402486828701613ca6565b9150509250925092565b60008060008060408587031215614048576140476154c5565b5b600085013567ffffffffffffffff811115614066576140656154bb565b5b61407287828801613b03565b9450945050602085013567ffffffffffffffff811115614095576140946154bb565b5b6140a187828801613b87565b925092505092959194509250565b600080604083850312156140c6576140c56154c5565b5b600083013567ffffffffffffffff8111156140e4576140e36154bb565b5b6140f085828601613b59565b925050602083013567ffffffffffffffff811115614111576141106154bb565b5b61411d85828601613bdd565b9150509250929050565b6000806020838503121561413e5761413d6154c5565b5b600083013567ffffffffffffffff81111561415c5761415b6154bb565b5b61416885828601613b87565b92509250509250929050565b60006020828403121561418a576141896154c5565b5b600061419884828501613c20565b91505092915050565b6000602082840312156141b7576141b66154c5565b5b60006141c584828501613c35565b91505092915050565b6000602082840312156141e4576141e36154c5565b5b600082013567ffffffffffffffff811115614202576142016154bb565b5b61420e84828501613c78565b91505092915050565b60006020828403121561422d5761422c6154c5565b5b600061423b84828501613ca6565b91505092915050565b60006020828403121561425a576142596154c5565b5b600061426884828501613cbb565b91505092915050565b600061427d8383614894565b60208301905092915050565b600061429583836148b2565b60208301905092915050565b6142aa816151fa565b82525050565b60006142bc8385615096565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156142ef576142ee6154c0565b5b60208302925061430083858461527b565b82840190509392505050565b600061431782615050565b6143218185615096565b935061432c83615030565b8060005b8381101561435d5781516143448882614271565b975061434f8361507c565b925050600181019050614330565b5085935050505092915050565b60006143758261505b565b61437f81856150a7565b935061438a83615040565b8060005b838110156143bb5781516143a28882614289565b97506143ad83615089565b92505060018101905061438e565b5085935050505092915050565b6143d18161520c565b82525050565b60006143e282615066565b6143ec81856150b8565b93506143fc81856020860161528a565b614405816154ca565b840191505092915050565b600061441b82615071565b61442581856150c9565b935061443581856020860161528a565b61443e816154ca565b840191505092915050565b600061445482615071565b61445e81856150da565b935061446e81856020860161528a565b80840191505092915050565b60006144876034836150c9565b9150614492826154e8565b604082019050919050565b60006144aa6028836150c9565b91506144b582615537565b604082019050919050565b60006144cd6015836150c9565b91506144d882615586565b602082019050919050565b60006144f0602b836150c9565b91506144fb826155af565b604082019050919050565b60006145136026836150c9565b915061451e826155fe565b604082019050919050565b60006145366024836150c9565b91506145418261564d565b604082019050919050565b60006145596029836150c9565b91506145648261569c565b604082019050919050565b600061457c601a836150c9565b9150614587826156eb565b602082019050919050565b600061459f6026836150c9565b91506145aa82615714565b604082019050919050565b60006145c2600e836150c9565b91506145cd82615763565b602082019050919050565b60006145e5601b836150c9565b91506145f08261578c565b602082019050919050565b60006146086025836150c9565b9150614613826157b5565b604082019050919050565b600061462b6032836150c9565b915061463682615804565b604082019050919050565b600061464e6023836150c9565b915061465982615853565b604082019050919050565b6000614671602a836150c9565b915061467c826158a2565b604082019050919050565b60006146946020836150c9565b915061469f826158f1565b602082019050919050565b60006146b76017836150c9565b91506146c28261591a565b602082019050919050565b60006146da6013836150c9565b91506146e582615943565b602082019050919050565b60006146fd6015836150c9565b91506147088261596c565b602082019050919050565b60006147206016836150c9565b915061472b82615995565b602082019050919050565b60006147436014836150c9565b915061474e826159be565b602082019050919050565b60006147666018836150c9565b9150614771826159e7565b602082019050919050565b60006147896019836150c9565b915061479482615a10565b602082019050919050565b60006147ac6029836150c9565b91506147b782615a39565b604082019050919050565b60006147cf6029836150c9565b91506147da82615a88565b604082019050919050565b60006147f26017836150c9565b91506147fd82615ad7565b602082019050919050565b60006148156028836150c9565b915061482082615b00565b604082019050919050565b60006148386021836150c9565b915061484382615b4f565b604082019050919050565b600061485b601f836150c9565b915061486682615b9e565b602082019050919050565b600061487e6028836150c9565b915061488982615bc7565b604082019050919050565b61489d81615264565b82525050565b6148ac81615264565b82525050565b6148bb8161526e565b82525050565b60006148cd8285614449565b91506148d98284614449565b91508190509392505050565b60006020820190506148fa60008301846142a1565b92915050565b600060a08201905061491560008301886142a1565b61492260208301876142a1565b8181036040830152614934818661430c565b90508181036060830152614948818561430c565b9050818103608083015261495c81846143d7565b90509695505050505050565b600060a08201905061497d60008301886142a1565b61498a60208301876142a1565b61499760408301866148a3565b6149a460608301856148a3565b81810360808301526149b681846143d7565b90509695505050505050565b60006040820190506149d760008301866142a1565b81810360208301526149ea8184866142b0565b9050949350505050565b6000604082019050614a0960008301856142a1565b614a1660208301846148a3565b9392505050565b60006020820190508181036000830152614a37818461430c565b905092915050565b60006040820190508181036000830152614a59818561430c565b90508181036020830152614a6d818461430c565b90509392505050565b60006060820190508181036000830152614a90818761430c565b90508181036020830152614aa4818661436a565b90508181036040830152614ab98184866142b0565b905095945050505050565b60006060820190508181036000830152614ade818661430c565b90508181036020830152614af2818561436a565b90508181036040830152614b06818461430c565b9050949350505050565b6000602082019050614b2560008301846143c8565b92915050565b60006020820190508181036000830152614b458184614410565b905092915050565b60006020820190508181036000830152614b668161447a565b9050919050565b60006020820190508181036000830152614b868161449d565b9050919050565b60006020820190508181036000830152614ba6816144c0565b9050919050565b60006020820190508181036000830152614bc6816144e3565b9050919050565b60006020820190508181036000830152614be681614506565b9050919050565b60006020820190508181036000830152614c0681614529565b9050919050565b60006020820190508181036000830152614c268161454c565b9050919050565b60006020820190508181036000830152614c468161456f565b9050919050565b60006020820190508181036000830152614c6681614592565b9050919050565b60006020820190508181036000830152614c86816145b5565b9050919050565b60006020820190508181036000830152614ca6816145d8565b9050919050565b60006020820190508181036000830152614cc6816145fb565b9050919050565b60006020820190508181036000830152614ce68161461e565b9050919050565b60006020820190508181036000830152614d0681614641565b9050919050565b60006020820190508181036000830152614d2681614664565b9050919050565b60006020820190508181036000830152614d4681614687565b9050919050565b60006020820190508181036000830152614d66816146aa565b9050919050565b60006020820190508181036000830152614d86816146cd565b9050919050565b60006020820190508181036000830152614da6816146f0565b9050919050565b60006020820190508181036000830152614dc681614713565b9050919050565b60006020820190508181036000830152614de681614736565b9050919050565b60006020820190508181036000830152614e0681614759565b9050919050565b60006020820190508181036000830152614e268161477c565b9050919050565b60006020820190508181036000830152614e468161479f565b9050919050565b60006020820190508181036000830152614e66816147c2565b9050919050565b60006020820190508181036000830152614e86816147e5565b9050919050565b60006020820190508181036000830152614ea681614808565b9050919050565b60006020820190508181036000830152614ec68161482b565b9050919050565b60006020820190508181036000830152614ee68161484e565b9050919050565b60006020820190508181036000830152614f0681614871565b9050919050565b6000602082019050614f2260008301846148a3565b92915050565b6000604082019050614f3d60008301856148a3565b614f4a60208301846148a3565b9392505050565b6000614f5b614f6c565b9050614f6782826152ef565b919050565b6000604051905090565b600067ffffffffffffffff821115614f9157614f90615456565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614fbd57614fbc615456565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614fe957614fe8615456565b5b614ff2826154ca565b9050602081019050919050565b600067ffffffffffffffff82111561501a57615019615456565b5b615023826154ca565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006150f082615264565b91506150fb83615264565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151305761512f61539a565b5b828201905092915050565b600061514682615264565b915061515183615264565b925082615161576151606153c9565b5b828204905092915050565b600061517782615264565b915061518283615264565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151bb576151ba61539a565b5b828202905092915050565b60006151d182615264565b91506151dc83615264565b9250828210156151ef576151ee61539a565b5b828203905092915050565b600061520582615244565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156152a857808201518184015260208101905061528d565b838111156152b7576000848401525b50505050565b600060028204905060018216806152d557607f821691505b602082108114156152e9576152e86153f8565b5b50919050565b6152f8826154ca565b810181811067ffffffffffffffff8211171561531757615316615456565b5b80604052505050565b600061532b82615264565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561535e5761535d61539a565b5b600182019050919050565b600061537482615264565b915061537f83615264565b92508261538f5761538e6153c9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156154a45760046000803e6154a16000516154db565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f446f65736e2774206f776e2074686520434f4f4b2e0000000000000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f526571756972657320636f6e747261637420616464726573732e000000000000600082015250565b7f636f6f6b496473206d757374206d6174636820636f6e7472616374496473206c60008201527f656e6774682e0000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f75676820657468000000000000000000000000000000000000600082015250565b7f446f65736e2774206f776e2074686520696e6772656469656e742e0000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d6178696d756d20333220696e6772656469656e74732e000000000000000000600082015250565b7f4d61726b65742061696e74206f70656e20726e00000000000000000000000000600082015250565b7f446f65736e2774206f776e2074686520504153532e0000000000000000000000600082015250565b7f4d696e696d756d203320696e6772656469656e74732e00000000000000000000600082015250565b7f4d61726b65742061696e74206f70656e20726e2e000000000000000000000000600082015250565b7f546f6b656e20697320206e6f6e2d72656465656d61626c650000000000000000600082015250565b7f546865206b69746368656e2061696e74206f70656e20726e2e00000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20616c72656164792072656465656d65642e000000000000000000600082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f6e6c792032302063616e206265206d696e74656420617420612074696d6500600082015250565b7f496e73756666696369656e7420737570706c79204f522044756d70737465722060008201527f697320656d707479000000000000000000000000000000000000000000000000602082015250565b600060443d1015615c2657615ca9565b615c2e614f6c565b60043d036004823e80513d602482011167ffffffffffffffff82111715615c56575050615ca9565b808201805167ffffffffffffffff811115615c745750505050615ca9565b80602083010160043d038501811115615c91575050505050615ca9565b615ca0826020018501866152ef565b82955050505050505b90565b615cb5816151fa565b8114615cc057600080fd5b50565b615ccc8161520c565b8114615cd757600080fd5b50565b615ce381615218565b8114615cee57600080fd5b50565b615cfa81615264565b8114615d0557600080fd5b5056fea26469706673582212205c1d95e413f903b29c0d6aa253e70d4f03236494a6381665638dc944e155a5d664736f6c6343000807003368747470733a2f2f75732d63656e7472616c312d7375646f6275726765722d39623936652e636c6f756466756e6374696f6e732e6e65742f6170702f6170692f696e672f
Deployed Bytecode
0x6080604052600436106101d75760003560e01c80636951ba9a11610102578063a22cb46511610095578063f1be167911610064578063f1be1679146106ae578063f242432a146106d9578063f2fde38b14610702578063f5298aca1461072b576101d7565b8063a22cb465146105f4578063af90fdfd1461061d578063dd81153e1461065a578063e985e9c514610671576101d7565b80638da5cb5b116100d15780638da5cb5b1461054a57806391b7f5ed1461057557806395d89b411461059e57806398d5fdca146105c9576101d7565b80636951ba9a146104b15780636b20c454146104cd578063715018a6146104f65780638462151c1461050d576101d7565b8063328c9aa31161017a57806347a248371161014957806347a24837146103f55780634e1273f4146104325780635b0f41ec1461046f5780635c60895a14610486576101d7565b8063328c9aa31461033b578063340528a114610364578063465737d4146103a157806346d137a3146103de576101d7565b80630e89341c116101b65780630e89341c1461028157806316bfbc02146102be57806318160ddd146102e75780632eb2c2d614610312576101d7565b8062fdd58e146101dc57806301ffc9a71461021957806306fdde0314610256575b600080fd5b3480156101e857600080fd5b5061020360048036038101906101fe9190613f9b565b610754565b6040516102109190614f0d565b60405180910390f35b34801561022557600080fd5b50610240600480360381019061023b9190614174565b61081d565b60405161024d9190614b10565b60405180910390f35b34801561026257600080fd5b5061026b6108ff565b6040516102789190614b2b565b60405180910390f35b34801561028d57600080fd5b506102a860048036038101906102a39190614217565b610991565b6040516102b59190614b2b565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e091906141ce565b610a54565b005b3480156102f357600080fd5b506102fc610aea565b6040516103099190614f0d565b60405180910390f35b34801561031e57600080fd5b5061033960048036038101906103349190613d6a565b610af4565b005b34801561034757600080fd5b50610362600480360381019061035d9190613cd0565b610b95565b005b34801561037057600080fd5b5061038b60048036038101906103869190614127565b610c55565b6040516103989190614f0d565b60405180910390f35b3480156103ad57600080fd5b506103c860048036038101906103c39190613f9b565b610f49565b6040516103d59190614b10565b60405180910390f35b3480156103ea57600080fd5b506103f3610fb1565b005b34801561040157600080fd5b5061041c6004803603810190610417919061402e565b611059565b6040516104299190614f0d565b60405180910390f35b34801561043e57600080fd5b50610459600480360381019061045491906140af565b6117f8565b6040516104669190614a1d565b60405180910390f35b34801561047b57600080fd5b50610484611911565b005b34801561049257600080fd5b5061049b6119d6565b6040516104a89190614b10565b60405180910390f35b6104cb60048036038101906104c69190614217565b6119ed565b005b3480156104d957600080fd5b506104f460048036038101906104ef9190613ed0565b611d21565b005b34801561050257600080fd5b5061050b611dbe565b005b34801561051957600080fd5b50610534600480360381019061052f9190613cd0565b611e46565b6040516105419190614a1d565b60405180910390f35b34801561055657600080fd5b5061055f611f11565b60405161056c91906148e5565b60405180910390f35b34801561058157600080fd5b5061059c60048036038101906105979190614217565b611f3b565b005b3480156105aa57600080fd5b506105b3611fc1565b6040516105c09190614b2b565b60405180910390f35b3480156105d557600080fd5b506105de612053565b6040516105eb9190614f0d565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613f5b565b61205d565b005b34801561062957600080fd5b50610644600480360381019061063f9190613cd0565b612073565b6040516106519190614f0d565b60405180910390f35b34801561066657600080fd5b5061066f6120d0565b005b34801561067d57600080fd5b5061069860048036038101906106939190613d2a565b612178565b6040516106a59190614b10565b60405180910390f35b3480156106ba57600080fd5b506106c361220c565b6040516106d09190614b10565b60405180910390f35b3480156106e557600080fd5b5061070060048036038101906106fb9190613e39565b612223565b005b34801561070e57600080fd5b5061072960048036038101906107249190613cd0565b6122c4565b005b34801561073757600080fd5b50610752600480360381019061074d9190613fdb565b6123bc565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107bc90614bad565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108f857506108f782612459565b5b9050919050565b60606008805461090e906152bd565b80601f016020809104026020016040519081016040528092919081815260200182805461093a906152bd565b80156109875780601f1061095c57610100808354040283529160200191610987565b820191906000526020600020905b81548152906001019060200180831161096a57829003601f168201915b5050505050905090565b60606000600480546109a2906152bd565b80601f01602080910402602001604051908101604052809291908181526020018280546109ce906152bd565b8015610a1b5780601f106109f057610100808354040283529160200191610a1b565b820191906000526020600020905b8154815290600101906020018083116109fe57829003601f168201915b5050505050905080610a2c846124c3565b604051602001610a3d9291906148c1565b604051602081830303815290604052915050919050565b610a5c612624565b73ffffffffffffffffffffffffffffffffffffffff16610a7a611f11565b73ffffffffffffffffffffffffffffffffffffffff1614610ad0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac790614d2d565b60405180910390fd5b8060049080519060200190610ae69291906138d2565b5050565b6000600554905090565b610afc612624565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610b425750610b4185610b3c612624565b612178565b5b610b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7890614ccd565b60405180910390fd5b610b8e858585858561262c565b5050505050565b610b9d612624565b73ffffffffffffffffffffffffffffffffffffffff16610bbb611f11565b73ffffffffffffffffffffffffffffffffffffffff1614610c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0890614d2d565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060011515600d60019054906101000a900460ff16151514610cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca490614e0d565b60405180910390fd5b6003838390501015610cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ceb90614dad565b60405180910390fd5b6020838390501115610d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3290614d4d565b60405180910390fd5b6000610d613385856000818110610d5557610d54615427565b5b90506020020135610754565b11610da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9890614c8d565b60405180910390fd5b6000808484905067ffffffffffffffff811115610dc157610dc0615456565b5b604051908082528060200260200182016040528015610def5781602001602082028036833780820191505090505b509050600091505b84849050821015610e36576001818381518110610e1757610e16615427565b5b6020026020010181815250508180610e2e90615320565b925050610df7565b610e8233868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505083611d21565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff1663fb12126e3389896040518463ffffffff1660e01b8152600401610ee8939291906149c2565b602060405180830381600087803b158015610f0257600080fd5b505af1158015610f16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3a9190614244565b90508094505050505092915050565b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff16905092915050565b610fb9612624565b73ffffffffffffffffffffffffffffffffffffffff16610fd7611f11565b73ffffffffffffffffffffffffffffffffffffffff161461102d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102490614d2d565b60405180910390fd5b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b600060011515600d60009054906101000a900460ff161515146110b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a890614dcd565b60405180910390fd5b600085859050116110f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ee90614c2d565b60405180910390fd5b84849050838390501461113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690614c4d565b60405180910390fd5b600061115860028585905061294090919063ffffffff16565b67ffffffffffffffff81111561117157611170615456565b5b60405190808252806020026020018201604052801561119f5781602001602082028036833780820191505090505b50905060008484905067ffffffffffffffff8111156111c1576111c0615456565b5b6040519080825280602002602001820160405280156111ef5781602001602082028036833780820191505090505b50905060005b87879050811015611712576102d1600c60008a8a8581811061121a57611219615427565b5b905060200201602081019061122f9190613cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156113da57600088888381811061128557611284615427565b5b905060200201602081019061129a9190613cd0565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e8989868181106112e2576112e1615427565b5b905060200201356040518263ffffffff1660e01b81526004016113059190614f0d565b60206040518083038186803b15801561131d57600080fd5b505afa158015611331573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113559190613cfd565b73ffffffffffffffffffffffffffffffffffffffff16146113ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a290614b8d565b60405180910390fd5b60018383815181106113c0576113bf615427565b5b602002602001019060ff16908160ff1681525050506115c6565b610483600c60008a8a858181106113f4576113f3615427565b5b90506020020160208101906114099190613cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561158a57600088888381811061145f5761145e615427565b5b90506020020160208101906114749190613cd0565b905060008173ffffffffffffffffffffffffffffffffffffffff1662fdd58e338a8a878181106114a7576114a6615427565b5b905060200201356040518363ffffffff1660e01b81526004016114cb9291906149f4565b60206040518083038186803b1580156114e357600080fd5b505afa1580156114f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151b9190614244565b1161155b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155290614d8d565b60405180910390fd5b60028383815181106115705761156f615427565b5b602002602001019060ff16908160ff1681525050506115c5565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bc90614ded565b60405180910390fd5b5b600015156116148989848181106115e0576115df615427565b5b90506020020160208101906115f59190613cd0565b88888581811061160857611607615427565b5b90506020020135610f49565b151514611656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164d90614e6d565b60405180910390fd5b6001600b60008a8a8581811061166f5761166e615427565b5b90506020020160208101906116849190613cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008888858181106116d3576116d2615427565b5b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550808061170a90615320565b9150506111f5565b5060006005549050600061173360028888905061294090919063ffffffff16565b905060005b818110156117ab576005600081548092919061175390615320565b919050555061177633600554600160405180602001604052806000815250612956565b60055485828151811061178c5761178b615427565b5b60200260200101818152505080806117a390615320565b915050611738565b507fa39c0377a0e7fe1cb1b68d110b726987deb6fb279c36214362762df56e5ba7df848489896040516117e19493929190614a76565b60405180910390a181945050505050949350505050565b6060815183511461183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590614e4d565b60405180910390fd5b6000835167ffffffffffffffff81111561185b5761185a615456565b5b6040519080825280602002602001820160405280156118895781602001602082028036833780820191505090505b50905060005b8451811015611906576118d68582815181106118ae576118ad615427565b5b60200260200101518583815181106118c9576118c8615427565b5b6020026020010151610754565b8282815181106118e9576118e8615427565b5b602002602001018181525050806118ff90615320565b905061188f565b508091505092915050565b611919612624565b73ffffffffffffffffffffffffffffffffffffffff16611937611f11565b73ffffffffffffffffffffffffffffffffffffffff161461198d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198490614d2d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156119d3573d6000803e3d6000fd5b50565b6000600d60019054906101000a900460ff16905090565b6014811115611a31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2890614ecd565b60405180910390fd5b60011515600d60009054906101000a900460ff16151514611a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7e90614d6d565b60405180910390fd5b60065481600554611a9891906150e5565b1115611ad9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad090614eed565b60405180910390fd5b611aee8160075461294090919063ffffffff16565b341015611b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2790614c6d565b60405180910390fd5b60008167ffffffffffffffff811115611b4c57611b4b615456565b5b604051908082528060200260200182016040528015611b7a5781602001602082028036833780820191505090505b5090506000600167ffffffffffffffff811115611b9a57611b99615456565b5b604051908082528060200260200182016040528015611bc85781602001602082028036833780820191505090505b5090506000600167ffffffffffffffff811115611be857611be7615456565b5b604051908082528060200260200182016040528015611c165781602001602082028036833780820191505090505b50905060005b84811015611cb55760056000815480929190611c3790615320565b9190505550611c803360055460016040518060400160405280600881526020017f64756d7073746572000000000000000000000000000000000000000000000000815250612956565b600554848281518110611c9657611c95615427565b5b6020026020010181815250508080611cad90615320565b915050611c1c565b50600382600081518110611ccc57611ccb615427565b5b602002602001019060ff16908160ff16815250507fa39c0377a0e7fe1cb1b68d110b726987deb6fb279c36214362762df56e5ba7df838383604051611d1393929190614ac4565b60405180910390a150505050565b611d29612624565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611d6f5750611d6e83611d69612624565b612178565b5b611dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da590614c0d565b60405180910390fd5b611db9838383612aec565b505050565b611dc6612624565b73ffffffffffffffffffffffffffffffffffffffff16611de4611f11565b73ffffffffffffffffffffffffffffffffffffffff1614611e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3190614d2d565b60405180910390fd5b611e446000612d9d565b565b6060600080600090506000611e5a85612073565b67ffffffffffffffff811115611e7357611e72615456565b5b604051908082528060200260200182016040528015611ea15781602001602082028036833780820191505090505b509050600092505b6005548311611f06576001611ebe8685610754565b1415611ef35782818381518110611ed857611ed7615427565b5b6020026020010181815250508180611eef90615320565b9250505b8280611efe90615320565b935050611ea9565b809350505050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611f43612624565b73ffffffffffffffffffffffffffffffffffffffff16611f61611f11565b73ffffffffffffffffffffffffffffffffffffffff1614611fb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fae90614d2d565b60405180910390fd5b8060078190555050565b606060098054611fd0906152bd565b80601f0160208091040260200160405190810160405280929190818152602001828054611ffc906152bd565b80156120495780601f1061201e57610100808354040283529160200191612049565b820191906000526020600020905b81548152906001019060200180831161202c57829003601f168201915b5050505050905090565b6000600754905090565b61206f612068612624565b8383612e63565b5050565b60008060008091505b600160055461208b91906150e5565b8210156120c657600161209e8584610754565b14156120b35780806120af90615320565b9150505b81806120be90615320565b92505061207c565b8092505050919050565b6120d8612624565b73ffffffffffffffffffffffffffffffffffffffff166120f6611f11565b73ffffffffffffffffffffffffffffffffffffffff161461214c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214390614d2d565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600d60009054906101000a900460ff16905090565b61222b612624565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061227157506122708561226b612624565b612178565b5b6122b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a790614c0d565b60405180910390fd5b6122bd8585858585612fd0565b5050505050565b6122cc612624565b73ffffffffffffffffffffffffffffffffffffffff166122ea611f11565b73ffffffffffffffffffffffffffffffffffffffff1614612340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233790614d2d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a790614bcd565b60405180910390fd5b6123b981612d9d565b50565b6123c4612624565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061240a575061240983612404612624565b612178565b5b612449576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244090614c0d565b60405180910390fd5b612454838383613252565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600082141561250b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061261f565b600082905060005b6000821461253d57808061252690615320565b915050600a82612536919061513b565b9150612513565b60008167ffffffffffffffff81111561255957612558615456565b5b6040519080825280601f01601f19166020018201604052801561258b5781602001600182028036833780820191505090505b5090505b60008514612618576001826125a491906151c6565b9150600a856125b39190615369565b60306125bf91906150e5565b60f81b8183815181106125d5576125d4615427565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612611919061513b565b945061258f565b8093505050505b919050565b600033905090565b8151835114612670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266790614e8d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156126e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d790614cad565b60405180910390fd5b60006126ea612624565b90506126fa81878787878761346f565b60005b84518110156128ab57600085828151811061271b5761271a615427565b5b60200260200101519050600085838151811061273a57612739615427565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156127db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d290614d0d565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461289091906150e5565b92505081905550505050806128a490615320565b90506126fd565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612922929190614a3f565b60405180910390a4612938818787878787613477565b505050505050565b6000818361294e919061516c565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129bd90614ead565b60405180910390fd5b60006129d0612624565b90506129f1816000876129e28861365e565b6129eb8861365e565b8761346f565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a5091906150e5565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612ace929190614f28565b60405180910390a4612ae5816000878787876136d8565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5390614ced565b60405180910390fd5b8051825114612ba0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9790614e8d565b60405180910390fd5b6000612baa612624565b9050612bca8185600086866040518060200160405280600081525061346f565b60005b8351811015612d17576000848281518110612beb57612bea615427565b5b602002602001015190506000848381518110612c0a57612c09615427565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca290614bed565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080612d0f90615320565b915050612bcd565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612d8f929190614a3f565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec990614e2d565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612fc39190614b10565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303790614cad565b60405180910390fd5b600061304a612624565b905061306a81878761305b8861365e565b6130648861365e565b8761346f565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015613101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f890614d0d565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131b691906150e5565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051613233929190614f28565b60405180910390a46132498288888888886136d8565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b990614ced565b60405180910390fd5b60006132cc612624565b90506132fc818560006132de8761365e565b6132e78761365e565b6040518060200160405280600081525061346f565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015613393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338a90614bed565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051613460929190614f28565b60405180910390a45050505050565b505050505050565b6134968473ffffffffffffffffffffffffffffffffffffffff166138bf565b15613656578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016134dc959493929190614900565b602060405180830381600087803b1580156134f657600080fd5b505af192505050801561352757506040513d601f19601f8201168201806040525081019061352491906141a1565b60015b6135cd57613533615485565b806308c379a014156135905750613548615c16565b806135535750613592565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135879190614b2b565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135c490614b4d565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161364b90614b6d565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561367d5761367c615456565b5b6040519080825280602002602001820160405280156136ab5781602001602082028036833780820191505090505b50905082816000815181106136c3576136c2615427565b5b60200260200101818152505080915050919050565b6136f78473ffffffffffffffffffffffffffffffffffffffff166138bf565b156138b7578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161373d959493929190614968565b602060405180830381600087803b15801561375757600080fd5b505af192505050801561378857506040513d601f19601f8201168201806040525081019061378591906141a1565b60015b61382e57613794615485565b806308c379a014156137f157506137a9615c16565b806137b457506137f3565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e89190614b2b565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161382590614b4d565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146138b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138ac90614b6d565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b8280546138de906152bd565b90600052602060002090601f0160209004810192826139005760008555613947565b82601f1061391957805160ff1916838001178555613947565b82800160010185558215613947579182015b8281111561394657825182559160200191906001019061392b565b5b5090506139549190613958565b5090565b5b80821115613971576000816000905550600101613959565b5090565b600061398861398384614f76565b614f51565b905080838252602082019050828560208602820111156139ab576139aa6154b1565b5b60005b858110156139db57816139c18882613ad9565b8452602084019350602083019250506001810190506139ae565b5050509392505050565b60006139f86139f384614fa2565b614f51565b90508083825260208201905082856020860282011115613a1b57613a1a6154b1565b5b60005b85811015613a4b5781613a318882613ca6565b845260208401935060208301925050600181019050613a1e565b5050509392505050565b6000613a68613a6384614fce565b614f51565b905082815260208101848484011115613a8457613a836154b6565b5b613a8f84828561527b565b509392505050565b6000613aaa613aa584614fff565b614f51565b905082815260208101848484011115613ac657613ac56154b6565b5b613ad184828561527b565b509392505050565b600081359050613ae881615cac565b92915050565b600081519050613afd81615cac565b92915050565b60008083601f840112613b1957613b186154ac565b5b8235905067ffffffffffffffff811115613b3657613b356154a7565b5b602083019150836020820283011115613b5257613b516154b1565b5b9250929050565b600082601f830112613b6e57613b6d6154ac565b5b8135613b7e848260208601613975565b91505092915050565b60008083601f840112613b9d57613b9c6154ac565b5b8235905067ffffffffffffffff811115613bba57613bb96154a7565b5b602083019150836020820283011115613bd657613bd56154b1565b5b9250929050565b600082601f830112613bf257613bf16154ac565b5b8135613c028482602086016139e5565b91505092915050565b600081359050613c1a81615cc3565b92915050565b600081359050613c2f81615cda565b92915050565b600081519050613c4481615cda565b92915050565b600082601f830112613c5f57613c5e6154ac565b5b8135613c6f848260208601613a55565b91505092915050565b600082601f830112613c8d57613c8c6154ac565b5b8135613c9d848260208601613a97565b91505092915050565b600081359050613cb581615cf1565b92915050565b600081519050613cca81615cf1565b92915050565b600060208284031215613ce657613ce56154c5565b5b6000613cf484828501613ad9565b91505092915050565b600060208284031215613d1357613d126154c5565b5b6000613d2184828501613aee565b91505092915050565b60008060408385031215613d4157613d406154c5565b5b6000613d4f85828601613ad9565b9250506020613d6085828601613ad9565b9150509250929050565b600080600080600060a08688031215613d8657613d856154c5565b5b6000613d9488828901613ad9565b9550506020613da588828901613ad9565b945050604086013567ffffffffffffffff811115613dc657613dc56154bb565b5b613dd288828901613bdd565b935050606086013567ffffffffffffffff811115613df357613df26154bb565b5b613dff88828901613bdd565b925050608086013567ffffffffffffffff811115613e2057613e1f6154bb565b5b613e2c88828901613c4a565b9150509295509295909350565b600080600080600060a08688031215613e5557613e546154c5565b5b6000613e6388828901613ad9565b9550506020613e7488828901613ad9565b9450506040613e8588828901613ca6565b9350506060613e9688828901613ca6565b925050608086013567ffffffffffffffff811115613eb757613eb66154bb565b5b613ec388828901613c4a565b9150509295509295909350565b600080600060608486031215613ee957613ee86154c5565b5b6000613ef786828701613ad9565b935050602084013567ffffffffffffffff811115613f1857613f176154bb565b5b613f2486828701613bdd565b925050604084013567ffffffffffffffff811115613f4557613f446154bb565b5b613f5186828701613bdd565b9150509250925092565b60008060408385031215613f7257613f716154c5565b5b6000613f8085828601613ad9565b9250506020613f9185828601613c0b565b9150509250929050565b60008060408385031215613fb257613fb16154c5565b5b6000613fc085828601613ad9565b9250506020613fd185828601613ca6565b9150509250929050565b600080600060608486031215613ff457613ff36154c5565b5b600061400286828701613ad9565b935050602061401386828701613ca6565b925050604061402486828701613ca6565b9150509250925092565b60008060008060408587031215614048576140476154c5565b5b600085013567ffffffffffffffff811115614066576140656154bb565b5b61407287828801613b03565b9450945050602085013567ffffffffffffffff811115614095576140946154bb565b5b6140a187828801613b87565b925092505092959194509250565b600080604083850312156140c6576140c56154c5565b5b600083013567ffffffffffffffff8111156140e4576140e36154bb565b5b6140f085828601613b59565b925050602083013567ffffffffffffffff811115614111576141106154bb565b5b61411d85828601613bdd565b9150509250929050565b6000806020838503121561413e5761413d6154c5565b5b600083013567ffffffffffffffff81111561415c5761415b6154bb565b5b61416885828601613b87565b92509250509250929050565b60006020828403121561418a576141896154c5565b5b600061419884828501613c20565b91505092915050565b6000602082840312156141b7576141b66154c5565b5b60006141c584828501613c35565b91505092915050565b6000602082840312156141e4576141e36154c5565b5b600082013567ffffffffffffffff811115614202576142016154bb565b5b61420e84828501613c78565b91505092915050565b60006020828403121561422d5761422c6154c5565b5b600061423b84828501613ca6565b91505092915050565b60006020828403121561425a576142596154c5565b5b600061426884828501613cbb565b91505092915050565b600061427d8383614894565b60208301905092915050565b600061429583836148b2565b60208301905092915050565b6142aa816151fa565b82525050565b60006142bc8385615096565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156142ef576142ee6154c0565b5b60208302925061430083858461527b565b82840190509392505050565b600061431782615050565b6143218185615096565b935061432c83615030565b8060005b8381101561435d5781516143448882614271565b975061434f8361507c565b925050600181019050614330565b5085935050505092915050565b60006143758261505b565b61437f81856150a7565b935061438a83615040565b8060005b838110156143bb5781516143a28882614289565b97506143ad83615089565b92505060018101905061438e565b5085935050505092915050565b6143d18161520c565b82525050565b60006143e282615066565b6143ec81856150b8565b93506143fc81856020860161528a565b614405816154ca565b840191505092915050565b600061441b82615071565b61442581856150c9565b935061443581856020860161528a565b61443e816154ca565b840191505092915050565b600061445482615071565b61445e81856150da565b935061446e81856020860161528a565b80840191505092915050565b60006144876034836150c9565b9150614492826154e8565b604082019050919050565b60006144aa6028836150c9565b91506144b582615537565b604082019050919050565b60006144cd6015836150c9565b91506144d882615586565b602082019050919050565b60006144f0602b836150c9565b91506144fb826155af565b604082019050919050565b60006145136026836150c9565b915061451e826155fe565b604082019050919050565b60006145366024836150c9565b91506145418261564d565b604082019050919050565b60006145596029836150c9565b91506145648261569c565b604082019050919050565b600061457c601a836150c9565b9150614587826156eb565b602082019050919050565b600061459f6026836150c9565b91506145aa82615714565b604082019050919050565b60006145c2600e836150c9565b91506145cd82615763565b602082019050919050565b60006145e5601b836150c9565b91506145f08261578c565b602082019050919050565b60006146086025836150c9565b9150614613826157b5565b604082019050919050565b600061462b6032836150c9565b915061463682615804565b604082019050919050565b600061464e6023836150c9565b915061465982615853565b604082019050919050565b6000614671602a836150c9565b915061467c826158a2565b604082019050919050565b60006146946020836150c9565b915061469f826158f1565b602082019050919050565b60006146b76017836150c9565b91506146c28261591a565b602082019050919050565b60006146da6013836150c9565b91506146e582615943565b602082019050919050565b60006146fd6015836150c9565b91506147088261596c565b602082019050919050565b60006147206016836150c9565b915061472b82615995565b602082019050919050565b60006147436014836150c9565b915061474e826159be565b602082019050919050565b60006147666018836150c9565b9150614771826159e7565b602082019050919050565b60006147896019836150c9565b915061479482615a10565b602082019050919050565b60006147ac6029836150c9565b91506147b782615a39565b604082019050919050565b60006147cf6029836150c9565b91506147da82615a88565b604082019050919050565b60006147f26017836150c9565b91506147fd82615ad7565b602082019050919050565b60006148156028836150c9565b915061482082615b00565b604082019050919050565b60006148386021836150c9565b915061484382615b4f565b604082019050919050565b600061485b601f836150c9565b915061486682615b9e565b602082019050919050565b600061487e6028836150c9565b915061488982615bc7565b604082019050919050565b61489d81615264565b82525050565b6148ac81615264565b82525050565b6148bb8161526e565b82525050565b60006148cd8285614449565b91506148d98284614449565b91508190509392505050565b60006020820190506148fa60008301846142a1565b92915050565b600060a08201905061491560008301886142a1565b61492260208301876142a1565b8181036040830152614934818661430c565b90508181036060830152614948818561430c565b9050818103608083015261495c81846143d7565b90509695505050505050565b600060a08201905061497d60008301886142a1565b61498a60208301876142a1565b61499760408301866148a3565b6149a460608301856148a3565b81810360808301526149b681846143d7565b90509695505050505050565b60006040820190506149d760008301866142a1565b81810360208301526149ea8184866142b0565b9050949350505050565b6000604082019050614a0960008301856142a1565b614a1660208301846148a3565b9392505050565b60006020820190508181036000830152614a37818461430c565b905092915050565b60006040820190508181036000830152614a59818561430c565b90508181036020830152614a6d818461430c565b90509392505050565b60006060820190508181036000830152614a90818761430c565b90508181036020830152614aa4818661436a565b90508181036040830152614ab98184866142b0565b905095945050505050565b60006060820190508181036000830152614ade818661430c565b90508181036020830152614af2818561436a565b90508181036040830152614b06818461430c565b9050949350505050565b6000602082019050614b2560008301846143c8565b92915050565b60006020820190508181036000830152614b458184614410565b905092915050565b60006020820190508181036000830152614b668161447a565b9050919050565b60006020820190508181036000830152614b868161449d565b9050919050565b60006020820190508181036000830152614ba6816144c0565b9050919050565b60006020820190508181036000830152614bc6816144e3565b9050919050565b60006020820190508181036000830152614be681614506565b9050919050565b60006020820190508181036000830152614c0681614529565b9050919050565b60006020820190508181036000830152614c268161454c565b9050919050565b60006020820190508181036000830152614c468161456f565b9050919050565b60006020820190508181036000830152614c6681614592565b9050919050565b60006020820190508181036000830152614c86816145b5565b9050919050565b60006020820190508181036000830152614ca6816145d8565b9050919050565b60006020820190508181036000830152614cc6816145fb565b9050919050565b60006020820190508181036000830152614ce68161461e565b9050919050565b60006020820190508181036000830152614d0681614641565b9050919050565b60006020820190508181036000830152614d2681614664565b9050919050565b60006020820190508181036000830152614d4681614687565b9050919050565b60006020820190508181036000830152614d66816146aa565b9050919050565b60006020820190508181036000830152614d86816146cd565b9050919050565b60006020820190508181036000830152614da6816146f0565b9050919050565b60006020820190508181036000830152614dc681614713565b9050919050565b60006020820190508181036000830152614de681614736565b9050919050565b60006020820190508181036000830152614e0681614759565b9050919050565b60006020820190508181036000830152614e268161477c565b9050919050565b60006020820190508181036000830152614e468161479f565b9050919050565b60006020820190508181036000830152614e66816147c2565b9050919050565b60006020820190508181036000830152614e86816147e5565b9050919050565b60006020820190508181036000830152614ea681614808565b9050919050565b60006020820190508181036000830152614ec68161482b565b9050919050565b60006020820190508181036000830152614ee68161484e565b9050919050565b60006020820190508181036000830152614f0681614871565b9050919050565b6000602082019050614f2260008301846148a3565b92915050565b6000604082019050614f3d60008301856148a3565b614f4a60208301846148a3565b9392505050565b6000614f5b614f6c565b9050614f6782826152ef565b919050565b6000604051905090565b600067ffffffffffffffff821115614f9157614f90615456565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614fbd57614fbc615456565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614fe957614fe8615456565b5b614ff2826154ca565b9050602081019050919050565b600067ffffffffffffffff82111561501a57615019615456565b5b615023826154ca565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006150f082615264565b91506150fb83615264565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151305761512f61539a565b5b828201905092915050565b600061514682615264565b915061515183615264565b925082615161576151606153c9565b5b828204905092915050565b600061517782615264565b915061518283615264565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151bb576151ba61539a565b5b828202905092915050565b60006151d182615264565b91506151dc83615264565b9250828210156151ef576151ee61539a565b5b828203905092915050565b600061520582615244565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156152a857808201518184015260208101905061528d565b838111156152b7576000848401525b50505050565b600060028204905060018216806152d557607f821691505b602082108114156152e9576152e86153f8565b5b50919050565b6152f8826154ca565b810181811067ffffffffffffffff8211171561531757615316615456565b5b80604052505050565b600061532b82615264565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561535e5761535d61539a565b5b600182019050919050565b600061537482615264565b915061537f83615264565b92508261538f5761538e6153c9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156154a45760046000803e6154a16000516154db565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f446f65736e2774206f776e2074686520434f4f4b2e0000000000000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f526571756972657320636f6e747261637420616464726573732e000000000000600082015250565b7f636f6f6b496473206d757374206d6174636820636f6e7472616374496473206c60008201527f656e6774682e0000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f75676820657468000000000000000000000000000000000000600082015250565b7f446f65736e2774206f776e2074686520696e6772656469656e742e0000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d6178696d756d20333220696e6772656469656e74732e000000000000000000600082015250565b7f4d61726b65742061696e74206f70656e20726e00000000000000000000000000600082015250565b7f446f65736e2774206f776e2074686520504153532e0000000000000000000000600082015250565b7f4d696e696d756d203320696e6772656469656e74732e00000000000000000000600082015250565b7f4d61726b65742061696e74206f70656e20726e2e000000000000000000000000600082015250565b7f546f6b656e20697320206e6f6e2d72656465656d61626c650000000000000000600082015250565b7f546865206b69746368656e2061696e74206f70656e20726e2e00000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20616c72656164792072656465656d65642e000000000000000000600082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f6e6c792032302063616e206265206d696e74656420617420612074696d6500600082015250565b7f496e73756666696369656e7420737570706c79204f522044756d70737465722060008201527f697320656d707479000000000000000000000000000000000000000000000000602082015250565b600060443d1015615c2657615ca9565b615c2e614f6c565b60043d036004823e80513d602482011167ffffffffffffffff82111715615c56575050615ca9565b808201805167ffffffffffffffff811115615c745750505050615ca9565b80602083010160043d038501811115615c91575050505050615ca9565b615ca0826020018501866152ef565b82955050505050505b90565b615cb5816151fa565b8114615cc057600080fd5b50565b615ccc8161520c565b8114615cd757600080fd5b50565b615ce381615218565b8114615cee57600080fd5b50565b615cfa81615264565b8114615d0557600080fd5b5056fea26469706673582212205c1d95e413f903b29c0d6aa253e70d4f03236494a6381665638dc944e155a5d664736f6c63430008070033
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.