ERC-721
Overview
Max Total Supply
6,431 BLACKHOLES
Holders
624
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BLACKHOLESLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BlackHoles
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* ...................... .....2222222222222222222222/..... ...222224444444444444444444444222222... ...22222244 *44222222... ...22244444* 44444422#.. ..222222444 44422222,.. ..222444 44422,.. ..222444 44422,.. ..,22444 44222... ..,22444 44222... ..,22444 44222... ..,22444 44222... ...22222444 44222222... ...22222244444.............................................44444222222.. 444444444444444444444444444444444444444444444444444444444444444444444444/ .................222222222222222222222222222222222................. ..222444 ................. 44422,.. ..222444 ................. 44422,.. ..222222444 44422222,.. ...22244444* 44444422#.. ......22222244 *44222222... ...222224444444444444444444444222222... .....2222222222222222222222/..... ...................... */ pragma solidity ^0.8.12; import "erc721a/contracts/ERC721A.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import "./Utilities.sol"; import "./Renderer.sol"; import "./interfaces/BlackHole.sol"; import "svgnft/contracts/Base64.sol"; import "./interfaces/IERC4906.sol"; contract BlackHoles is ERC721A, Ownable, IERC4906 { event TimedSaleStarted(); uint256 public immutable MAX_LEVEL = 4; uint256 public immutable MAX_SUPPLY_OF_INTERSTELLAR = 42; string[] public BLACK_HOLE_NAMES = ["Micro", "Stellar", "Intermediate", "Supermassive", "Primordial"]; uint256 public price; uint256 public timedSalePrice; // uint256 public timedSaleEndTimestamp; uint256 public timedSaleStartedTimestamp; uint256 public timedSaleThreshold = 1000; uint256 public timedSaleDuration = 24 hours; uint256 public mergingDelay = 5 days; mapping(uint256 => uint256) public massesConsumed; Renderer public renderer; enum MintState { OPEN, TIMED_SALE, CLOSED } /** * @dev Constructs a new instance of the contract. * @param _name Name of the ERC721 token. * @param _symbol Symbol of the ERC721 token. * @param _price Price of each token in wei. * @param _renderer Address of the Renderer contract. */ constructor( string memory _name, string memory _symbol, uint256 _price, uint256 _timedSalePrice, address _renderer ) ERC721A(_name, _symbol) { price = _price; timedSalePrice = _timedSalePrice; renderer = Renderer(_renderer); } /** * @notice Sets the price of each token in wei. * @param _price Price of each token in wei. */ function setPrice(uint256 _price) external onlyOwner { price = _price; } /** * @notice Sets the price of a token during the timed sale. * @param _timedSalePrice Price of each token in wei. */ function setTimedSalePrice(uint256 _timedSalePrice) external onlyOwner { timedSalePrice = _timedSalePrice; } /** * @notice Sets the timed sale duration. * @param _timedSaleDuration Duration of the timed sale in seconds. */ function setTimedSaleDuration(uint256 _timedSaleDuration) external onlyOwner { timedSaleDuration = _timedSaleDuration; } /** * @notice Sets the number of tokens that need to be minted for the timed sale to start. * @param _timedSaleThreshold Number of tokens. */ function setTimedSaleThreshold(uint256 _timedSaleThreshold) external onlyOwner { timedSaleThreshold = _timedSaleThreshold; } /** * @notice Sets the merging delay. * @param _mergingDelay Delay in seconds before a token can be merged after the timed sale. */ function setMergingDelay(uint256 _mergingDelay) external onlyOwner { mergingDelay = _mergingDelay; } /** * @notice Gets the current price of a token. */ function getPrice() public view returns (uint256) { if (getMintState() == MintState.TIMED_SALE) { return timedSalePrice; } else { return price; } } /** * @notice Returns the token URI for a given token ID. * @param _tokenId ID of the token to get the URI for. * @return Token URI. */ function tokenURI(uint256 _tokenId) public view virtual override(ERC721A, IERC721A) returns (string memory) { if (!_exists(_tokenId)) revert URIQueryForNonexistentToken(); string memory name = string(abi.encodePacked("BlackHole #", utils.uint2str(_tokenId))); string memory description = "Fully on-chain, procedurally generated, animated black holes."; BlackHole memory blackHole = blackHoleForTokenId(_tokenId); string memory svg = renderer.getBlackHoleSVG(blackHole); string memory attributes = string.concat( "[", '{"trait_type": "Level", "value": ', utils.uint2str(blackHole.level), "},", '{"trait_type": "Name", "value": "', blackHole.name, '"},', '{"trait_type": "Mass", "value": ', utils.uint2str(blackHole.mass), "}]" ); string memory json = string( abi.encodePacked( '{"name":"', name, '","description":"', description, '",', '"attributes": ', attributes, // attributes ', "image": "data:image/svg+xml;base64,', Base64.encode(bytes(svg)), '"}' ) ); return string(abi.encodePacked("data:application/json;base64,", Base64.encode(bytes(json)))); } /** * @notice Get the structured representation of a token by its ID. * @param _tokenId ID of the token. * @return BlackHole Structured representation of the token. */ function blackHoleForTokenId(uint256 _tokenId) public view returns (BlackHole memory) { uint256 mass = massForTokenId(_tokenId); uint256 level = levelForMass(mass); string memory name = nameForBlackHoleLevel(level); uint256 adjustment = getAdjustmentForMass(mass); return BlackHole({ tokenId: _tokenId, level: level, size: renderer.PIXELS_PER_SIDE() / 2 - (10 - level), mass: mass, name: name, adjustment: adjustment }); } /** * @notice Gets adjustment for a given mass. * @param _mass Mass to calculate the adjustment for. * @return Adjustment. */ function getAdjustmentForMass(uint256 _mass) public view returns (uint256) { uint256 level = levelForMass(_mass); if (level == MAX_LEVEL) { return 0; } uint256 baseUpgradeMass = getBaseUpgradeMass(); uint256 nextLevelMass = baseUpgradeMass * 2**(level + 1) - 1; uint256 baseLevelMass = baseUpgradeMass * 2**level; uint256 prevLevelMass = 0; if (level > 0) { prevLevelMass = baseLevelMass; } uint256 adjustment = (20 * (nextLevelMass - _mass)) / (nextLevelMass - prevLevelMass); return adjustment; } function levelForMass(uint256 _mass) public view returns (uint256) { uint256[] memory upgradeIntervals_ = upgradeIntervals(); if (_mass < upgradeIntervals_[0]) { return 0; } else if (_mass < upgradeIntervals_[1]) { return 1; } else if (_mass < upgradeIntervals_[2]) { return 2; } else if (_mass < upgradeIntervals_[3]) { return 3; } else { return 4; } } function getBaseUpgradeMass() public view returns (uint256) { return utils.max(_totalMinted() / MAX_SUPPLY_OF_INTERSTELLAR / 2**(MAX_LEVEL - 1), 2); } function massForTokenId(uint256 _tokenId) public view returns (uint256) { return massesConsumed[_tokenId] + 1; } /** * @notice Returns the name of a black hole level. * @param _level Level of the black hole. * @return name of the black hole level. */ function nameForBlackHoleLevel(uint256 _level) public view returns (string memory) { return BLACK_HOLE_NAMES[_level]; } function allBlackHoleLevelNames() public view returns (string[] memory) { return BLACK_HOLE_NAMES; } /** * @notice Returns the mass required to upgrade to the next level for each level. */ function upgradeIntervals() public view returns (uint256[] memory) { uint256 baseUpgradeMass = getBaseUpgradeMass(); uint256[] memory intervals = new uint256[](MAX_LEVEL + 1); intervals[0] = baseUpgradeMass; intervals[1] = baseUpgradeMass * 2; intervals[2] = baseUpgradeMass * 4; intervals[3] = baseUpgradeMass * 8; return intervals; } /** * @notice Mints new tokens for the caller. If the caller * mints tokens across the TIMED_SALE_THRESHOLD, it will * mint as many as it can with the given amount of ETH. * @param _quantity Quantity of tokens to mint. */ function mint(uint256 _quantity) external payable { uint256 currentPrice = getPrice(); uint256 supplyBeforeMint = _totalMinted(); MintState mintState = getMintState(); require(mintState != MintState.CLOSED, "Mint is closed"); uint256 supplyAfterMint = supplyBeforeMint + _quantity; uint256 cost = currentPrice * _quantity; // Handle case where the mint crosses the timed sale threshold if (mintState == MintState.OPEN && supplyAfterMint >= timedSaleThreshold) { uint256 quantityAtNewPrice = supplyAfterMint - timedSaleThreshold; // Cost for tokens at old price uint256 quantityAtOldPrice = _quantity - quantityAtNewPrice; cost = quantityAtOldPrice * currentPrice; // Number of tokens that can be minted with the difference quantityAtNewPrice = (msg.value - cost) / timedSalePrice; // Add cost of tokens at new price cost += quantityAtNewPrice * timedSalePrice; // Update quantity to mint _quantity = quantityAtOldPrice + quantityAtNewPrice; // Start timed sale timedSaleStartedTimestamp = block.timestamp; emit TimedSaleStarted(); } require(msg.value >= cost, "Insufficient fee"); _mint(msg.sender, _quantity); // Refund any extra ETH sent if (msg.value > cost) { (bool status, ) = payable(msg.sender).call{value: msg.value - cost}(""); require(status, "Refund failed"); } } /** * @notice Airdrops tokens to a list of recipients. Only callable by the contract owner. * @param _recipients List of recipients to receive the airdrop. * @param _quantity Quantity of tokens to airdrop to each recipient. */ function airdrop(address[] calldata _recipients, uint256 _quantity) external payable onlyOwner { require(getMintState() != MintState.CLOSED, "Exceeds max supply"); for (uint256 i = 0; i < _recipients.length; i++) { _mint(_recipients[i], _quantity); } } /** * @notice Withdraws the contract's balance. Only callable by the contract owner. */ function withdraw() external onlyOwner { require(payable(msg.sender).send(address(this).balance)); } /** * @notice Returns the current mint state. */ function getMintState() public view returns (MintState) { uint256 supply = _totalMinted(); if (supply < timedSaleThreshold) { return MintState.OPEN; } else if (block.timestamp < timedSaleStartedTimestamp + timedSaleDuration) { return MintState.TIMED_SALE; } else { return MintState.CLOSED; } } /** * @notice Returns whether merging is enabled or not. */ function isMergingEnabled() public view returns (bool) { return getMintState() == MintState.CLOSED && block.timestamp > timedSaleStartedTimestamp + timedSaleDuration + mergingDelay; } function timedSaleEndTimestamp() public view returns (uint256) { return timedSaleStartedTimestamp + timedSaleDuration; } /** * @notice Merges a list of tokens into a single token. * @param tokens List of tokens to merge. The first token in the list is the target. */ function merge(uint256[] memory tokens) public { // Burn all tokens except the first one, aka the target // The mass of all other tokens get added to the target require(isMergingEnabled(), "Merging not enabled"); require(tokens.length > 1, "Must merge at least 2 tokens"); uint256 targetId = tokens[0]; require(ownerOf(tokens[0]) == msg.sender, "Must own all tokens (target)"); uint256 sum; for (uint256 i = 1; i < tokens.length; i++) { require(ownerOf(tokens[i]) == msg.sender, "Must own all tokens (burn)"); sum = sum + massForTokenId(tokens[i]); _burn(tokens[i]); } massesConsumed[targetId] += sum; emit MetadataUpdate(targetId); } function blackHolesForTokenIds(uint256[] memory tokenIds) public view returns (BlackHole[] memory) { BlackHole[] memory blackHoles = new BlackHole[](tokenIds.length); for (uint256 i = 0; i < tokenIds.length; i++) { blackHoles[i] = blackHoleForTokenId(tokenIds[i]); } return blackHoles; } function totalMinted() external view returns (uint256) { return _totalMinted(); } function totalBurned() external view returns (uint256) { return _totalBurned(); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
//SPDX-License-Identifier: MIT /* ,,,,,,,,,,,,,,,,,,,,,,, ,,,%%%%%%%%%%%%%%%%%%%%%%%,,, ,,,,,,%%%%%% %%%%%%,,,,, ,,,,,,%%%%%% %%%%%%,,,,, ,,,%%% %%/,, .,,%%% *%%,,, ,,/%%%%% *%%%%%,,, ,,/%% %%%,,, ,,/%% %%%,,, ,,/%% %%%,,, ,,/%% %%%,,, ,,/%% %%%,,, ,,/%% %%%,,, ,,/%% %%%,,, ,,/%%%%% *%%%%%,,, .,,%%% *%%,,, ,,,%%% %%/,, ,,,,,,%%%%%% %%%%%%,,,,, ,,,%%%%%%%%%%%%%%%%%%%%%%%,,, ,,,%%%%%%%%%%%%%%%%%%%%%%%,,, ,,,,,,,,,,,,,,,,,,,,,,, */ pragma solidity ^0.8.12; import "./Utilities.sol"; import "./interfaces/BlackHole.sol"; import "hardhat/console.sol"; contract Renderer { uint256 public constant PIXELS_PER_SIDE = 28; uint256 constant PIXEL_SIZE = 10; uint256 constant CANVAS_SIZE = PIXELS_PER_SIDE * PIXEL_SIZE; string constant SPECIAL_STRING = '<g id="special"><path d="M120 0h10v10h-10V0Z" class="pixel-3"/><path d="M110 0h10v10h-10z" class="pixel-2"/><path d="M130 10h10v10h-10V10Zm-40 0H0v10h90V10Z" class="pixel-3"/><path d="M140 20H0v10h140z" class="pixel-1"/><path d="M40 40H0v10h40V40Z" class="pixel-3"/><path d="M70 30H0v10h70zm40-20h20v10h-20z" class="pixel-2"/><path d="M90 20h20V10H90v10Z" class="pixel-1"/><path d="M130 30H70v10h60V30Z" class="pixel-3"/></g>'; bytes constant COLOR_SCHEMES = hex"02305a05000f05a03700005a01402d05a05001905a03700505a01403705a05002305a03700f05a01410e05a0500fa05a0370e605a01410d0640590fa0560530e603d0180"; constructor() {} function getPixelSVG( uint256 pixelClass, uint8 x, uint8 y ) internal pure returns (string memory) { string memory class = string.concat("pixel-", utils.uint2str(pixelClass)); return string( abi.encodePacked( '<rect x="', utils.uint2str(x * PIXEL_SIZE), '" y="', utils.uint2str(y * PIXEL_SIZE), '" width="', utils.uint2str(PIXEL_SIZE), '" height="', utils.uint2str(PIXEL_SIZE), '" class="', class, '"/>' ) ); } function getColorStyleDefinitions(BlackHole memory _blackHole) internal pure returns (string memory) { uint256 encoded; uint256 level = _blackHole.level; if (level <= 1) { encoded = utils.sliceUint(COLOR_SCHEMES, 0); } else if (level <= 3) { encoded = utils.sliceUint(COLOR_SCHEMES, 27); } else if (level <= 4) { encoded = utils.sliceUint(COLOR_SCHEMES, 36); } if (level == 4) { encoded = encoded >> 4; } else if (level % 2 == 0) { encoded = encoded >> 148; } else { encoded = encoded >> 40; } string memory style = ""; for (uint256 i = 0; i < 4; i++) { string memory fillColor = "black"; if (i > 0) { uint256 hslPacked = (encoded >> (72 - 12 * 3 * (i - 1))); // first color, next 3 nibbles is next color uint256[3] memory hsl = utils.unpackHsl(hslPacked); // hsl[0] -= _blackHole.adjustment; if (hsl[0] < _blackHole.adjustment) { hsl[0] = 360 - (_blackHole.adjustment - hsl[0]); } else { hsl[0] -= _blackHole.adjustment; } hsl[1] -= _blackHole.adjustment * 2; fillColor = utils.getHslString(hsl); } style = string.concat(style, ".pixel-", utils.uint2str(i), " {fill:", fillColor, ";} "); } return style; } struct QuarterCanvasVariables { uint256 renderEndIndex; uint256 renderStartIndex; } function getQuarterCanvas(BlackHole memory _blackHole) internal pure returns (string memory) { QuarterCanvasVariables memory vars; string memory edgeSVG = ""; vars.renderEndIndex = PIXELS_PER_SIDE / 2; vars.renderStartIndex = vars.renderEndIndex - _blackHole.size - 5; for (uint256 i = vars.renderStartIndex; i <= vars.renderEndIndex; i++) { for (uint256 j = vars.renderStartIndex; j <= vars.renderEndIndex; j++) { int256 x = int256(j) - int256(PIXELS_PER_SIDE) / 2; int256 y = int256(i) - int256(PIXELS_PER_SIDE) / 2; uint256 distance = uint256(utils.sqrt(uint256(x * x) + uint256(y * y))); int256 classIndex = int256(distance) - int256(_blackHole.size); if (distance > _blackHole.size && distance <= _blackHole.size + 3) { edgeSVG = string.concat(edgeSVG, getPixelSVG(uint256(classIndex), uint8(j), uint8(i))); } } } return edgeSVG; } function getAnimatedStars(BlackHole memory _blackHole) internal pure returns (string memory) { string memory svg = ""; for (uint256 i = 0; i < 10; i++) { // x is a random number from -PIXELS_PER_SIDE to 2*PIXELS_PER_SIDE uint256 x = utils.randomRange( _blackHole.tokenId, string.concat("animatedStarX", utils.uint2str(i)), 0, PIXELS_PER_SIDE * 3 ); uint256 radius = _blackHole.size + 6; int256 discriminant = int256(radius) * int256(radius) - (int256(x) - int256(PIXELS_PER_SIDE) / 2) * (int256(x) - int256(PIXELS_PER_SIDE) / 2); uint256 minY = 0; uint256 maxY = PIXELS_PER_SIDE * 2; if (discriminant > 0) { // Bottom edge to bottom canvas minY = utils.sqrt(uint256(discriminant)) + PIXELS_PER_SIDE / 2; maxY = PIXELS_PER_SIDE * 2; // Top canvas to top edge if (utils.randomRange(_blackHole.tokenId, string.concat("animatedStarY", utils.uint2str(i)), 0, 2) == 1) { maxY = PIXELS_PER_SIDE - minY; minY = 0; } } // Select a random value between minY and maxY x = x * PIXEL_SIZE; uint256 y = utils.randomRange(_blackHole.tokenId, string.concat("animatedStarY", utils.uint2str(i)), minY, maxY) * PIXEL_SIZE; uint256 fillLightness = utils.randomRange( _blackHole.tokenId, string.concat("fillLightness", utils.uint2str(i)), 15, 200 ); string memory fillColor = utils.getHslString([0, 0, fillLightness]); uint256 animateDuration = 2; uint256 animationOffset = utils.randomRange( _blackHole.tokenId, string.concat("animationOffset", utils.uint2str(i)), 0, 2000 ); string memory animationCommon = string.concat( 'dur="', utils.uint2str(animateDuration), 's" repeatCount="indefinite" begin="', utils.uint2floatstr(animationOffset, 3), 's" calcMode="spline" keyTimes="0;1" keySplines="0.4,0,0.2,1"' ); string memory transformAnimation = string.concat( '<animate attributeName="x" from="', utils.uint2str(x), '" to="', utils.uint2str((PIXELS_PER_SIDE * PIXEL_SIZE) / 2), '" values="', utils.uint2str(x), ";", utils.uint2str((PIXELS_PER_SIDE * PIXEL_SIZE) / 2), '" ', animationCommon, "/>" ); transformAnimation = string.concat( transformAnimation, '<animate attributeName="y" from="', utils.uint2str(y), '" to="', utils.uint2str((PIXELS_PER_SIDE * PIXEL_SIZE) / 2), '" values="', utils.uint2str(y), ";", utils.uint2str((PIXELS_PER_SIDE * PIXEL_SIZE) / 2), '" ', animationCommon, "/>" ); transformAnimation = string.concat( transformAnimation, '<animate attributeName="fill-opacity" from="1" to="0" values="1;0" ', animationCommon, "/>" ); string memory pixel = string.concat( '<rect x="', utils.uint2str(x), '" y="', utils.uint2str(y), '" width="', utils.uint2str(PIXEL_SIZE), '" height="', utils.uint2str(PIXEL_SIZE), '" fill="', fillColor, '">', transformAnimation, "</rect>" ); svg = string.concat(svg, pixel); } return svg; } function getStaticBackground(BlackHole memory _blackHole) internal pure returns (string memory) { string memory svg = ""; for (uint256 i = 0; i < 30; i++) { uint256 x = utils.randomRange( _blackHole.tokenId, string.concat("staticX", utils.uint2str(i)), 0, PIXELS_PER_SIDE ) * PIXEL_SIZE; uint256 y = utils.randomRange( _blackHole.tokenId, string.concat("staticY", utils.uint2str(i)), 0, PIXELS_PER_SIDE ) * PIXEL_SIZE; uint256 fillLightness = utils.randomRange( _blackHole.tokenId, string.concat("fillLightness", utils.uint2str(i)), 5, 12 ); string memory fillColor = utils.getHslString([0, 0, fillLightness]); string memory pixel = string.concat( '<rect x="', utils.uint2str(x), '" y="', utils.uint2str(y), '" width="', utils.uint2str(PIXEL_SIZE), '" height="', utils.uint2str(PIXEL_SIZE), '" fill="', fillColor, '"/>' ); svg = string.concat(svg, pixel); } return svg; } function getBlackHoleSVG(BlackHole memory _blackHole) public pure returns (string memory) { string memory svg = string.concat( '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ', utils.uint2str(CANVAS_SIZE), " ", utils.uint2str(CANVAS_SIZE), '" width="500" height="500">' ); // -- defs // Style string memory colorsStyle = getColorStyleDefinitions(_blackHole); string memory style = string.concat("<style>", colorsStyle, "</style>"); svg = string.concat(svg, "<defs>", style); // Edge def string memory edgeSvg = getQuarterCanvas(_blackHole); string memory g = string.concat('<g id="edge">', edgeSvg, "</g>"); svg = string.concat(svg, '<g id="full">', g); svg = string.concat( svg, '<use href="#edge" transform="scale(-1,1),translate(-', utils.uint2str(CANVAS_SIZE), ',0)" />' ); svg = string.concat( svg, '<use href="#edge" transform="scale(1,-1),translate(0,-', utils.uint2str(CANVAS_SIZE), ')" />' ); svg = string.concat( svg, '<use href="#edge" transform="scale(-1,-1),translate(-', utils.uint2str(CANVAS_SIZE), ",-", utils.uint2str(CANVAS_SIZE), ')" /></g>' ); // Special string def if (_blackHole.level == 4) svg = string.concat(svg, SPECIAL_STRING); // -- end defs svg = string.concat(svg, "</defs>"); // Black background svg = string.concat( svg, '<rect x="0" y="0" width="', utils.uint2str(CANVAS_SIZE), '" height="', utils.uint2str(CANVAS_SIZE), '" fill="black"/>' ); // Static background svg = string.concat(svg, '<g id="background">', getStaticBackground(_blackHole), "</g>"); // Black background part of black hole uint256 backgroundOffset = CANVAS_SIZE / 2 - _blackHole.size * PIXEL_SIZE; uint256 backgroundSize = 2 * _blackHole.size * PIXEL_SIZE; svg = string.concat( svg, '<rect fill="black" x="', utils.uint2str(backgroundOffset), '" y="', utils.uint2str(backgroundOffset), '" width="', utils.uint2str(backgroundSize), '" height="', utils.uint2str(backgroundSize), '" />' ); // Edge part svg = string.concat(svg, '<use href="#full" />'); // Animated stars // svg += getAnimatedStars(holeSize, level) svg = string.concat(svg, getAnimatedStars(_blackHole)); // Special string if (_blackHole.level == 4) { svg = string.concat( svg, '<use href="#special" transform="translate(', utils.uint2str(CANVAS_SIZE / 2 - PIXEL_SIZE), ",", utils.uint2str(CANVAS_SIZE / 2), ')" />', '<use href="#special" transform="scale(-1,1),translate(-', utils.uint2str(CANVAS_SIZE / 2 + PIXEL_SIZE), ",", utils.uint2str(CANVAS_SIZE / 2), ')" />' ); } svg = string.concat(svg, "</svg>"); return svg; } function renderSample(uint256 tokenId, uint256 level) external pure returns (string memory) { uint256 size = PIXELS_PER_SIDE / 2 - (10 - level); // 5 BlackHole memory blackHole = BlackHole({ tokenId: tokenId, level: level, size: size, mass: 1, adjustment: 15, name: "Micro" }); return getBlackHoleSVG(blackHole); } }
//SPDX-License-Identifier: MIT /* ................. ......22222222222222222...... ......22244444444444444444222..... ...222444444 444444222.. ...222444444 44444422*.. ...222444 44422*.. ...222444 44422*.. ...222444 44422*.. ...222444 44422*.. ...222444 44422*.. ...222444444 44444422*.. ...222444444 444444222.. ......22244444444444444444222..... ......22222222222222222...... ................. */ pragma solidity ^0.8.12; library utils { function assemblyKeccak(bytes memory _input) public pure returns (bytes32 x) { assembly { x := keccak256(add(_input, 0x20), mload(_input)) } } function random(string memory input) internal pure returns (uint256) { return uint256(assemblyKeccak(abi.encodePacked(input))); } function randomRange( uint256 tokenId, string memory keyPrefix, uint256 lower, uint256 upper ) internal pure returns (uint256) { uint256 rand = random(string(abi.encodePacked(keyPrefix, uint2str(tokenId)))); return (rand % (upper - lower + 1)) + lower; } function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } function sliceUint(bytes memory bs, uint256 start) internal pure returns (uint256) { require(bs.length >= start + 32, "slicing out of range"); uint256 x; assembly { x := mload(add(bs, add(0x20, start))) } return x; } // function getHslString(HSL memory _hsl) public pure returns (string memory) { // return string(abi.encodePacked("hsl(", uint2str(_hsl.h), ",", uint2str(_hsl.s), "%,", uint2str(_hsl.l), "%)")); // } // function getHslString( // uint256 _h, // uint256 _s, // uint256 _l // ) public pure returns (string memory) { // return string(abi.encodePacked("hsl(", uint2str(_h), ",", uint2str(_s), "%,", uint2str(_l), "%)")); // } function getHslString(uint256[3] memory _hsl) public pure returns (string memory) { return string(abi.encodePacked("hsl(", uint2str(_hsl[0]), ",", uint2str(_hsl[1]), "%,", uint2str(_hsl[2]), "%)")); } function getHslString(uint256 _packedHsl) public pure returns (string memory) { // 3 colors per level, 3 color items per color, H/S/L are color items, 3 bytes each return string( abi.encodePacked( "hsl(", uint2str((_packedHsl >> (12 * 2)) & 0xFFF), ",", uint2str((_packedHsl >> (12 * 1)) & 0xFFF), "%,", uint2str((_packedHsl >> (12 * 0)) & 0xFFF), "%)" ) ); } function unpackHsl(uint256 _packedHsl) public pure returns (uint256[3] memory) { return [(_packedHsl >> (12 * 2)) & 0xFFF, (_packedHsl >> (12 * 1)) & 0xFFF, (_packedHsl >> (12 * 0)) & 0xFFF]; } function uint2floatstr(uint256 _i_scaled, uint256 _decimals) internal pure returns (string memory) { return string.concat(uint2str(_i_scaled / (10**_decimals)), ".", uint2str(_i_scaled % (10**_decimals))); } function int2str(int256 _i) internal pure returns (string memory _uintAsString) { if (_i < 0) { return string.concat("-", uint2str(uint256(-_i))); } else { return uint2str(uint256(_i)); } } // converts an unsigned integer to a string function uint2str(uint256 _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint256 j = _i; uint256 len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint256 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); } function sqrt(uint256 x) internal pure returns (uint256 z) { assembly { // This segment is to get a reasonable initial estimate for the Babylonian method. // If the initial estimate is bad, the number of correct bits increases ~linearly // each iteration instead of ~quadratically. // The idea is to get z*z*y within a small factor of x. // More iterations here gets y in a tighter range. Currently, we will have // y in [256, 256*2^16). We ensure y>= 256 so that the relative difference // between y and y+1 is small. If x < 256 this is not possible, but those cases // are easy enough to verify exhaustively. z := 181 // The 'correct' value is 1, but this saves a multiply later let y := x // Note that we check y>= 2^(k + 8) but shift right by k bits each branch, // this is to ensure that if x >= 256, then y >= 256. if iszero(lt(y, 0x10000000000000000000000000000000000)) { y := shr(128, y) z := shl(64, z) } if iszero(lt(y, 0x1000000000000000000)) { y := shr(64, y) z := shl(32, z) } if iszero(lt(y, 0x10000000000)) { y := shr(32, y) z := shl(16, z) } if iszero(lt(y, 0x1000000)) { y := shr(16, y) z := shl(8, z) } // Now, z*z*y <= x < z*z*(y+1), and y <= 2^(16+8), // and either y >= 256, or x < 256. // Correctness can be checked exhaustively for x < 256, so we assume y >= 256. // Then z*sqrt(y) is within sqrt(257)/sqrt(256) of x, or about 20bps. // The estimate sqrt(x) = (181/1024) * (x+1) is off by a factor of ~2.83 both when x=1 // and when x = 256 or 1/256. In the worst case, this needs seven Babylonian iterations. z := shr(18, mul(z, add(y, 65536))) // A multiply is saved from the initial z := 181 // Run the Babylonian method seven times. This should be enough given initial estimate. // Possibly with a quadratic/cubic polynomial above we could get 4-6. z := shr(1, add(z, div(x, z))) z := shr(1, add(z, div(x, z))) z := shr(1, add(z, div(x, z))) z := shr(1, add(z, div(x, z))) z := shr(1, add(z, div(x, z))) z := shr(1, add(z, div(x, z))) z := shr(1, add(z, div(x, z))) // See https://en.wikipedia.org/wiki/Integer_square_root#Using_only_integer_division. // If x+1 is a perfect square, the Babylonian method cycles between // floor(sqrt(x)) and ceil(sqrt(x)). This check ensures we return floor. // The solmate implementation assigns zRoundDown := div(x, z) first, but // since this case is rare, we choose to save gas on the assignment and // repeat division in the rare case. // If you don't care whether floor or ceil is returned, you can skip this. if lt(div(x, z), z) { z := div(x, z) } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; struct BlackHole { uint256 tokenId; uint256 level; uint256 size; uint256 mass; uint256 adjustment; string name; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/CHECKS721.sol) pragma solidity ^0.8.0; import "erc721a/contracts/IERC721A.sol"; /// @title EIP-721 Metadata Update Extension interface IERC4906 is IERC721A { /// @dev This event emits when the metadata of a token is changed. /// Third-party platforms such as NFT marketplaces can listen to /// the event and auto-update the tokens in their apps. event MetadataUpdate(uint256 _tokenId); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @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, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` 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 payable; /** * @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 payable; /** * @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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// 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(int256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int256)", p0)); } function logUint(uint256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256)", 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(uint256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256)", 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(uint256 p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1)); } function log(uint256 p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1)); } function log(uint256 p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1)); } function log(uint256 p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1)); } function log(string memory p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256)", 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, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", 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, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256)", 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(uint256 p0, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2)); } function log(uint256 p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2)); } function log(uint256 p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2)); } function log(uint256 p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2)); } function log(uint256 p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2)); } function log(uint256 p0, bool p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2)); } function log(uint256 p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2)); } function log(uint256 p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2)); } function log(uint256 p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2)); } function log(uint256 p0, address p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2)); } function log(uint256 p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2)); } function log(uint256 p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2)); } function log(uint256 p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2)); } function log(string memory p0, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2)); } function log(string memory p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2)); } function log(string memory p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2)); } function log(string memory p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", 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, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2)); } function log(bool p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2)); } function log(bool p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2)); } function log(bool p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", 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, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2)); } function log(address p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2)); } function log(address p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2)); } function log(address p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", 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(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint256)", 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, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", 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, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", 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.2; /// [MIT License] /// @title Base64 /// @notice Provides a function for encoding some bytes in base64 /// @author Brecht Devos <[email protected]> library Base64 { bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /// @notice Encodes some bytes to the base64 representation function encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return ""; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((len + 2) / 3); // Add some extra buffer at the end bytes memory result = new bytes(encodedLen + 32); bytes memory table = TABLE; assembly { let tablePtr := add(table, 1) let resultPtr := add(result, 32) for { let i := 0 } lt(i, len) { } { i := add(i, 3) let input := and(mload(add(data, i)), 0xffffff) let out := mload(add(tablePtr, and(shr(18, input), 0x3F))) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)) out := shl(224, out) mstore(resultPtr, out) resultPtr := add(resultPtr, 4) } switch mod(len, 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } mstore(result, encodedLen) } return string(result); } }
{ "evmVersion": "london", "libraries": { "contracts/BlackHoles.sol:BlackHoles": { "utils": "0xBFAb047349E5d8A6BC4A714970Ca1C80D6BAc978" } }, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": false, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_timedSalePrice","type":"uint256"},{"internalType":"address","name":"_renderer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"MetadataUpdate","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":[],"name":"TimedSaleStarted","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":"uint256","name":"","type":"uint256"}],"name":"BLACK_HOLE_NAMES","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_LEVEL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY_OF_INTERSTELLAR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_recipients","type":"address[]"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"allBlackHoleLevelNames","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"blackHoleForTokenId","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"level","type":"uint256"},{"internalType":"uint256","name":"size","type":"uint256"},{"internalType":"uint256","name":"mass","type":"uint256"},{"internalType":"uint256","name":"adjustment","type":"uint256"},{"internalType":"string","name":"name","type":"string"}],"internalType":"struct BlackHole","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"blackHolesForTokenIds","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"level","type":"uint256"},{"internalType":"uint256","name":"size","type":"uint256"},{"internalType":"uint256","name":"mass","type":"uint256"},{"internalType":"uint256","name":"adjustment","type":"uint256"},{"internalType":"string","name":"name","type":"string"}],"internalType":"struct BlackHole[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mass","type":"uint256"}],"name":"getAdjustmentForMass","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseUpgradeMass","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintState","outputs":[{"internalType":"enum BlackHoles.MintState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMergingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mass","type":"uint256"}],"name":"levelForMass","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"massForTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"massesConsumed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"}],"name":"merge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mergingDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_level","type":"uint256"}],"name":"nameForBlackHoleLevel","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renderer","outputs":[{"internalType":"contract Renderer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mergingDelay","type":"uint256"}],"name":"setMergingDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timedSaleDuration","type":"uint256"}],"name":"setTimedSaleDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timedSalePrice","type":"uint256"}],"name":"setTimedSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timedSaleThreshold","type":"uint256"}],"name":"setTimedSaleThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timedSaleDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timedSaleEndTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timedSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timedSaleStartedTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timedSaleThreshold","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":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upgradeIntervals","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040526004608090815250602a60a0908152506040518060a001604052806040518060400160405280600581526020017f4d6963726f00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f5374656c6c61720000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600c81526020017f496e7465726d656469617465000000000000000000000000000000000000000081525081526020016040518060400160405280600c81526020017f53757065726d617373697665000000000000000000000000000000000000000081525081526020016040518060400160405280600a81526020017f5072696d6f726469616c000000000000000000000000000000000000000000008152508152506009906005620001569291906200032d565b506103e8600d5562015180600e5562069780600f553480156200017857600080fd5b5060405162005d6738038062005d6783398181016040528101906200019e91906200064d565b84848160029081620001b1919062000954565b508060039081620001c3919062000954565b50620001d46200025660201b60201c565b6000819055505050620001fc620001f06200025f60201b60201c565b6200026760201b60201c565b82600a8190555081600b8190555080601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505062000a3b565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280548282559060005260206000209081019282156200037a579160200282015b828111156200037957825182908162000368919062000954565b50916020019190600101906200034e565b5b5090506200038991906200038d565b5090565b5b80821115620003b15760008181620003a79190620003b5565b506001016200038e565b5090565b508054620003c3906200074d565b6000825580601f10620003d75750620003f8565b601f016020900490600052602060002090810190620003f79190620003fb565b5b50565b5b8082111562000416576000816000905550600101620003fc565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004838262000438565b810181811067ffffffffffffffff82111715620004a557620004a462000449565b5b80604052505050565b6000620004ba6200041a565b9050620004c8828262000478565b919050565b600067ffffffffffffffff821115620004eb57620004ea62000449565b5b620004f68262000438565b9050602081019050919050565b60005b838110156200052357808201518184015260208101905062000506565b60008484015250505050565b6000620005466200054084620004cd565b620004ae565b90508281526020810184848401111562000565576200056462000433565b5b6200057284828562000503565b509392505050565b600082601f8301126200059257620005916200042e565b5b8151620005a48482602086016200052f565b91505092915050565b6000819050919050565b620005c281620005ad565b8114620005ce57600080fd5b50565b600081519050620005e281620005b7565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200061582620005e8565b9050919050565b620006278162000608565b81146200063357600080fd5b50565b60008151905062000647816200061c565b92915050565b600080600080600060a086880312156200066c576200066b62000424565b5b600086015167ffffffffffffffff8111156200068d576200068c62000429565b5b6200069b888289016200057a565b955050602086015167ffffffffffffffff811115620006bf57620006be62000429565b5b620006cd888289016200057a565b9450506040620006e088828901620005d1565b9350506060620006f388828901620005d1565b9250506080620007068882890162000636565b9150509295509295909350565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200076657607f821691505b6020821081036200077c576200077b6200071e565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007e67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620007a7565b620007f28683620007a7565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620008356200082f6200082984620005ad565b6200080a565b620005ad565b9050919050565b6000819050919050565b620008518362000814565b6200086962000860826200083c565b848454620007b4565b825550505050565b600090565b6200088062000871565b6200088d81848462000846565b505050565b5b81811015620008b557620008a960008262000876565b60018101905062000893565b5050565b601f8211156200090457620008ce8162000782565b620008d98462000797565b81016020851015620008e9578190505b62000901620008f88562000797565b83018262000892565b50505b505050565b600082821c905092915050565b6000620009296000198460080262000909565b1980831691505092915050565b600062000944838362000916565b9150826002028217905092915050565b6200095f8262000713565b67ffffffffffffffff8111156200097b576200097a62000449565b5b6200098782546200074d565b62000994828285620008b9565b600060209050601f831160018114620009cc5760008415620009b7578287015190505b620009c3858262000936565b86555062000a33565b601f198416620009dc8662000782565b60005b8281101562000a0657848901518255600182019150602085019450602081019050620009df565b8683101562000a26578489015162000a22601f89168262000916565b8355505b6001600288020188555050505b505050505050565b60805160a0516152ea62000a7d60003960008181611458015261165d01526000818161142101528181611538015281816118110152611e6101526152ea6000f3fe6080604052600436106102ff5760003560e01c80637858a2a711610190578063a2309ff8116100dc578063ca714e5b11610095578063d89135cd1161006f578063d89135cd14610b70578063de62d84214610b9b578063e985e9c514610bc4578063f2fde38b14610c01576102ff565b8063ca714e5b14610ab9578063cbad784914610af6578063d3dedd6314610b33576102ff565b8063a2309ff8146109b1578063a49062d4146109dc578063b4449b2614610a07578063b88d4fde14610a44578063c204642c14610a60578063c87b56dd14610a7c576102ff565b806393d57dd4116101495780639fc8d6ae116101235780639fc8d6ae14610918578063a035b1fe14610941578063a0712d681461096c578063a22cb46514610988576102ff565b806393d57dd41461089757806395d89b41146108c257806398d5fdca146108ed576102ff565b80637858a2a71461078757806389327f28146107b05780638ada6b0f146107ed5780638b3578c6146108185780638da5cb5b1461084357806391b7f5ed1461086e576102ff565b80633ccfd60b1161024f5780635e23a7631161020857806370a08231116101e257806370a08231146106cb578063715018a614610708578063774a88351461071f5780637752e3681461074a576102ff565b80635e23a763146106265780636352211e146106635780636ae4c0b5146106a0576102ff565b80633ccfd60b1461054757806342842e0e1461055e5780634724d6bd1461057a57806348019b86146105a55780634ca7880c146105d05780635056af05146105fb576102ff565b806318160ddd116102bc5780631df4b972116102965780631df4b972146104ac578063208d12f5146104d757806323b872dd14610500578063310c18131461051c576102ff565b806318160ddd1461041957806318f58b73146104445780631d22dc6f14610481576102ff565b806301ffc9a71461030457806304ec7ed01461034157806306fdde031461036a578063081812fc14610395578063095ea7b3146103d25780630ed89bf0146103ee575b600080fd5b34801561031057600080fd5b5061032b60048036038101906103269190613596565b610c2a565b60405161033891906135de565b60405180910390f35b34801561034d57600080fd5b506103686004803603810190610363919061362f565b610cbc565b005b34801561037657600080fd5b5061037f610cce565b60405161038c91906136ec565b60405180910390f35b3480156103a157600080fd5b506103bc60048036038101906103b7919061362f565b610d60565b6040516103c9919061374f565b60405180910390f35b6103ec60048036038101906103e79190613796565b610ddf565b005b3480156103fa57600080fd5b50610403610f23565b60405161041091906138e2565b60405180910390f35b34801561042557600080fd5b5061042e610ffc565b60405161043b9190613913565b60405180910390f35b34801561045057600080fd5b5061046b60048036038101906104669190613a76565b611013565b6040516104789190613c19565b60405180910390f35b34801561048d57600080fd5b506104966110d8565b6040516104a39190613913565b60405180910390f35b3480156104b857600080fd5b506104c16110de565b6040516104ce9190613913565b60405180910390f35b3480156104e357600080fd5b506104fe60048036038101906104f9919061362f565b6110e4565b005b61051a60048036038101906105159190613c3b565b6110f6565b005b34801561052857600080fd5b50610531611418565b60405161053e9190613913565b60405180910390f35b34801561055357600080fd5b5061055c61149f565b005b61057860048036038101906105739190613c3b565b6114e7565b005b34801561058657600080fd5b5061058f611507565b60405161059c9190613913565b60405180910390f35b3480156105b157600080fd5b506105ba61150d565b6040516105c79190613913565b60405180910390f35b3480156105dc57600080fd5b506105e5611524565b6040516105f29190613d3d565b60405180910390f35b34801561060757600080fd5b5061061061165b565b60405161061d9190613913565b60405180910390f35b34801561063257600080fd5b5061064d6004803603810190610648919061362f565b61167f565b60405161065a9190613913565b60405180910390f35b34801561066f57600080fd5b5061068a6004803603810190610685919061362f565b6116a8565b604051610697919061374f565b60405180910390f35b3480156106ac57600080fd5b506106b56116ba565b6040516106c29190613913565b60405180910390f35b3480156106d757600080fd5b506106f260048036038101906106ed9190613d5f565b6116c0565b6040516106ff9190613913565b60405180910390f35b34801561071457600080fd5b5061071d611778565b005b34801561072b57600080fd5b5061073461178c565b6040516107419190613e03565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c919061362f565b6117d7565b60405161077e9190613913565b60405180910390f35b34801561079357600080fd5b506107ae60048036038101906107a9919061362f565b6117ef565b005b3480156107bc57600080fd5b506107d760048036038101906107d2919061362f565b611801565b6040516107e49190613913565b60405180910390f35b3480156107f957600080fd5b506108026118ea565b60405161080f9190613e7d565b60405180910390f35b34801561082457600080fd5b5061082d611910565b60405161083a91906135de565b60405180910390f35b34801561084f57600080fd5b5061085861196c565b604051610865919061374f565b60405180910390f35b34801561087a57600080fd5b506108956004803603810190610890919061362f565b611996565b005b3480156108a357600080fd5b506108ac6119a8565b6040516108b99190613913565b60405180910390f35b3480156108ce57600080fd5b506108d76119ae565b6040516108e491906136ec565b60405180910390f35b3480156108f957600080fd5b50610902611a40565b60405161090f9190613913565b60405180910390f35b34801561092457600080fd5b5061093f600480360381019061093a919061362f565b611a88565b005b34801561094d57600080fd5b50610956611a9a565b6040516109639190613913565b60405180910390f35b6109866004803603810190610981919061362f565b611aa0565b005b34801561099457600080fd5b506109af60048036038101906109aa9190613ec4565b611d45565b005b3480156109bd57600080fd5b506109c6611e50565b6040516109d39190613913565b60405180910390f35b3480156109e857600080fd5b506109f1611e5f565b6040516109fe9190613913565b60405180910390f35b348015610a1357600080fd5b50610a2e6004803603810190610a29919061362f565b611e83565b604051610a3b91906136ec565b60405180910390f35b610a5e6004803603810190610a599190613fb9565b611f33565b005b610a7a6004803603810190610a759190614097565b611fa6565b005b348015610a8857600080fd5b50610aa36004803603810190610a9e919061362f565b612073565b604051610ab091906136ec565b60405180910390f35b348015610ac557600080fd5b50610ae06004803603810190610adb919061362f565b61225a565b604051610aed9190614180565b60405180910390f35b348015610b0257600080fd5b50610b1d6004803603810190610b18919061362f565b612381565b604051610b2a9190613913565b60405180910390f35b348015610b3f57600080fd5b50610b5a6004803603810190610b55919061362f565b61244d565b604051610b6791906136ec565b60405180910390f35b348015610b7c57600080fd5b50610b856124f9565b604051610b929190613913565b60405180910390f35b348015610ba757600080fd5b50610bc26004803603810190610bbd9190613a76565b612508565b005b348015610bd057600080fd5b50610beb6004803603810190610be691906141a2565b6127b2565b604051610bf891906135de565b60405180910390f35b348015610c0d57600080fd5b50610c286004803603810190610c239190613d5f565b612846565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c8557506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cb55750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610cc46128c9565b80600e8190555050565b606060028054610cdd90614211565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0990614211565b8015610d565780601f10610d2b57610100808354040283529160200191610d56565b820191906000526020600020905b815481529060010190602001808311610d3957829003601f168201915b5050505050905090565b6000610d6b82612947565b610da1576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dea826116a8565b90508073ffffffffffffffffffffffffffffffffffffffff16610e0b6129a6565b73ffffffffffffffffffffffffffffffffffffffff1614610e6e57610e3781610e326129a6565b6127b2565b610e6d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60606009805480602002602001604051908101604052809291908181526020016000905b82821015610ff3578382906000526020600020018054610f6690614211565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9290614211565b8015610fdf5780601f10610fb457610100808354040283529160200191610fdf565b820191906000526020600020905b815481529060010190602001808311610fc257829003601f168201915b505050505081526020019060010190610f47565b50505050905090565b60006110066129ae565b6001546000540303905090565b60606000825167ffffffffffffffff81111561103257611031613933565b5b60405190808252806020026020018201604052801561106b57816020015b6110586134f4565b8152602001906001900390816110505790505b50905060005b83518110156110ce5761109d8482815181106110905761108f614242565b5b602002602001015161225a565b8282815181106110b0576110af614242565b5b602002602001018190525080806110c6906142a0565b915050611071565b5080915050919050565b600e5481565b600f5481565b6110ec6128c9565b80600b8190555050565b6000611101826129b7565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611168576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061117484612a83565b9150915061118a81876111856129a6565b612aaa565b6111d65761119f8661119a6129a6565b6127b2565b6111d5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361123c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6112498686866001612aee565b801561125457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611322856112fe888887612af4565b7c020000000000000000000000000000000000000000000000000000000017612b1c565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036113a857600060018501905060006004600083815260200190815260200160002054036113a65760005481146113a5578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114108686866001612b47565b505050505050565b600061149a60017f000000000000000000000000000000000000000000000000000000000000000061144a91906142e8565b6002611456919061444f565b7f000000000000000000000000000000000000000000000000000000000000000061147f612b4d565b61148991906144c9565b61149391906144c9565b6002612b60565b905090565b6114a76128c9565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050506114e557600080fd5b565b61150283838360405180602001604052806000815250611f33565b505050565b600c5481565b6000600e54600c5461151f91906144fa565b905090565b60606000611530611418565b9050600060017f000000000000000000000000000000000000000000000000000000000000000061156191906144fa565b67ffffffffffffffff81111561157a57611579613933565b5b6040519080825280602002602001820160405280156115a85781602001602082028036833780820191505090505b50905081816000815181106115c0576115bf614242565b5b6020026020010181815250506002826115d9919061452e565b816001815181106115ed576115ec614242565b5b602002602001018181525050600482611606919061452e565b8160028151811061161a57611619614242565b5b602002602001018181525050600882611633919061452e565b8160038151811061164757611646614242565b5b602002602001018181525050809250505090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600160106000848152602001908152602001600020546116a191906144fa565b9050919050565b60006116b3826129b7565b9050919050565b600d5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611727576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117806128c9565b61178a6000612b79565b565b600080611797612b4d565b9050600d548110156117ad5760009150506117d4565b600e54600c546117bd91906144fa565b4210156117ce5760019150506117d4565b60029150505b90565b60106020528060005260406000206000915090505481565b6117f76128c9565b80600d8190555050565b60008061180d83612381565b90507f000000000000000000000000000000000000000000000000000000000000000081036118405760009150506118e5565b600061184a611418565b905060006001808461185c91906144fa565b6002611868919061444f565b83611873919061452e565b61187d91906142e8565b9050600083600261188e919061444f565b83611899919061452e565b90506000808511156118a9578190505b600081846118b791906142e8565b88856118c391906142e8565b60146118cf919061452e565b6118d991906144c9565b90508096505050505050505b919050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060028081111561192557611924613d8c565b5b61192d61178c565b600281111561193f5761193e613d8c565b5b1480156119675750600f54600e54600c5461195a91906144fa565b61196491906144fa565b42115b905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61199e6128c9565b80600a8190555050565b600b5481565b6060600380546119bd90614211565b80601f01602080910402602001604051908101604052809291908181526020018280546119e990614211565b8015611a365780601f10611a0b57610100808354040283529160200191611a36565b820191906000526020600020905b815481529060010190602001808311611a1957829003601f168201915b5050505050905090565b600060016002811115611a5657611a55613d8c565b5b611a5e61178c565b6002811115611a7057611a6f613d8c565b5b03611a7f57600b549050611a85565b600a5490505b90565b611a906128c9565b80600f8190555050565b600a5481565b6000611aaa611a40565b90506000611ab6612b4d565b90506000611ac261178c565b9050600280811115611ad757611ad6613d8c565b5b816002811115611aea57611ae9613d8c565b5b03611b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b21906145d4565b60405180910390fd5b60008483611b3891906144fa565b905060008585611b48919061452e565b905060006002811115611b5e57611b5d613d8c565b5b836002811115611b7157611b70613d8c565b5b148015611b805750600d548210155b15611c2f576000600d5483611b9591906142e8565b905060008188611ba591906142e8565b90508681611bb3919061452e565b9250600b548334611bc491906142e8565b611bce91906144c9565b9150600b5482611bde919061452e565b83611be991906144fa565b92508181611bf791906144fa565b975042600c819055507f6829347062e9f3db38e85deaf425a1d7ea05e95e20362d8b3889a08745d144cb60405160405180910390a150505b80341015611c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6990614640565b60405180910390fd5b611c7c3387612c3f565b80341115611d3d5760003373ffffffffffffffffffffffffffffffffffffffff168234611ca991906142e8565b604051611cb590614691565b60006040518083038185875af1925050503d8060008114611cf2576040519150601f19603f3d011682016040523d82523d6000602084013e611cf7565b606091505b5050905080611d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d32906146f2565b60405180910390fd5b505b505050505050565b8060076000611d526129a6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611dff6129a6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e4491906135de565b60405180910390a35050565b6000611e5a612b4d565b905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b606060098281548110611e9957611e98614242565b5b906000526020600020018054611eae90614211565b80601f0160208091040260200160405190810160405280929190818152602001828054611eda90614211565b8015611f275780601f10611efc57610100808354040283529160200191611f27565b820191906000526020600020905b815481529060010190602001808311611f0a57829003601f168201915b50505050509050919050565b611f3e8484846110f6565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611fa057611f6984848484612dfa565b611f9f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611fae6128c9565b600280811115611fc157611fc0613d8c565b5b611fc961178c565b6002811115611fdb57611fda613d8c565b5b0361201b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120129061475e565b60405180910390fd5b60005b8383905081101561206d5761205a84848381811061203f5761203e614242565b5b90506020020160208101906120549190613d5f565b83612c3f565b8080612065906142a0565b91505061201e565b50505050565b606061207e82612947565b6120b4576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006120bf83612f4a565b6040516020016120cf9190614806565b604051602081830303815290604052905060006040518060600160405280603d8152602001615238603d9139905060006121088561225a565b90506000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cfeb9a02836040518263ffffffff1660e01b81526004016121679190614180565b600060405180830381865afa158015612184573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906121ad91906148c9565b905060006121be8360200151612f4a565b8360a001516121d08560600151612f4a565b6040516020016121e293929190614ab4565b60405160208183030381529060405290506000858583612201866130d2565b6040516020016122149493929190614d34565b604051602081830303815290604052905061222e816130d2565b60405160200161223e9190614e00565b6040516020818303038152906040529650505050505050919050565b6122626134f4565b600061226d8361167f565b9050600061227a82612381565b9050600061228782611e83565b9050600061229484611801565b90506040518060c0016040528087815260200184815260200184600a6122ba91906142e8565b6002601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663030ac5256040518163ffffffff1660e01b8152600401602060405180830381865afa158015612329573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234d9190614e37565b61235791906144c9565b61236191906142e8565b815260200185815260200182815260200183815250945050505050919050565b60008061238c611524565b9050806000815181106123a2576123a1614242565b5b60200260200101518310156123bb576000915050612448565b806001815181106123cf576123ce614242565b5b60200260200101518310156123e8576001915050612448565b806002815181106123fc576123fb614242565b5b6020026020010151831015612415576002915050612448565b8060038151811061242957612428614242565b5b6020026020010151831015612442576003915050612448565b60049150505b919050565b6009818154811061245d57600080fd5b90600052602060002001600091509050805461247890614211565b80601f01602080910402602001604051908101604052809291908181526020018280546124a490614211565b80156124f15780601f106124c6576101008083540402835291602001916124f1565b820191906000526020600020905b8154815290600101906020018083116124d457829003601f168201915b505050505081565b6000612503613269565b905090565b612510611910565b61254f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254690614eb0565b60405180910390fd5b6001815111612593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258a90614f1c565b60405180910390fd5b6000816000815181106125a9576125a8614242565b5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff166125ee836000815181106125e1576125e0614242565b5b60200260200101516116a8565b73ffffffffffffffffffffffffffffffffffffffff1614612644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263b90614f88565b60405180910390fd5b600080600190505b835181101561274b573373ffffffffffffffffffffffffffffffffffffffff1661268f85838151811061268257612681614242565b5b60200260200101516116a8565b73ffffffffffffffffffffffffffffffffffffffff16146126e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126dc90614ff4565b60405180910390fd5b6127088482815181106126fb576126fa614242565b5b602002602001015161167f565b8261271391906144fa565b915061273884828151811061272b5761272a614242565b5b6020026020010151613273565b8080612743906142a0565b91505061264c565b508060106000848152602001908152602001600020600082825461276f91906144fa565b925050819055507ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7826040516127a59190613913565b60405180910390a1505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61284e6128c9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036128bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b490615086565b60405180910390fd5b6128c681612b79565b50565b6128d1613281565b73ffffffffffffffffffffffffffffffffffffffff166128ef61196c565b73ffffffffffffffffffffffffffffffffffffffff1614612945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293c906150f2565b60405180910390fd5b565b6000816129526129ae565b11158015612961575060005482105b801561299f575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600080829050806129c66129ae565b11612a4c57600054811015612a4b5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612a49575b60008103612a3f576004600083600190039350838152602001908152602001600020549050612a15565b8092505050612a7e565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612b0b868684613289565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612b576129ae565b60005403905090565b6000818311612b6f5781612b71565b825b905092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905060008203612c7f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c8c6000848385612aee565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612d0383612cf46000866000612af4565b612cfd85613292565b17612b1c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612da457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612d69565b5060008203612ddf576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612df56000848385612b47565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e206129a6565b8786866040518563ffffffff1660e01b8152600401612e429493929190615167565b6020604051808303816000875af1925050508015612e7e57506040513d601f19601f82011682018060405250810190612e7b91906151c8565b60015b612ef7573d8060008114612eae576040519150601f19603f3d011682016040523d82523d6000602084013e612eb3565b606091505b506000815103612eef576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203612f91576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130cd565b600082905060005b60008214612fc3578080612fac906142a0565b915050600a82612fbc91906144c9565b9150612f99565b60008167ffffffffffffffff811115612fdf57612fde613933565b5b6040519080825280601f01601f1916602001820160405280156130115781602001600182028036833780820191505090505b50905060008290505b600086146130c55760018161302f91906142e8565b90506000600a808861304191906144c9565b61304b919061452e565b8761305691906142e8565b60306130629190615202565b905060008160f81b9050808484815181106130805761307f614242565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a886130bc91906144c9565b9750505061301a565b819450505050505b919050565b6060600082519050600081036130fa5760405180602001604052806000815250915050613264565b6000600360028361310b91906144fa565b61311591906144c9565b6004613121919061452e565b9050600060208261313291906144fa565b67ffffffffffffffff81111561314b5761314a613933565b5b6040519080825280601f01601f19166020018201604052801561317d5781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615275604091399050600181016020830160005b868110156132215760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b905080845260048401935050506131a8565b50600386066001811461323b576002811461324b57613256565b613d3d60f01b6002830352613256565b603d60f81b60018303525b508484525050819450505050505b919050565b6000600154905090565b61327e8160006132a2565b50565b600033905090565b60009392505050565b60006001821460e11b9050919050565b60006132ad836129b7565b905060008190506000806132c086612a83565b915091508415613329576132dc81846132d76129a6565b612aaa565b613328576132f1836132ec6129a6565b6127b2565b613327576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b613337836000886001612aee565b801561334257600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506133ea836133a785600088612af4565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612b1c565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851603613470576000600187019050600060046000838152602001908152602001600020540361346e57600054811461346d578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134da836000886001612b47565b600160008154809291906001019190505550505050505050565b6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001606081525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135738161353e565b811461357e57600080fd5b50565b6000813590506135908161356a565b92915050565b6000602082840312156135ac576135ab613534565b5b60006135ba84828501613581565b91505092915050565b60008115159050919050565b6135d8816135c3565b82525050565b60006020820190506135f360008301846135cf565b92915050565b6000819050919050565b61360c816135f9565b811461361757600080fd5b50565b60008135905061362981613603565b92915050565b60006020828403121561364557613644613534565b5b60006136538482850161361a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561369657808201518184015260208101905061367b565b60008484015250505050565b6000601f19601f8301169050919050565b60006136be8261365c565b6136c88185613667565b93506136d8818560208601613678565b6136e1816136a2565b840191505092915050565b6000602082019050818103600083015261370681846136b3565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137398261370e565b9050919050565b6137498161372e565b82525050565b60006020820190506137646000830184613740565b92915050565b6137738161372e565b811461377e57600080fd5b50565b6000813590506137908161376a565b92915050565b600080604083850312156137ad576137ac613534565b5b60006137bb85828601613781565b92505060206137cc8582860161361a565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600082825260208201905092915050565b600061381e8261365c565b6138288185613802565b9350613838818560208601613678565b613841816136a2565b840191505092915050565b60006138588383613813565b905092915050565b6000602082019050919050565b6000613878826137d6565b61388281856137e1565b935083602082028501613894856137f2565b8060005b858110156138d057848403895281516138b1858261384c565b94506138bc83613860565b925060208a01995050600181019050613898565b50829750879550505050505092915050565b600060208201905081810360008301526138fc818461386d565b905092915050565b61390d816135f9565b82525050565b60006020820190506139286000830184613904565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61396b826136a2565b810181811067ffffffffffffffff8211171561398a57613989613933565b5b80604052505050565b600061399d61352a565b90506139a98282613962565b919050565b600067ffffffffffffffff8211156139c9576139c8613933565b5b602082029050602081019050919050565b600080fd5b60006139f26139ed846139ae565b613993565b90508083825260208201905060208402830185811115613a1557613a146139da565b5b835b81811015613a3e5780613a2a888261361a565b845260208401935050602081019050613a17565b5050509392505050565b600082601f830112613a5d57613a5c61392e565b5b8135613a6d8482602086016139df565b91505092915050565b600060208284031215613a8c57613a8b613534565b5b600082013567ffffffffffffffff811115613aaa57613aa9613539565b5b613ab684828501613a48565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613af4816135f9565b82525050565b600060c083016000830151613b126000860182613aeb565b506020830151613b256020860182613aeb565b506040830151613b386040860182613aeb565b506060830151613b4b6060860182613aeb565b506080830151613b5e6080860182613aeb565b5060a083015184820360a0860152613b768282613813565b9150508091505092915050565b6000613b8f8383613afa565b905092915050565b6000602082019050919050565b6000613baf82613abf565b613bb98185613aca565b935083602082028501613bcb85613adb565b8060005b85811015613c075784840389528151613be88582613b83565b9450613bf383613b97565b925060208a01995050600181019050613bcf565b50829750879550505050505092915050565b60006020820190508181036000830152613c338184613ba4565b905092915050565b600080600060608486031215613c5457613c53613534565b5b6000613c6286828701613781565b9350506020613c7386828701613781565b9250506040613c848682870161361a565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000613cc68383613aeb565b60208301905092915050565b6000602082019050919050565b6000613cea82613c8e565b613cf48185613c99565b9350613cff83613caa565b8060005b83811015613d30578151613d178882613cba565b9750613d2283613cd2565b925050600181019050613d03565b5085935050505092915050565b60006020820190508181036000830152613d578184613cdf565b905092915050565b600060208284031215613d7557613d74613534565b5b6000613d8384828501613781565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613dcc57613dcb613d8c565b5b50565b6000819050613ddd82613dbb565b919050565b6000613ded82613dcf565b9050919050565b613dfd81613de2565b82525050565b6000602082019050613e186000830184613df4565b92915050565b6000819050919050565b6000613e43613e3e613e398461370e565b613e1e565b61370e565b9050919050565b6000613e5582613e28565b9050919050565b6000613e6782613e4a565b9050919050565b613e7781613e5c565b82525050565b6000602082019050613e926000830184613e6e565b92915050565b613ea1816135c3565b8114613eac57600080fd5b50565b600081359050613ebe81613e98565b92915050565b60008060408385031215613edb57613eda613534565b5b6000613ee985828601613781565b9250506020613efa85828601613eaf565b9150509250929050565b600080fd5b600067ffffffffffffffff821115613f2457613f23613933565b5b613f2d826136a2565b9050602081019050919050565b82818337600083830152505050565b6000613f5c613f5784613f09565b613993565b905082815260208101848484011115613f7857613f77613f04565b5b613f83848285613f3a565b509392505050565b600082601f830112613fa057613f9f61392e565b5b8135613fb0848260208601613f49565b91505092915050565b60008060008060808587031215613fd357613fd2613534565b5b6000613fe187828801613781565b9450506020613ff287828801613781565b93505060406140038782880161361a565b925050606085013567ffffffffffffffff81111561402457614023613539565b5b61403087828801613f8b565b91505092959194509250565b600080fd5b60008083601f8401126140575761405661392e565b5b8235905067ffffffffffffffff8111156140745761407361403c565b5b6020830191508360208202830111156140905761408f6139da565b5b9250929050565b6000806000604084860312156140b0576140af613534565b5b600084013567ffffffffffffffff8111156140ce576140cd613539565b5b6140da86828701614041565b935093505060206140ed8682870161361a565b9150509250925092565b600060c08301600083015161410f6000860182613aeb565b5060208301516141226020860182613aeb565b5060408301516141356040860182613aeb565b5060608301516141486060860182613aeb565b50608083015161415b6080860182613aeb565b5060a083015184820360a08601526141738282613813565b9150508091505092915050565b6000602082019050818103600083015261419a81846140f7565b905092915050565b600080604083850312156141b9576141b8613534565b5b60006141c785828601613781565b92505060206141d885828601613781565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061422957607f821691505b60208210810361423c5761423b6141e2565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142ab826135f9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036142dd576142dc614271565b5b600182019050919050565b60006142f3826135f9565b91506142fe836135f9565b925082820390508181111561431657614315614271565b5b92915050565b60008160011c9050919050565b6000808291508390505b60018511156143735780860481111561434f5761434e614271565b5b600185161561435e5780820291505b808102905061436c8561431c565b9450614333565b94509492505050565b60008261438c5760019050614448565b8161439a5760009050614448565b81600181146143b057600281146143ba576143e9565b6001915050614448565b60ff8411156143cc576143cb614271565b5b8360020a9150848211156143e3576143e2614271565b5b50614448565b5060208310610133831016604e8410600b841016171561441e5782820a90508381111561441957614418614271565b5b614448565b61442b8484846001614329565b9250905081840481111561444257614441614271565b5b81810290505b9392505050565b600061445a826135f9565b9150614465836135f9565b92506144927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461437c565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006144d4826135f9565b91506144df836135f9565b9250826144ef576144ee61449a565b5b828204905092915050565b6000614505826135f9565b9150614510836135f9565b925082820190508082111561452857614527614271565b5b92915050565b6000614539826135f9565b9150614544836135f9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561457d5761457c614271565b5b828202905092915050565b7f4d696e7420697320636c6f736564000000000000000000000000000000000000600082015250565b60006145be600e83613667565b91506145c982614588565b602082019050919050565b600060208201905081810360008301526145ed816145b1565b9050919050565b7f496e73756666696369656e742066656500000000000000000000000000000000600082015250565b600061462a601083613667565b9150614635826145f4565b602082019050919050565b600060208201905081810360008301526146598161461d565b9050919050565b600081905092915050565b50565b600061467b600083614660565b91506146868261466b565b600082019050919050565b600061469c8261466e565b9150819050919050565b7f526566756e64206661696c656400000000000000000000000000000000000000600082015250565b60006146dc600d83613667565b91506146e7826146a6565b602082019050919050565b6000602082019050818103600083015261470b816146cf565b9050919050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b6000614748601283613667565b915061475382614712565b602082019050919050565b600060208201905081810360008301526147778161473b565b9050919050565b600081905092915050565b7f426c61636b486f6c652023000000000000000000000000000000000000000000600082015250565b60006147bf600b8361477e565b91506147ca82614789565b600b82019050919050565b60006147e08261365c565b6147ea818561477e565b93506147fa818560208601613678565b80840191505092915050565b6000614811826147b2565b915061481d82846147d5565b915081905092915050565b600067ffffffffffffffff82111561484357614842613933565b5b61484c826136a2565b9050602081019050919050565b600061486c61486784614828565b613993565b90508281526020810184848401111561488857614887613f04565b5b614893848285613678565b509392505050565b600082601f8301126148b0576148af61392e565b5b81516148c0848260208601614859565b91505092915050565b6000602082840312156148df576148de613534565b5b600082015167ffffffffffffffff8111156148fd576148fc613539565b5b6149098482850161489b565b91505092915050565b7f5b00000000000000000000000000000000000000000000000000000000000000815250565b7f7b2274726169745f74797065223a20224c6576656c222c202276616c7565223a60008201527f2000000000000000000000000000000000000000000000000000000000000000602082015250565b600061499460218361477e565b915061499f82614938565b602182019050919050565b7f7d2c000000000000000000000000000000000000000000000000000000000000815250565b7f7b2274726169745f74797065223a20224e616d65222c202276616c7565223a2060008201527f2200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a2c60218361477e565b9150614a37826149d0565b602182019050919050565b7f227d2c0000000000000000000000000000000000000000000000000000000000815250565b7f7b2274726169745f74797065223a20224d617373222c202276616c7565223a20815250565b7f7d5d000000000000000000000000000000000000000000000000000000000000815250565b6000614abf82614912565b600182019150614ace82614987565b9150614ada82866147d5565b9150614ae5826149aa565b600282019150614af482614a1f565b9150614b0082856147d5565b9150614b0b82614a42565b600382019150614b1a82614a68565b602082019150614b2a82846147d5565b9150614b3582614a8e565b600282019150819050949350505050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b6000614b7c60098361477e565b9150614b8782614b46565b600982019050919050565b7f222c226465736372697074696f6e223a22000000000000000000000000000000600082015250565b6000614bc860118361477e565b9150614bd382614b92565b601182019050919050565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c1460028361477e565b9150614c1f82614bde565b600282019050919050565b7f2261747472696275746573223a20000000000000000000000000000000000000600082015250565b6000614c60600e8361477e565b9150614c6b82614c2a565b600e82019050919050565b7f2c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b6260008201527f61736536342c0000000000000000000000000000000000000000000000000000602082015250565b6000614cd260268361477e565b9150614cdd82614c76565b602682019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d1e60028361477e565b9150614d2982614ce8565b600282019050919050565b6000614d3f82614b6f565b9150614d4b82876147d5565b9150614d5682614bbb565b9150614d6282866147d5565b9150614d6d82614c07565b9150614d7882614c53565b9150614d8482856147d5565b9150614d8f82614cc5565b9150614d9b82846147d5565b9150614da682614d11565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614dea601d8361477e565b9150614df582614db4565b601d82019050919050565b6000614e0b82614ddd565b9150614e1782846147d5565b915081905092915050565b600081519050614e3181613603565b92915050565b600060208284031215614e4d57614e4c613534565b5b6000614e5b84828501614e22565b91505092915050565b7f4d657267696e67206e6f7420656e61626c656400000000000000000000000000600082015250565b6000614e9a601383613667565b9150614ea582614e64565b602082019050919050565b60006020820190508181036000830152614ec981614e8d565b9050919050565b7f4d757374206d65726765206174206c65617374203220746f6b656e7300000000600082015250565b6000614f06601c83613667565b9150614f1182614ed0565b602082019050919050565b60006020820190508181036000830152614f3581614ef9565b9050919050565b7f4d757374206f776e20616c6c20746f6b656e7320287461726765742900000000600082015250565b6000614f72601c83613667565b9150614f7d82614f3c565b602082019050919050565b60006020820190508181036000830152614fa181614f65565b9050919050565b7f4d757374206f776e20616c6c20746f6b656e7320286275726e29000000000000600082015250565b6000614fde601a83613667565b9150614fe982614fa8565b602082019050919050565b6000602082019050818103600083015261500d81614fd1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615070602683613667565b915061507b82615014565b604082019050919050565b6000602082019050818103600083015261509f81615063565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006150dc602083613667565b91506150e7826150a6565b602082019050919050565b6000602082019050818103600083015261510b816150cf565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061513982615112565b615143818561511d565b9350615153818560208601613678565b61515c816136a2565b840191505092915050565b600060808201905061517c6000830187613740565b6151896020830186613740565b6151966040830185613904565b81810360608301526151a8818461512e565b905095945050505050565b6000815190506151c28161356a565b92915050565b6000602082840312156151de576151dd613534565b5b60006151ec848285016151b3565b91505092915050565b600060ff82169050919050565b600061520d826151f5565b9150615218836151f5565b9250828201905060ff81111561523157615230614271565b5b9291505056fe46756c6c79206f6e2d636861696e2c2070726f6365647572616c6c792067656e6572617465642c20616e696d6174656420626c61636b20686f6c65732e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220fce6240cd098e15e26d0679837572138903940a1b2e39e1aa7cbd16f53d29e1464736f6c6343000810003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000aa87bee538000000000000000000000000000000000000000000000000000000e35fa931a0000000000000000000000000000a811607554419977bb372fa3a2ec9bbc81575fb4000000000000000000000000000000000000000000000000000000000000000a426c61636b486f6c657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a424c41434b484f4c455300000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102ff5760003560e01c80637858a2a711610190578063a2309ff8116100dc578063ca714e5b11610095578063d89135cd1161006f578063d89135cd14610b70578063de62d84214610b9b578063e985e9c514610bc4578063f2fde38b14610c01576102ff565b8063ca714e5b14610ab9578063cbad784914610af6578063d3dedd6314610b33576102ff565b8063a2309ff8146109b1578063a49062d4146109dc578063b4449b2614610a07578063b88d4fde14610a44578063c204642c14610a60578063c87b56dd14610a7c576102ff565b806393d57dd4116101495780639fc8d6ae116101235780639fc8d6ae14610918578063a035b1fe14610941578063a0712d681461096c578063a22cb46514610988576102ff565b806393d57dd41461089757806395d89b41146108c257806398d5fdca146108ed576102ff565b80637858a2a71461078757806389327f28146107b05780638ada6b0f146107ed5780638b3578c6146108185780638da5cb5b1461084357806391b7f5ed1461086e576102ff565b80633ccfd60b1161024f5780635e23a7631161020857806370a08231116101e257806370a08231146106cb578063715018a614610708578063774a88351461071f5780637752e3681461074a576102ff565b80635e23a763146106265780636352211e146106635780636ae4c0b5146106a0576102ff565b80633ccfd60b1461054757806342842e0e1461055e5780634724d6bd1461057a57806348019b86146105a55780634ca7880c146105d05780635056af05146105fb576102ff565b806318160ddd116102bc5780631df4b972116102965780631df4b972146104ac578063208d12f5146104d757806323b872dd14610500578063310c18131461051c576102ff565b806318160ddd1461041957806318f58b73146104445780631d22dc6f14610481576102ff565b806301ffc9a71461030457806304ec7ed01461034157806306fdde031461036a578063081812fc14610395578063095ea7b3146103d25780630ed89bf0146103ee575b600080fd5b34801561031057600080fd5b5061032b60048036038101906103269190613596565b610c2a565b60405161033891906135de565b60405180910390f35b34801561034d57600080fd5b506103686004803603810190610363919061362f565b610cbc565b005b34801561037657600080fd5b5061037f610cce565b60405161038c91906136ec565b60405180910390f35b3480156103a157600080fd5b506103bc60048036038101906103b7919061362f565b610d60565b6040516103c9919061374f565b60405180910390f35b6103ec60048036038101906103e79190613796565b610ddf565b005b3480156103fa57600080fd5b50610403610f23565b60405161041091906138e2565b60405180910390f35b34801561042557600080fd5b5061042e610ffc565b60405161043b9190613913565b60405180910390f35b34801561045057600080fd5b5061046b60048036038101906104669190613a76565b611013565b6040516104789190613c19565b60405180910390f35b34801561048d57600080fd5b506104966110d8565b6040516104a39190613913565b60405180910390f35b3480156104b857600080fd5b506104c16110de565b6040516104ce9190613913565b60405180910390f35b3480156104e357600080fd5b506104fe60048036038101906104f9919061362f565b6110e4565b005b61051a60048036038101906105159190613c3b565b6110f6565b005b34801561052857600080fd5b50610531611418565b60405161053e9190613913565b60405180910390f35b34801561055357600080fd5b5061055c61149f565b005b61057860048036038101906105739190613c3b565b6114e7565b005b34801561058657600080fd5b5061058f611507565b60405161059c9190613913565b60405180910390f35b3480156105b157600080fd5b506105ba61150d565b6040516105c79190613913565b60405180910390f35b3480156105dc57600080fd5b506105e5611524565b6040516105f29190613d3d565b60405180910390f35b34801561060757600080fd5b5061061061165b565b60405161061d9190613913565b60405180910390f35b34801561063257600080fd5b5061064d6004803603810190610648919061362f565b61167f565b60405161065a9190613913565b60405180910390f35b34801561066f57600080fd5b5061068a6004803603810190610685919061362f565b6116a8565b604051610697919061374f565b60405180910390f35b3480156106ac57600080fd5b506106b56116ba565b6040516106c29190613913565b60405180910390f35b3480156106d757600080fd5b506106f260048036038101906106ed9190613d5f565b6116c0565b6040516106ff9190613913565b60405180910390f35b34801561071457600080fd5b5061071d611778565b005b34801561072b57600080fd5b5061073461178c565b6040516107419190613e03565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c919061362f565b6117d7565b60405161077e9190613913565b60405180910390f35b34801561079357600080fd5b506107ae60048036038101906107a9919061362f565b6117ef565b005b3480156107bc57600080fd5b506107d760048036038101906107d2919061362f565b611801565b6040516107e49190613913565b60405180910390f35b3480156107f957600080fd5b506108026118ea565b60405161080f9190613e7d565b60405180910390f35b34801561082457600080fd5b5061082d611910565b60405161083a91906135de565b60405180910390f35b34801561084f57600080fd5b5061085861196c565b604051610865919061374f565b60405180910390f35b34801561087a57600080fd5b506108956004803603810190610890919061362f565b611996565b005b3480156108a357600080fd5b506108ac6119a8565b6040516108b99190613913565b60405180910390f35b3480156108ce57600080fd5b506108d76119ae565b6040516108e491906136ec565b60405180910390f35b3480156108f957600080fd5b50610902611a40565b60405161090f9190613913565b60405180910390f35b34801561092457600080fd5b5061093f600480360381019061093a919061362f565b611a88565b005b34801561094d57600080fd5b50610956611a9a565b6040516109639190613913565b60405180910390f35b6109866004803603810190610981919061362f565b611aa0565b005b34801561099457600080fd5b506109af60048036038101906109aa9190613ec4565b611d45565b005b3480156109bd57600080fd5b506109c6611e50565b6040516109d39190613913565b60405180910390f35b3480156109e857600080fd5b506109f1611e5f565b6040516109fe9190613913565b60405180910390f35b348015610a1357600080fd5b50610a2e6004803603810190610a29919061362f565b611e83565b604051610a3b91906136ec565b60405180910390f35b610a5e6004803603810190610a599190613fb9565b611f33565b005b610a7a6004803603810190610a759190614097565b611fa6565b005b348015610a8857600080fd5b50610aa36004803603810190610a9e919061362f565b612073565b604051610ab091906136ec565b60405180910390f35b348015610ac557600080fd5b50610ae06004803603810190610adb919061362f565b61225a565b604051610aed9190614180565b60405180910390f35b348015610b0257600080fd5b50610b1d6004803603810190610b18919061362f565b612381565b604051610b2a9190613913565b60405180910390f35b348015610b3f57600080fd5b50610b5a6004803603810190610b55919061362f565b61244d565b604051610b6791906136ec565b60405180910390f35b348015610b7c57600080fd5b50610b856124f9565b604051610b929190613913565b60405180910390f35b348015610ba757600080fd5b50610bc26004803603810190610bbd9190613a76565b612508565b005b348015610bd057600080fd5b50610beb6004803603810190610be691906141a2565b6127b2565b604051610bf891906135de565b60405180910390f35b348015610c0d57600080fd5b50610c286004803603810190610c239190613d5f565b612846565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c8557506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cb55750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610cc46128c9565b80600e8190555050565b606060028054610cdd90614211565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0990614211565b8015610d565780601f10610d2b57610100808354040283529160200191610d56565b820191906000526020600020905b815481529060010190602001808311610d3957829003601f168201915b5050505050905090565b6000610d6b82612947565b610da1576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dea826116a8565b90508073ffffffffffffffffffffffffffffffffffffffff16610e0b6129a6565b73ffffffffffffffffffffffffffffffffffffffff1614610e6e57610e3781610e326129a6565b6127b2565b610e6d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60606009805480602002602001604051908101604052809291908181526020016000905b82821015610ff3578382906000526020600020018054610f6690614211565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9290614211565b8015610fdf5780601f10610fb457610100808354040283529160200191610fdf565b820191906000526020600020905b815481529060010190602001808311610fc257829003601f168201915b505050505081526020019060010190610f47565b50505050905090565b60006110066129ae565b6001546000540303905090565b60606000825167ffffffffffffffff81111561103257611031613933565b5b60405190808252806020026020018201604052801561106b57816020015b6110586134f4565b8152602001906001900390816110505790505b50905060005b83518110156110ce5761109d8482815181106110905761108f614242565b5b602002602001015161225a565b8282815181106110b0576110af614242565b5b602002602001018190525080806110c6906142a0565b915050611071565b5080915050919050565b600e5481565b600f5481565b6110ec6128c9565b80600b8190555050565b6000611101826129b7565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611168576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061117484612a83565b9150915061118a81876111856129a6565b612aaa565b6111d65761119f8661119a6129a6565b6127b2565b6111d5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361123c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6112498686866001612aee565b801561125457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611322856112fe888887612af4565b7c020000000000000000000000000000000000000000000000000000000017612b1c565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036113a857600060018501905060006004600083815260200190815260200160002054036113a65760005481146113a5578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114108686866001612b47565b505050505050565b600061149a60017f000000000000000000000000000000000000000000000000000000000000000461144a91906142e8565b6002611456919061444f565b7f000000000000000000000000000000000000000000000000000000000000002a61147f612b4d565b61148991906144c9565b61149391906144c9565b6002612b60565b905090565b6114a76128c9565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050506114e557600080fd5b565b61150283838360405180602001604052806000815250611f33565b505050565b600c5481565b6000600e54600c5461151f91906144fa565b905090565b60606000611530611418565b9050600060017f000000000000000000000000000000000000000000000000000000000000000461156191906144fa565b67ffffffffffffffff81111561157a57611579613933565b5b6040519080825280602002602001820160405280156115a85781602001602082028036833780820191505090505b50905081816000815181106115c0576115bf614242565b5b6020026020010181815250506002826115d9919061452e565b816001815181106115ed576115ec614242565b5b602002602001018181525050600482611606919061452e565b8160028151811061161a57611619614242565b5b602002602001018181525050600882611633919061452e565b8160038151811061164757611646614242565b5b602002602001018181525050809250505090565b7f000000000000000000000000000000000000000000000000000000000000002a81565b6000600160106000848152602001908152602001600020546116a191906144fa565b9050919050565b60006116b3826129b7565b9050919050565b600d5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611727576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117806128c9565b61178a6000612b79565b565b600080611797612b4d565b9050600d548110156117ad5760009150506117d4565b600e54600c546117bd91906144fa565b4210156117ce5760019150506117d4565b60029150505b90565b60106020528060005260406000206000915090505481565b6117f76128c9565b80600d8190555050565b60008061180d83612381565b90507f000000000000000000000000000000000000000000000000000000000000000481036118405760009150506118e5565b600061184a611418565b905060006001808461185c91906144fa565b6002611868919061444f565b83611873919061452e565b61187d91906142e8565b9050600083600261188e919061444f565b83611899919061452e565b90506000808511156118a9578190505b600081846118b791906142e8565b88856118c391906142e8565b60146118cf919061452e565b6118d991906144c9565b90508096505050505050505b919050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060028081111561192557611924613d8c565b5b61192d61178c565b600281111561193f5761193e613d8c565b5b1480156119675750600f54600e54600c5461195a91906144fa565b61196491906144fa565b42115b905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61199e6128c9565b80600a8190555050565b600b5481565b6060600380546119bd90614211565b80601f01602080910402602001604051908101604052809291908181526020018280546119e990614211565b8015611a365780601f10611a0b57610100808354040283529160200191611a36565b820191906000526020600020905b815481529060010190602001808311611a1957829003601f168201915b5050505050905090565b600060016002811115611a5657611a55613d8c565b5b611a5e61178c565b6002811115611a7057611a6f613d8c565b5b03611a7f57600b549050611a85565b600a5490505b90565b611a906128c9565b80600f8190555050565b600a5481565b6000611aaa611a40565b90506000611ab6612b4d565b90506000611ac261178c565b9050600280811115611ad757611ad6613d8c565b5b816002811115611aea57611ae9613d8c565b5b03611b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b21906145d4565b60405180910390fd5b60008483611b3891906144fa565b905060008585611b48919061452e565b905060006002811115611b5e57611b5d613d8c565b5b836002811115611b7157611b70613d8c565b5b148015611b805750600d548210155b15611c2f576000600d5483611b9591906142e8565b905060008188611ba591906142e8565b90508681611bb3919061452e565b9250600b548334611bc491906142e8565b611bce91906144c9565b9150600b5482611bde919061452e565b83611be991906144fa565b92508181611bf791906144fa565b975042600c819055507f6829347062e9f3db38e85deaf425a1d7ea05e95e20362d8b3889a08745d144cb60405160405180910390a150505b80341015611c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6990614640565b60405180910390fd5b611c7c3387612c3f565b80341115611d3d5760003373ffffffffffffffffffffffffffffffffffffffff168234611ca991906142e8565b604051611cb590614691565b60006040518083038185875af1925050503d8060008114611cf2576040519150601f19603f3d011682016040523d82523d6000602084013e611cf7565b606091505b5050905080611d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d32906146f2565b60405180910390fd5b505b505050505050565b8060076000611d526129a6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611dff6129a6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e4491906135de565b60405180910390a35050565b6000611e5a612b4d565b905090565b7f000000000000000000000000000000000000000000000000000000000000000481565b606060098281548110611e9957611e98614242565b5b906000526020600020018054611eae90614211565b80601f0160208091040260200160405190810160405280929190818152602001828054611eda90614211565b8015611f275780601f10611efc57610100808354040283529160200191611f27565b820191906000526020600020905b815481529060010190602001808311611f0a57829003601f168201915b50505050509050919050565b611f3e8484846110f6565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611fa057611f6984848484612dfa565b611f9f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611fae6128c9565b600280811115611fc157611fc0613d8c565b5b611fc961178c565b6002811115611fdb57611fda613d8c565b5b0361201b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120129061475e565b60405180910390fd5b60005b8383905081101561206d5761205a84848381811061203f5761203e614242565b5b90506020020160208101906120549190613d5f565b83612c3f565b8080612065906142a0565b91505061201e565b50505050565b606061207e82612947565b6120b4576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006120bf83612f4a565b6040516020016120cf9190614806565b604051602081830303815290604052905060006040518060600160405280603d8152602001615238603d9139905060006121088561225a565b90506000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cfeb9a02836040518263ffffffff1660e01b81526004016121679190614180565b600060405180830381865afa158015612184573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906121ad91906148c9565b905060006121be8360200151612f4a565b8360a001516121d08560600151612f4a565b6040516020016121e293929190614ab4565b60405160208183030381529060405290506000858583612201866130d2565b6040516020016122149493929190614d34565b604051602081830303815290604052905061222e816130d2565b60405160200161223e9190614e00565b6040516020818303038152906040529650505050505050919050565b6122626134f4565b600061226d8361167f565b9050600061227a82612381565b9050600061228782611e83565b9050600061229484611801565b90506040518060c0016040528087815260200184815260200184600a6122ba91906142e8565b6002601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663030ac5256040518163ffffffff1660e01b8152600401602060405180830381865afa158015612329573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234d9190614e37565b61235791906144c9565b61236191906142e8565b815260200185815260200182815260200183815250945050505050919050565b60008061238c611524565b9050806000815181106123a2576123a1614242565b5b60200260200101518310156123bb576000915050612448565b806001815181106123cf576123ce614242565b5b60200260200101518310156123e8576001915050612448565b806002815181106123fc576123fb614242565b5b6020026020010151831015612415576002915050612448565b8060038151811061242957612428614242565b5b6020026020010151831015612442576003915050612448565b60049150505b919050565b6009818154811061245d57600080fd5b90600052602060002001600091509050805461247890614211565b80601f01602080910402602001604051908101604052809291908181526020018280546124a490614211565b80156124f15780601f106124c6576101008083540402835291602001916124f1565b820191906000526020600020905b8154815290600101906020018083116124d457829003601f168201915b505050505081565b6000612503613269565b905090565b612510611910565b61254f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254690614eb0565b60405180910390fd5b6001815111612593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258a90614f1c565b60405180910390fd5b6000816000815181106125a9576125a8614242565b5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff166125ee836000815181106125e1576125e0614242565b5b60200260200101516116a8565b73ffffffffffffffffffffffffffffffffffffffff1614612644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263b90614f88565b60405180910390fd5b600080600190505b835181101561274b573373ffffffffffffffffffffffffffffffffffffffff1661268f85838151811061268257612681614242565b5b60200260200101516116a8565b73ffffffffffffffffffffffffffffffffffffffff16146126e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126dc90614ff4565b60405180910390fd5b6127088482815181106126fb576126fa614242565b5b602002602001015161167f565b8261271391906144fa565b915061273884828151811061272b5761272a614242565b5b6020026020010151613273565b8080612743906142a0565b91505061264c565b508060106000848152602001908152602001600020600082825461276f91906144fa565b925050819055507ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7826040516127a59190613913565b60405180910390a1505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61284e6128c9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036128bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b490615086565b60405180910390fd5b6128c681612b79565b50565b6128d1613281565b73ffffffffffffffffffffffffffffffffffffffff166128ef61196c565b73ffffffffffffffffffffffffffffffffffffffff1614612945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293c906150f2565b60405180910390fd5b565b6000816129526129ae565b11158015612961575060005482105b801561299f575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600080829050806129c66129ae565b11612a4c57600054811015612a4b5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612a49575b60008103612a3f576004600083600190039350838152602001908152602001600020549050612a15565b8092505050612a7e565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612b0b868684613289565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612b576129ae565b60005403905090565b6000818311612b6f5781612b71565b825b905092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905060008203612c7f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c8c6000848385612aee565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612d0383612cf46000866000612af4565b612cfd85613292565b17612b1c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612da457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612d69565b5060008203612ddf576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612df56000848385612b47565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e206129a6565b8786866040518563ffffffff1660e01b8152600401612e429493929190615167565b6020604051808303816000875af1925050508015612e7e57506040513d601f19601f82011682018060405250810190612e7b91906151c8565b60015b612ef7573d8060008114612eae576040519150601f19603f3d011682016040523d82523d6000602084013e612eb3565b606091505b506000815103612eef576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203612f91576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130cd565b600082905060005b60008214612fc3578080612fac906142a0565b915050600a82612fbc91906144c9565b9150612f99565b60008167ffffffffffffffff811115612fdf57612fde613933565b5b6040519080825280601f01601f1916602001820160405280156130115781602001600182028036833780820191505090505b50905060008290505b600086146130c55760018161302f91906142e8565b90506000600a808861304191906144c9565b61304b919061452e565b8761305691906142e8565b60306130629190615202565b905060008160f81b9050808484815181106130805761307f614242565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a886130bc91906144c9565b9750505061301a565b819450505050505b919050565b6060600082519050600081036130fa5760405180602001604052806000815250915050613264565b6000600360028361310b91906144fa565b61311591906144c9565b6004613121919061452e565b9050600060208261313291906144fa565b67ffffffffffffffff81111561314b5761314a613933565b5b6040519080825280601f01601f19166020018201604052801561317d5781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615275604091399050600181016020830160005b868110156132215760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b905080845260048401935050506131a8565b50600386066001811461323b576002811461324b57613256565b613d3d60f01b6002830352613256565b603d60f81b60018303525b508484525050819450505050505b919050565b6000600154905090565b61327e8160006132a2565b50565b600033905090565b60009392505050565b60006001821460e11b9050919050565b60006132ad836129b7565b905060008190506000806132c086612a83565b915091508415613329576132dc81846132d76129a6565b612aaa565b613328576132f1836132ec6129a6565b6127b2565b613327576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b613337836000886001612aee565b801561334257600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506133ea836133a785600088612af4565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612b1c565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851603613470576000600187019050600060046000838152602001908152602001600020540361346e57600054811461346d578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134da836000886001612b47565b600160008154809291906001019190505550505050505050565b6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001606081525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135738161353e565b811461357e57600080fd5b50565b6000813590506135908161356a565b92915050565b6000602082840312156135ac576135ab613534565b5b60006135ba84828501613581565b91505092915050565b60008115159050919050565b6135d8816135c3565b82525050565b60006020820190506135f360008301846135cf565b92915050565b6000819050919050565b61360c816135f9565b811461361757600080fd5b50565b60008135905061362981613603565b92915050565b60006020828403121561364557613644613534565b5b60006136538482850161361a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561369657808201518184015260208101905061367b565b60008484015250505050565b6000601f19601f8301169050919050565b60006136be8261365c565b6136c88185613667565b93506136d8818560208601613678565b6136e1816136a2565b840191505092915050565b6000602082019050818103600083015261370681846136b3565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137398261370e565b9050919050565b6137498161372e565b82525050565b60006020820190506137646000830184613740565b92915050565b6137738161372e565b811461377e57600080fd5b50565b6000813590506137908161376a565b92915050565b600080604083850312156137ad576137ac613534565b5b60006137bb85828601613781565b92505060206137cc8582860161361a565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600082825260208201905092915050565b600061381e8261365c565b6138288185613802565b9350613838818560208601613678565b613841816136a2565b840191505092915050565b60006138588383613813565b905092915050565b6000602082019050919050565b6000613878826137d6565b61388281856137e1565b935083602082028501613894856137f2565b8060005b858110156138d057848403895281516138b1858261384c565b94506138bc83613860565b925060208a01995050600181019050613898565b50829750879550505050505092915050565b600060208201905081810360008301526138fc818461386d565b905092915050565b61390d816135f9565b82525050565b60006020820190506139286000830184613904565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61396b826136a2565b810181811067ffffffffffffffff8211171561398a57613989613933565b5b80604052505050565b600061399d61352a565b90506139a98282613962565b919050565b600067ffffffffffffffff8211156139c9576139c8613933565b5b602082029050602081019050919050565b600080fd5b60006139f26139ed846139ae565b613993565b90508083825260208201905060208402830185811115613a1557613a146139da565b5b835b81811015613a3e5780613a2a888261361a565b845260208401935050602081019050613a17565b5050509392505050565b600082601f830112613a5d57613a5c61392e565b5b8135613a6d8482602086016139df565b91505092915050565b600060208284031215613a8c57613a8b613534565b5b600082013567ffffffffffffffff811115613aaa57613aa9613539565b5b613ab684828501613a48565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613af4816135f9565b82525050565b600060c083016000830151613b126000860182613aeb565b506020830151613b256020860182613aeb565b506040830151613b386040860182613aeb565b506060830151613b4b6060860182613aeb565b506080830151613b5e6080860182613aeb565b5060a083015184820360a0860152613b768282613813565b9150508091505092915050565b6000613b8f8383613afa565b905092915050565b6000602082019050919050565b6000613baf82613abf565b613bb98185613aca565b935083602082028501613bcb85613adb565b8060005b85811015613c075784840389528151613be88582613b83565b9450613bf383613b97565b925060208a01995050600181019050613bcf565b50829750879550505050505092915050565b60006020820190508181036000830152613c338184613ba4565b905092915050565b600080600060608486031215613c5457613c53613534565b5b6000613c6286828701613781565b9350506020613c7386828701613781565b9250506040613c848682870161361a565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000613cc68383613aeb565b60208301905092915050565b6000602082019050919050565b6000613cea82613c8e565b613cf48185613c99565b9350613cff83613caa565b8060005b83811015613d30578151613d178882613cba565b9750613d2283613cd2565b925050600181019050613d03565b5085935050505092915050565b60006020820190508181036000830152613d578184613cdf565b905092915050565b600060208284031215613d7557613d74613534565b5b6000613d8384828501613781565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613dcc57613dcb613d8c565b5b50565b6000819050613ddd82613dbb565b919050565b6000613ded82613dcf565b9050919050565b613dfd81613de2565b82525050565b6000602082019050613e186000830184613df4565b92915050565b6000819050919050565b6000613e43613e3e613e398461370e565b613e1e565b61370e565b9050919050565b6000613e5582613e28565b9050919050565b6000613e6782613e4a565b9050919050565b613e7781613e5c565b82525050565b6000602082019050613e926000830184613e6e565b92915050565b613ea1816135c3565b8114613eac57600080fd5b50565b600081359050613ebe81613e98565b92915050565b60008060408385031215613edb57613eda613534565b5b6000613ee985828601613781565b9250506020613efa85828601613eaf565b9150509250929050565b600080fd5b600067ffffffffffffffff821115613f2457613f23613933565b5b613f2d826136a2565b9050602081019050919050565b82818337600083830152505050565b6000613f5c613f5784613f09565b613993565b905082815260208101848484011115613f7857613f77613f04565b5b613f83848285613f3a565b509392505050565b600082601f830112613fa057613f9f61392e565b5b8135613fb0848260208601613f49565b91505092915050565b60008060008060808587031215613fd357613fd2613534565b5b6000613fe187828801613781565b9450506020613ff287828801613781565b93505060406140038782880161361a565b925050606085013567ffffffffffffffff81111561402457614023613539565b5b61403087828801613f8b565b91505092959194509250565b600080fd5b60008083601f8401126140575761405661392e565b5b8235905067ffffffffffffffff8111156140745761407361403c565b5b6020830191508360208202830111156140905761408f6139da565b5b9250929050565b6000806000604084860312156140b0576140af613534565b5b600084013567ffffffffffffffff8111156140ce576140cd613539565b5b6140da86828701614041565b935093505060206140ed8682870161361a565b9150509250925092565b600060c08301600083015161410f6000860182613aeb565b5060208301516141226020860182613aeb565b5060408301516141356040860182613aeb565b5060608301516141486060860182613aeb565b50608083015161415b6080860182613aeb565b5060a083015184820360a08601526141738282613813565b9150508091505092915050565b6000602082019050818103600083015261419a81846140f7565b905092915050565b600080604083850312156141b9576141b8613534565b5b60006141c785828601613781565b92505060206141d885828601613781565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061422957607f821691505b60208210810361423c5761423b6141e2565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142ab826135f9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036142dd576142dc614271565b5b600182019050919050565b60006142f3826135f9565b91506142fe836135f9565b925082820390508181111561431657614315614271565b5b92915050565b60008160011c9050919050565b6000808291508390505b60018511156143735780860481111561434f5761434e614271565b5b600185161561435e5780820291505b808102905061436c8561431c565b9450614333565b94509492505050565b60008261438c5760019050614448565b8161439a5760009050614448565b81600181146143b057600281146143ba576143e9565b6001915050614448565b60ff8411156143cc576143cb614271565b5b8360020a9150848211156143e3576143e2614271565b5b50614448565b5060208310610133831016604e8410600b841016171561441e5782820a90508381111561441957614418614271565b5b614448565b61442b8484846001614329565b9250905081840481111561444257614441614271565b5b81810290505b9392505050565b600061445a826135f9565b9150614465836135f9565b92506144927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461437c565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006144d4826135f9565b91506144df836135f9565b9250826144ef576144ee61449a565b5b828204905092915050565b6000614505826135f9565b9150614510836135f9565b925082820190508082111561452857614527614271565b5b92915050565b6000614539826135f9565b9150614544836135f9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561457d5761457c614271565b5b828202905092915050565b7f4d696e7420697320636c6f736564000000000000000000000000000000000000600082015250565b60006145be600e83613667565b91506145c982614588565b602082019050919050565b600060208201905081810360008301526145ed816145b1565b9050919050565b7f496e73756666696369656e742066656500000000000000000000000000000000600082015250565b600061462a601083613667565b9150614635826145f4565b602082019050919050565b600060208201905081810360008301526146598161461d565b9050919050565b600081905092915050565b50565b600061467b600083614660565b91506146868261466b565b600082019050919050565b600061469c8261466e565b9150819050919050565b7f526566756e64206661696c656400000000000000000000000000000000000000600082015250565b60006146dc600d83613667565b91506146e7826146a6565b602082019050919050565b6000602082019050818103600083015261470b816146cf565b9050919050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b6000614748601283613667565b915061475382614712565b602082019050919050565b600060208201905081810360008301526147778161473b565b9050919050565b600081905092915050565b7f426c61636b486f6c652023000000000000000000000000000000000000000000600082015250565b60006147bf600b8361477e565b91506147ca82614789565b600b82019050919050565b60006147e08261365c565b6147ea818561477e565b93506147fa818560208601613678565b80840191505092915050565b6000614811826147b2565b915061481d82846147d5565b915081905092915050565b600067ffffffffffffffff82111561484357614842613933565b5b61484c826136a2565b9050602081019050919050565b600061486c61486784614828565b613993565b90508281526020810184848401111561488857614887613f04565b5b614893848285613678565b509392505050565b600082601f8301126148b0576148af61392e565b5b81516148c0848260208601614859565b91505092915050565b6000602082840312156148df576148de613534565b5b600082015167ffffffffffffffff8111156148fd576148fc613539565b5b6149098482850161489b565b91505092915050565b7f5b00000000000000000000000000000000000000000000000000000000000000815250565b7f7b2274726169745f74797065223a20224c6576656c222c202276616c7565223a60008201527f2000000000000000000000000000000000000000000000000000000000000000602082015250565b600061499460218361477e565b915061499f82614938565b602182019050919050565b7f7d2c000000000000000000000000000000000000000000000000000000000000815250565b7f7b2274726169745f74797065223a20224e616d65222c202276616c7565223a2060008201527f2200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a2c60218361477e565b9150614a37826149d0565b602182019050919050565b7f227d2c0000000000000000000000000000000000000000000000000000000000815250565b7f7b2274726169745f74797065223a20224d617373222c202276616c7565223a20815250565b7f7d5d000000000000000000000000000000000000000000000000000000000000815250565b6000614abf82614912565b600182019150614ace82614987565b9150614ada82866147d5565b9150614ae5826149aa565b600282019150614af482614a1f565b9150614b0082856147d5565b9150614b0b82614a42565b600382019150614b1a82614a68565b602082019150614b2a82846147d5565b9150614b3582614a8e565b600282019150819050949350505050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b6000614b7c60098361477e565b9150614b8782614b46565b600982019050919050565b7f222c226465736372697074696f6e223a22000000000000000000000000000000600082015250565b6000614bc860118361477e565b9150614bd382614b92565b601182019050919050565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c1460028361477e565b9150614c1f82614bde565b600282019050919050565b7f2261747472696275746573223a20000000000000000000000000000000000000600082015250565b6000614c60600e8361477e565b9150614c6b82614c2a565b600e82019050919050565b7f2c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b6260008201527f61736536342c0000000000000000000000000000000000000000000000000000602082015250565b6000614cd260268361477e565b9150614cdd82614c76565b602682019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d1e60028361477e565b9150614d2982614ce8565b600282019050919050565b6000614d3f82614b6f565b9150614d4b82876147d5565b9150614d5682614bbb565b9150614d6282866147d5565b9150614d6d82614c07565b9150614d7882614c53565b9150614d8482856147d5565b9150614d8f82614cc5565b9150614d9b82846147d5565b9150614da682614d11565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614dea601d8361477e565b9150614df582614db4565b601d82019050919050565b6000614e0b82614ddd565b9150614e1782846147d5565b915081905092915050565b600081519050614e3181613603565b92915050565b600060208284031215614e4d57614e4c613534565b5b6000614e5b84828501614e22565b91505092915050565b7f4d657267696e67206e6f7420656e61626c656400000000000000000000000000600082015250565b6000614e9a601383613667565b9150614ea582614e64565b602082019050919050565b60006020820190508181036000830152614ec981614e8d565b9050919050565b7f4d757374206d65726765206174206c65617374203220746f6b656e7300000000600082015250565b6000614f06601c83613667565b9150614f1182614ed0565b602082019050919050565b60006020820190508181036000830152614f3581614ef9565b9050919050565b7f4d757374206f776e20616c6c20746f6b656e7320287461726765742900000000600082015250565b6000614f72601c83613667565b9150614f7d82614f3c565b602082019050919050565b60006020820190508181036000830152614fa181614f65565b9050919050565b7f4d757374206f776e20616c6c20746f6b656e7320286275726e29000000000000600082015250565b6000614fde601a83613667565b9150614fe982614fa8565b602082019050919050565b6000602082019050818103600083015261500d81614fd1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615070602683613667565b915061507b82615014565b604082019050919050565b6000602082019050818103600083015261509f81615063565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006150dc602083613667565b91506150e7826150a6565b602082019050919050565b6000602082019050818103600083015261510b816150cf565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061513982615112565b615143818561511d565b9350615153818560208601613678565b61515c816136a2565b840191505092915050565b600060808201905061517c6000830187613740565b6151896020830186613740565b6151966040830185613904565b81810360608301526151a8818461512e565b905095945050505050565b6000815190506151c28161356a565b92915050565b6000602082840312156151de576151dd613534565b5b60006151ec848285016151b3565b91505092915050565b600060ff82169050919050565b600061520d826151f5565b9150615218836151f5565b9250828201905060ff81111561523157615230614271565b5b9291505056fe46756c6c79206f6e2d636861696e2c2070726f6365647572616c6c792067656e6572617465642c20616e696d6174656420626c61636b20686f6c65732e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220fce6240cd098e15e26d0679837572138903940a1b2e39e1aa7cbd16f53d29e1464736f6c63430008100033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000aa87bee538000000000000000000000000000000000000000000000000000000e35fa931a0000000000000000000000000000a811607554419977bb372fa3a2ec9bbc81575fb4000000000000000000000000000000000000000000000000000000000000000a426c61636b486f6c657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a424c41434b484f4c455300000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): BlackHoles
Arg [1] : _symbol (string): BLACKHOLES
Arg [2] : _price (uint256): 3000000000000000
Arg [3] : _timedSalePrice (uint256): 4000000000000000
Arg [4] : _renderer (address): 0xA811607554419977bb372fA3a2Ec9bBc81575FB4
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 000000000000000000000000000000000000000000000000000aa87bee538000
Arg [3] : 000000000000000000000000000000000000000000000000000e35fa931a0000
Arg [4] : 000000000000000000000000a811607554419977bb372fa3a2ec9bbc81575fb4
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [6] : 426c61636b486f6c657300000000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [8] : 424c41434b484f4c455300000000000000000000000000000000000000000000
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.