ERC-721
Overview
Max Total Supply
1,547 NAUT
Holders
613
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 NAUTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Blitnauts
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 1000 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/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; interface BlitmapContract is IERC721 { function tokenSvgDataOf(uint256 tokenId) external view returns (string memory); } contract Blitnauts is ERC721Enumerable, ReentrancyGuard, Ownable { BlitmapContract private blitmapContract; address private blitmapContractAddress; struct BlitmapPosition { uint16 x; uint16 y; uint16 width; uint16 height; } struct BlitnautFrameData { string svgTxHash; string rasterTxHash; string name; uint8 numColors; BlitmapPosition position; } struct BlitnautInstanceData { uint256 frameId; uint256 blitmapId; uint256 instanceId; uint8[] colors; uint8 backgroundColor; } BlitnautFrameData[] private blitnautFrames; BlitnautInstanceData[] private blitnautInstances; mapping (uint256 => bool) private blitmapRedemptions; mapping (bytes32 => bool) private craftHashes; mapping (uint256 => uint256) public instanceCount; string private _uriPrefix; string[64] public palette = [ "#ff0040", "#131313", "#1b1b1b", "#272727", "#3d3d3d", "#5d5d5d", "#858585", "#b4b4b4", "#ffffff", "#c7cfdd", "#92a1b9", "#657392", "#424c6e", "#2a2f4e", "#1a1932", "#0e071b", "#1c121c", "#391f21", "#5d2c28", "#8a4836", "#bf6f4a", "#e69c69", "#f6ca9f", "#f9e6cf", "#edab50", "#e07438", "#c64524", "#8e251d", "#ff5000", "#ed7614", "#ffa214", "#ffc825", "#ffeb57", "#d3fc7e", "#99e65f", "#5ac54f", "#33984b", "#1e6f50", "#134c4c", "#0c2e44", "#00396d", "#0069aa", "#0098dc", "#00cdf9", "#0cf1ff", "#94fdff", "#fdd2ed", "#f389f5", "#db3ffd", "#7a09fa", "#3003d9", "#0c0293", "#03193f", "#3b1443", "#622461", "#93388f", "#ca52c9", "#c85086", "#f68187", "#f5555d", "#ea323c", "#c42430", "#891e2b", "#571c27" ]; string public compileScript = 'function hexToBytes(e){for(var o=[],r=2;r<e.length;r+=2)o.push(parseInt(e.substr(r,2),16));return o}function bufferToBase64(e){for(var o="",r=new Uint8Array(e),t=r.byteLength,n=0;n<t;n++)o+=String.fromCharCode(r[n]);return window.btoa(o)}var colorSlots={};function draw(){const e=hexToBytes(svgData),o=String.fromCharCode.apply(null,e),r=document.createElement("div");r.innerHTML=o,document.body.appendChild(r);const t=document.querySelector("div svg").querySelectorAll("g");for([s,c]of t.entries()){var n=c.attributes.fill.value;null==colorSlots[n]&&(colorSlots[n]=[]),colorSlots[n].push(c)}var a=hexToBytes(rasterData),l=new Image(1500,1500);for(var[s,u]of(l.src="data:image/png;base64,"+bufferToBase64(a),document.body.appendChild(l),Object.keys(colorSlots).entries()))for(var c of colorSlots[u])c.attributes.fill.value=colors[s%colors.length]}document.addEventListener("DOMContentLoaded",draw);'; bool public mintingActive = false; constructor(address _blitmapContractAddress) ERC721("The Blitnauts", "NAUT") Ownable() { blitmapContractAddress = _blitmapContractAddress; blitmapContract = BlitmapContract(blitmapContractAddress); setBaseURI("https://blitnauts.blitmap.com/api/v1/metadata/"); } function toggleActive() public onlyOwner { mintingActive = !mintingActive; } function _baseURI() override internal view virtual returns (string memory) { return _uriPrefix; } function setBaseURI(string memory prefix) public onlyOwner { _uriPrefix = prefix; } function ownerOfBlitmap(uint256 tokenId) public view returns (address) { return blitmapContract.ownerOf(tokenId); } function unredeemedBlitmaps(uint256[] memory blitmapIds) public view returns (uint256[128] memory unredeemedIds, uint8 length) { uint256[128] memory ids; uint8 cursor; for (uint i = 0; i < blitmapIds.length; ++i) { if (blitmapRedemptions[blitmapIds[i]] == false) { ids[cursor] = blitmapIds[i]; ++cursor; } } return (ids, cursor); } function permutationIsAvailable(uint16 frameId, uint8[] memory colors) public view returns (bool isAvailable) { require(frameId < blitnautFrames.length, "Frame ID invalid"); require(colors.length == blitnautFrames[frameId].numColors, "Number of colors doesn't match"); for (uint8 i = 0; i < colors.length; ++i) { colors[i] = colors[i] % 64; } bytes32 craftHash = keccak256(abi.encodePacked(frameId, colors)); return !craftHashes[craftHash]; } function mintInstance(uint256 blitmapId, uint16 frameId, uint8[] memory colors, uint8 backgroundColor) public nonReentrant { require(mintingActive, "Minting is not currently active"); require(frameId < blitnautFrames.length, "Frame ID invalid"); require(_msgSender() == ownerOfBlitmap(blitmapId), "Blitmap not owned"); require(blitmapRedemptions[blitmapId] == false, "Blitmap already redeemed"); require(colors.length == blitnautFrames[frameId].numColors, "Number of colors doesn't match"); backgroundColor = backgroundColor % 64; for (uint8 i = 0; i < colors.length; ++i) { colors[i] = colors[i] % 64; } bytes32 craftHash = keccak256(abi.encodePacked(frameId, colors)); require(craftHashes[craftHash] == false, "Frame/color combo already crafted"); uint256 tokenId = totalSupply(); BlitnautInstanceData memory data; data.blitmapId = blitmapId; data.frameId = frameId; data.colors = colors; data.backgroundColor = backgroundColor; data.instanceId = instanceCount[frameId]; blitmapRedemptions[blitmapId] = true; blitnautInstances.push(data); instanceCount[frameId]++; craftHashes[craftHash] = true; _safeMint(_msgSender(), tokenId); } function uploadSvgData(bytes calldata svgData) public onlyOwner { // do nothing and store data } function uploadRasterData(bytes calldata rasterData) public onlyOwner { // do nothing and store data } function registerFrameData(string memory svgTxHash, string memory rasterTxHash, string memory name, uint8 numColors, uint16 x, uint16 y, uint16 width, uint16 height) public onlyOwner { BlitmapPosition memory position; position.x = x; position.y = y; position.width = width; position.height = height; BlitnautFrameData memory frameData; frameData.svgTxHash = svgTxHash; frameData.rasterTxHash = rasterTxHash; frameData.name = name; frameData.numColors = numColors; frameData.position = position; blitnautFrames.push(frameData); } function frameDataFor(uint256 index) public view returns (BlitnautFrameData memory) { return blitnautFrames[index]; } function instanceDataFor(uint256 tokenId) public view returns (BlitnautInstanceData memory) { return blitnautInstances[tokenId]; } function nameForFrameAndInstance(uint256 frameId, uint256 instanceId) public view returns (string memory) { BlitnautFrameData memory frameData = blitnautFrames[frameId]; string[24] memory alphabet = [ "Alpha", "Beta", "Gamma", "Delta", "Epsilon", "Zeta", "Eta", "Etheta", "Iota", "Kappa", "Lambda", "Mu", "Nu", "Xi", "Omicron", "Pi", "Rho", "Sigma", "Tau", "Upsilon", "Phi", "Chi", "Psi", "Omega" ]; string[10] memory numbers = [ "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X" ]; string[5] memory stringParts; stringParts[0] = frameData.name; stringParts[1] = " "; stringParts[2] = alphabet[instanceId % 24]; if (instanceId >= 24) { stringParts[3] = " "; stringParts[4] = numbers[instanceId / 24]; } return string(abi.encodePacked(stringParts[0], stringParts[1], stringParts[2], stringParts[3], stringParts[4])); } function nameFor(uint256 tokenId) public view returns (string memory) { BlitnautInstanceData memory instanceData = blitnautInstances[tokenId]; return nameForFrameAndInstance(instanceData.frameId, instanceData.instanceId); } function templateScriptFor(uint256 tokenId) public view returns (string memory) { BlitnautInstanceData memory instanceData = blitnautInstances[tokenId]; BlitnautFrameData memory frameData = blitnautFrames[instanceData.frameId]; string memory colors; for (uint8 i = 0; i < frameData.numColors; ++i) { if (i == 0) { colors = string(abi.encodePacked('"', palette[instanceData.colors[i]], '"')); } else { colors = string(abi.encodePacked(colors, ', "', palette[instanceData.colors[i]], '"')); } } string memory css = string(abi.encodePacked("<style>*{margin: 0;}body{background: ", palette[instanceData.backgroundColor],"80;}img, svg{position: absolute; top: 0; left: 0;}img.blitmap, svg{top:", uint2str(frameData.position.y), "px; left:", uint2str(frameData.position.x), "px; width:", uint2str(frameData.position.width), "px; height:", uint2str(frameData.position.height), "px; z-index: -1;}div svg{top: 0; left: 0; width: 1500px; height: 1500px;}</style>\n\n")); return string(abi.encodePacked("<script>\n// grab data[0] from ethereum transaction\n// ", frameData.rasterTxHash, "\n// and put it here as a string\nvar rasterData = '';\n\n// then grab data[0] from ethereum transaction\n// ", frameData.svgTxHash, "\n// and put it here as a string\nvar svgData = '';\n\n// then save to a .html file and open in a browser of your choice.\n\nvar colors = [", colors, "];\n\n", compileScript, "\n</script>\n\n", css, blitmapContract.tokenSvgDataOf(instanceData.blitmapId))); } // via https://stackoverflow.com/a/65707309/424107 function uint2str(uint _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint j = _i; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len; while (_i != 0) { k = k-1; uint8 temp = (48 + uint8(_i - _i / 10 * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } }
// 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; 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; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../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; /** * @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 "./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 String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_blitmapContractAddress","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"compileScript","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"frameDataFor","outputs":[{"components":[{"internalType":"string","name":"svgTxHash","type":"string"},{"internalType":"string","name":"rasterTxHash","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint8","name":"numColors","type":"uint8"},{"components":[{"internalType":"uint16","name":"x","type":"uint16"},{"internalType":"uint16","name":"y","type":"uint16"},{"internalType":"uint16","name":"width","type":"uint16"},{"internalType":"uint16","name":"height","type":"uint16"}],"internalType":"struct Blitnauts.BlitmapPosition","name":"position","type":"tuple"}],"internalType":"struct Blitnauts.BlitnautFrameData","name":"","type":"tuple"}],"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":"","type":"uint256"}],"name":"instanceCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"instanceDataFor","outputs":[{"components":[{"internalType":"uint256","name":"frameId","type":"uint256"},{"internalType":"uint256","name":"blitmapId","type":"uint256"},{"internalType":"uint256","name":"instanceId","type":"uint256"},{"internalType":"uint8[]","name":"colors","type":"uint8[]"},{"internalType":"uint8","name":"backgroundColor","type":"uint8"}],"internalType":"struct Blitnauts.BlitnautInstanceData","name":"","type":"tuple"}],"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":"uint256","name":"blitmapId","type":"uint256"},{"internalType":"uint16","name":"frameId","type":"uint16"},{"internalType":"uint8[]","name":"colors","type":"uint8[]"},{"internalType":"uint8","name":"backgroundColor","type":"uint8"}],"name":"mintInstance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"nameFor","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"frameId","type":"uint256"},{"internalType":"uint256","name":"instanceId","type":"uint256"}],"name":"nameForFrameAndInstance","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOfBlitmap","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"palette","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"frameId","type":"uint16"},{"internalType":"uint8[]","name":"colors","type":"uint8[]"}],"name":"permutationIsAvailable","outputs":[{"internalType":"bool","name":"isAvailable","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"svgTxHash","type":"string"},{"internalType":"string","name":"rasterTxHash","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint8","name":"numColors","type":"uint8"},{"internalType":"uint16","name":"x","type":"uint16"},{"internalType":"uint16","name":"y","type":"uint16"},{"internalType":"uint16","name":"width","type":"uint16"},{"internalType":"uint16","name":"height","type":"uint16"}],"name":"registerFrameData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"prefix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"templateScriptFor","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"blitmapIds","type":"uint256[]"}],"name":"unredeemedBlitmaps","outputs":[{"internalType":"uint256[128]","name":"unredeemedIds","type":"uint256[128]"},{"internalType":"uint8","name":"length","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"rasterData","type":"bytes"}],"name":"uploadRasterData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"svgData","type":"bytes"}],"name":"uploadSvgData","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6007610880818152660236666303034360cc1b6108a05260809081526108c0828152662331333133313360c81b6108e05260a052610900828152661198b118b118b160c91b6109205260c052610940828152662332373237323760c81b6109605260e0526109808281526608ccd90cd90cd960ca1b6109a052610100526109c08281526608cd590d590d5960ca1b6109e05261012052610a00828152662338353835383560c81b610a205261014052610a408281526608d88d188d188d60ca1b610a605261016052610a808281526611b3333333333360c91b610aa05261018052610ac08281526608d8cdd8d9991960ca1b610ae0526101a052610b00828152662339326131623960c81b610b20526101c052610b4082815266119b1a9b999c9960c91b610b60526101e052610b80828152662334323463366560c81b610ba05261020052610bc0828152662332613266346560c81b610be05261022052610c00828152661198b0989c999960c91b610c205261024052610c4082815266119832981b98b160c91b610c605261026052610c80828152662331633132316360c81b610ca05261028052610cc0828152662333393166323160c81b610ce0526102a052610d00828152660466ac864c664760cb1b610d20526102c052610d4082815266119c309a1c199b60c91b610d60526102e052610d80828152662362663666346160c81b610da05261030052610dc0828152662365363963363960c81b610de05261032052610e008281526611b31b31b09cb360c91b610e205261034052610e408281526611b31cb29b31b360c91b610e605261036052610e80828152660236564616235360cc1b610ea05261038052610ec082815266046ca606e6866760cb1b610ee0526103a052610f008281526608d8cd8d0d4c8d60ca1b610f20526103c052610f408281526608ce194c8d4c5960ca1b610f60526103e052610f80828152660236666353030360cc1b610fa05261040052610fc08281526608d9590dcd8c4d60ca1b610fe052610420526110008281526608d999984c8c4d60ca1b6110205261044052611040828152662366666338323560c81b6110605261046052611080828152662366666562353760c81b6110a052610480526110c0828152662364336663376560c81b6110e0526104a05261110082815266119c9cb29b1ab360c91b611120526104c05261114082815266119ab0b19a9a3360c91b611160526104e052611180828152661199999c9c1a3160c91b6111a052610500526111c0828152660233165366635360cc1b6111e05261052052611200828152662331333463346360c81b61122052610540526112408281526608cc18cc994d0d60ca1b61126052610560526112808281526608cc0c0cce4d9960ca1b6112a052610580526112c0828152662330303639616160c81b6112e0526105a052611300828152662330303938646360c81b611320526105c052611340828152662330306364663960c81b611360526105e05261138082815266119831b318b33360c91b6113a052610600526113c082815266119c9a3332333360c91b6113e052610620526114008281526608d999190c995960ca1b6114205261064052611440828152662366333839663560c81b61146052610660526114808281526608d9188cd9999960ca1b6114a052610680526114c0828152662337613039666160c81b6114e0526106a052611500828152662333303033643960c81b611520526106c052611540828152662330633032393360c81b611560526106e05261158082815266119819989c99b360c91b6115a052610700526115c0828152662333623134343360c81b6115e05261072052611600828152662336323234363160c81b611620526107405261164082815266119c99999c1c3360c91b6116605261076052611680828152662363613532633960c81b6116a052610780526116c08281526611b19c1a981c1b60c91b6116e0526107a052611700828152662366363831383760c81b611720526107c0526117408281526608d98d4d4d4d5960ca1b611760526107e052611780828152662365613332336360c81b6117a052610800526117c0828152660236334323433360cc1b6117e0526108205261180082815266119c1c98b2993160c91b61182052610840526118806040908152611840928352662335373163323760c81b611860526108609290925262000659916014919062000863565b50604051806103c00160405280610382815260200162005b2a610382913980516200068d91605491602090910190620008ba565b506055805460ff19169055348015620006a557600080fd5b5060405162005eda38038062005eda833981016040819052620006c891620009bf565b604080518082018252600d81526c54686520426c69746e6175747360981b6020808301918252835180850190945260048452631390555560e21b9084015281519192916200071991600091620008ba565b5080516200072f906001906020840190620008ba565b50506001600a5550620007423362000799565b600d80546001600160a01b0383166001600160a01b03199182168117909255600c805490911690911790556040805160608101909152602e80825262000792919062005eac6020830139620007eb565b5062000a2c565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600b546001600160a01b031633146200084a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200085f906013906020840190620008ba565b5050565b8260408101928215620008a8579160200282015b82811115620008a8578251805162000897918491602090910190620008ba565b509160200191906001019062000877565b50620008b692915062000945565b5090565b828054620008c890620009ef565b90600052602060002090601f016020900481019282620008ec576000855562000937565b82601f106200090757805160ff191683800117855562000937565b8280016001018555821562000937579182015b82811115620009375782518255916020019190600101906200091a565b50620008b692915062000966565b80821115620008b65760006200095c82826200097d565b5060010162000945565b5b80821115620008b6576000815560010162000967565b5080546200098b90620009ef565b6000825580601f106200099c575050565b601f016020900490600052602060002090810190620009bc919062000966565b50565b600060208284031215620009d1578081fd5b81516001600160a01b0381168114620009e8578182fd5b9392505050565b600181811c9082168062000a0457607f821691505b6020821081141562000a2657634e487b7160e01b600052602260045260246000fd5b50919050565b6150ee8062000a3c6000396000f3fe608060405234801561001057600080fd5b50600436106102775760003560e01c806368bbcca711610160578063a22cb465116100d8578063d8aa13b51161008c578063eea77a3911610071578063eea77a391461055c578063f2fde38b1461056f578063fd8bb21c146103e657600080fd5b8063d8aa13b5146104ff578063e985e9c51461052057600080fd5b8063b88d4fde116100bd578063b88d4fde146104b9578063c7de64a5146104cc578063c87b56dd146104ec57600080fd5b8063a22cb46514610493578063b06868da146104a657600080fd5b806373c9ae411161012f5780638e1827fd116101145780638e1827fd1461045857806395d89b41146104785780639cb71ef81461048057600080fd5b806373c9ae41146104345780638da5cb5b1461044757600080fd5b806368bbcca7146103e657806370a08231146103f9578063712c75f81461040c578063715018a61461042c57600080fd5b806331f9c919116101f35780634f6ccce7116101c257806355f804b3116101a757806355f804b3146103ad5780636352211e146103c057806366474374146103d357600080fd5b80634f6ccce714610387578063507e38691461039a57600080fd5b806331f9c9191461034c57806342842e0e14610359578063431f5c3e1461036c5780634914c62c1461037f57600080fd5b806318160ddd1161024a57806323b872dd1161022f57806323b872dd1461031e57806329c68dc1146103315780632f745c591461033957600080fd5b806318160ddd146102f95780631df914a61461030b57600080fd5b806301ffc9a71461027c57806306fdde03146102a4578063081812fc146102b9578063095ea7b3146102e4575b600080fd5b61028f61028a366004614313565b610582565b60405190151581526020015b60405180910390f35b6102ac6105c6565b60405161029b9190614d35565b6102cc6102c7366004614582565b610658565b6040516001600160a01b03909116815260200161029b565b6102f76102f2366004614255565b6106f2565b005b6008545b60405190815260200161029b565b6102ac610319366004614582565b610824565b6102f761032c366004614167565b61091f565b6102f76109a6565b6102fd610347366004614255565b610a14565b60555461028f9060ff1681565b6102f7610367366004614167565b610abc565b6102ac61037a366004614600565b610ad7565b6102ac611670565b6102fd610395366004614582565b6116fe565b6102ac6103a8366004614582565b6117b0565b6102f76103bb3660046143b8565b611d87565b6102cc6103ce366004614582565b611df8565b6102f76103e136600461459a565b611e83565b6102f76103f436600461434b565b6123e4565b6102fd6104073660046140f7565b61243e565b61041f61041a366004614582565b6124d8565b60405161029b9190614d48565b6102f761272f565b6102f761044236600461445e565b612795565b600b546001600160a01b03166102cc565b6102fd610466366004614582565b60126020526000908152604090205481565b6102ac612961565b6102ac61048e366004614582565b612970565b6102f76104a1366004614224565b61298f565b61028f6104b4366004614536565b612a54565b6102f76104c73660046141a7565b612c0b565b6104df6104da366004614582565b612c99565b60405161029b9190614df1565b6102ac6104fa366004614582565b612db1565b61051261050d366004614280565b612e99565b60405161029b929190614cf8565b61028f61052e36600461412f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102cc61056a366004614582565b612f75565b6102f761057d3660046140f7565b61300b565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806105c057506105c0826130ed565b92915050565b6060600080546105d590614f9f565b80601f016020809104026020016040519081016040528092919081815260200182805461060190614f9f565b801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106d65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106fd82611df8565b9050806001600160a01b0316836001600160a01b031614156107875760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016106cd565b336001600160a01b03821614806107a357506107a3813361052e565b6108155760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106cd565b61081f8383613188565b505050565b60606000600f838154811061084957634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502016040518060a0016040529081600082015481526020016001820154815260200160028201548152602001600382018054806020026020016040519081016040528092919081815260200182805480156108ed57602002820191906000526020600020906000905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116108be5790505b50505091835250506004919091015460ff166020909101528051604082015191925061091891610ad7565b9392505050565b6109293382613203565b61099b5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106cd565b61081f8383836132fa565b600b546001600160a01b03163314610a005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cd565b6055805460ff19811660ff90911615179055565b6000610a1f8361243e565b8210610a935760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016106cd565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61081f83838360405180602001604052806000815250612c0b565b60606000600e8481548110610afc57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502016040518060a0016040529081600082018054610b2590614f9f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5190614f9f565b8015610b9e5780601f10610b7357610100808354040283529160200191610b9e565b820191906000526020600020905b815481529060010190602001808311610b8157829003601f168201915b50505050508152602001600182018054610bb790614f9f565b80601f0160208091040260200160405190810160405280929190818152602001828054610be390614f9f565b8015610c305780601f10610c0557610100808354040283529160200191610c30565b820191906000526020600020905b815481529060010190602001808311610c1357829003601f168201915b50505050508152602001600282018054610c4990614f9f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7590614f9f565b8015610cc25780601f10610c9757610100808354040283529160200191610cc2565b820191906000526020600020905b815481529060010190602001808311610ca557829003601f168201915b505050505081526020016003820160009054906101000a900460ff1660ff1660ff168152602001600482016040518060800160405290816000820160009054906101000a900461ffff1661ffff1661ffff1681526020016000820160029054906101000a900461ffff1661ffff1661ffff1681526020016000820160049054906101000a900461ffff1661ffff1661ffff1681526020016000820160069054906101000a900461ffff1661ffff1661ffff168152505081525050905060006040518061030001604052806040518060400160405280600581526020017f416c70686100000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f426574610000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f47616d6d6100000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f44656c746100000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f457073696c6f6e0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f5a6574610000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f457461000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f457468657461000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f496f74610000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4b6170706100000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f4c616d626461000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f4d7500000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f4e7500000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f586900000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f4f6d6963726f6e0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f506900000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f52686f000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f5369676d6100000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f546175000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f557073696c6f6e0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f506869000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f436869000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f507369000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4f6d656761000000000000000000000000000000000000000000000000000000815250815250905060006040518061014001604052806040518060400160405280600181526020017f490000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f494900000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f494949000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f495600000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f560000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f564900000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f564949000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f564949490000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f495800000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f58000000000000000000000000000000000000000000000000000000000000008152508152509050611578613e17565b604084810151825280518082019091526001808252600160fd1b602083015282906020020152826115aa601888615015565b601881106115c857634e487b7160e01b600052603260045260246000fd5b602002015160408201526018861061162c576040805180820190915260018152600160fd1b6020820152606082015281611603601888614f29565b600a811061162157634e487b7160e01b600052603260045260246000fd5b602002015160808201525b805160208083015160408085015160608601516080870151925161165596959293919201614730565b60405160208183030381529060405294505050505092915050565b6054805461167d90614f9f565b80601f01602080910402602001604051908101604052809291908181526020018280546116a990614f9f565b80156116f65780601f106116cb576101008083540402835291602001916116f6565b820191906000526020600020905b8154815290600101906020018083116116d957829003601f168201915b505050505081565b600061170960085490565b821061177d5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016106cd565b6008828154811061179e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b60606000600f83815481106117d557634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502016040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820180548060200260200160405190810160405280929190818152602001828054801561187957602002820191906000526020600020906000905b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161184a5790505b50505091835250506004919091015460ff166020909101528051600e805492935060009290919081106118bc57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502016040518060a00160405290816000820180546118e590614f9f565b80601f016020809104026020016040519081016040528092919081815260200182805461191190614f9f565b801561195e5780601f106119335761010080835404028352916020019161195e565b820191906000526020600020905b81548152906001019060200180831161194157829003601f168201915b5050505050815260200160018201805461197790614f9f565b80601f01602080910402602001604051908101604052809291908181526020018280546119a390614f9f565b80156119f05780601f106119c5576101008083540402835291602001916119f0565b820191906000526020600020905b8154815290600101906020018083116119d357829003601f168201915b50505050508152602001600282018054611a0990614f9f565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3590614f9f565b8015611a825780601f10611a5757610100808354040283529160200191611a82565b820191906000526020600020905b815481529060010190602001808311611a6557829003601f168201915b5050509183525050600382015460ff166020808301919091526040805160808101825260049094015461ffff808216865262010000820481169386019390935264010000000081048316858301526601000000000000900490911660608085019190915291019190915290915060005b826060015160ff168160ff161015611c0c5760ff8116611b8557601484606001518260ff1681518110611b3557634e487b7160e01b600052603260045260246000fd5b602002602001015160ff1660408110611b5e57634e487b7160e01b600052603260045260246000fd5b01604051602001611b6f9190614a32565b6040516020818303038152906040529150611bfc565b81601485606001518360ff1681518110611baf57634e487b7160e01b600052603260045260246000fd5b602002602001015160ff1660408110611bd857634e487b7160e01b600052603260045260246000fd5b01604051602001611bea92919061479b565b60405160208183030381529060405291505b611c0581614ff5565b9050611af2565b5060006014846080015160ff1660408110611c3757634e487b7160e01b600052603260045260246000fd5b01611c4d84608001516020015161ffff166134df565b608085015151611c609061ffff166134df565b611c7586608001516040015161ffff166134df565b611c8a87608001516060015161ffff166134df565b604051602001611c9e959493929190614a56565b60408051808303601f19018152908290526020858101518651600c54928901517fa78d070f000000000000000000000000000000000000000000000000000000008652600486015292945092859160549186916001600160a01b03169063a78d070f9060240160006040518083038186803b158015611d1c57600080fd5b505afa158015611d30573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d5891908101906143eb565b604051602001611d6d969594939291906147f4565b604051602081830303815290604052945050505050919050565b600b546001600160a01b03163314611de15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cd565b8051611df4906013906020840190613e3e565b5050565b6000818152600260205260408120546001600160a01b0316806105c05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016106cd565b6002600a541415611ed65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106cd565b6002600a5560555460ff16611f2d5760405162461bcd60e51b815260206004820152601f60248201527f4d696e74696e67206973206e6f742063757272656e746c79206163746976650060448201526064016106cd565b600e5461ffff841610611f825760405162461bcd60e51b815260206004820152601060248201527f4672616d6520494420696e76616c69640000000000000000000000000000000060448201526064016106cd565b611f8b84612f75565b6001600160a01b0316336001600160a01b031614611feb5760405162461bcd60e51b815260206004820152601160248201527f426c69746d6170206e6f74206f776e656400000000000000000000000000000060448201526064016106cd565b60008481526010602052604090205460ff161561204a5760405162461bcd60e51b815260206004820152601860248201527f426c69746d617020616c72656164792072656465656d6564000000000000000060448201526064016106cd565b600e8361ffff168154811061206f57634e487b7160e01b600052603260045260246000fd5b6000918252602090912060036005909202010154825160ff909116146120d75760405162461bcd60e51b815260206004820152601e60248201527f4e756d626572206f6620636f6c6f727320646f65736e2774206d61746368000060448201526064016106cd565b6120e2604082615029565b905060005b82518160ff16101561216f576040838260ff168151811061211857634e487b7160e01b600052603260045260246000fd5b602002602001015161212a9190615029565b838260ff168151811061214d57634e487b7160e01b600052603260045260246000fd5b60ff9092166020928302919091019091015261216881614ff5565b90506120e7565b5060008383604051602001612185929190614c59565b60408051601f1981840301815291815281516020928301206000818152601190935291205490915060ff16156122235760405162461bcd60e51b815260206004820152602160248201527f4672616d652f636f6c6f7220636f6d626f20616c72656164792063726166746560448201527f640000000000000000000000000000000000000000000000000000000000000060648201526084016106cd565b600061222e60085490565b90506122656040518060a0016040528060008152602001600081526020016000815260200160608152602001600060ff1681525090565b602081810188815261ffff88168084526060840188815260ff881660808601526000918252601284526040808320548187019081528c8452601086529083208054600160ff199091168117909155600f8054918201815590935285517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac802600590940293840190815593517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac803840155517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac804830155518051859461236b937f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80501920190613ec2565b50608091909101516004909101805460ff191660ff90921691909117905561ffff861660009081526012602052604081208054916123a883614fda565b90915550506000838152601160205260409020805460ff191660011790556123d66123d03390565b8361363c565b50506001600a555050505050565b600b546001600160a01b03163314611df45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cd565b60006001600160a01b0382166124bc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016106cd565b506001600160a01b031660009081526003602052604090205490565b6124e0613f63565b600e828154811061250157634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502016040518060a001604052908160008201805461252a90614f9f565b80601f016020809104026020016040519081016040528092919081815260200182805461255690614f9f565b80156125a35780601f10612578576101008083540402835291602001916125a3565b820191906000526020600020905b81548152906001019060200180831161258657829003601f168201915b505050505081526020016001820180546125bc90614f9f565b80601f01602080910402602001604051908101604052809291908181526020018280546125e890614f9f565b80156126355780601f1061260a57610100808354040283529160200191612635565b820191906000526020600020905b81548152906001019060200180831161261857829003601f168201915b5050505050815260200160028201805461264e90614f9f565b80601f016020809104026020016040519081016040528092919081815260200182805461267a90614f9f565b80156126c75780601f1061269c576101008083540402835291602001916126c7565b820191906000526020600020905b8154815290600101906020018083116126aa57829003601f168201915b5050509183525050600382015460ff166020808301919091526040805160808101825260049094015461ffff80821686526201000082048116938601939093526401000000008104831685830152660100000000000090049091166060840152015292915050565b600b546001600160a01b031633146127895760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cd565b6127936000613656565b565b600b546001600160a01b031633146127ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cd565b6040805160808101825261ffff86811682528581166020830152848116928201929092529082166060820152612823613f63565b89815260208082018a90526040820189905260ff8816606083015260808201839052600e805460018101825560009190915282518051849360059093027fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0192612891928492910190613e3e565b5060208281015180516128aa9260018501920190613e3e565b50604082015180516128c6916002840191602090910190613e3e565b5060608281015160038301805460ff90921660ff1990921691909117905560809092015180516004909201805460208301516040840151939095015161ffff90811666010000000000000267ffff00000000000019948216640100000000029490941667ffffffff0000000019968216620100000263ffffffff19909316919095161717939093169190911717905550505050505050505050565b6060600180546105d590614f9f565b6014816040811061298057600080fd5b01805490915061167d90614f9f565b6001600160a01b0382163314156129e85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106cd565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e5460009061ffff841610612aac5760405162461bcd60e51b815260206004820152601060248201527f4672616d6520494420696e76616c69640000000000000000000000000000000060448201526064016106cd565b600e8361ffff1681548110612ad157634e487b7160e01b600052603260045260246000fd5b6000918252602090912060036005909202010154825160ff90911614612b395760405162461bcd60e51b815260206004820152601e60248201527f4e756d626572206f6620636f6c6f727320646f65736e2774206d61746368000060448201526064016106cd565b60005b82518160ff161015612bc4576040838260ff1681518110612b6d57634e487b7160e01b600052603260045260246000fd5b6020026020010151612b7f9190615029565b838260ff1681518110612ba257634e487b7160e01b600052603260045260246000fd5b60ff90921660209283029190910190910152612bbd81614ff5565b9050612b3c565b5060008383604051602001612bda929190614c59565b60408051808303601f1901815291815281516020928301206000908152601190925290205460ff1615949350505050565b612c153383613203565b612c875760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106cd565b612c93848484846136b5565b50505050565b612cce6040518060a0016040528060008152602001600081526020016000815260200160608152602001600060ff1681525090565b600f8281548110612cef57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502016040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201805480602002602001604051908101604052809291908181526020018280548015612d9357602002820191906000526020600020906000905b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411612d645790505b50505091835250506004919091015460ff1660209091015292915050565b6000818152600260205260409020546060906001600160a01b0316612e3e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016106cd565b6000612e48613733565b90506000815111612e685760405180602001604052806000815250610918565b80612e7284613742565b604051602001612e83929190614701565b6040516020818303038152906040529392505050565b612ea1613fcd565b6000612eab613fcd565b6000805b8551811015612f6a5760106000878381518110612edc57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16612f5a57858181518110612f1e57634e487b7160e01b600052603260045260246000fd5b6020026020010151838360ff1660808110612f4957634e487b7160e01b600052603260045260246000fd5b6020020152612f5782614ff5565b91505b612f6381614fda565b9050612eaf565b509094909350915050565b600c546040517f6352211e000000000000000000000000000000000000000000000000000000008152600481018390526000916001600160a01b031690636352211e9060240160206040518083038186803b158015612fd357600080fd5b505afa158015612fe7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c09190614113565b600b546001600160a01b031633146130655760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cd565b6001600160a01b0381166130e15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106cd565b6130ea81613656565b50565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061315057506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806105c057507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146105c0565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906131ca82611df8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661327c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106cd565b600061328783611df8565b9050806001600160a01b0316846001600160a01b031614806132c25750836001600160a01b03166132b784610658565b6001600160a01b0316145b806132f257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661330d82611df8565b6001600160a01b0316146133895760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016106cd565b6001600160a01b0382166134045760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106cd565b61340f838383613874565b61341a600082613188565b6001600160a01b0383166000908152600360205260408120805460019290613443908490614f5c565b90915550506001600160a01b0382166000908152600360205260408120805460019290613471908490614eec565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6060816135035750506040805180820190915260018152600360fc1b602082015290565b8160005b811561352d578061351781614fda565b91506135269050600a83614f29565b9150613507565b60008167ffffffffffffffff81111561355657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613580576020820181803683370190505b509050815b851561363357613596600182614f5c565b905060006135a5600a88614f29565b6135b090600a614f3d565b6135ba9088614f5c565b6135c5906030614f04565b905060008160f81b9050808484815181106135f057634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061362a600a89614f29565b97505050613585565b50949350505050565b611df482826040518060200160405280600081525061392c565b600b80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6136c08484846132fa565b6136cc848484846139aa565b612c935760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106cd565b6060601380546105d590614f9f565b6060816137665750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613790578061377a81614fda565b91506137899050600a83614f29565b915061376a565b60008167ffffffffffffffff8111156137b957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156137e3576020820181803683370190505b5090505b84156132f2576137f8600183614f5c565b9150613805600a86615015565b613810906030614eec565b60f81b81838151811061383357634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061386d600a86614f29565b94506137e7565b6001600160a01b0383166138cf576138ca81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6138f2565b816001600160a01b0316836001600160a01b0316146138f2576138f28382613b02565b6001600160a01b0382166139095761081f81613b9f565b826001600160a01b0316826001600160a01b03161461081f5761081f8282613c78565b6139368383613cbc565b61394360008484846139aa565b61081f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106cd565b60006001600160a01b0384163b15613af757604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906139ee903390899088908890600401614cbc565b602060405180830381600087803b158015613a0857600080fd5b505af1925050508015613a38575060408051601f3d908101601f19168201909252613a359181019061432f565b60015b613add573d808015613a66576040519150601f19603f3d011682016040523d82523d6000602084013e613a6b565b606091505b508051613ad55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106cd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506132f2565b506001949350505050565b60006001613b0f8461243e565b613b199190614f5c565b600083815260076020526040902054909150808214613b6c576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613bb190600190614f5c565b60008381526009602052604081205460088054939450909284908110613be757634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110613c1657634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613c5c57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613c838361243e565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216613d125760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106cd565b6000818152600260205260409020546001600160a01b031615613d775760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106cd565b613d8360008383613874565b6001600160a01b0382166000908152600360205260408120805460019290613dac908490614eec565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6040518060a001604052806005905b6060815260200190600190039081613e265790505090565b828054613e4a90614f9f565b90600052602060002090601f016020900481019282613e6c5760008555613eb2565b82601f10613e8557805160ff1916838001178555613eb2565b82800160010185558215613eb2579182015b82811115613eb2578251825591602001919060010190613e97565b50613ebe929150613fec565b5090565b82805482825590600052602060002090601f01602090048101928215613eb25791602002820160005b83821115613f2957835183826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302613eeb565b8015613f565782816101000a81549060ff0219169055600101602081600001049283019260010302613f29565b5050613ebe929150613fec565b6040518060a00160405280606081526020016060815260200160608152602001600060ff168152602001613fc86040518060800160405280600061ffff168152602001600061ffff168152602001600061ffff168152602001600061ffff1681525090565b905290565b6040518061100001604052806080906020820280368337509192915050565b5b80821115613ebe5760008155600101613fed565b600061401461400f84614ec4565b614e6f565b905082815283838301111561402857600080fd5b828260208301376000602084830101529392505050565b600082601f83011261404f578081fd5b8135602061405f61400f83614ea0565b80838252828201915082860187848660051b890101111561407e578586fd5b855b858110156140a357614091826140e6565b84529284019290840190600101614080565b5090979650505050505050565b600082601f8301126140c0578081fd5b61091883833560208501614001565b803561ffff811681146140e157600080fd5b919050565b803560ff811681146140e157600080fd5b600060208284031215614108578081fd5b81356109188161508d565b600060208284031215614124578081fd5b81516109188161508d565b60008060408385031215614141578081fd5b823561414c8161508d565b9150602083013561415c8161508d565b809150509250929050565b60008060006060848603121561417b578081fd5b83356141868161508d565b925060208401356141968161508d565b929592945050506040919091013590565b600080600080608085870312156141bc578081fd5b84356141c78161508d565b935060208501356141d78161508d565b925060408501359150606085013567ffffffffffffffff8111156141f9578182fd5b8501601f81018713614209578182fd5b61421887823560208401614001565b91505092959194509250565b60008060408385031215614236578182fd5b82356142418161508d565b91506020830135801515811461415c578182fd5b60008060408385031215614267578182fd5b82356142728161508d565b946020939093013593505050565b60006020808385031215614292578182fd5b823567ffffffffffffffff8111156142a8578283fd5b8301601f810185136142b8578283fd5b80356142c661400f82614ea0565b80828252848201915084840188868560051b87010111156142e5578687fd5b8694505b838510156143075780358352600194909401939185019185016142e9565b50979650505050505050565b600060208284031215614324578081fd5b8135610918816150a2565b600060208284031215614340578081fd5b8151610918816150a2565b6000806020838503121561435d578182fd5b823567ffffffffffffffff80821115614374578384fd5b818501915085601f830112614387578384fd5b813581811115614395578485fd5b8660208285010111156143a6578485fd5b60209290920196919550909350505050565b6000602082840312156143c9578081fd5b813567ffffffffffffffff8111156143df578182fd5b6132f2848285016140b0565b6000602082840312156143fc578081fd5b815167ffffffffffffffff811115614412578182fd5b8201601f81018413614422578182fd5b805161443061400f82614ec4565b818152856020838501011115614444578384fd5b614455826020830160208601614f73565b95945050505050565b600080600080600080600080610100898b03121561447a578586fd5b883567ffffffffffffffff80821115614491578788fd5b61449d8c838d016140b0565b995060208b01359150808211156144b2578788fd5b6144be8c838d016140b0565b985060408b01359150808211156144d3578788fd5b506144e08b828c016140b0565b9650506144ef60608a016140e6565b94506144fd60808a016140cf565b935061450b60a08a016140cf565b925061451960c08a016140cf565b915061452760e08a016140cf565b90509295985092959890939650565b60008060408385031215614548578182fd5b614551836140cf565b9150602083013567ffffffffffffffff81111561456c578182fd5b6145788582860161403f565b9150509250929050565b600060208284031215614593578081fd5b5035919050565b600080600080608085870312156145af578182fd5b843593506145bf602086016140cf565b9250604085013567ffffffffffffffff8111156145da578283fd5b6145e68782880161403f565b9250506145f5606086016140e6565b905092959194509250565b60008060408385031215614612578182fd5b50508035926020909101359150565b60008151808452614639816020860160208601614f73565b601f01601f19169290920160200192915050565b6000815161465f818560208601614f73565b9290920192915050565b8054600090600181811c908083168061468357607f831692505b60208084108214156146a357634e487b7160e01b86526022600452602486fd5b8180156146b757600181146146c8576146f5565b60ff198616895284890196506146f5565b60008881526020902060005b868110156146ed5781548b8201529085019083016146d4565b505084890196505b50505050505092915050565b60008351614713818460208801614f73565b835190830190614727818360208801614f73565b01949350505050565b60008651614742818460208b01614f73565b865190830190614756818360208b01614f73565b8651910190614769818360208a01614f73565b855191019061477c818360208901614f73565b845191019061478f818360208801614f73565b01979650505050505050565b600083516147ad818460208801614f73565b7f2c202200000000000000000000000000000000000000000000000000000000009083019081526147e16003820185614669565b601160f91b815260010195945050505050565b7f3c7363726970743e0a2f2f206772616220646174615b305d2066726f6d20657481527f68657265756d207472616e73616374696f6e0a2f2f2000000000000000000000602082015260008751614852816036850160208c01614f73565b80830190507f0a2f2f20616e64207075742069742068657265206173206120737472696e670a8060368301527f7661722072617374657244617461203d2027273b0a0a2f2f207468656e20677260568301527f616220646174615b305d2066726f6d20657468657265756d207472616e73616360768301527f74696f6e0a2f2f200000000000000000000000000000000000000000000000006096830152885161490381609e850160208d01614f73565b609e9201918201527f7661722073766744617461203d2027273b0a0a2f2f207468656e20736176652060be8201527f746f2061202e68746d6c2066696c6520616e64206f70656e20696e206120627260de8201527f6f77736572206f6620796f75722063686f6963652e0a0a76617220636f6c6f7260fe8201527f73203d205b00000000000000000000000000000000000000000000000000000061011e820152614a25614a1f614a196149f06149ea6149c161012387018d61464d565b7f5d3b0a0a00000000000000000000000000000000000000000000000000000000815260040190565b8a614669565b7f0a3c2f7363726970743e0a0a00000000000000000000000000000000000000008152600c0190565b8761464d565b8561464d565b9998505050505050505050565b6000601160f91b808352614a496001840185614669565b9081526001019392505050565b7f3c7374796c653e2a7b6d617267696e3a20303b7d626f64797b6261636b67726f81527f756e643a2000000000000000000000000000000000000000000000000000000060208201526000614aae6025830188614669565b7f38303b7d696d672c207376677b706f736974696f6e3a206162736f6c7574653b81527f20746f703a20303b206c6566743a20303b7d696d672e626c69746d61702c207360208201527f76677b746f703a0000000000000000000000000000000000000000000000000060408201528651614b30816047840160208b01614f73565b7f70783b206c6566743a0000000000000000000000000000000000000000000000604792909101918201528551614b6e816050840160208a01614f73565b7f70783b2077696474683a00000000000000000000000000000000000000000000605092909101918201528451614bac81605a840160208901614f73565b614a25614be4614a19605a848601017f70783b206865696768743a0000000000000000000000000000000000000000008152600b0190565b7f70783b207a2d696e6465783a202d313b7d646976207376677b746f703a20303b81527f206c6566743a20303b2077696474683a203135303070783b206865696768743a60208201527f203135303070783b7d3c2f7374796c653e0a0a00000000000000000000000000604082015260530190565b7fffff0000000000000000000000000000000000000000000000000000000000008360f01b16815260006002820183516020808601845b83811015614caf57815160ff1685529382019390820190600101614c90565b5092979650505050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152614cee6080830184614621565b9695505050505050565b6110208101818460005b6080811015614d21578151835260209283019290910190600101614d02565b50505060ff83166110008301529392505050565b6020815260006109186020830184614621565b6020815260008251610100806020850152614d67610120850183614621565b91506020850151601f1980868503016040870152614d858483614621565b9350604087015191508086850301606087015250614da38382614621565b60608781015160ff1660808881019190915290970151805161ffff90811660a08901526020820151811660c08901526040820151811660e08901529701519096169190940152509192915050565b6000602080835260c0830184518285015281850151604085015260408501516060850152606085015160a0608086015281815180845260e08701915084830193508592505b80831015614e5957835160ff168252928401926001929092019190840190614e36565b50608087015160ff811660a08801529350614cee565b604051601f8201601f1916810167ffffffffffffffff81118282101715614e9857614e98615077565b604052919050565b600067ffffffffffffffff821115614eba57614eba615077565b5060051b60200190565b600067ffffffffffffffff821115614ede57614ede615077565b50601f01601f191660200190565b60008219821115614eff57614eff61504b565b500190565b600060ff821660ff84168060ff03821115614f2157614f2161504b565b019392505050565b600082614f3857614f38615061565b500490565b6000816000190483118215151615614f5757614f5761504b565b500290565b600082821015614f6e57614f6e61504b565b500390565b60005b83811015614f8e578181015183820152602001614f76565b83811115612c935750506000910152565b600181811c90821680614fb357607f821691505b60208210811415614fd457634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415614fee57614fee61504b565b5060010190565b600060ff821660ff81141561500c5761500c61504b565b60010192915050565b60008261502457615024615061565b500690565b600060ff83168061503c5761503c615061565b8060ff84160691505092915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146130ea57600080fd5b6001600160e01b0319811681146130ea57600080fdfea2646970667358221220a291e2a83da6c4831b09df07eee511313ed4629207d96adb91449f5cb94df7cd64736f6c6343000804003366756e6374696f6e20686578546f42797465732865297b666f7228766172206f3d5b5d2c723d323b723c652e6c656e6774683b722b3d32296f2e70757368287061727365496e7428652e73756273747228722c32292c313629293b72657475726e206f7d66756e6374696f6e20627566666572546f4261736536342865297b666f7228766172206f3d22222c723d6e65772055696e743841727261792865292c743d722e627974654c656e6774682c6e3d303b6e3c743b6e2b2b296f2b3d537472696e672e66726f6d43686172436f646528725b6e5d293b72657475726e2077696e646f772e62746f61286f297d76617220636f6c6f72536c6f74733d7b7d3b66756e6374696f6e206472617728297b636f6e737420653d686578546f42797465732873766744617461292c6f3d537472696e672e66726f6d43686172436f64652e6170706c79286e756c6c2c65292c723d646f63756d656e742e637265617465456c656d656e74282264697622293b722e696e6e657248544d4c3d6f2c646f63756d656e742e626f64792e617070656e644368696c642872293b636f6e737420743d646f63756d656e742e717565727953656c6563746f7228226469762073766722292e717565727953656c6563746f72416c6c28226722293b666f72285b732c635d6f6620742e656e74726965732829297b766172206e3d632e617474726962757465732e66696c6c2e76616c75653b6e756c6c3d3d636f6c6f72536c6f74735b6e5d262628636f6c6f72536c6f74735b6e5d3d5b5d292c636f6c6f72536c6f74735b6e5d2e707573682863297d76617220613d686578546f42797465732872617374657244617461292c6c3d6e657720496d61676528313530302c31353030293b666f72287661725b732c755d6f66286c2e7372633d22646174613a696d6167652f706e673b6261736536342c222b627566666572546f4261736536342861292c646f63756d656e742e626f64792e617070656e644368696c64286c292c4f626a6563742e6b65797328636f6c6f72536c6f7473292e656e747269657328292929666f72287661722063206f6620636f6c6f72536c6f74735b755d29632e617474726962757465732e66696c6c2e76616c75653d636f6c6f72735b7325636f6c6f72732e6c656e6774685d7d646f63756d656e742e6164644576656e744c697374656e65722822444f4d436f6e74656e744c6f61646564222c64726177293b68747470733a2f2f626c69746e617574732e626c69746d61702e636f6d2f6170692f76312f6d657461646174612f0000000000000000000000008d04a8c79ceb0889bdd12acdf3fa9d207ed3ff63
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102775760003560e01c806368bbcca711610160578063a22cb465116100d8578063d8aa13b51161008c578063eea77a3911610071578063eea77a391461055c578063f2fde38b1461056f578063fd8bb21c146103e657600080fd5b8063d8aa13b5146104ff578063e985e9c51461052057600080fd5b8063b88d4fde116100bd578063b88d4fde146104b9578063c7de64a5146104cc578063c87b56dd146104ec57600080fd5b8063a22cb46514610493578063b06868da146104a657600080fd5b806373c9ae411161012f5780638e1827fd116101145780638e1827fd1461045857806395d89b41146104785780639cb71ef81461048057600080fd5b806373c9ae41146104345780638da5cb5b1461044757600080fd5b806368bbcca7146103e657806370a08231146103f9578063712c75f81461040c578063715018a61461042c57600080fd5b806331f9c919116101f35780634f6ccce7116101c257806355f804b3116101a757806355f804b3146103ad5780636352211e146103c057806366474374146103d357600080fd5b80634f6ccce714610387578063507e38691461039a57600080fd5b806331f9c9191461034c57806342842e0e14610359578063431f5c3e1461036c5780634914c62c1461037f57600080fd5b806318160ddd1161024a57806323b872dd1161022f57806323b872dd1461031e57806329c68dc1146103315780632f745c591461033957600080fd5b806318160ddd146102f95780631df914a61461030b57600080fd5b806301ffc9a71461027c57806306fdde03146102a4578063081812fc146102b9578063095ea7b3146102e4575b600080fd5b61028f61028a366004614313565b610582565b60405190151581526020015b60405180910390f35b6102ac6105c6565b60405161029b9190614d35565b6102cc6102c7366004614582565b610658565b6040516001600160a01b03909116815260200161029b565b6102f76102f2366004614255565b6106f2565b005b6008545b60405190815260200161029b565b6102ac610319366004614582565b610824565b6102f761032c366004614167565b61091f565b6102f76109a6565b6102fd610347366004614255565b610a14565b60555461028f9060ff1681565b6102f7610367366004614167565b610abc565b6102ac61037a366004614600565b610ad7565b6102ac611670565b6102fd610395366004614582565b6116fe565b6102ac6103a8366004614582565b6117b0565b6102f76103bb3660046143b8565b611d87565b6102cc6103ce366004614582565b611df8565b6102f76103e136600461459a565b611e83565b6102f76103f436600461434b565b6123e4565b6102fd6104073660046140f7565b61243e565b61041f61041a366004614582565b6124d8565b60405161029b9190614d48565b6102f761272f565b6102f761044236600461445e565b612795565b600b546001600160a01b03166102cc565b6102fd610466366004614582565b60126020526000908152604090205481565b6102ac612961565b6102ac61048e366004614582565b612970565b6102f76104a1366004614224565b61298f565b61028f6104b4366004614536565b612a54565b6102f76104c73660046141a7565b612c0b565b6104df6104da366004614582565b612c99565b60405161029b9190614df1565b6102ac6104fa366004614582565b612db1565b61051261050d366004614280565b612e99565b60405161029b929190614cf8565b61028f61052e36600461412f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102cc61056a366004614582565b612f75565b6102f761057d3660046140f7565b61300b565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806105c057506105c0826130ed565b92915050565b6060600080546105d590614f9f565b80601f016020809104026020016040519081016040528092919081815260200182805461060190614f9f565b801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106d65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106fd82611df8565b9050806001600160a01b0316836001600160a01b031614156107875760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016106cd565b336001600160a01b03821614806107a357506107a3813361052e565b6108155760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106cd565b61081f8383613188565b505050565b60606000600f838154811061084957634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502016040518060a0016040529081600082015481526020016001820154815260200160028201548152602001600382018054806020026020016040519081016040528092919081815260200182805480156108ed57602002820191906000526020600020906000905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116108be5790505b50505091835250506004919091015460ff166020909101528051604082015191925061091891610ad7565b9392505050565b6109293382613203565b61099b5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106cd565b61081f8383836132fa565b600b546001600160a01b03163314610a005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cd565b6055805460ff19811660ff90911615179055565b6000610a1f8361243e565b8210610a935760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016106cd565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61081f83838360405180602001604052806000815250612c0b565b60606000600e8481548110610afc57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502016040518060a0016040529081600082018054610b2590614f9f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5190614f9f565b8015610b9e5780601f10610b7357610100808354040283529160200191610b9e565b820191906000526020600020905b815481529060010190602001808311610b8157829003601f168201915b50505050508152602001600182018054610bb790614f9f565b80601f0160208091040260200160405190810160405280929190818152602001828054610be390614f9f565b8015610c305780601f10610c0557610100808354040283529160200191610c30565b820191906000526020600020905b815481529060010190602001808311610c1357829003601f168201915b50505050508152602001600282018054610c4990614f9f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7590614f9f565b8015610cc25780601f10610c9757610100808354040283529160200191610cc2565b820191906000526020600020905b815481529060010190602001808311610ca557829003601f168201915b505050505081526020016003820160009054906101000a900460ff1660ff1660ff168152602001600482016040518060800160405290816000820160009054906101000a900461ffff1661ffff1661ffff1681526020016000820160029054906101000a900461ffff1661ffff1661ffff1681526020016000820160049054906101000a900461ffff1661ffff1661ffff1681526020016000820160069054906101000a900461ffff1661ffff1661ffff168152505081525050905060006040518061030001604052806040518060400160405280600581526020017f416c70686100000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f426574610000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f47616d6d6100000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f44656c746100000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f457073696c6f6e0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f5a6574610000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f457461000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f457468657461000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f496f74610000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4b6170706100000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f4c616d626461000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f4d7500000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f4e7500000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f586900000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f4f6d6963726f6e0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f506900000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f52686f000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f5369676d6100000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f546175000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f557073696c6f6e0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f506869000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f436869000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f507369000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4f6d656761000000000000000000000000000000000000000000000000000000815250815250905060006040518061014001604052806040518060400160405280600181526020017f490000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f494900000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f494949000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f495600000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f560000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f564900000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f564949000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f564949490000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f495800000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f58000000000000000000000000000000000000000000000000000000000000008152508152509050611578613e17565b604084810151825280518082019091526001808252600160fd1b602083015282906020020152826115aa601888615015565b601881106115c857634e487b7160e01b600052603260045260246000fd5b602002015160408201526018861061162c576040805180820190915260018152600160fd1b6020820152606082015281611603601888614f29565b600a811061162157634e487b7160e01b600052603260045260246000fd5b602002015160808201525b805160208083015160408085015160608601516080870151925161165596959293919201614730565b60405160208183030381529060405294505050505092915050565b6054805461167d90614f9f565b80601f01602080910402602001604051908101604052809291908181526020018280546116a990614f9f565b80156116f65780601f106116cb576101008083540402835291602001916116f6565b820191906000526020600020905b8154815290600101906020018083116116d957829003601f168201915b505050505081565b600061170960085490565b821061177d5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016106cd565b6008828154811061179e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b60606000600f83815481106117d557634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502016040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820180548060200260200160405190810160405280929190818152602001828054801561187957602002820191906000526020600020906000905b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161184a5790505b50505091835250506004919091015460ff166020909101528051600e805492935060009290919081106118bc57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502016040518060a00160405290816000820180546118e590614f9f565b80601f016020809104026020016040519081016040528092919081815260200182805461191190614f9f565b801561195e5780601f106119335761010080835404028352916020019161195e565b820191906000526020600020905b81548152906001019060200180831161194157829003601f168201915b5050505050815260200160018201805461197790614f9f565b80601f01602080910402602001604051908101604052809291908181526020018280546119a390614f9f565b80156119f05780601f106119c5576101008083540402835291602001916119f0565b820191906000526020600020905b8154815290600101906020018083116119d357829003601f168201915b50505050508152602001600282018054611a0990614f9f565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3590614f9f565b8015611a825780601f10611a5757610100808354040283529160200191611a82565b820191906000526020600020905b815481529060010190602001808311611a6557829003601f168201915b5050509183525050600382015460ff166020808301919091526040805160808101825260049094015461ffff808216865262010000820481169386019390935264010000000081048316858301526601000000000000900490911660608085019190915291019190915290915060005b826060015160ff168160ff161015611c0c5760ff8116611b8557601484606001518260ff1681518110611b3557634e487b7160e01b600052603260045260246000fd5b602002602001015160ff1660408110611b5e57634e487b7160e01b600052603260045260246000fd5b01604051602001611b6f9190614a32565b6040516020818303038152906040529150611bfc565b81601485606001518360ff1681518110611baf57634e487b7160e01b600052603260045260246000fd5b602002602001015160ff1660408110611bd857634e487b7160e01b600052603260045260246000fd5b01604051602001611bea92919061479b565b60405160208183030381529060405291505b611c0581614ff5565b9050611af2565b5060006014846080015160ff1660408110611c3757634e487b7160e01b600052603260045260246000fd5b01611c4d84608001516020015161ffff166134df565b608085015151611c609061ffff166134df565b611c7586608001516040015161ffff166134df565b611c8a87608001516060015161ffff166134df565b604051602001611c9e959493929190614a56565b60408051808303601f19018152908290526020858101518651600c54928901517fa78d070f000000000000000000000000000000000000000000000000000000008652600486015292945092859160549186916001600160a01b03169063a78d070f9060240160006040518083038186803b158015611d1c57600080fd5b505afa158015611d30573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d5891908101906143eb565b604051602001611d6d969594939291906147f4565b604051602081830303815290604052945050505050919050565b600b546001600160a01b03163314611de15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cd565b8051611df4906013906020840190613e3e565b5050565b6000818152600260205260408120546001600160a01b0316806105c05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016106cd565b6002600a541415611ed65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106cd565b6002600a5560555460ff16611f2d5760405162461bcd60e51b815260206004820152601f60248201527f4d696e74696e67206973206e6f742063757272656e746c79206163746976650060448201526064016106cd565b600e5461ffff841610611f825760405162461bcd60e51b815260206004820152601060248201527f4672616d6520494420696e76616c69640000000000000000000000000000000060448201526064016106cd565b611f8b84612f75565b6001600160a01b0316336001600160a01b031614611feb5760405162461bcd60e51b815260206004820152601160248201527f426c69746d6170206e6f74206f776e656400000000000000000000000000000060448201526064016106cd565b60008481526010602052604090205460ff161561204a5760405162461bcd60e51b815260206004820152601860248201527f426c69746d617020616c72656164792072656465656d6564000000000000000060448201526064016106cd565b600e8361ffff168154811061206f57634e487b7160e01b600052603260045260246000fd5b6000918252602090912060036005909202010154825160ff909116146120d75760405162461bcd60e51b815260206004820152601e60248201527f4e756d626572206f6620636f6c6f727320646f65736e2774206d61746368000060448201526064016106cd565b6120e2604082615029565b905060005b82518160ff16101561216f576040838260ff168151811061211857634e487b7160e01b600052603260045260246000fd5b602002602001015161212a9190615029565b838260ff168151811061214d57634e487b7160e01b600052603260045260246000fd5b60ff9092166020928302919091019091015261216881614ff5565b90506120e7565b5060008383604051602001612185929190614c59565b60408051601f1981840301815291815281516020928301206000818152601190935291205490915060ff16156122235760405162461bcd60e51b815260206004820152602160248201527f4672616d652f636f6c6f7220636f6d626f20616c72656164792063726166746560448201527f640000000000000000000000000000000000000000000000000000000000000060648201526084016106cd565b600061222e60085490565b90506122656040518060a0016040528060008152602001600081526020016000815260200160608152602001600060ff1681525090565b602081810188815261ffff88168084526060840188815260ff881660808601526000918252601284526040808320548187019081528c8452601086529083208054600160ff199091168117909155600f8054918201815590935285517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac802600590940293840190815593517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac803840155517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac804830155518051859461236b937f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80501920190613ec2565b50608091909101516004909101805460ff191660ff90921691909117905561ffff861660009081526012602052604081208054916123a883614fda565b90915550506000838152601160205260409020805460ff191660011790556123d66123d03390565b8361363c565b50506001600a555050505050565b600b546001600160a01b03163314611df45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cd565b60006001600160a01b0382166124bc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016106cd565b506001600160a01b031660009081526003602052604090205490565b6124e0613f63565b600e828154811061250157634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502016040518060a001604052908160008201805461252a90614f9f565b80601f016020809104026020016040519081016040528092919081815260200182805461255690614f9f565b80156125a35780601f10612578576101008083540402835291602001916125a3565b820191906000526020600020905b81548152906001019060200180831161258657829003601f168201915b505050505081526020016001820180546125bc90614f9f565b80601f01602080910402602001604051908101604052809291908181526020018280546125e890614f9f565b80156126355780601f1061260a57610100808354040283529160200191612635565b820191906000526020600020905b81548152906001019060200180831161261857829003601f168201915b5050505050815260200160028201805461264e90614f9f565b80601f016020809104026020016040519081016040528092919081815260200182805461267a90614f9f565b80156126c75780601f1061269c576101008083540402835291602001916126c7565b820191906000526020600020905b8154815290600101906020018083116126aa57829003601f168201915b5050509183525050600382015460ff166020808301919091526040805160808101825260049094015461ffff80821686526201000082048116938601939093526401000000008104831685830152660100000000000090049091166060840152015292915050565b600b546001600160a01b031633146127895760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cd565b6127936000613656565b565b600b546001600160a01b031633146127ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cd565b6040805160808101825261ffff86811682528581166020830152848116928201929092529082166060820152612823613f63565b89815260208082018a90526040820189905260ff8816606083015260808201839052600e805460018101825560009190915282518051849360059093027fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0192612891928492910190613e3e565b5060208281015180516128aa9260018501920190613e3e565b50604082015180516128c6916002840191602090910190613e3e565b5060608281015160038301805460ff90921660ff1990921691909117905560809092015180516004909201805460208301516040840151939095015161ffff90811666010000000000000267ffff00000000000019948216640100000000029490941667ffffffff0000000019968216620100000263ffffffff19909316919095161717939093169190911717905550505050505050505050565b6060600180546105d590614f9f565b6014816040811061298057600080fd5b01805490915061167d90614f9f565b6001600160a01b0382163314156129e85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106cd565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e5460009061ffff841610612aac5760405162461bcd60e51b815260206004820152601060248201527f4672616d6520494420696e76616c69640000000000000000000000000000000060448201526064016106cd565b600e8361ffff1681548110612ad157634e487b7160e01b600052603260045260246000fd5b6000918252602090912060036005909202010154825160ff90911614612b395760405162461bcd60e51b815260206004820152601e60248201527f4e756d626572206f6620636f6c6f727320646f65736e2774206d61746368000060448201526064016106cd565b60005b82518160ff161015612bc4576040838260ff1681518110612b6d57634e487b7160e01b600052603260045260246000fd5b6020026020010151612b7f9190615029565b838260ff1681518110612ba257634e487b7160e01b600052603260045260246000fd5b60ff90921660209283029190910190910152612bbd81614ff5565b9050612b3c565b5060008383604051602001612bda929190614c59565b60408051808303601f1901815291815281516020928301206000908152601190925290205460ff1615949350505050565b612c153383613203565b612c875760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106cd565b612c93848484846136b5565b50505050565b612cce6040518060a0016040528060008152602001600081526020016000815260200160608152602001600060ff1681525090565b600f8281548110612cef57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502016040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201805480602002602001604051908101604052809291908181526020018280548015612d9357602002820191906000526020600020906000905b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411612d645790505b50505091835250506004919091015460ff1660209091015292915050565b6000818152600260205260409020546060906001600160a01b0316612e3e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016106cd565b6000612e48613733565b90506000815111612e685760405180602001604052806000815250610918565b80612e7284613742565b604051602001612e83929190614701565b6040516020818303038152906040529392505050565b612ea1613fcd565b6000612eab613fcd565b6000805b8551811015612f6a5760106000878381518110612edc57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16612f5a57858181518110612f1e57634e487b7160e01b600052603260045260246000fd5b6020026020010151838360ff1660808110612f4957634e487b7160e01b600052603260045260246000fd5b6020020152612f5782614ff5565b91505b612f6381614fda565b9050612eaf565b509094909350915050565b600c546040517f6352211e000000000000000000000000000000000000000000000000000000008152600481018390526000916001600160a01b031690636352211e9060240160206040518083038186803b158015612fd357600080fd5b505afa158015612fe7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c09190614113565b600b546001600160a01b031633146130655760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cd565b6001600160a01b0381166130e15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106cd565b6130ea81613656565b50565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061315057506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806105c057507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146105c0565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906131ca82611df8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661327c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106cd565b600061328783611df8565b9050806001600160a01b0316846001600160a01b031614806132c25750836001600160a01b03166132b784610658565b6001600160a01b0316145b806132f257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661330d82611df8565b6001600160a01b0316146133895760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016106cd565b6001600160a01b0382166134045760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106cd565b61340f838383613874565b61341a600082613188565b6001600160a01b0383166000908152600360205260408120805460019290613443908490614f5c565b90915550506001600160a01b0382166000908152600360205260408120805460019290613471908490614eec565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6060816135035750506040805180820190915260018152600360fc1b602082015290565b8160005b811561352d578061351781614fda565b91506135269050600a83614f29565b9150613507565b60008167ffffffffffffffff81111561355657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613580576020820181803683370190505b509050815b851561363357613596600182614f5c565b905060006135a5600a88614f29565b6135b090600a614f3d565b6135ba9088614f5c565b6135c5906030614f04565b905060008160f81b9050808484815181106135f057634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061362a600a89614f29565b97505050613585565b50949350505050565b611df482826040518060200160405280600081525061392c565b600b80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6136c08484846132fa565b6136cc848484846139aa565b612c935760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106cd565b6060601380546105d590614f9f565b6060816137665750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613790578061377a81614fda565b91506137899050600a83614f29565b915061376a565b60008167ffffffffffffffff8111156137b957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156137e3576020820181803683370190505b5090505b84156132f2576137f8600183614f5c565b9150613805600a86615015565b613810906030614eec565b60f81b81838151811061383357634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061386d600a86614f29565b94506137e7565b6001600160a01b0383166138cf576138ca81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6138f2565b816001600160a01b0316836001600160a01b0316146138f2576138f28382613b02565b6001600160a01b0382166139095761081f81613b9f565b826001600160a01b0316826001600160a01b03161461081f5761081f8282613c78565b6139368383613cbc565b61394360008484846139aa565b61081f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106cd565b60006001600160a01b0384163b15613af757604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906139ee903390899088908890600401614cbc565b602060405180830381600087803b158015613a0857600080fd5b505af1925050508015613a38575060408051601f3d908101601f19168201909252613a359181019061432f565b60015b613add573d808015613a66576040519150601f19603f3d011682016040523d82523d6000602084013e613a6b565b606091505b508051613ad55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106cd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506132f2565b506001949350505050565b60006001613b0f8461243e565b613b199190614f5c565b600083815260076020526040902054909150808214613b6c576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613bb190600190614f5c565b60008381526009602052604081205460088054939450909284908110613be757634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110613c1657634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613c5c57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613c838361243e565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216613d125760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106cd565b6000818152600260205260409020546001600160a01b031615613d775760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106cd565b613d8360008383613874565b6001600160a01b0382166000908152600360205260408120805460019290613dac908490614eec565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6040518060a001604052806005905b6060815260200190600190039081613e265790505090565b828054613e4a90614f9f565b90600052602060002090601f016020900481019282613e6c5760008555613eb2565b82601f10613e8557805160ff1916838001178555613eb2565b82800160010185558215613eb2579182015b82811115613eb2578251825591602001919060010190613e97565b50613ebe929150613fec565b5090565b82805482825590600052602060002090601f01602090048101928215613eb25791602002820160005b83821115613f2957835183826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302613eeb565b8015613f565782816101000a81549060ff0219169055600101602081600001049283019260010302613f29565b5050613ebe929150613fec565b6040518060a00160405280606081526020016060815260200160608152602001600060ff168152602001613fc86040518060800160405280600061ffff168152602001600061ffff168152602001600061ffff168152602001600061ffff1681525090565b905290565b6040518061100001604052806080906020820280368337509192915050565b5b80821115613ebe5760008155600101613fed565b600061401461400f84614ec4565b614e6f565b905082815283838301111561402857600080fd5b828260208301376000602084830101529392505050565b600082601f83011261404f578081fd5b8135602061405f61400f83614ea0565b80838252828201915082860187848660051b890101111561407e578586fd5b855b858110156140a357614091826140e6565b84529284019290840190600101614080565b5090979650505050505050565b600082601f8301126140c0578081fd5b61091883833560208501614001565b803561ffff811681146140e157600080fd5b919050565b803560ff811681146140e157600080fd5b600060208284031215614108578081fd5b81356109188161508d565b600060208284031215614124578081fd5b81516109188161508d565b60008060408385031215614141578081fd5b823561414c8161508d565b9150602083013561415c8161508d565b809150509250929050565b60008060006060848603121561417b578081fd5b83356141868161508d565b925060208401356141968161508d565b929592945050506040919091013590565b600080600080608085870312156141bc578081fd5b84356141c78161508d565b935060208501356141d78161508d565b925060408501359150606085013567ffffffffffffffff8111156141f9578182fd5b8501601f81018713614209578182fd5b61421887823560208401614001565b91505092959194509250565b60008060408385031215614236578182fd5b82356142418161508d565b91506020830135801515811461415c578182fd5b60008060408385031215614267578182fd5b82356142728161508d565b946020939093013593505050565b60006020808385031215614292578182fd5b823567ffffffffffffffff8111156142a8578283fd5b8301601f810185136142b8578283fd5b80356142c661400f82614ea0565b80828252848201915084840188868560051b87010111156142e5578687fd5b8694505b838510156143075780358352600194909401939185019185016142e9565b50979650505050505050565b600060208284031215614324578081fd5b8135610918816150a2565b600060208284031215614340578081fd5b8151610918816150a2565b6000806020838503121561435d578182fd5b823567ffffffffffffffff80821115614374578384fd5b818501915085601f830112614387578384fd5b813581811115614395578485fd5b8660208285010111156143a6578485fd5b60209290920196919550909350505050565b6000602082840312156143c9578081fd5b813567ffffffffffffffff8111156143df578182fd5b6132f2848285016140b0565b6000602082840312156143fc578081fd5b815167ffffffffffffffff811115614412578182fd5b8201601f81018413614422578182fd5b805161443061400f82614ec4565b818152856020838501011115614444578384fd5b614455826020830160208601614f73565b95945050505050565b600080600080600080600080610100898b03121561447a578586fd5b883567ffffffffffffffff80821115614491578788fd5b61449d8c838d016140b0565b995060208b01359150808211156144b2578788fd5b6144be8c838d016140b0565b985060408b01359150808211156144d3578788fd5b506144e08b828c016140b0565b9650506144ef60608a016140e6565b94506144fd60808a016140cf565b935061450b60a08a016140cf565b925061451960c08a016140cf565b915061452760e08a016140cf565b90509295985092959890939650565b60008060408385031215614548578182fd5b614551836140cf565b9150602083013567ffffffffffffffff81111561456c578182fd5b6145788582860161403f565b9150509250929050565b600060208284031215614593578081fd5b5035919050565b600080600080608085870312156145af578182fd5b843593506145bf602086016140cf565b9250604085013567ffffffffffffffff8111156145da578283fd5b6145e68782880161403f565b9250506145f5606086016140e6565b905092959194509250565b60008060408385031215614612578182fd5b50508035926020909101359150565b60008151808452614639816020860160208601614f73565b601f01601f19169290920160200192915050565b6000815161465f818560208601614f73565b9290920192915050565b8054600090600181811c908083168061468357607f831692505b60208084108214156146a357634e487b7160e01b86526022600452602486fd5b8180156146b757600181146146c8576146f5565b60ff198616895284890196506146f5565b60008881526020902060005b868110156146ed5781548b8201529085019083016146d4565b505084890196505b50505050505092915050565b60008351614713818460208801614f73565b835190830190614727818360208801614f73565b01949350505050565b60008651614742818460208b01614f73565b865190830190614756818360208b01614f73565b8651910190614769818360208a01614f73565b855191019061477c818360208901614f73565b845191019061478f818360208801614f73565b01979650505050505050565b600083516147ad818460208801614f73565b7f2c202200000000000000000000000000000000000000000000000000000000009083019081526147e16003820185614669565b601160f91b815260010195945050505050565b7f3c7363726970743e0a2f2f206772616220646174615b305d2066726f6d20657481527f68657265756d207472616e73616374696f6e0a2f2f2000000000000000000000602082015260008751614852816036850160208c01614f73565b80830190507f0a2f2f20616e64207075742069742068657265206173206120737472696e670a8060368301527f7661722072617374657244617461203d2027273b0a0a2f2f207468656e20677260568301527f616220646174615b305d2066726f6d20657468657265756d207472616e73616360768301527f74696f6e0a2f2f200000000000000000000000000000000000000000000000006096830152885161490381609e850160208d01614f73565b609e9201918201527f7661722073766744617461203d2027273b0a0a2f2f207468656e20736176652060be8201527f746f2061202e68746d6c2066696c6520616e64206f70656e20696e206120627260de8201527f6f77736572206f6620796f75722063686f6963652e0a0a76617220636f6c6f7260fe8201527f73203d205b00000000000000000000000000000000000000000000000000000061011e820152614a25614a1f614a196149f06149ea6149c161012387018d61464d565b7f5d3b0a0a00000000000000000000000000000000000000000000000000000000815260040190565b8a614669565b7f0a3c2f7363726970743e0a0a00000000000000000000000000000000000000008152600c0190565b8761464d565b8561464d565b9998505050505050505050565b6000601160f91b808352614a496001840185614669565b9081526001019392505050565b7f3c7374796c653e2a7b6d617267696e3a20303b7d626f64797b6261636b67726f81527f756e643a2000000000000000000000000000000000000000000000000000000060208201526000614aae6025830188614669565b7f38303b7d696d672c207376677b706f736974696f6e3a206162736f6c7574653b81527f20746f703a20303b206c6566743a20303b7d696d672e626c69746d61702c207360208201527f76677b746f703a0000000000000000000000000000000000000000000000000060408201528651614b30816047840160208b01614f73565b7f70783b206c6566743a0000000000000000000000000000000000000000000000604792909101918201528551614b6e816050840160208a01614f73565b7f70783b2077696474683a00000000000000000000000000000000000000000000605092909101918201528451614bac81605a840160208901614f73565b614a25614be4614a19605a848601017f70783b206865696768743a0000000000000000000000000000000000000000008152600b0190565b7f70783b207a2d696e6465783a202d313b7d646976207376677b746f703a20303b81527f206c6566743a20303b2077696474683a203135303070783b206865696768743a60208201527f203135303070783b7d3c2f7374796c653e0a0a00000000000000000000000000604082015260530190565b7fffff0000000000000000000000000000000000000000000000000000000000008360f01b16815260006002820183516020808601845b83811015614caf57815160ff1685529382019390820190600101614c90565b5092979650505050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152614cee6080830184614621565b9695505050505050565b6110208101818460005b6080811015614d21578151835260209283019290910190600101614d02565b50505060ff83166110008301529392505050565b6020815260006109186020830184614621565b6020815260008251610100806020850152614d67610120850183614621565b91506020850151601f1980868503016040870152614d858483614621565b9350604087015191508086850301606087015250614da38382614621565b60608781015160ff1660808881019190915290970151805161ffff90811660a08901526020820151811660c08901526040820151811660e08901529701519096169190940152509192915050565b6000602080835260c0830184518285015281850151604085015260408501516060850152606085015160a0608086015281815180845260e08701915084830193508592505b80831015614e5957835160ff168252928401926001929092019190840190614e36565b50608087015160ff811660a08801529350614cee565b604051601f8201601f1916810167ffffffffffffffff81118282101715614e9857614e98615077565b604052919050565b600067ffffffffffffffff821115614eba57614eba615077565b5060051b60200190565b600067ffffffffffffffff821115614ede57614ede615077565b50601f01601f191660200190565b60008219821115614eff57614eff61504b565b500190565b600060ff821660ff84168060ff03821115614f2157614f2161504b565b019392505050565b600082614f3857614f38615061565b500490565b6000816000190483118215151615614f5757614f5761504b565b500290565b600082821015614f6e57614f6e61504b565b500390565b60005b83811015614f8e578181015183820152602001614f76565b83811115612c935750506000910152565b600181811c90821680614fb357607f821691505b60208210811415614fd457634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415614fee57614fee61504b565b5060010190565b600060ff821660ff81141561500c5761500c61504b565b60010192915050565b60008261502457615024615061565b500690565b600060ff83168061503c5761503c615061565b8060ff84160691505092915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146130ea57600080fd5b6001600160e01b0319811681146130ea57600080fdfea2646970667358221220a291e2a83da6c4831b09df07eee511313ed4629207d96adb91449f5cb94df7cd64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008d04a8c79ceb0889bdd12acdf3fa9d207ed3ff63
-----Decoded View---------------
Arg [0] : _blitmapContractAddress (address): 0x8d04a8c79cEB0889Bdd12acdF3Fa9D207eD3Ff63
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000008d04a8c79ceb0889bdd12acdf3fa9d207ed3ff63
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.