ERC-721
Overview
Max Total Supply
350 ZSU
Holders
176
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ZSULoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ZSUStudentOrientation
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "hardhat/console.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // xm = "would exceed max supply" // tm = "Too many tokens" // na = "null address" // it = "invalid token" // nw = "no multisig wallet set" // pna = "presale not active" // pa = "public sale not active" // now = "not on white list" // if = "Insufficient funds" // am = "All tokens minted" contract ZSUStudentOrientation is ERC721Enumerable, Ownable { using Strings for uint256; using SafeMath for uint256; string public provenanceUri; string public courseCreditsUri; uint256 public constant zombiePrice = 60000000000000000; //0.06 ETH uint256 public constant maxZombiePurchasePreSale = 3; uint256 public constant maxZombiePurchase = 10; uint256 public RESERVE = 500; uint256 public PUBLIC = 8388; uint256 public MAX_LEGENDARY_COUNT = 15; uint256 public MAX_ZOMBIES = RESERVE + PUBLIC; uint256 public totalReserveSupply; uint256 public totalZombieSupply; uint256 public totalLegendarySupply; bool public isPreSaleActive = false; bool public isPublicSaleActive = false; struct Student { uint256 studentId; uint8 classLevel; uint8 hasCustomUri; string customUri; } mapping(uint256 => Student) public Students; mapping(address => bool) private _PreSaleWhiteList; mapping(address => uint256) private _PreSaleWhiteListClaimed; mapping(uint256 => bool) private _isLegendary; mapping(uint256 => uint256) private _hasCustomUri; bool public reveal = false; string private baseURI; address public MULTI_WALLET = address(this); constructor( string memory name, string memory symbol, string memory startingUri, string memory creditsUri, address multiSigWallet ) ERC721(name, symbol) { baseURI = startingUri; courseCreditsUri = creditsUri; MULTI_WALLET = multiSigWallet; uint256 tokenId = MAX_LEGENDARY_COUNT + 1; setStudentId(tokenId, msg.sender); totalZombieSupply += 1; totalReserveSupply += 1; _safeMint(msg.sender, tokenId); } function toggleWhiteList(address[] calldata addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { require(addresses[i] != address(0), "na"); _PreSaleWhiteList[addresses[i]] = !_PreSaleWhiteList[addresses[i]]; _PreSaleWhiteListClaimed[addresses[i]] > 0 ? _PreSaleWhiteListClaimed[addresses[i]] : 0; } } function isOnWhiteList(address addr) external view returns (bool) { return _PreSaleWhiteList[addr]; } function PreSaleClaimedBy(address owner) external view returns (uint256) { require(owner != address(0), "na"); return _PreSaleWhiteListClaimed[owner]; } function _generateRandomStudentId(string memory _identifier) public pure returns (uint256) { return uint256(keccak256(abi.encodePacked(_identifier))) % 10**24; //10 is modulus and 24 is student id digits based on number of layers } function getStudentId(uint256 tokenId) public view returns (uint256) { require(tokenId > 0, "it"); return Students[tokenId].studentId; } function setStudentId(uint256 tokenId, address wallet) private { Students[tokenId] = Student(_generateRandomStudentId(string(abi.encodePacked(tokenId.toString(), wallet))), 0, 0, ""); } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), 'token does not exist'); if (reveal) { if(Students[tokenId].hasCustomUri == 1) { return string(abi.encodePacked(Students[tokenId].customUri, tokenId.toString())); } else { return string(abi.encodePacked(baseURI, tokenId.toString())); } } else { return baseURI; } } function getCustomURI(uint256 tokenId, bool isCourseCredits) public view returns (string memory) { require(_exists(tokenId), 'token does not exist'); if(isCourseCredits) { return string(abi.encodePacked(courseCreditsUri, tokenId.toString())); } else { return provenanceUri; } } function toggleSale(uint togglePreSale) public onlyOwner { if(togglePreSale == 1) { isPreSaleActive = !isPreSaleActive; isPublicSaleActive = false; } else { isPreSaleActive = false; isPublicSaleActive = !isPublicSaleActive; } } function setURI(string memory newURI, uint256 uriType) public onlyOwner { // normal or reveal = 1 // provenance = 2 if(uriType == 1) { baseURI = newURI; } else if(uriType == 2) { provenanceUri = newURI; } } function toggleReveal(string memory newBaseURI) public onlyOwner { reveal = !reveal; setURI(newBaseURI, 1); } function withdraw() external onlyOwner { require(MULTI_WALLET != address(this), "nw"); payable(MULTI_WALLET).transfer(address(this).balance); } function sharedMintFunc(address wallet) private { uint256 tokenId = MAX_LEGENDARY_COUNT + totalZombieSupply + 1; setStudentId(tokenId, msg.sender); totalZombieSupply += 1; _safeMint(wallet, tokenId); } function mintPreSale(uint256 numberOfTokens) external payable { require(isPreSaleActive, "pna"); require(_PreSaleWhiteList[msg.sender], "now"); require(totalZombieSupply < MAX_ZOMBIES, "am"); require(totalZombieSupply + numberOfTokens <= PUBLIC, "xm"); require(_PreSaleWhiteListClaimed[msg.sender] + numberOfTokens <= maxZombiePurchasePreSale, "xm"); require(numberOfTokens <= maxZombiePurchasePreSale, "tm"); require(zombiePrice * numberOfTokens <= msg.value, "if"); for (uint256 i = 0; i < numberOfTokens; i++) { _PreSaleWhiteListClaimed[msg.sender] += 1; sharedMintFunc(msg.sender); } } function mintPublic(uint256 numberOfTokens) external payable { require(isPublicSaleActive, "pa"); require(totalZombieSupply < MAX_ZOMBIES, "am"); require(numberOfTokens <= maxZombiePurchase, "tm"); require(totalZombieSupply + numberOfTokens <= PUBLIC, "xm"); require(zombiePrice * numberOfTokens <= msg.value, "if"); for (uint256 i = 0; i < numberOfTokens; i++) { sharedMintFunc(msg.sender); } } function mintReserve( address[] calldata addresses, uint256 numberOfTokensPerAddress, bool isLegendary ) external payable onlyOwner { uint totalToMint = SafeMath.mul(numberOfTokensPerAddress, uint256(addresses.length)); require(totalToMint < (MAX_ZOMBIES - totalZombieSupply), "am"); require(totalToMint < (RESERVE - totalReserveSupply), "xm"); if(isLegendary) { require(totalToMint < (MAX_LEGENDARY_COUNT - totalLegendarySupply), "exceed max legendary"); } for (uint256 i = 0; i < addresses.length; i++) { for (uint256 t = 0; t < numberOfTokensPerAddress; t++) { if(isLegendary) { uint256 tokenId = totalLegendarySupply + 1; setStudentId(tokenId, msg.sender); totalReserveSupply += 1; totalZombieSupply += 1; totalLegendarySupply += 1; _safeMint(addresses[i], tokenId); } else { totalReserveSupply += 1; sharedMintFunc(addresses[i]); } } } } function moveFromReserve(uint256 total) public onlyOwner { require(total <= RESERVE - totalReserveSupply, "na"); RESERVE = RESERVE - total; PUBLIC = PUBLIC + total; } // Let's not have to use this, huh? function burn(uint256 _newMax) public onlyOwner { require(totalZombieSupply < MAX_ZOMBIES, "am"); require(_newMax >= totalZombieSupply, "Can't burn"); MAX_ZOMBIES = _newMax; } }
// SPDX-License-Identifier: MIT pragma solidity >= 0.4.22 <0.9.0; library console { address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } function logUint(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } function log(uint p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } function log(uint p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } function log(uint p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } function log(string memory p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); } function log(uint p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); } function log(uint p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); } function log(uint p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); } function log(uint p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); } function log(uint p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); } function log(uint p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); } function log(uint p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); } function log(uint p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); } function log(uint p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); } function log(uint p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); } function log(uint p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); } function log(uint p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); } function log(uint p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); } function log(uint p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); } function log(uint p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); } function log(string memory p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); } function log(string memory p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); } function log(string memory p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); } function log(string memory p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); } function log(bool p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); } function log(bool p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); } function log(bool p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); } function log(address p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); } function log(address p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); } function log(address p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // 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 no longer needed starting with Solidity 0.8. 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 pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"startingUri","type":"string"},{"internalType":"string","name":"creditsUri","type":"string"},{"internalType":"address","name":"multiSigWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_LEGENDARY_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ZOMBIES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MULTI_WALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"PreSaleClaimedBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"Students","outputs":[{"internalType":"uint256","name":"studentId","type":"uint256"},{"internalType":"uint8","name":"classLevel","type":"uint8"},{"internalType":"uint8","name":"hasCustomUri","type":"uint8"},{"internalType":"string","name":"customUri","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_identifier","type":"string"}],"name":"_generateRandomStudentId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"courseCreditsUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bool","name":"isCourseCredits","type":"bool"}],"name":"getCustomURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getStudentId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isOnWhiteList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPreSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxZombiePurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxZombiePurchasePreSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPreSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256","name":"numberOfTokensPerAddress","type":"uint256"},{"internalType":"bool","name":"isLegendary","type":"bool"}],"name":"mintReserve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"total","type":"uint256"}],"name":"moveFromReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"},{"internalType":"uint256","name":"uriType","type":"uint256"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"togglePreSale","type":"uint256"}],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"toggleWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLegendarySupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReserveSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalZombieSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zombiePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526101f4600d556120c4600e55600f8055600e54600d54620000269190620015df565b6010556000601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff0219169083151502179055506000601a60006101000a81548160ff02191690831515021790555030601c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000c857600080fd5b5060405162007875380380620078758339818101604052810190620000ee9190620011e5565b848481600090805190602001906200010892919062001069565b5080600190805190602001906200012192919062001069565b50505062000144620001386200023460201b60201c565b6200023c60201b60201c565b82601b90805190602001906200015c92919062001069565b5081600c90805190602001906200017592919062001069565b5080601c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060006001600f54620001ca9190620015df565b9050620001de81336200030260201b60201c565b600160126000828254620001f39190620015df565b925050819055506001601160008282546200020f9190620015df565b925050819055506200022833826200040760201b60201c565b50505050505062001a67565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60405180608001604052806200035662000327856200042d60201b62002f3f1760201c565b846040516020016200033b92919062001435565b604051602081830303815290604052620005ef60201b60201c565b8152602001600060ff168152602001600060ff16815260200160405180602001604052806000815250815250601560008481526020019081526020016000206000820151816000015560208201518160010160006101000a81548160ff021916908360ff16021790555060408201518160010160016101000a81548160ff021916908360ff1602179055506060820151816002019080519060200190620003ff92919062001069565b509050505050565b620004298282604051806020016040528060008152506200063b60201b60201c565b5050565b6060600082141562000477576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050620005ea565b600082905060005b60008214620004af5780806200049590620017bb565b915050600a82620004a791906200163c565b91506200047f565b60008167ffffffffffffffff811115620004f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015620005255781602001600182028036833780820191505090505b5090505b60008514620005e35760018262000541919062001674565b9150600a8562000552919062001831565b6030620005609190620015df565b60f81b8183815181106200059d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85620005db91906200163c565b945062000529565b8093505050505b919050565b600069d3c21bcecceda1000000826040516020016200060f91906200141c565b6040516020818303038152906040528051906020012060001c62000634919062001831565b9050919050565b6200064d8383620006a960201b60201c565b6200066260008484846200088f60201b60201c565b620006a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200069b90620014b5565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200071c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000713906200151b565b60405180910390fd5b6200072d8162000a4960201b60201c565b1562000770576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200076790620014d7565b60405180910390fd5b620007846000838362000ab560201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620007d69190620015df565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000620008bd8473ffffffffffffffffffffffffffffffffffffffff1662000bfc60201b620030ec1760201c565b1562000a3c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620008ef6200023460201b60201c565b8786866040518563ffffffff1660e01b815260040162000913949392919062001461565b602060405180830381600087803b1580156200092e57600080fd5b505af19250505080156200096257506040513d601f19601f820116820180604052508101906200095f9190620011b9565b60015b620009eb573d806000811462000995576040519150601f19603f3d011682016040523d82523d6000602084013e6200099a565b606091505b50600081511415620009e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009da90620014b5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062000a41565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b62000acd83838362000c0f60201b620030ff1760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141562000b1a5762000b148162000c1460201b60201c565b62000b62565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000b615762000b60838262000c5d60201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000baf5762000ba98162000dda60201b60201c565b62000bf7565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000bf65762000bf5828262000f2260201b60201c565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600162000c778462000fae60201b62001bd71760201c565b62000c83919062001674565b905060006007600084815260200190815260200160002054905081811462000d69576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905062000df0919062001674565b905060006009600084815260200190815260200160002054905060006008838154811062000e47577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811062000e90577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548062000f06577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600062000f3a8362000fae60201b62001bd71760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562001022576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200101990620014f9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b82805462001077906200174f565b90600052602060002090601f0160209004810192826200109b5760008555620010e7565b82601f10620010b657805160ff1916838001178555620010e7565b82800160010185558215620010e7579182015b82811115620010e6578251825591602001919060010190620010c9565b5b509050620010f69190620010fa565b5090565b5b8082111562001115576000816000905550600101620010fb565b5090565b6000620011306200112a8462001566565b6200153d565b9050828152602081018484840111156200114957600080fd5b6200115684828562001719565b509392505050565b6000815190506200116f8162001a33565b92915050565b600081519050620011868162001a4d565b92915050565b600082601f8301126200119e57600080fd5b8151620011b084826020860162001119565b91505092915050565b600060208284031215620011cc57600080fd5b6000620011dc8482850162001175565b91505092915050565b600080600080600060a08688031215620011fe57600080fd5b600086015167ffffffffffffffff8111156200121957600080fd5b62001227888289016200118c565b955050602086015167ffffffffffffffff8111156200124557600080fd5b62001253888289016200118c565b945050604086015167ffffffffffffffff8111156200127157600080fd5b6200127f888289016200118c565b935050606086015167ffffffffffffffff8111156200129d57600080fd5b620012ab888289016200118c565b9250506080620012be888289016200115e565b9150509295509295909350565b620012d681620016af565b82525050565b620012f1620012eb82620016af565b62001809565b82525050565b600062001304826200159c565b620013108185620015b2565b93506200132281856020860162001719565b6200132d8162001925565b840191505092915050565b60006200134582620015a7565b620013518185620015d4565b93506200136381856020860162001719565b80840191505092915050565b60006200137e603283620015c3565b91506200138b8262001943565b604082019050919050565b6000620013a5601c83620015c3565b9150620013b28262001992565b602082019050919050565b6000620013cc602a83620015c3565b9150620013d982620019bb565b604082019050919050565b6000620013f3602083620015c3565b9150620014008262001a0a565b602082019050919050565b62001416816200170f565b82525050565b60006200142a828462001338565b915081905092915050565b600062001443828562001338565b9150620014518284620012dc565b6014820191508190509392505050565b6000608082019050620014786000830187620012cb565b620014876020830186620012cb565b6200149660408301856200140b565b8181036060830152620014aa8184620012f7565b905095945050505050565b60006020820190508181036000830152620014d0816200136f565b9050919050565b60006020820190508181036000830152620014f28162001396565b9050919050565b600060208201905081810360008301526200151481620013bd565b9050919050565b600060208201905081810360008301526200153681620013e4565b9050919050565b6000620015496200155c565b905062001557828262001785565b919050565b6000604051905090565b600067ffffffffffffffff821115620015845762001583620018f6565b5b6200158f8262001925565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000620015ec826200170f565b9150620015f9836200170f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562001631576200163062001869565b5b828201905092915050565b600062001649826200170f565b915062001656836200170f565b92508262001669576200166862001898565b5b828204905092915050565b600062001681826200170f565b91506200168e836200170f565b925082821015620016a457620016a362001869565b5b828203905092915050565b6000620016bc82620016ef565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620017395780820151818401526020810190506200171c565b8381111562001749576000848401525b50505050565b600060028204905060018216806200176857607f821691505b602082108114156200177f576200177e620018c7565b5b50919050565b620017908262001925565b810181811067ffffffffffffffff82111715620017b257620017b1620018f6565b5b80604052505050565b6000620017c8826200170f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415620017fe57620017fd62001869565b5b600182019050919050565b600062001816826200181d565b9050919050565b60006200182a8262001936565b9050919050565b60006200183e826200170f565b91506200184b836200170f565b9250826200185e576200185d62001898565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b62001a3e81620016af565b811462001a4a57600080fd5b50565b62001a5881620016c3565b811462001a6457600080fd5b50565b615dfe8062001a776000396000f3fe6080604052600436106102e45760003560e01c8063715018a611610190578063b88d4fde116100dc578063ddc516c811610095578063ecb223ab1161006f578063ecb223ab14610b5f578063efd0cbf914610b9c578063f2fde38b14610bb8578063f4ead1e814610be1576102e4565b8063ddc516c814610ace578063e72f984314610af9578063e985e9c514610b22576102e4565b8063b88d4fde146109cd578063b9884772146109f6578063c1179a7f14610a12578063c87b56dd14610a3d578063ccf2a37614610a7a578063cdddf22114610aa3576102e4565b8063920bcbd6116101495780639d044ed3116101235780639d044ed3146109235780639d2cc4361461094e578063a22cb46514610979578063a475b5dd146109a2576102e4565b8063920bcbd61461087e578063939feab7146108bb57806395d89b41146108f8576102e4565b8063715018a61461079f5780637da29baf146107b657806383d404d8146107e15780638955f0d21461080c5780638da5cb5b1461082857806391f4f96c14610853576102e4565b80633ccfd60b1161024f5780635d3e8898116102085780636460ed8f116101e25780636460ed8f146106e357806367db3b8f1461070e578063698c28601461073757806370a0823114610762576102e4565b80635d3e8898146106525780635d8c2efd1461067d5780636352211e146106a6576102e4565b80633ccfd60b1461054157806342842e0e1461055857806342966c68146105815780634d416716146105aa5780634f6ccce7146105d557806357c8d71d14610612576102e4565b80631e84c413116102a15780631e84c4131461040d57806323b872dd146104385780632646f57d146104615780632f745c591461048a5780633508767c146104c75780633cac51fb14610504576102e4565b806301ffc9a7146102e957806306fdde0314610326578063081812fc1461035157806308eaf3791461038e578063095ea7b3146103b957806318160ddd146103e2575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b9190614615565b610c0c565b60405161031d9190614dba565b60405180910390f35b34801561033257600080fd5b5061033b610c86565b6040516103489190614dd5565b60405180910390f35b34801561035d57600080fd5b50610378600480360381019061037391906146fc565b610d18565b6040516103859190614d53565b60405180910390f35b34801561039a57600080fd5b506103a3610d9d565b6040516103b09190614d53565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190614528565b610dc3565b005b3480156103ee57600080fd5b506103f7610edb565b60405161040491906151b7565b60405180910390f35b34801561041957600080fd5b50610422610ee8565b60405161042f9190614dba565b60405180910390f35b34801561044457600080fd5b5061045f600480360381019061045a9190614422565b610efb565b005b34801561046d57600080fd5b5061048860048036038101906104839190614564565b610f5b565b005b34801561049657600080fd5b506104b160048036038101906104ac9190614528565b611322565b6040516104be91906151b7565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e99190614667565b6113c7565b6040516104fb91906151b7565b60405180910390f35b34801561051057600080fd5b5061052b600480360381019061052691906146fc565b61140f565b60405161053891906151b7565b60405180910390f35b34801561054d57600080fd5b50610556611471565b005b34801561056457600080fd5b5061057f600480360381019061057a9190614422565b6115e9565b005b34801561058d57600080fd5b506105a860048036038101906105a391906146fc565b611609565b005b3480156105b657600080fd5b506105bf61171a565b6040516105cc9190614dd5565b60405180910390f35b3480156105e157600080fd5b506105fc60048036038101906105f791906146fc565b6117a8565b60405161060991906151b7565b60405180910390f35b34801561061e57600080fd5b50610639600480360381019061063491906146fc565b61183f565b60405161064994939291906151d2565b60405180910390f35b34801561065e57600080fd5b50610667611911565b60405161067491906151b7565b60405180910390f35b34801561068957600080fd5b506106a4600480360381019061069f9190614667565b611916565b005b3480156106b257600080fd5b506106cd60048036038101906106c891906146fc565b6119ca565b6040516106da9190614d53565b60405180910390f35b3480156106ef57600080fd5b506106f8611a7c565b6040516107059190614dd5565b60405180910390f35b34801561071a57600080fd5b50610735600480360381019061073091906146a8565b611b0a565b005b34801561074357600080fd5b5061074c611bd1565b60405161075991906151b7565b60405180910390f35b34801561076e57600080fd5b50610789600480360381019061078491906143bd565b611bd7565b60405161079691906151b7565b60405180910390f35b3480156107ab57600080fd5b506107b4611c8f565b005b3480156107c257600080fd5b506107cb611d17565b6040516107d891906151b7565b60405180910390f35b3480156107ed57600080fd5b506107f6611d1d565b60405161080391906151b7565b60405180910390f35b610826600480360381019061082191906145a9565b611d28565b005b34801561083457600080fd5b5061083d612036565b60405161084a9190614d53565b60405180910390f35b34801561085f57600080fd5b50610868612060565b60405161087591906151b7565b60405180910390f35b34801561088a57600080fd5b506108a560048036038101906108a091906143bd565b612066565b6040516108b291906151b7565b60405180910390f35b3480156108c757600080fd5b506108e260048036038101906108dd9190614725565b61211e565b6040516108ef9190614dd5565b60405180910390f35b34801561090457600080fd5b5061090d612234565b60405161091a9190614dd5565b60405180910390f35b34801561092f57600080fd5b506109386122c6565b6040516109459190614dba565b60405180910390f35b34801561095a57600080fd5b506109636122d9565b60405161097091906151b7565b60405180910390f35b34801561098557600080fd5b506109a0600480360381019061099b91906144ec565b6122df565b005b3480156109ae57600080fd5b506109b7612460565b6040516109c49190614dba565b60405180910390f35b3480156109d957600080fd5b506109f460048036038101906109ef9190614471565b612473565b005b610a106004803603810190610a0b91906146fc565b6124d5565b005b348015610a1e57600080fd5b50610a276127f1565b604051610a3491906151b7565b60405180910390f35b348015610a4957600080fd5b50610a646004803603810190610a5f91906146fc565b6127f7565b604051610a719190614dd5565b60405180910390f35b348015610a8657600080fd5b50610aa16004803603810190610a9c91906146fc565b612990565b005b348015610aaf57600080fd5b50610ab8612a89565b604051610ac591906151b7565b60405180910390f35b348015610ada57600080fd5b50610ae3612a8f565b604051610af091906151b7565b60405180910390f35b348015610b0557600080fd5b50610b206004803603810190610b1b91906146fc565b612a94565b005b348015610b2e57600080fd5b50610b496004803603810190610b4491906143e6565b612bac565b604051610b569190614dba565b60405180910390f35b348015610b6b57600080fd5b50610b866004803603810190610b8191906143bd565b612c40565b604051610b939190614dba565b60405180910390f35b610bb66004803603810190610bb191906146fc565b612c96565b005b348015610bc457600080fd5b50610bdf6004803603810190610bda91906143bd565b612e41565b005b348015610bed57600080fd5b50610bf6612f39565b604051610c0391906151b7565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c7f5750610c7e82613104565b5b9050919050565b606060008054610c95906154d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc1906154d5565b8015610d0e5780601f10610ce357610100808354040283529160200191610d0e565b820191906000526020600020905b815481529060010190602001808311610cf157829003601f168201915b5050505050905090565b6000610d23826131e6565b610d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5990615057565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610dce826119ca565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e36906150f7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e5e613252565b73ffffffffffffffffffffffffffffffffffffffff161480610e8d5750610e8c81610e87613252565b612bac565b5b610ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec390614f97565b60405180910390fd5b610ed6838361325a565b505050565b6000600880549050905090565b601460019054906101000a900460ff1681565b610f0c610f06613252565b82613313565b610f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4290615117565b60405180910390fd5b610f568383836133f1565b505050565b610f63613252565b73ffffffffffffffffffffffffffffffffffffffff16610f81612036565b73ffffffffffffffffffffffffffffffffffffffff1614610fd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fce90615097565b60405180910390fd5b60005b8282905081101561131d57600073ffffffffffffffffffffffffffffffffffffffff16838383818110611036577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061104b91906143bd565b73ffffffffffffffffffffffffffffffffffffffff1614156110a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109990614e97565b60405180910390fd5b601660008484848181106110df577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906110f491906143bd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156016600085858581811061117a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061118f91906143bd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060006017600085858581811061121f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061123491906143bd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161127b576000611309565b601760008484848181106112b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906112cd91906143bd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020545b50808061131590615538565b915050610fda565b505050565b600061132d83611bd7565b821061136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136590614e37565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600069d3c21bcecceda1000000826040516020016113e59190614cf0565b6040516020818303038152906040528051906020012060001c61140891906155a5565b9050919050565b6000808211611453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144a90614ff7565b60405180910390fd5b60156000838152602001908152602001600020600001549050919050565b611479613252565b73ffffffffffffffffffffffffffffffffffffffff16611497612036565b73ffffffffffffffffffffffffffffffffffffffff16146114ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e490615097565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff16601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561157e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157590614df7565b60405180910390fd5b601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156115e6573d6000803e3d6000fd5b50565b61160483838360405180602001604052806000815250612473565b505050565b611611613252565b73ffffffffffffffffffffffffffffffffffffffff1661162f612036565b73ffffffffffffffffffffffffffffffffffffffff1614611685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167c90615097565b60405180910390fd5b601054601254106116cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c290614ed7565b60405180910390fd5b601254811015611710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170790615157565b60405180910390fd5b8060108190555050565b600b8054611727906154d5565b80601f0160208091040260200160405190810160405280929190818152602001828054611753906154d5565b80156117a05780601f10611775576101008083540402835291602001916117a0565b820191906000526020600020905b81548152906001019060200180831161178357829003601f168201915b505050505081565b60006117b2610edb565b82106117f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ea90615137565b60405180910390fd5b6008828154811061182d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60156020528060005260406000206000915090508060000154908060010160009054906101000a900460ff16908060010160019054906101000a900460ff169080600201805461188e906154d5565b80601f01602080910402602001604051908101604052809291908181526020018280546118ba906154d5565b80156119075780601f106118dc57610100808354040283529160200191611907565b820191906000526020600020905b8154815290600101906020018083116118ea57829003601f168201915b5050505050905084565b600a81565b61191e613252565b73ffffffffffffffffffffffffffffffffffffffff1661193c612036565b73ffffffffffffffffffffffffffffffffffffffff1614611992576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198990615097565b60405180910390fd5b601a60009054906101000a900460ff1615601a60006101000a81548160ff0219169083151502179055506119c7816001611b0a565b50565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6a90614fd7565b60405180910390fd5b80915050919050565b600c8054611a89906154d5565b80601f0160208091040260200160405190810160405280929190818152602001828054611ab5906154d5565b8015611b025780601f10611ad757610100808354040283529160200191611b02565b820191906000526020600020905b815481529060010190602001808311611ae557829003601f168201915b505050505081565b611b12613252565b73ffffffffffffffffffffffffffffffffffffffff16611b30612036565b73ffffffffffffffffffffffffffffffffffffffff1614611b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7d90615097565b60405180910390fd5b6001811415611bab5781601b9080519060200190611ba5929190614197565b50611bcd565b6002811415611bcc5781600b9080519060200190611bca929190614197565b505b5b5050565b60135481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3f90614fb7565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c97613252565b73ffffffffffffffffffffffffffffffffffffffff16611cb5612036565b73ffffffffffffffffffffffffffffffffffffffff1614611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0290615097565b60405180910390fd5b611d15600061364d565b565b60105481565b66d529ae9e86000081565b611d30613252565b73ffffffffffffffffffffffffffffffffffffffff16611d4e612036565b73ffffffffffffffffffffffffffffffffffffffff1614611da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9b90615097565b60405180910390fd5b6000611db38386869050613713565b9050601254601054611dc591906153de565b8110611e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfd90614ed7565b60405180910390fd5b601154600d54611e1691906153de565b8110611e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4e90614f77565b60405180910390fd5b8115611eaf57601354600f54611e6d91906153de565b8110611eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea590615177565b60405180910390fd5b5b60005b8585905081101561202e5760005b8481101561201a578315611f965760006001601354611edf91906152fd565b9050611eeb8133613729565b600160116000828254611efe91906152fd565b92505081905550600160126000828254611f1891906152fd565b92505081905550600160136000828254611f3291906152fd565b92505081905550611f90888885818110611f75577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611f8a91906143bd565b82613815565b50612007565b600160116000828254611fa991906152fd565b92505081905550612006878784818110611fec577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061200191906143bd565b613833565b5b808061201290615538565b915050611ec0565b50808061202690615538565b915050611eb2565b505050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60115481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ce90614e97565b60405180910390fd5b601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060612129836131e6565b612168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215f90615197565b60405180910390fd5b81156121a057600c61217984612f3f565b60405160200161218a929190614d2f565b604051602081830303815290604052905061222e565b600b80546121ad906154d5565b80601f01602080910402602001604051908101604052809291908181526020018280546121d9906154d5565b80156122265780601f106121fb57610100808354040283529160200191612226565b820191906000526020600020905b81548152906001019060200180831161220957829003601f168201915b505050505090505b92915050565b606060018054612243906154d5565b80601f016020809104026020016040519081016040528092919081815260200182805461226f906154d5565b80156122bc5780601f10612291576101008083540402835291602001916122bc565b820191906000526020600020905b81548152906001019060200180831161229f57829003601f168201915b5050505050905090565b601460009054906101000a900460ff1681565b600d5481565b6122e7613252565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234c90614f17565b60405180910390fd5b8060056000612362613252565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661240f613252565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124549190614dba565b60405180910390a35050565b601a60009054906101000a900460ff1681565b61248461247e613252565b83613313565b6124c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ba90615117565b60405180910390fd5b6124cf84848484613885565b50505050565b601460009054906101000a900460ff16612524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251b90614e17565b60405180910390fd5b601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166125b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a790614f37565b60405180910390fd5b601054601254106125f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ed90614ed7565b60405180910390fd5b600e548160125461260791906152fd565b1115612648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263f90614f77565b60405180910390fd5b600381601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461269591906152fd565b11156126d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cd90614f77565b60405180910390fd5b600381111561271a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271190615077565b60405180910390fd5b348166d529ae9e86000061272e9190615384565b111561276f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276690615037565b60405180910390fd5b60005b818110156127ed576001601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127ca91906152fd565b925050819055506127da33613833565b80806127e590615538565b915050612772565b5050565b600e5481565b6060612802826131e6565b612841576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283890615197565b60405180910390fd5b601a60009054906101000a900460ff16156128fd5760016015600084815260200190815260200160002060010160019054906101000a900460ff1660ff1614156128cb57601560008381526020019081526020016000206002016128a483612f3f565b6040516020016128b5929190614d2f565b604051602081830303815290604052905061298b565b601b6128d683612f3f565b6040516020016128e7929190614d2f565b604051602081830303815290604052905061298b565b601b805461290a906154d5565b80601f0160208091040260200160405190810160405280929190818152602001828054612936906154d5565b80156129835780601f1061295857610100808354040283529160200191612983565b820191906000526020600020905b81548152906001019060200180831161296657829003601f168201915b505050505090505b919050565b612998613252565b73ffffffffffffffffffffffffffffffffffffffff166129b6612036565b73ffffffffffffffffffffffffffffffffffffffff1614612a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0390615097565b60405180910390fd5b601154600d54612a1c91906153de565b811115612a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5590614e97565b60405180910390fd5b80600d54612a6c91906153de565b600d8190555080600e54612a8091906152fd565b600e8190555050565b600f5481565b600381565b612a9c613252565b73ffffffffffffffffffffffffffffffffffffffff16612aba612036565b73ffffffffffffffffffffffffffffffffffffffff1614612b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0790615097565b60405180910390fd5b6001811415612b6357601460009054906101000a900460ff1615601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff021916908315150217905550612ba9565b6000601460006101000a81548160ff021916908315150217905550601460019054906101000a900460ff1615601460016101000a81548160ff0219169083151502179055505b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b601460019054906101000a900460ff16612ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdc906150d7565b60405180910390fd5b60105460125410612d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2290614ed7565b60405180910390fd5b600a811115612d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6690615077565b60405180910390fd5b600e5481601254612d8091906152fd565b1115612dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db890614f77565b60405180910390fd5b348166d529ae9e860000612dd59190615384565b1115612e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0d90615037565b60405180910390fd5b60005b81811015612e3d57612e2a33613833565b8080612e3590615538565b915050612e19565b5050565b612e49613252565b73ffffffffffffffffffffffffffffffffffffffff16612e67612036565b73ffffffffffffffffffffffffffffffffffffffff1614612ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb490615097565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2490614e77565b60405180910390fd5b612f368161364d565b50565b60125481565b60606000821415612f87576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130e7565b600082905060005b60008214612fb9578080612fa290615538565b915050600a82612fb29190615353565b9150612f8f565b60008167ffffffffffffffff811115612ffb577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561302d5781602001600182028036833780820191505090505b5090505b600085146130e05760018261304691906153de565b9150600a8561305591906155a5565b603061306191906152fd565b60f81b81838151811061309d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130d99190615353565b9450613031565b8093505050505b919050565b600080823b905060008111915050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806131cf57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806131df57506131de826138e1565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166132cd836119ca565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061331e826131e6565b61335d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335490614f57565b60405180910390fd5b6000613368836119ca565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806133d757508373ffffffffffffffffffffffffffffffffffffffff166133bf84610d18565b73ffffffffffffffffffffffffffffffffffffffff16145b806133e857506133e78185612bac565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16613411826119ca565b73ffffffffffffffffffffffffffffffffffffffff1614613467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345e906150b7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ce90614ef7565b60405180910390fd5b6134e283838361394b565b6134ed60008261325a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461353d91906153de565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461359491906152fd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081836137219190615384565b905092915050565b604051806080016040528061376661374085612f3f565b84604051602001613752929190614d07565b6040516020818303038152906040526113c7565b8152602001600060ff168152602001600060ff16815260200160405180602001604052806000815250815250601560008481526020019081526020016000206000820151816000015560208201518160010160006101000a81548160ff021916908360ff16021790555060408201518160010160016101000a81548160ff021916908360ff160217905550606082015181600201908051906020019061380d929190614197565b509050505050565b61382f828260405180602001604052806000815250613a5f565b5050565b60006001601254600f5461384791906152fd565b61385191906152fd565b905061385d8133613729565b60016012600082825461387091906152fd565b925050819055506138818282613815565b5050565b6138908484846133f1565b61389c84848484613aba565b6138db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138d290614e57565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6139568383836130ff565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139995761399481613c51565b6139d8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146139d7576139d68382613c9a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a1b57613a1681613e07565b613a5a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613a5957613a588282613f4a565b5b5b505050565b613a698383613fc9565b613a766000848484613aba565b613ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aac90614e57565b60405180910390fd5b505050565b6000613adb8473ffffffffffffffffffffffffffffffffffffffff166130ec565b15613c44578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613b04613252565b8786866040518563ffffffff1660e01b8152600401613b269493929190614d6e565b602060405180830381600087803b158015613b4057600080fd5b505af1925050508015613b7157506040513d601f19601f82011682018060405250810190613b6e919061463e565b60015b613bf4573d8060008114613ba1576040519150601f19603f3d011682016040523d82523d6000602084013e613ba6565b606091505b50600081511415613bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613be390614e57565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613c49565b600190505b949350505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613ca784611bd7565b613cb191906153de565b9050600060076000848152602001908152602001600020549050818114613d96576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613e1b91906153de565b9050600060096000848152602001908152602001600020549050600060088381548110613e71577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613eb9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f2e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613f5583611bd7565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614039576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161403090615017565b60405180910390fd5b614042816131e6565b15614082576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407990614eb7565b60405180910390fd5b61408e6000838361394b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546140de91906152fd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546141a3906154d5565b90600052602060002090601f0160209004810192826141c5576000855561420c565b82601f106141de57805160ff191683800117855561420c565b8280016001018555821561420c579182015b8281111561420b5782518255916020019190600101906141f0565b5b509050614219919061421d565b5090565b5b8082111561423657600081600090555060010161421e565b5090565b600061424d61424884615243565b61521e565b90508281526020810184848401111561426557600080fd5b614270848285615493565b509392505050565b600061428b61428684615274565b61521e565b9050828152602081018484840111156142a357600080fd5b6142ae848285615493565b509392505050565b6000813590506142c581615d6c565b92915050565b60008083601f8401126142dd57600080fd5b8235905067ffffffffffffffff8111156142f657600080fd5b60208301915083602082028301111561430e57600080fd5b9250929050565b60008135905061432481615d83565b92915050565b60008135905061433981615d9a565b92915050565b60008151905061434e81615d9a565b92915050565b600082601f83011261436557600080fd5b813561437584826020860161423a565b91505092915050565b600082601f83011261438f57600080fd5b813561439f848260208601614278565b91505092915050565b6000813590506143b781615db1565b92915050565b6000602082840312156143cf57600080fd5b60006143dd848285016142b6565b91505092915050565b600080604083850312156143f957600080fd5b6000614407858286016142b6565b9250506020614418858286016142b6565b9150509250929050565b60008060006060848603121561443757600080fd5b6000614445868287016142b6565b9350506020614456868287016142b6565b9250506040614467868287016143a8565b9150509250925092565b6000806000806080858703121561448757600080fd5b6000614495878288016142b6565b94505060206144a6878288016142b6565b93505060406144b7878288016143a8565b925050606085013567ffffffffffffffff8111156144d457600080fd5b6144e087828801614354565b91505092959194509250565b600080604083850312156144ff57600080fd5b600061450d858286016142b6565b925050602061451e85828601614315565b9150509250929050565b6000806040838503121561453b57600080fd5b6000614549858286016142b6565b925050602061455a858286016143a8565b9150509250929050565b6000806020838503121561457757600080fd5b600083013567ffffffffffffffff81111561459157600080fd5b61459d858286016142cb565b92509250509250929050565b600080600080606085870312156145bf57600080fd5b600085013567ffffffffffffffff8111156145d957600080fd5b6145e5878288016142cb565b945094505060206145f8878288016143a8565b925050604061460987828801614315565b91505092959194509250565b60006020828403121561462757600080fd5b60006146358482850161432a565b91505092915050565b60006020828403121561465057600080fd5b600061465e8482850161433f565b91505092915050565b60006020828403121561467957600080fd5b600082013567ffffffffffffffff81111561469357600080fd5b61469f8482850161437e565b91505092915050565b600080604083850312156146bb57600080fd5b600083013567ffffffffffffffff8111156146d557600080fd5b6146e18582860161437e565b92505060206146f2858286016143a8565b9150509250929050565b60006020828403121561470e57600080fd5b600061471c848285016143a8565b91505092915050565b6000806040838503121561473857600080fd5b6000614746858286016143a8565b925050602061475785828601614315565b9150509250929050565b61476a81615412565b82525050565b61478161477c82615412565b615581565b82525050565b61479081615424565b82525050565b60006147a1826152ba565b6147ab81856152d0565b93506147bb8185602086016154a2565b6147c481615692565b840191505092915050565b60006147da826152c5565b6147e481856152e1565b93506147f48185602086016154a2565b6147fd81615692565b840191505092915050565b6000614813826152c5565b61481d81856152f2565b935061482d8185602086016154a2565b80840191505092915050565b60008154614846816154d5565b61485081866152f2565b9450600182166000811461486b576001811461487c576148af565b60ff198316865281860193506148af565b614885856152a5565b60005b838110156148a757815481890152600182019150602081019050614888565b838801955050505b50505092915050565b60006148c56002836152e1565b91506148d0826156b0565b602082019050919050565b60006148e86003836152e1565b91506148f3826156d9565b602082019050919050565b600061490b602b836152e1565b915061491682615702565b604082019050919050565b600061492e6032836152e1565b915061493982615751565b604082019050919050565b60006149516026836152e1565b915061495c826157a0565b604082019050919050565b60006149746002836152e1565b915061497f826157ef565b602082019050919050565b6000614997601c836152e1565b91506149a282615818565b602082019050919050565b60006149ba6002836152e1565b91506149c582615841565b602082019050919050565b60006149dd6024836152e1565b91506149e88261586a565b604082019050919050565b6000614a006019836152e1565b9150614a0b826158b9565b602082019050919050565b6000614a236003836152e1565b9150614a2e826158e2565b602082019050919050565b6000614a46602c836152e1565b9150614a518261590b565b604082019050919050565b6000614a696002836152e1565b9150614a748261595a565b602082019050919050565b6000614a8c6038836152e1565b9150614a9782615983565b604082019050919050565b6000614aaf602a836152e1565b9150614aba826159d2565b604082019050919050565b6000614ad26029836152e1565b9150614add82615a21565b604082019050919050565b6000614af56002836152e1565b9150614b0082615a70565b602082019050919050565b6000614b186020836152e1565b9150614b2382615a99565b602082019050919050565b6000614b3b6002836152e1565b9150614b4682615ac2565b602082019050919050565b6000614b5e602c836152e1565b9150614b6982615aeb565b604082019050919050565b6000614b816002836152e1565b9150614b8c82615b3a565b602082019050919050565b6000614ba46020836152e1565b9150614baf82615b63565b602082019050919050565b6000614bc76029836152e1565b9150614bd282615b8c565b604082019050919050565b6000614bea6002836152e1565b9150614bf582615bdb565b602082019050919050565b6000614c0d6021836152e1565b9150614c1882615c04565b604082019050919050565b6000614c306031836152e1565b9150614c3b82615c53565b604082019050919050565b6000614c53602c836152e1565b9150614c5e82615ca2565b604082019050919050565b6000614c76600a836152e1565b9150614c8182615cf1565b602082019050919050565b6000614c996014836152e1565b9150614ca482615d1a565b602082019050919050565b6000614cbc6014836152e1565b9150614cc782615d43565b602082019050919050565b614cdb8161547c565b82525050565b614cea81615486565b82525050565b6000614cfc8284614808565b915081905092915050565b6000614d138285614808565b9150614d1f8284614770565b6014820191508190509392505050565b6000614d3b8285614839565b9150614d478284614808565b91508190509392505050565b6000602082019050614d686000830184614761565b92915050565b6000608082019050614d836000830187614761565b614d906020830186614761565b614d9d6040830185614cd2565b8181036060830152614daf8184614796565b905095945050505050565b6000602082019050614dcf6000830184614787565b92915050565b60006020820190508181036000830152614def81846147cf565b905092915050565b60006020820190508181036000830152614e10816148b8565b9050919050565b60006020820190508181036000830152614e30816148db565b9050919050565b60006020820190508181036000830152614e50816148fe565b9050919050565b60006020820190508181036000830152614e7081614921565b9050919050565b60006020820190508181036000830152614e9081614944565b9050919050565b60006020820190508181036000830152614eb081614967565b9050919050565b60006020820190508181036000830152614ed08161498a565b9050919050565b60006020820190508181036000830152614ef0816149ad565b9050919050565b60006020820190508181036000830152614f10816149d0565b9050919050565b60006020820190508181036000830152614f30816149f3565b9050919050565b60006020820190508181036000830152614f5081614a16565b9050919050565b60006020820190508181036000830152614f7081614a39565b9050919050565b60006020820190508181036000830152614f9081614a5c565b9050919050565b60006020820190508181036000830152614fb081614a7f565b9050919050565b60006020820190508181036000830152614fd081614aa2565b9050919050565b60006020820190508181036000830152614ff081614ac5565b9050919050565b6000602082019050818103600083015261501081614ae8565b9050919050565b6000602082019050818103600083015261503081614b0b565b9050919050565b6000602082019050818103600083015261505081614b2e565b9050919050565b6000602082019050818103600083015261507081614b51565b9050919050565b6000602082019050818103600083015261509081614b74565b9050919050565b600060208201905081810360008301526150b081614b97565b9050919050565b600060208201905081810360008301526150d081614bba565b9050919050565b600060208201905081810360008301526150f081614bdd565b9050919050565b6000602082019050818103600083015261511081614c00565b9050919050565b6000602082019050818103600083015261513081614c23565b9050919050565b6000602082019050818103600083015261515081614c46565b9050919050565b6000602082019050818103600083015261517081614c69565b9050919050565b6000602082019050818103600083015261519081614c8c565b9050919050565b600060208201905081810360008301526151b081614caf565b9050919050565b60006020820190506151cc6000830184614cd2565b92915050565b60006080820190506151e76000830187614cd2565b6151f46020830186614ce1565b6152016040830185614ce1565b818103606083015261521381846147cf565b905095945050505050565b6000615228615239565b90506152348282615507565b919050565b6000604051905090565b600067ffffffffffffffff82111561525e5761525d615663565b5b61526782615692565b9050602081019050919050565b600067ffffffffffffffff82111561528f5761528e615663565b5b61529882615692565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006153088261547c565b91506153138361547c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615348576153476155d6565b5b828201905092915050565b600061535e8261547c565b91506153698361547c565b92508261537957615378615605565b5b828204905092915050565b600061538f8261547c565b915061539a8361547c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153d3576153d26155d6565b5b828202905092915050565b60006153e98261547c565b91506153f48361547c565b925082821015615407576154066155d6565b5b828203905092915050565b600061541d8261545c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156154c05780820151818401526020810190506154a5565b838111156154cf576000848401525b50505050565b600060028204905060018216806154ed57607f821691505b6020821081141561550157615500615634565b5b50919050565b61551082615692565b810181811067ffffffffffffffff8211171561552f5761552e615663565b5b80604052505050565b60006155438261547c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615576576155756155d6565b5b600182019050919050565b600061558c82615593565b9050919050565b600061559e826156a3565b9050919050565b60006155b08261547c565b91506155bb8361547c565b9250826155cb576155ca615605565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f6e77000000000000000000000000000000000000000000000000000000000000600082015250565b7f706e610000000000000000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e61000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f616d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f6e6f770000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f786d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f6974000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f6966000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f746d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f7061000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f43616e2774206275726e00000000000000000000000000000000000000000000600082015250565b7f657863656564206d6178206c6567656e64617279000000000000000000000000600082015250565b7f746f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b615d7581615412565b8114615d8057600080fd5b50565b615d8c81615424565b8114615d9757600080fd5b50565b615da381615430565b8114615dae57600080fd5b50565b615dba8161547c565b8114615dc557600080fd5b5056fea26469706673582212206ba678cdfd1d09055b737ef7c2b03b2896fea5efb7fccb87eadb81dd6a72ce9864736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000d684a14b8ea1431ca60486468b9c746313610f12000000000000000000000000000000000000000000000000000000000000000c5a6f6d626965205374617465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a535500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d6164643347796e67374661765a554e79535741727979654d564c354a764d533335595a4159764773535953730000000000000000000000000000000000000000000000000000000000000000000000000000000000004f68747470733a2f2f73332e75732d656173742d322e616d617a6f6e6177732e636f6d2f7a73752d6d657461646174612e756e6479696e6770656163652e636f6d2f436f75727365437265646974732f0000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102e45760003560e01c8063715018a611610190578063b88d4fde116100dc578063ddc516c811610095578063ecb223ab1161006f578063ecb223ab14610b5f578063efd0cbf914610b9c578063f2fde38b14610bb8578063f4ead1e814610be1576102e4565b8063ddc516c814610ace578063e72f984314610af9578063e985e9c514610b22576102e4565b8063b88d4fde146109cd578063b9884772146109f6578063c1179a7f14610a12578063c87b56dd14610a3d578063ccf2a37614610a7a578063cdddf22114610aa3576102e4565b8063920bcbd6116101495780639d044ed3116101235780639d044ed3146109235780639d2cc4361461094e578063a22cb46514610979578063a475b5dd146109a2576102e4565b8063920bcbd61461087e578063939feab7146108bb57806395d89b41146108f8576102e4565b8063715018a61461079f5780637da29baf146107b657806383d404d8146107e15780638955f0d21461080c5780638da5cb5b1461082857806391f4f96c14610853576102e4565b80633ccfd60b1161024f5780635d3e8898116102085780636460ed8f116101e25780636460ed8f146106e357806367db3b8f1461070e578063698c28601461073757806370a0823114610762576102e4565b80635d3e8898146106525780635d8c2efd1461067d5780636352211e146106a6576102e4565b80633ccfd60b1461054157806342842e0e1461055857806342966c68146105815780634d416716146105aa5780634f6ccce7146105d557806357c8d71d14610612576102e4565b80631e84c413116102a15780631e84c4131461040d57806323b872dd146104385780632646f57d146104615780632f745c591461048a5780633508767c146104c75780633cac51fb14610504576102e4565b806301ffc9a7146102e957806306fdde0314610326578063081812fc1461035157806308eaf3791461038e578063095ea7b3146103b957806318160ddd146103e2575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b9190614615565b610c0c565b60405161031d9190614dba565b60405180910390f35b34801561033257600080fd5b5061033b610c86565b6040516103489190614dd5565b60405180910390f35b34801561035d57600080fd5b50610378600480360381019061037391906146fc565b610d18565b6040516103859190614d53565b60405180910390f35b34801561039a57600080fd5b506103a3610d9d565b6040516103b09190614d53565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190614528565b610dc3565b005b3480156103ee57600080fd5b506103f7610edb565b60405161040491906151b7565b60405180910390f35b34801561041957600080fd5b50610422610ee8565b60405161042f9190614dba565b60405180910390f35b34801561044457600080fd5b5061045f600480360381019061045a9190614422565b610efb565b005b34801561046d57600080fd5b5061048860048036038101906104839190614564565b610f5b565b005b34801561049657600080fd5b506104b160048036038101906104ac9190614528565b611322565b6040516104be91906151b7565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e99190614667565b6113c7565b6040516104fb91906151b7565b60405180910390f35b34801561051057600080fd5b5061052b600480360381019061052691906146fc565b61140f565b60405161053891906151b7565b60405180910390f35b34801561054d57600080fd5b50610556611471565b005b34801561056457600080fd5b5061057f600480360381019061057a9190614422565b6115e9565b005b34801561058d57600080fd5b506105a860048036038101906105a391906146fc565b611609565b005b3480156105b657600080fd5b506105bf61171a565b6040516105cc9190614dd5565b60405180910390f35b3480156105e157600080fd5b506105fc60048036038101906105f791906146fc565b6117a8565b60405161060991906151b7565b60405180910390f35b34801561061e57600080fd5b50610639600480360381019061063491906146fc565b61183f565b60405161064994939291906151d2565b60405180910390f35b34801561065e57600080fd5b50610667611911565b60405161067491906151b7565b60405180910390f35b34801561068957600080fd5b506106a4600480360381019061069f9190614667565b611916565b005b3480156106b257600080fd5b506106cd60048036038101906106c891906146fc565b6119ca565b6040516106da9190614d53565b60405180910390f35b3480156106ef57600080fd5b506106f8611a7c565b6040516107059190614dd5565b60405180910390f35b34801561071a57600080fd5b50610735600480360381019061073091906146a8565b611b0a565b005b34801561074357600080fd5b5061074c611bd1565b60405161075991906151b7565b60405180910390f35b34801561076e57600080fd5b50610789600480360381019061078491906143bd565b611bd7565b60405161079691906151b7565b60405180910390f35b3480156107ab57600080fd5b506107b4611c8f565b005b3480156107c257600080fd5b506107cb611d17565b6040516107d891906151b7565b60405180910390f35b3480156107ed57600080fd5b506107f6611d1d565b60405161080391906151b7565b60405180910390f35b610826600480360381019061082191906145a9565b611d28565b005b34801561083457600080fd5b5061083d612036565b60405161084a9190614d53565b60405180910390f35b34801561085f57600080fd5b50610868612060565b60405161087591906151b7565b60405180910390f35b34801561088a57600080fd5b506108a560048036038101906108a091906143bd565b612066565b6040516108b291906151b7565b60405180910390f35b3480156108c757600080fd5b506108e260048036038101906108dd9190614725565b61211e565b6040516108ef9190614dd5565b60405180910390f35b34801561090457600080fd5b5061090d612234565b60405161091a9190614dd5565b60405180910390f35b34801561092f57600080fd5b506109386122c6565b6040516109459190614dba565b60405180910390f35b34801561095a57600080fd5b506109636122d9565b60405161097091906151b7565b60405180910390f35b34801561098557600080fd5b506109a0600480360381019061099b91906144ec565b6122df565b005b3480156109ae57600080fd5b506109b7612460565b6040516109c49190614dba565b60405180910390f35b3480156109d957600080fd5b506109f460048036038101906109ef9190614471565b612473565b005b610a106004803603810190610a0b91906146fc565b6124d5565b005b348015610a1e57600080fd5b50610a276127f1565b604051610a3491906151b7565b60405180910390f35b348015610a4957600080fd5b50610a646004803603810190610a5f91906146fc565b6127f7565b604051610a719190614dd5565b60405180910390f35b348015610a8657600080fd5b50610aa16004803603810190610a9c91906146fc565b612990565b005b348015610aaf57600080fd5b50610ab8612a89565b604051610ac591906151b7565b60405180910390f35b348015610ada57600080fd5b50610ae3612a8f565b604051610af091906151b7565b60405180910390f35b348015610b0557600080fd5b50610b206004803603810190610b1b91906146fc565b612a94565b005b348015610b2e57600080fd5b50610b496004803603810190610b4491906143e6565b612bac565b604051610b569190614dba565b60405180910390f35b348015610b6b57600080fd5b50610b866004803603810190610b8191906143bd565b612c40565b604051610b939190614dba565b60405180910390f35b610bb66004803603810190610bb191906146fc565b612c96565b005b348015610bc457600080fd5b50610bdf6004803603810190610bda91906143bd565b612e41565b005b348015610bed57600080fd5b50610bf6612f39565b604051610c0391906151b7565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c7f5750610c7e82613104565b5b9050919050565b606060008054610c95906154d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc1906154d5565b8015610d0e5780601f10610ce357610100808354040283529160200191610d0e565b820191906000526020600020905b815481529060010190602001808311610cf157829003601f168201915b5050505050905090565b6000610d23826131e6565b610d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5990615057565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610dce826119ca565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e36906150f7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e5e613252565b73ffffffffffffffffffffffffffffffffffffffff161480610e8d5750610e8c81610e87613252565b612bac565b5b610ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec390614f97565b60405180910390fd5b610ed6838361325a565b505050565b6000600880549050905090565b601460019054906101000a900460ff1681565b610f0c610f06613252565b82613313565b610f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4290615117565b60405180910390fd5b610f568383836133f1565b505050565b610f63613252565b73ffffffffffffffffffffffffffffffffffffffff16610f81612036565b73ffffffffffffffffffffffffffffffffffffffff1614610fd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fce90615097565b60405180910390fd5b60005b8282905081101561131d57600073ffffffffffffffffffffffffffffffffffffffff16838383818110611036577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061104b91906143bd565b73ffffffffffffffffffffffffffffffffffffffff1614156110a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109990614e97565b60405180910390fd5b601660008484848181106110df577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906110f491906143bd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156016600085858581811061117a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061118f91906143bd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060006017600085858581811061121f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061123491906143bd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161127b576000611309565b601760008484848181106112b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906112cd91906143bd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020545b50808061131590615538565b915050610fda565b505050565b600061132d83611bd7565b821061136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136590614e37565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600069d3c21bcecceda1000000826040516020016113e59190614cf0565b6040516020818303038152906040528051906020012060001c61140891906155a5565b9050919050565b6000808211611453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144a90614ff7565b60405180910390fd5b60156000838152602001908152602001600020600001549050919050565b611479613252565b73ffffffffffffffffffffffffffffffffffffffff16611497612036565b73ffffffffffffffffffffffffffffffffffffffff16146114ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e490615097565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff16601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561157e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157590614df7565b60405180910390fd5b601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156115e6573d6000803e3d6000fd5b50565b61160483838360405180602001604052806000815250612473565b505050565b611611613252565b73ffffffffffffffffffffffffffffffffffffffff1661162f612036565b73ffffffffffffffffffffffffffffffffffffffff1614611685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167c90615097565b60405180910390fd5b601054601254106116cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c290614ed7565b60405180910390fd5b601254811015611710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170790615157565b60405180910390fd5b8060108190555050565b600b8054611727906154d5565b80601f0160208091040260200160405190810160405280929190818152602001828054611753906154d5565b80156117a05780601f10611775576101008083540402835291602001916117a0565b820191906000526020600020905b81548152906001019060200180831161178357829003601f168201915b505050505081565b60006117b2610edb565b82106117f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ea90615137565b60405180910390fd5b6008828154811061182d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60156020528060005260406000206000915090508060000154908060010160009054906101000a900460ff16908060010160019054906101000a900460ff169080600201805461188e906154d5565b80601f01602080910402602001604051908101604052809291908181526020018280546118ba906154d5565b80156119075780601f106118dc57610100808354040283529160200191611907565b820191906000526020600020905b8154815290600101906020018083116118ea57829003601f168201915b5050505050905084565b600a81565b61191e613252565b73ffffffffffffffffffffffffffffffffffffffff1661193c612036565b73ffffffffffffffffffffffffffffffffffffffff1614611992576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198990615097565b60405180910390fd5b601a60009054906101000a900460ff1615601a60006101000a81548160ff0219169083151502179055506119c7816001611b0a565b50565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6a90614fd7565b60405180910390fd5b80915050919050565b600c8054611a89906154d5565b80601f0160208091040260200160405190810160405280929190818152602001828054611ab5906154d5565b8015611b025780601f10611ad757610100808354040283529160200191611b02565b820191906000526020600020905b815481529060010190602001808311611ae557829003601f168201915b505050505081565b611b12613252565b73ffffffffffffffffffffffffffffffffffffffff16611b30612036565b73ffffffffffffffffffffffffffffffffffffffff1614611b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7d90615097565b60405180910390fd5b6001811415611bab5781601b9080519060200190611ba5929190614197565b50611bcd565b6002811415611bcc5781600b9080519060200190611bca929190614197565b505b5b5050565b60135481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3f90614fb7565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c97613252565b73ffffffffffffffffffffffffffffffffffffffff16611cb5612036565b73ffffffffffffffffffffffffffffffffffffffff1614611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0290615097565b60405180910390fd5b611d15600061364d565b565b60105481565b66d529ae9e86000081565b611d30613252565b73ffffffffffffffffffffffffffffffffffffffff16611d4e612036565b73ffffffffffffffffffffffffffffffffffffffff1614611da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9b90615097565b60405180910390fd5b6000611db38386869050613713565b9050601254601054611dc591906153de565b8110611e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfd90614ed7565b60405180910390fd5b601154600d54611e1691906153de565b8110611e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4e90614f77565b60405180910390fd5b8115611eaf57601354600f54611e6d91906153de565b8110611eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea590615177565b60405180910390fd5b5b60005b8585905081101561202e5760005b8481101561201a578315611f965760006001601354611edf91906152fd565b9050611eeb8133613729565b600160116000828254611efe91906152fd565b92505081905550600160126000828254611f1891906152fd565b92505081905550600160136000828254611f3291906152fd565b92505081905550611f90888885818110611f75577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611f8a91906143bd565b82613815565b50612007565b600160116000828254611fa991906152fd565b92505081905550612006878784818110611fec577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061200191906143bd565b613833565b5b808061201290615538565b915050611ec0565b50808061202690615538565b915050611eb2565b505050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60115481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ce90614e97565b60405180910390fd5b601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060612129836131e6565b612168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215f90615197565b60405180910390fd5b81156121a057600c61217984612f3f565b60405160200161218a929190614d2f565b604051602081830303815290604052905061222e565b600b80546121ad906154d5565b80601f01602080910402602001604051908101604052809291908181526020018280546121d9906154d5565b80156122265780601f106121fb57610100808354040283529160200191612226565b820191906000526020600020905b81548152906001019060200180831161220957829003601f168201915b505050505090505b92915050565b606060018054612243906154d5565b80601f016020809104026020016040519081016040528092919081815260200182805461226f906154d5565b80156122bc5780601f10612291576101008083540402835291602001916122bc565b820191906000526020600020905b81548152906001019060200180831161229f57829003601f168201915b5050505050905090565b601460009054906101000a900460ff1681565b600d5481565b6122e7613252565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234c90614f17565b60405180910390fd5b8060056000612362613252565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661240f613252565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124549190614dba565b60405180910390a35050565b601a60009054906101000a900460ff1681565b61248461247e613252565b83613313565b6124c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ba90615117565b60405180910390fd5b6124cf84848484613885565b50505050565b601460009054906101000a900460ff16612524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251b90614e17565b60405180910390fd5b601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166125b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a790614f37565b60405180910390fd5b601054601254106125f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ed90614ed7565b60405180910390fd5b600e548160125461260791906152fd565b1115612648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263f90614f77565b60405180910390fd5b600381601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461269591906152fd565b11156126d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cd90614f77565b60405180910390fd5b600381111561271a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271190615077565b60405180910390fd5b348166d529ae9e86000061272e9190615384565b111561276f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276690615037565b60405180910390fd5b60005b818110156127ed576001601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127ca91906152fd565b925050819055506127da33613833565b80806127e590615538565b915050612772565b5050565b600e5481565b6060612802826131e6565b612841576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283890615197565b60405180910390fd5b601a60009054906101000a900460ff16156128fd5760016015600084815260200190815260200160002060010160019054906101000a900460ff1660ff1614156128cb57601560008381526020019081526020016000206002016128a483612f3f565b6040516020016128b5929190614d2f565b604051602081830303815290604052905061298b565b601b6128d683612f3f565b6040516020016128e7929190614d2f565b604051602081830303815290604052905061298b565b601b805461290a906154d5565b80601f0160208091040260200160405190810160405280929190818152602001828054612936906154d5565b80156129835780601f1061295857610100808354040283529160200191612983565b820191906000526020600020905b81548152906001019060200180831161296657829003601f168201915b505050505090505b919050565b612998613252565b73ffffffffffffffffffffffffffffffffffffffff166129b6612036565b73ffffffffffffffffffffffffffffffffffffffff1614612a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0390615097565b60405180910390fd5b601154600d54612a1c91906153de565b811115612a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5590614e97565b60405180910390fd5b80600d54612a6c91906153de565b600d8190555080600e54612a8091906152fd565b600e8190555050565b600f5481565b600381565b612a9c613252565b73ffffffffffffffffffffffffffffffffffffffff16612aba612036565b73ffffffffffffffffffffffffffffffffffffffff1614612b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0790615097565b60405180910390fd5b6001811415612b6357601460009054906101000a900460ff1615601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff021916908315150217905550612ba9565b6000601460006101000a81548160ff021916908315150217905550601460019054906101000a900460ff1615601460016101000a81548160ff0219169083151502179055505b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b601460019054906101000a900460ff16612ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdc906150d7565b60405180910390fd5b60105460125410612d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2290614ed7565b60405180910390fd5b600a811115612d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6690615077565b60405180910390fd5b600e5481601254612d8091906152fd565b1115612dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db890614f77565b60405180910390fd5b348166d529ae9e860000612dd59190615384565b1115612e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0d90615037565b60405180910390fd5b60005b81811015612e3d57612e2a33613833565b8080612e3590615538565b915050612e19565b5050565b612e49613252565b73ffffffffffffffffffffffffffffffffffffffff16612e67612036565b73ffffffffffffffffffffffffffffffffffffffff1614612ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb490615097565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2490614e77565b60405180910390fd5b612f368161364d565b50565b60125481565b60606000821415612f87576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130e7565b600082905060005b60008214612fb9578080612fa290615538565b915050600a82612fb29190615353565b9150612f8f565b60008167ffffffffffffffff811115612ffb577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561302d5781602001600182028036833780820191505090505b5090505b600085146130e05760018261304691906153de565b9150600a8561305591906155a5565b603061306191906152fd565b60f81b81838151811061309d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130d99190615353565b9450613031565b8093505050505b919050565b600080823b905060008111915050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806131cf57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806131df57506131de826138e1565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166132cd836119ca565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061331e826131e6565b61335d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335490614f57565b60405180910390fd5b6000613368836119ca565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806133d757508373ffffffffffffffffffffffffffffffffffffffff166133bf84610d18565b73ffffffffffffffffffffffffffffffffffffffff16145b806133e857506133e78185612bac565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16613411826119ca565b73ffffffffffffffffffffffffffffffffffffffff1614613467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345e906150b7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ce90614ef7565b60405180910390fd5b6134e283838361394b565b6134ed60008261325a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461353d91906153de565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461359491906152fd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081836137219190615384565b905092915050565b604051806080016040528061376661374085612f3f565b84604051602001613752929190614d07565b6040516020818303038152906040526113c7565b8152602001600060ff168152602001600060ff16815260200160405180602001604052806000815250815250601560008481526020019081526020016000206000820151816000015560208201518160010160006101000a81548160ff021916908360ff16021790555060408201518160010160016101000a81548160ff021916908360ff160217905550606082015181600201908051906020019061380d929190614197565b509050505050565b61382f828260405180602001604052806000815250613a5f565b5050565b60006001601254600f5461384791906152fd565b61385191906152fd565b905061385d8133613729565b60016012600082825461387091906152fd565b925050819055506138818282613815565b5050565b6138908484846133f1565b61389c84848484613aba565b6138db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138d290614e57565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6139568383836130ff565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139995761399481613c51565b6139d8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146139d7576139d68382613c9a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a1b57613a1681613e07565b613a5a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613a5957613a588282613f4a565b5b5b505050565b613a698383613fc9565b613a766000848484613aba565b613ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aac90614e57565b60405180910390fd5b505050565b6000613adb8473ffffffffffffffffffffffffffffffffffffffff166130ec565b15613c44578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613b04613252565b8786866040518563ffffffff1660e01b8152600401613b269493929190614d6e565b602060405180830381600087803b158015613b4057600080fd5b505af1925050508015613b7157506040513d601f19601f82011682018060405250810190613b6e919061463e565b60015b613bf4573d8060008114613ba1576040519150601f19603f3d011682016040523d82523d6000602084013e613ba6565b606091505b50600081511415613bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613be390614e57565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613c49565b600190505b949350505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613ca784611bd7565b613cb191906153de565b9050600060076000848152602001908152602001600020549050818114613d96576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613e1b91906153de565b9050600060096000848152602001908152602001600020549050600060088381548110613e71577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613eb9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f2e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613f5583611bd7565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614039576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161403090615017565b60405180910390fd5b614042816131e6565b15614082576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407990614eb7565b60405180910390fd5b61408e6000838361394b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546140de91906152fd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546141a3906154d5565b90600052602060002090601f0160209004810192826141c5576000855561420c565b82601f106141de57805160ff191683800117855561420c565b8280016001018555821561420c579182015b8281111561420b5782518255916020019190600101906141f0565b5b509050614219919061421d565b5090565b5b8082111561423657600081600090555060010161421e565b5090565b600061424d61424884615243565b61521e565b90508281526020810184848401111561426557600080fd5b614270848285615493565b509392505050565b600061428b61428684615274565b61521e565b9050828152602081018484840111156142a357600080fd5b6142ae848285615493565b509392505050565b6000813590506142c581615d6c565b92915050565b60008083601f8401126142dd57600080fd5b8235905067ffffffffffffffff8111156142f657600080fd5b60208301915083602082028301111561430e57600080fd5b9250929050565b60008135905061432481615d83565b92915050565b60008135905061433981615d9a565b92915050565b60008151905061434e81615d9a565b92915050565b600082601f83011261436557600080fd5b813561437584826020860161423a565b91505092915050565b600082601f83011261438f57600080fd5b813561439f848260208601614278565b91505092915050565b6000813590506143b781615db1565b92915050565b6000602082840312156143cf57600080fd5b60006143dd848285016142b6565b91505092915050565b600080604083850312156143f957600080fd5b6000614407858286016142b6565b9250506020614418858286016142b6565b9150509250929050565b60008060006060848603121561443757600080fd5b6000614445868287016142b6565b9350506020614456868287016142b6565b9250506040614467868287016143a8565b9150509250925092565b6000806000806080858703121561448757600080fd5b6000614495878288016142b6565b94505060206144a6878288016142b6565b93505060406144b7878288016143a8565b925050606085013567ffffffffffffffff8111156144d457600080fd5b6144e087828801614354565b91505092959194509250565b600080604083850312156144ff57600080fd5b600061450d858286016142b6565b925050602061451e85828601614315565b9150509250929050565b6000806040838503121561453b57600080fd5b6000614549858286016142b6565b925050602061455a858286016143a8565b9150509250929050565b6000806020838503121561457757600080fd5b600083013567ffffffffffffffff81111561459157600080fd5b61459d858286016142cb565b92509250509250929050565b600080600080606085870312156145bf57600080fd5b600085013567ffffffffffffffff8111156145d957600080fd5b6145e5878288016142cb565b945094505060206145f8878288016143a8565b925050604061460987828801614315565b91505092959194509250565b60006020828403121561462757600080fd5b60006146358482850161432a565b91505092915050565b60006020828403121561465057600080fd5b600061465e8482850161433f565b91505092915050565b60006020828403121561467957600080fd5b600082013567ffffffffffffffff81111561469357600080fd5b61469f8482850161437e565b91505092915050565b600080604083850312156146bb57600080fd5b600083013567ffffffffffffffff8111156146d557600080fd5b6146e18582860161437e565b92505060206146f2858286016143a8565b9150509250929050565b60006020828403121561470e57600080fd5b600061471c848285016143a8565b91505092915050565b6000806040838503121561473857600080fd5b6000614746858286016143a8565b925050602061475785828601614315565b9150509250929050565b61476a81615412565b82525050565b61478161477c82615412565b615581565b82525050565b61479081615424565b82525050565b60006147a1826152ba565b6147ab81856152d0565b93506147bb8185602086016154a2565b6147c481615692565b840191505092915050565b60006147da826152c5565b6147e481856152e1565b93506147f48185602086016154a2565b6147fd81615692565b840191505092915050565b6000614813826152c5565b61481d81856152f2565b935061482d8185602086016154a2565b80840191505092915050565b60008154614846816154d5565b61485081866152f2565b9450600182166000811461486b576001811461487c576148af565b60ff198316865281860193506148af565b614885856152a5565b60005b838110156148a757815481890152600182019150602081019050614888565b838801955050505b50505092915050565b60006148c56002836152e1565b91506148d0826156b0565b602082019050919050565b60006148e86003836152e1565b91506148f3826156d9565b602082019050919050565b600061490b602b836152e1565b915061491682615702565b604082019050919050565b600061492e6032836152e1565b915061493982615751565b604082019050919050565b60006149516026836152e1565b915061495c826157a0565b604082019050919050565b60006149746002836152e1565b915061497f826157ef565b602082019050919050565b6000614997601c836152e1565b91506149a282615818565b602082019050919050565b60006149ba6002836152e1565b91506149c582615841565b602082019050919050565b60006149dd6024836152e1565b91506149e88261586a565b604082019050919050565b6000614a006019836152e1565b9150614a0b826158b9565b602082019050919050565b6000614a236003836152e1565b9150614a2e826158e2565b602082019050919050565b6000614a46602c836152e1565b9150614a518261590b565b604082019050919050565b6000614a696002836152e1565b9150614a748261595a565b602082019050919050565b6000614a8c6038836152e1565b9150614a9782615983565b604082019050919050565b6000614aaf602a836152e1565b9150614aba826159d2565b604082019050919050565b6000614ad26029836152e1565b9150614add82615a21565b604082019050919050565b6000614af56002836152e1565b9150614b0082615a70565b602082019050919050565b6000614b186020836152e1565b9150614b2382615a99565b602082019050919050565b6000614b3b6002836152e1565b9150614b4682615ac2565b602082019050919050565b6000614b5e602c836152e1565b9150614b6982615aeb565b604082019050919050565b6000614b816002836152e1565b9150614b8c82615b3a565b602082019050919050565b6000614ba46020836152e1565b9150614baf82615b63565b602082019050919050565b6000614bc76029836152e1565b9150614bd282615b8c565b604082019050919050565b6000614bea6002836152e1565b9150614bf582615bdb565b602082019050919050565b6000614c0d6021836152e1565b9150614c1882615c04565b604082019050919050565b6000614c306031836152e1565b9150614c3b82615c53565b604082019050919050565b6000614c53602c836152e1565b9150614c5e82615ca2565b604082019050919050565b6000614c76600a836152e1565b9150614c8182615cf1565b602082019050919050565b6000614c996014836152e1565b9150614ca482615d1a565b602082019050919050565b6000614cbc6014836152e1565b9150614cc782615d43565b602082019050919050565b614cdb8161547c565b82525050565b614cea81615486565b82525050565b6000614cfc8284614808565b915081905092915050565b6000614d138285614808565b9150614d1f8284614770565b6014820191508190509392505050565b6000614d3b8285614839565b9150614d478284614808565b91508190509392505050565b6000602082019050614d686000830184614761565b92915050565b6000608082019050614d836000830187614761565b614d906020830186614761565b614d9d6040830185614cd2565b8181036060830152614daf8184614796565b905095945050505050565b6000602082019050614dcf6000830184614787565b92915050565b60006020820190508181036000830152614def81846147cf565b905092915050565b60006020820190508181036000830152614e10816148b8565b9050919050565b60006020820190508181036000830152614e30816148db565b9050919050565b60006020820190508181036000830152614e50816148fe565b9050919050565b60006020820190508181036000830152614e7081614921565b9050919050565b60006020820190508181036000830152614e9081614944565b9050919050565b60006020820190508181036000830152614eb081614967565b9050919050565b60006020820190508181036000830152614ed08161498a565b9050919050565b60006020820190508181036000830152614ef0816149ad565b9050919050565b60006020820190508181036000830152614f10816149d0565b9050919050565b60006020820190508181036000830152614f30816149f3565b9050919050565b60006020820190508181036000830152614f5081614a16565b9050919050565b60006020820190508181036000830152614f7081614a39565b9050919050565b60006020820190508181036000830152614f9081614a5c565b9050919050565b60006020820190508181036000830152614fb081614a7f565b9050919050565b60006020820190508181036000830152614fd081614aa2565b9050919050565b60006020820190508181036000830152614ff081614ac5565b9050919050565b6000602082019050818103600083015261501081614ae8565b9050919050565b6000602082019050818103600083015261503081614b0b565b9050919050565b6000602082019050818103600083015261505081614b2e565b9050919050565b6000602082019050818103600083015261507081614b51565b9050919050565b6000602082019050818103600083015261509081614b74565b9050919050565b600060208201905081810360008301526150b081614b97565b9050919050565b600060208201905081810360008301526150d081614bba565b9050919050565b600060208201905081810360008301526150f081614bdd565b9050919050565b6000602082019050818103600083015261511081614c00565b9050919050565b6000602082019050818103600083015261513081614c23565b9050919050565b6000602082019050818103600083015261515081614c46565b9050919050565b6000602082019050818103600083015261517081614c69565b9050919050565b6000602082019050818103600083015261519081614c8c565b9050919050565b600060208201905081810360008301526151b081614caf565b9050919050565b60006020820190506151cc6000830184614cd2565b92915050565b60006080820190506151e76000830187614cd2565b6151f46020830186614ce1565b6152016040830185614ce1565b818103606083015261521381846147cf565b905095945050505050565b6000615228615239565b90506152348282615507565b919050565b6000604051905090565b600067ffffffffffffffff82111561525e5761525d615663565b5b61526782615692565b9050602081019050919050565b600067ffffffffffffffff82111561528f5761528e615663565b5b61529882615692565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006153088261547c565b91506153138361547c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615348576153476155d6565b5b828201905092915050565b600061535e8261547c565b91506153698361547c565b92508261537957615378615605565b5b828204905092915050565b600061538f8261547c565b915061539a8361547c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153d3576153d26155d6565b5b828202905092915050565b60006153e98261547c565b91506153f48361547c565b925082821015615407576154066155d6565b5b828203905092915050565b600061541d8261545c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156154c05780820151818401526020810190506154a5565b838111156154cf576000848401525b50505050565b600060028204905060018216806154ed57607f821691505b6020821081141561550157615500615634565b5b50919050565b61551082615692565b810181811067ffffffffffffffff8211171561552f5761552e615663565b5b80604052505050565b60006155438261547c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615576576155756155d6565b5b600182019050919050565b600061558c82615593565b9050919050565b600061559e826156a3565b9050919050565b60006155b08261547c565b91506155bb8361547c565b9250826155cb576155ca615605565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f6e77000000000000000000000000000000000000000000000000000000000000600082015250565b7f706e610000000000000000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e61000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f616d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f6e6f770000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f786d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f6974000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f6966000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f746d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f7061000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f43616e2774206275726e00000000000000000000000000000000000000000000600082015250565b7f657863656564206d6178206c6567656e64617279000000000000000000000000600082015250565b7f746f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b615d7581615412565b8114615d8057600080fd5b50565b615d8c81615424565b8114615d9757600080fd5b50565b615da381615430565b8114615dae57600080fd5b50565b615dba8161547c565b8114615dc557600080fd5b5056fea26469706673582212206ba678cdfd1d09055b737ef7c2b03b2896fea5efb7fccb87eadb81dd6a72ce9864736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000d684a14b8ea1431ca60486468b9c746313610f12000000000000000000000000000000000000000000000000000000000000000c5a6f6d626965205374617465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a535500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d6164643347796e67374661765a554e79535741727979654d564c354a764d533335595a4159764773535953730000000000000000000000000000000000000000000000000000000000000000000000000000000000004f68747470733a2f2f73332e75732d656173742d322e616d617a6f6e6177732e636f6d2f7a73752d6d657461646174612e756e6479696e6770656163652e636f6d2f436f75727365437265646974732f0000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Zombie State
Arg [1] : symbol (string): ZSU
Arg [2] : startingUri (string): ipfs://Qmadd3Gyng7FavZUNySWAryyeMVL5JvMS35YZAYvGsSYSs
Arg [3] : creditsUri (string): https://s3.us-east-2.amazonaws.com/zsu-metadata.undyingpeace.com/CourseCredits/
Arg [4] : multiSigWallet (address): 0xd684a14b8ea1431ca60486468B9C746313610f12
-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 000000000000000000000000d684a14b8ea1431ca60486468b9c746313610f12
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [6] : 5a6f6d6269652053746174650000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 5a53550000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [10] : 697066733a2f2f516d6164643347796e67374661765a554e7953574172797965
Arg [11] : 4d564c354a764d533335595a4159764773535953730000000000000000000000
Arg [12] : 000000000000000000000000000000000000000000000000000000000000004f
Arg [13] : 68747470733a2f2f73332e75732d656173742d322e616d617a6f6e6177732e63
Arg [14] : 6f6d2f7a73752d6d657461646174612e756e6479696e6770656163652e636f6d
Arg [15] : 2f436f75727365437265646974732f0000000000000000000000000000000000
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.