Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 terraflows
Holders
413
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 terraflowsLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Terraflows
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.12; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./Base64.sol"; interface ITerraformsData { function ownerOf(uint256 tokenId) external view returns (address); function balanceOf(address owner) external view returns (uint256); function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); } interface ITerraformsDataHelper { function chromaString(uint256 tokenId) external view returns (string memory); function resourceString(uint256 tokenId) external view returns (string memory); function biomeString(uint256 tokenId) external view returns (string memory); function zoneNameString(uint256 tokenId) external view returns (string memory); function zoneColorsString(uint256 tokenId) external view returns (string memory); function heightmapIndicesString(uint256 tokenId) external view returns (string memory); function terrainValuesString(uint256 tokenId) external view returns (string memory); } interface ITerraflowsSVG { function tokenSVG(uint256, bool) external view returns (string memory); } /// @title Flow field representation of the Terraforms by Mathcastles onchain place (not affiliated with Mathcastles) /// @author yeetljuice contract Terraflows is ERC721, Ownable { /// @notice Sale information uint256 public immutable DEPLOY_TIMESTAMP; uint public constant TERRAFORM_OWNER_PRICE = 0.01 ether; uint public constant NONTERRAFORM_OWNER_PRICE = 0.05 ether; /// @notice External contracts ITerraformsData terraformsContract = ITerraformsData(0x4E1f41613c9084FdB9E34E11fAE9412427480e56); address public terraflowSVG; address public terraformsDataHelper; /// @notice Blend fraction data event BlendUpdate(uint256 indexed _tokenId, uint8 _oldValue, uint8 _newValue); mapping (uint => uint8) public blend; /// @notice The amount each address can claim from the contract mapping (address => uint) public claimableBalance; constructor(address _terraflowSVG, address _terraformsDataHelper) ERC721("Terraflows", "terraflows") { DEPLOY_TIMESTAMP = block.timestamp; terraflowSVG = _terraflowSVG; terraformsDataHelper = _terraformsDataHelper; } /// @notice Get the unminted terraflows corresponding to terraforms held at a specific address /// @param holdingAddress The address to get the unminted terraflows associated with function getUnmintedTerraflows(address holdingAddress) public view returns (string memory unminted) { uint256 addressBalance = terraformsContract.balanceOf(holdingAddress); uint256 i = 0; uint256 tid; while (i < addressBalance) { tid = terraformsContract.tokenOfOwnerByIndex(holdingAddress, i); if (!_exists(tid)) { if (bytes(unminted).length == 0) { unminted = string.concat('[', Strings.toString(tid)); } else { unminted = string.concat(unminted, ',', Strings.toString(tid)); } } i++; } if (bytes(unminted).length == 0) { unminted = '[]'; } else { unminted = string.concat(unminted, ']'); } } /// @notice **MINTS TO MINTING ADDRESS (msg.sender)** Mint the terraflows associated with the terraform tokenIds to the minting wallet. (Costs NONTERRAFORM_OWNER_PRICE per terraform) /// @param tokenIds The terraform tokenIds to mint the corresponding terraflows of function mintTerraflows(uint256[] memory tokenIds) public payable { require(block.timestamp - DEPLOY_TIMESTAMP > 7 days, 'Non-terraform owner must wait 7 days from contract deployment'); uint256 numTokens = tokenIds.length; require(msg.value >= numTokens * NONTERRAFORM_OWNER_PRICE, 'Mint cost is numTokens * NONTERRAFORM_OWNER_PRICE'); claimableBalance[owner()] += msg.value - 0.02 ether * numTokens; for (uint256 i=0; i < numTokens; i++) { uint256 tokenId = tokenIds[i]; require(!_exists(tokenId), string.concat("Terraflow already minted: ", Strings.toString(tokenId))); claimableBalance[terraformsContract.ownerOf(tokenId)] += 0.02 ether; _safeMint(msg.sender, tokenId); } } /// @notice **MINTS TO WALLET HOLDING TERRAFORM**. Mint the terraflows associated with the terraform tokenIds to the wallet holding the terraform token. (Costs TERRAFORM_OWNER_PRICE per terraform) /// @param tokenIds The terraform tokenIds to mint the corresponding terraflows of function mintTerraflowsToHoldingAddress(uint256[] memory tokenIds) public payable { uint256 numTokens = tokenIds.length; require(msg.value >= numTokens * TERRAFORM_OWNER_PRICE, 'Mint cost is numTokens * TERRAFORM_OWNER_PRICE'); claimableBalance[owner()] += msg.value; for (uint256 i=0; i < numTokens; i++) { uint256 tokenId = tokenIds[i]; require(!_exists(tokenId), string.concat("Terraflow already minted: ", Strings.toString(tokenId))); _safeMint(terraformsContract.ownerOf(tokenId), tokenId); } } /// @notice Set the amount of blend applied to the heightmap colour of the terraform /// @param tokenId The tokenId to set the blend of /// @param blendVal The blend value to set the amount of heightmap colour blend (0: random -> 100: fully respects terraform heightmap colour.) function setBlend(uint tokenId, uint8 blendVal) public { require(msg.sender == ownerOf(tokenId), "Only the token owner can update the blend"); require(blendVal <= 100, "Blend must be between 0 and 100"); emit BlendUpdate(tokenId, blend[tokenId], blendVal); blend[tokenId] = blendVal; } /// @notice Claim funds from the contract associated with the calling address function withdrawBalance() public payable { uint balance = claimableBalance[msg.sender]; claimableBalance[msg.sender] = 0; (bool success, ) = payable(msg.sender).call{ value: balance }(""); require(success); } /// @notice Claim all remaining funds from the contract (can only be called 1 year after deployment) function withdrawAll() public payable onlyOwner { require(block.timestamp - DEPLOY_TIMESTAMP > 365 days); (bool success, ) = payable(owner()).call{ value: address(this).balance }(""); require(success); } /// @dev Set a new terraflowSVG address function setTokenSVGAddr(address _address) public onlyOwner { terraflowSVG = _address; } /// @dev Set a new terraformsDataHelper address function setTerraformsDataHelperAddr(address _address) public onlyOwner { terraformsDataHelper = _address; } /// @notice Get the terraflow SVG /// @param tokenId The terraflow tokenID to get SVG for /// @param encoded True to get b64 encoded. False for plain text. function tokenSVG(uint256 tokenId, bool encoded) public view returns (string memory) { return ITerraflowsSVG(terraflowSVG).tokenSVG(tokenId, encoded); } /// @notice Get the terraflow HTML /// @param tokenId The terraflow tokenID to get HTML for /// @param encoded True to get b64 encoded. False for plain text. function tokenHTML(uint256 tokenId, bool encoded) public view returns (string memory) { string memory html = string.concat('<html><head></head><body><canvas id="terraflows" width="418.14" height="600" style="height:100%;padding:0;margin:auto;display:block;position:absolute;top:0;bottom:0;left:0;right:0;"></canvas></body><script>',tokenJS(tokenId), '</script></html>'); if (!encoded) { return html; } return string.concat( 'data:text/html;base64,', Base64.encode(abi.encodePacked(html)) ); } /// @notice Get the terraflow JS /// @param tokenId The terraflow tokenID to get HTML for function tokenJS(uint256 tokenId) public view returns (string memory) { return string.concat( 'let blend=(100-', Strings.toString(blend[tokenId]), ')/100;let tokenHeightmapIndices=', ITerraformsDataHelper(terraformsDataHelper).heightmapIndicesString(tokenId), ';let tokenTerrainValues=', ITerraformsDataHelper(terraformsDataHelper).terrainValuesString(tokenId), ';let zoneColor=', ITerraformsDataHelper(terraformsDataHelper).zoneColorsString(tokenId), ';let chroma="', ITerraformsDataHelper(terraformsDataHelper).chromaString(tokenId), '";resource=', ITerraformsDataHelper(terraformsDataHelper).resourceString(tokenId), ';biome=', ITerraformsDataHelper(terraformsDataHelper).biomeString(tokenId), ';let k=1;switch(chroma){case"Flow":case"Plague":k=3;break;case"Pulse":k=2;break;case"Hyper":k=1}let PI=Math.PI;function mulberry32(e){return function(){var l=e+=1831565813;return l=Math.imul(l^l>>>15,1|l),(((l^=l+Math.imul(l^l>>>7,61|l))^l>>>14)>>>0)/4294967296}}let rand=mulberry32(resource),flowField=tokenTerrainValues.map(e=>e.map(e=>(Number(e)+0)/131072*2*PI));if("Plague"==chroma&&39!=biome)flowField=tokenTerrainValues.map(e=>e.map(e=>rand()*PI));else if(39==biome){for(let e=0;e<32;e++)for(let l=0;l<32;l++)if(2==tokenHeightmapIndices[l][e]||3==tokenHeightmapIndices[l][e]||4==tokenHeightmapIndices[l][e])switch(chroma){case"Flow":flowField[l][e]=0;break;case"Pulse":flowField[l][e]=.5*Math.floor((Number(tokenTerrainValues[l][e])+65536)/131072/.25)*PI;break;case"Hyper":flowField[l][e]=rand()*PI;break;case"Plague":flowField[l][e]=2*rand()*PI}else flowField[l][e]=(Number(tokenTerrainValues[l][e])+65536)/131072*2*PI;k=3}const canvas=document.getElementById("terraflows"),ctx=canvas.getContext("2d");canvas.width=418.14,canvas.height=600;let w=canvas.width,h=canvas.height;function drawFlow(e,l,t){rand()>blend?ctx.strokeStyle=zoneColor[tokenHeightmapIndices[Math.floor(l/h*tokenHeightmapIndices.length)][Math.floor(e/w*tokenHeightmapIndices[0].length)]]:ctx.strokeStyle=zoneColor[Math.floor(rand()*zoneColor.length)],ctx.beginPath(),ctx.moveTo(e,l),vx=0,vy=0;for(let o=0;o<t;o++)vx+=Math.cos(a=flowField[Math.floor(l/h*flowField.length)][Math.floor(e/w*flowField[0].length)]),vy+=Math.sin(a),(v=Math.sqrt(vx**2+vy**2))>=2&&(vx/=v/2,vy/=v/2),e+=vx,l+=vy,ctx.lineTo(e,l),e<0&&(e=w-1e-4,ctx.moveTo(e,l)),e>w&&(e=0,ctx.moveTo(e,l)),l<0&&(l=h-1e-4,ctx.moveTo(e,l)),l>h&&(l=0,ctx.moveTo(e,l));ctx.stroke()}ctx.fillStyle=zoneColor[zoneColor.length-1],ctx.fillRect(0,0,w,h);for(let i=0;i<Math.floor(resource/5**(k-1));i++)drawFlow(rand()*w,rand()*h,5**k);' ); } function tokenURI(uint256 tokenId) public view override returns (string memory) { string memory uri = string.concat( 'data:application/json;base64,', Base64.encode(abi.encodePacked( string.concat( '{', '"name": "Terraflow ', Strings.toString(tokenId), '", "description": "Flow field representation of the Terraforms onchain place (project is homage to Mathcastles)', '", "image": "', tokenSVG(tokenId, true), '", "animation_url": "', tokenHTML(tokenId, true), '", "attributes": [', '{"trait_type": "', 'BIOME', '","value":"', ITerraformsDataHelper(terraformsDataHelper).biomeString(tokenId), '"},', '{"trait_type": "', 'CHROMA', '","value":"', ITerraformsDataHelper(terraformsDataHelper).chromaString(tokenId), '"},', '{"trait_type": "', 'ZONE', '","value":"', ITerraformsDataHelper(terraformsDataHelper).zoneNameString(tokenId), '"},', '{"trait_type": "', 'RESOURCE', '","value": ', ITerraformsDataHelper(terraformsDataHelper).resourceString(tokenId), '},', '{"trait_type": "', 'BLEND', '","value": ', Strings.toString(blend[tokenId]), '}', ']}' ) )) ); return uri; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @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); } }
// 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 (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256, /* firstTokenId */ uint256 batchSize ) internal virtual { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @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 have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_terraflowSVG","type":"address"},{"internalType":"address","name":"_terraformsDataHelper","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"_oldValue","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"_newValue","type":"uint8"}],"name":"BlendUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEPLOY_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NONTERRAFORM_OWNER_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TERRAFORM_OWNER_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"blend","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimableBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holdingAddress","type":"address"}],"name":"getUnmintedTerraflows","outputs":[{"internalType":"string","name":"unminted","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintTerraflows","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintTerraflowsToHoldingAddress","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"blendVal","type":"uint8"}],"name":"setBlend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setTerraformsDataHelperAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setTokenSVGAddr","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":"terraflowSVG","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"terraformsDataHelper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bool","name":"encoded","type":"bool"}],"name":"tokenHTML","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenJS","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bool","name":"encoded","type":"bool"}],"name":"tokenSVG","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawBalance","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60a0604052734e1f41613c9084fdb9e34e11fae9412427480e56600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006657600080fd5b50604051620064953803806200649583398181016040528101906200008c9190620003c6565b6040518060400160405280600a81526020017f5465727261666c6f7773000000000000000000000000000000000000000000008152506040518060400160405280600a81526020017f7465727261666c6f777300000000000000000000000000000000000000000000815250816000908051906020019062000110929190620002ac565b50806001908051906020019062000129929190620002ac565b5050506200014c62000140620001de60201b60201c565b620001e660201b60201c565b426080818152505081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000472565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002ba906200043c565b90600052602060002090601f016020900481019282620002de57600085556200032a565b82601f10620002f957805160ff19168380011785556200032a565b828001600101855582156200032a579182015b82811115620003295782518255916020019190600101906200030c565b5b5090506200033991906200033d565b5090565b5b80821115620003585760008160009055506001016200033e565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200038e8262000361565b9050919050565b620003a08162000381565b8114620003ac57600080fd5b50565b600081519050620003c08162000395565b92915050565b60008060408385031215620003e057620003df6200035c565b5b6000620003f085828601620003af565b92505060206200040385828601620003af565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200045557607f821691505b602082108114156200046c576200046b6200040d565b5b50919050565b608051615ff96200049c60003960008181610ada01528181610f84015261103e0152615ff96000f3fe6080604052600436106101f95760003560e01c8063853828b61161010d578063c29ad4d1116100a0578063e09e709a1161006f578063e09e709a146106fb578063e556099914610738578063e985e9c514610763578063f2fde38b146107a0578063face3b49146107c9576101f9565b8063c29ad4d11461064e578063c87b56dd14610679578063ca98eb36146106b6578063d2769ff1146106d2576101f9565b8063a22cb465116100dc578063a22cb46514610594578063a75e02cc146105bd578063b23dbcaa146105e8578063b88d4fde14610625576101f9565b8063853828b6146105185780638a928d11146105225780638da5cb5b1461053e57806395d89b4114610569576101f9565b80633113aea9116101905780635fd8c7101161015f5780635fd8c7101461044057806360f3309b1461044a5780636352211e1461048757806370a08231146104c4578063715018a614610501576101f9565b80633113aea91461037457806333bbe7d3146103b157806342842e0e146103da5780634e7dda8214610403576101f9565b8063151d31cc116101cc578063151d31cc146102cc5780631590fbb1146102f757806318f9ae781461032057806323b872dd1461034b576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190613584565b610806565b60405161023291906135cc565b60405180910390f35b34801561024757600080fd5b506102506108e8565b60405161025d9190613680565b60405180910390f35b34801561027257600080fd5b5061028d600480360381019061028891906136d8565b61097a565b60405161029a9190613746565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c5919061378d565b6109c0565b005b3480156102d857600080fd5b506102e1610ad8565b6040516102ee91906137dc565b60405180910390f35b34801561030357600080fd5b5061031e600480360381019061031991906137f7565b610afc565b005b34801561032c57600080fd5b50610335610b48565b6040516103429190613746565b60405180910390f35b34801561035757600080fd5b50610372600480360381019061036d9190613824565b610b6e565b005b34801561038057600080fd5b5061039b600480360381019061039691906138a3565b610bce565b6040516103a89190613680565b60405180910390f35b3480156103bd57600080fd5b506103d860048036038101906103d391906137f7565b610c7b565b005b3480156103e657600080fd5b5061040160048036038101906103fc9190613824565b610cc7565b005b34801561040f57600080fd5b5061042a600480360381019061042591906136d8565b610ce7565b60405161043791906138ff565b60405180910390f35b610448610d07565b005b34801561045657600080fd5b50610471600480360381019061046c91906137f7565b610e0a565b60405161047e91906137dc565b60405180910390f35b34801561049357600080fd5b506104ae60048036038101906104a991906136d8565b610e22565b6040516104bb9190613746565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e691906137f7565b610ea9565b6040516104f891906137dc565b60405180910390f35b34801561050d57600080fd5b50610516610f61565b005b610520610f75565b005b61053c60048036038101906105379190613a62565b611038565b005b34801561054a57600080fd5b50610553611336565b6040516105609190613746565b60405180910390f35b34801561057557600080fd5b5061057e611360565b60405161058b9190613680565b60405180910390f35b3480156105a057600080fd5b506105bb60048036038101906105b69190613aab565b6113f2565b005b3480156105c957600080fd5b506105d2611408565b6040516105df91906137dc565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a91906138a3565b611413565b60405161061c9190613680565b60405180910390f35b34801561063157600080fd5b5061064c60048036038101906106479190613ba0565b6114a0565b005b34801561065a57600080fd5b50610663611502565b60405161067091906137dc565b60405180910390f35b34801561068557600080fd5b506106a0600480360381019061069b91906136d8565b61150d565b6040516106ad9190613680565b60405180910390f35b6106d060048036038101906106cb9190613a62565b611857565b005b3480156106de57600080fd5b506106f960048036038101906106f49190613c4f565b611a6b565b005b34801561070757600080fd5b50610722600480360381019061071d91906137f7565b611bb2565b60405161072f9190613680565b60405180910390f35b34801561074457600080fd5b5061074d611df9565b60405161075a9190613746565b60405180910390f35b34801561076f57600080fd5b5061078a60048036038101906107859190613c8f565b611e1f565b60405161079791906135cc565b60405180910390f35b3480156107ac57600080fd5b506107c760048036038101906107c291906137f7565b611eb3565b005b3480156107d557600080fd5b506107f060048036038101906107eb91906136d8565b611f37565b6040516107fd9190613680565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108d157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108e157506108e082612357565b5b9050919050565b6060600080546108f790613cfe565b80601f016020809104026020016040519081016040528092919081815260200182805461092390613cfe565b80156109705780601f1061094557610100808354040283529160200191610970565b820191906000526020600020905b81548152906001019060200180831161095357829003601f168201915b5050505050905090565b6000610985826123c1565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109cb82610e22565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3390613da2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a5b61240c565b73ffffffffffffffffffffffffffffffffffffffff161480610a8a5750610a8981610a8461240c565b611e1f565b5b610ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac090613e34565b60405180910390fd5b610ad38383612414565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610b046124cd565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610b7f610b7961240c565b8261254b565b610bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb590613ec6565b60405180910390fd5b610bc98383836125e0565b505050565b6060600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633113aea984846040518363ffffffff1660e01b8152600401610c2d929190613ee6565b600060405180830381865afa158015610c4a573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610c739190613fb0565b905092915050565b610c836124cd565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610ce2838383604051806020016040528060008152506114a0565b505050565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060003373ffffffffffffffffffffffffffffffffffffffff1682604051610db69061402a565b60006040518083038185875af1925050503d8060008114610df3576040519150601f19603f3d011682016040523d82523d6000602084013e610df8565b606091505b5050905080610e0657600080fd5b5050565b600b6020528060005260406000206000915090505481565b600080610e2e836128da565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e979061408b565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f119061411d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f696124cd565b610f736000612917565b565b610f7d6124cd565b6301e133807f000000000000000000000000000000000000000000000000000000000000000042610fae919061416c565b11610fb857600080fd5b6000610fc2611336565b73ffffffffffffffffffffffffffffffffffffffff1647604051610fe59061402a565b60006040518083038185875af1925050503d8060008114611022576040519150601f19603f3d011682016040523d82523d6000602084013e611027565b606091505b505090508061103557600080fd5b50565b62093a807f000000000000000000000000000000000000000000000000000000000000000042611068919061416c565b116110a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109f90614212565b60405180910390fd5b60008151905066b1a2bc2ec50000816110c19190614232565b341015611103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fa906142fe565b60405180910390fd5b8066470de4df8200006111169190614232565b34611121919061416c565b600b600061112d611336565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611176919061431e565b9250508190555060005b8181101561133157600083828151811061119d5761119c614374565b5b602002602001015190506111b0816129dd565b156111ba82612a1e565b6040516020016111ca9190614405565b6040516020818303038152906040529061121a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112119190613680565b60405180910390fd5b5066470de4df820000600b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b815260040161128291906137dc565b602060405180830381865afa15801561129f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c39190614440565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461130c919061431e565b9250508190555061131d3382612af6565b5080806113299061446d565b915050611180565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461136f90613cfe565b80601f016020809104026020016040519081016040528092919081815260200182805461139b90613cfe565b80156113e85780601f106113bd576101008083540402835291602001916113e8565b820191906000526020600020905b8154815290600101906020018083116113cb57829003601f168201915b5050505050905090565b6114046113fd61240c565b8383612b14565b5050565b662386f26fc1000081565b6060600061142084611f37565b604051602001611430919061460c565b60405160208183030381529060405290508261144f578091505061149a565b61147781604051602001611463919061463d565b604051602081830303815290604052612c81565b604051602001611487919061467a565b6040516020818303038152906040529150505b92915050565b6114b16114ab61240c565b8361254b565b6114f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e790613ec6565b60405180910390fd5b6114fc84848484612e19565b50505050565b66b1a2bc2ec5000081565b6060600061182d61151d84612a1e565b611528856001610bce565b611533866001611413565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639e99f33d886040518263ffffffff1660e01b815260040161158e91906137dc565b600060405180830381865afa1580156115ab573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906115d49190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b53c16f0896040518263ffffffff1660e01b815260040161162f91906137dc565b600060405180830381865afa15801561164c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906116759190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ddb6021a8a6040518263ffffffff1660e01b81526004016116d091906137dc565b600060405180830381865afa1580156116ed573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906117169190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3cd6c498b6040518263ffffffff1660e01b815260040161177191906137dc565b600060405180830381865afa15801561178e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906117b79190613fb0565b6117e3600a60008d815260200190815260200160002060009054906101000a900460ff1660ff16612a1e565b6040516020016117fa9897969594939291906149e4565b604051602081830303815290604052604051602001611819919061463d565b604051602081830303815290604052612c81565b60405160200161183d9190614c0d565b604051602081830303815290604052905080915050919050565b600081519050662386f26fc10000816118709190614232565b3410156118b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a990614ca5565b60405180910390fd5b34600b60006118bf611336565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611908919061431e565b9250508190555060005b81811015611a6657600083828151811061192f5761192e614374565b5b60200260200101519050611942816129dd565b1561194c82612a1e565b60405160200161195c9190614405565b604051602081830303815290604052906119ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a39190613680565b60405180910390fd5b50611a52600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611a0b91906137dc565b602060405180830381865afa158015611a28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4c9190614440565b82612af6565b508080611a5e9061446d565b915050611912565b505050565b611a7482610e22565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad890614d37565b60405180910390fd5b60648160ff161115611b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1f90614da3565b60405180910390fd5b817f5850ec078a1b1e79a0cfb9642d2cd9e75743992d8f76d8133a3033e4d7ac7853600a600085815260200190815260200160002060009054906101000a900460ff1683604051611b7a929190614dc3565b60405180910390a280600a600084815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505050565b60606000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401611c119190613746565b602060405180830381865afa158015611c2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c529190614e01565b90506000805b82821015611d8757600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5986846040518363ffffffff1660e01b8152600401611cbd929190614e2e565b602060405180830381865afa158015611cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfe9190614e01565b9050611d09816129dd565b611d7457600084511415611d4657611d2081612a1e565b604051602001611d309190614e7d565b6040516020818303038152906040529350611d73565b83611d5082612a1e565b604051602001611d61929190614ec9565b60405160208183030381529060405293505b5b8180611d7f9061446d565b925050611c58565b600084511415611dce576040518060400160405280600281526020017f5b5d0000000000000000000000000000000000000000000000000000000000008152509350611df1565b83604051602001611ddf9190614f22565b60405160208183030381529060405293505b505050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ebb6124cd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2290614fba565b60405180910390fd5b611f3481612917565b50565b6060611f65600a600084815260200190815260200160002060009054906101000a900460ff1660ff16612a1e565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b71547a3846040518263ffffffff1660e01b8152600401611fc091906137dc565b600060405180830381865afa158015611fdd573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906120069190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d03fd7a2856040518263ffffffff1660e01b815260040161206191906137dc565b600060405180830381865afa15801561207e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906120a79190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302457f3a866040518263ffffffff1660e01b815260040161210291906137dc565b600060405180830381865afa15801561211f573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906121489190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b53c16f0876040518263ffffffff1660e01b81526004016121a391906137dc565b600060405180830381865afa1580156121c0573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906121e99190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3cd6c49886040518263ffffffff1660e01b815260040161224491906137dc565b600060405180830381865afa158015612261573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061228a9190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639e99f33d896040518263ffffffff1660e01b81526004016122e591906137dc565b600060405180830381865afa158015612302573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061232b9190613fb0565b6040516020016123419796959493929190615a01565b6040516020818303038152906040529050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6123ca816129dd565b612409576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124009061408b565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661248783610e22565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6124d561240c565b73ffffffffffffffffffffffffffffffffffffffff166124f3611336565b73ffffffffffffffffffffffffffffffffffffffff1614612549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254090615b26565b60405180910390fd5b565b60008061255783610e22565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061259957506125988185611e1f565b5b806125d757508373ffffffffffffffffffffffffffffffffffffffff166125bf8461097a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661260082610e22565b73ffffffffffffffffffffffffffffffffffffffff1614612656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264d90615bb8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bd90615c4a565b60405180910390fd5b6126d38383836001612e75565b8273ffffffffffffffffffffffffffffffffffffffff166126f382610e22565b73ffffffffffffffffffffffffffffffffffffffff1614612749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274090615bb8565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128d58383836001612f9b565b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff166129ff836128da565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060006001612a2d84612fa1565b01905060008167ffffffffffffffff811115612a4c57612a4b61391f565b5b6040519080825280601f01601f191660200182016040528015612a7e5781602001600182028036833780820191505090505b509050600082602001820190505b600115612aeb578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612ad557612ad4615c6a565b5b0494506000851415612ae657612aeb565b612a8c565b819350505050919050565b612b108282604051806020016040528060008152506130f4565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7a90615ce5565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612c7491906135cc565b60405180910390a3505050565b60606000825190506000811415612caa5760405180602001604052806000815250915050612e14565b60006003600283612cbb919061431e565b612cc59190615d05565b6004612cd19190614232565b90506000602082612ce2919061431e565b67ffffffffffffffff811115612cfb57612cfa61391f565b5b6040519080825280601f01601f191660200182016040528015612d2d5781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615f84604091399050600181016020830160005b86811015612dd15760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050612d58565b506003860660018114612deb5760028114612dfb57612e06565b613d3d60f01b6002830352612e06565b603d60f81b60018303525b508484525050819450505050505b919050565b612e248484846125e0565b612e308484848461314f565b612e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6690615da8565b60405180910390fd5b50505050565b6001811115612f9557600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612f095780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f01919061416c565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f945780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f8c919061431e565b925050819055505b5b50505050565b50505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612fff577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612ff557612ff4615c6a565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061303c576d04ee2d6d415b85acef8100000000838161303257613031615c6a565b5b0492506020810190505b662386f26fc10000831061306b57662386f26fc10000838161306157613060615c6a565b5b0492506010810190505b6305f5e1008310613094576305f5e100838161308a57613089615c6a565b5b0492506008810190505b61271083106130b95761271083816130af576130ae615c6a565b5b0492506004810190505b606483106130dc57606483816130d2576130d1615c6a565b5b0492506002810190505b600a83106130eb576001810190505b80915050919050565b6130fe83836132d7565b61310b600084848461314f565b61314a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314190615da8565b60405180910390fd5b505050565b60006131708473ffffffffffffffffffffffffffffffffffffffff166134f5565b156132ca578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261319961240c565b8786866040518563ffffffff1660e01b81526004016131bb9493929190615e1d565b6020604051808303816000875af19250505080156131f757506040513d601f19601f820116820180604052508101906131f49190615e7e565b60015b61327a573d8060008114613227576040519150601f19603f3d011682016040523d82523d6000602084013e61322c565b606091505b50600081511415613272576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326990615da8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132cf565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333e90615ef7565b60405180910390fd5b613350816129dd565b15613390576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338790615f63565b60405180910390fd5b61339e600083836001612e75565b6133a7816129dd565b156133e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133de90615f63565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134f1600083836001612f9b565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135618161352c565b811461356c57600080fd5b50565b60008135905061357e81613558565b92915050565b60006020828403121561359a57613599613522565b5b60006135a88482850161356f565b91505092915050565b60008115159050919050565b6135c6816135b1565b82525050565b60006020820190506135e160008301846135bd565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613621578082015181840152602081019050613606565b83811115613630576000848401525b50505050565b6000601f19601f8301169050919050565b6000613652826135e7565b61365c81856135f2565b935061366c818560208601613603565b61367581613636565b840191505092915050565b6000602082019050818103600083015261369a8184613647565b905092915050565b6000819050919050565b6136b5816136a2565b81146136c057600080fd5b50565b6000813590506136d2816136ac565b92915050565b6000602082840312156136ee576136ed613522565b5b60006136fc848285016136c3565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061373082613705565b9050919050565b61374081613725565b82525050565b600060208201905061375b6000830184613737565b92915050565b61376a81613725565b811461377557600080fd5b50565b60008135905061378781613761565b92915050565b600080604083850312156137a4576137a3613522565b5b60006137b285828601613778565b92505060206137c3858286016136c3565b9150509250929050565b6137d6816136a2565b82525050565b60006020820190506137f160008301846137cd565b92915050565b60006020828403121561380d5761380c613522565b5b600061381b84828501613778565b91505092915050565b60008060006060848603121561383d5761383c613522565b5b600061384b86828701613778565b935050602061385c86828701613778565b925050604061386d868287016136c3565b9150509250925092565b613880816135b1565b811461388b57600080fd5b50565b60008135905061389d81613877565b92915050565b600080604083850312156138ba576138b9613522565b5b60006138c8858286016136c3565b92505060206138d98582860161388e565b9150509250929050565b600060ff82169050919050565b6138f9816138e3565b82525050565b600060208201905061391460008301846138f0565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61395782613636565b810181811067ffffffffffffffff821117156139765761397561391f565b5b80604052505050565b6000613989613518565b9050613995828261394e565b919050565b600067ffffffffffffffff8211156139b5576139b461391f565b5b602082029050602081019050919050565b600080fd5b60006139de6139d98461399a565b61397f565b90508083825260208201905060208402830185811115613a0157613a006139c6565b5b835b81811015613a2a5780613a1688826136c3565b845260208401935050602081019050613a03565b5050509392505050565b600082601f830112613a4957613a4861391a565b5b8135613a598482602086016139cb565b91505092915050565b600060208284031215613a7857613a77613522565b5b600082013567ffffffffffffffff811115613a9657613a95613527565b5b613aa284828501613a34565b91505092915050565b60008060408385031215613ac257613ac1613522565b5b6000613ad085828601613778565b9250506020613ae18582860161388e565b9150509250929050565b600080fd5b600067ffffffffffffffff821115613b0b57613b0a61391f565b5b613b1482613636565b9050602081019050919050565b82818337600083830152505050565b6000613b43613b3e84613af0565b61397f565b905082815260208101848484011115613b5f57613b5e613aeb565b5b613b6a848285613b21565b509392505050565b600082601f830112613b8757613b8661391a565b5b8135613b97848260208601613b30565b91505092915050565b60008060008060808587031215613bba57613bb9613522565b5b6000613bc887828801613778565b9450506020613bd987828801613778565b9350506040613bea878288016136c3565b925050606085013567ffffffffffffffff811115613c0b57613c0a613527565b5b613c1787828801613b72565b91505092959194509250565b613c2c816138e3565b8114613c3757600080fd5b50565b600081359050613c4981613c23565b92915050565b60008060408385031215613c6657613c65613522565b5b6000613c74858286016136c3565b9250506020613c8585828601613c3a565b9150509250929050565b60008060408385031215613ca657613ca5613522565b5b6000613cb485828601613778565b9250506020613cc585828601613778565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d1657607f821691505b60208210811415613d2a57613d29613ccf565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d8c6021836135f2565b9150613d9782613d30565b604082019050919050565b60006020820190508181036000830152613dbb81613d7f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613e1e603d836135f2565b9150613e2982613dc2565b604082019050919050565b60006020820190508181036000830152613e4d81613e11565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000613eb0602d836135f2565b9150613ebb82613e54565b604082019050919050565b60006020820190508181036000830152613edf81613ea3565b9050919050565b6000604082019050613efb60008301856137cd565b613f0860208301846135bd565b9392505050565b600067ffffffffffffffff821115613f2a57613f2961391f565b5b613f3382613636565b9050602081019050919050565b6000613f53613f4e84613f0f565b61397f565b905082815260208101848484011115613f6f57613f6e613aeb565b5b613f7a848285613603565b509392505050565b600082601f830112613f9757613f9661391a565b5b8151613fa7848260208601613f40565b91505092915050565b600060208284031215613fc657613fc5613522565b5b600082015167ffffffffffffffff811115613fe457613fe3613527565b5b613ff084828501613f82565b91505092915050565b600081905092915050565b50565b6000614014600083613ff9565b915061401f82614004565b600082019050919050565b600061403582614007565b9150819050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006140756018836135f2565b91506140808261403f565b602082019050919050565b600060208201905081810360008301526140a481614068565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006141076029836135f2565b9150614112826140ab565b604082019050919050565b60006020820190508181036000830152614136816140fa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614177826136a2565b9150614182836136a2565b9250828210156141955761419461413d565b5b828203905092915050565b7f4e6f6e2d7465727261666f726d206f776e6572206d757374207761697420372060008201527f646179732066726f6d20636f6e7472616374206465706c6f796d656e74000000602082015250565b60006141fc603d836135f2565b9150614207826141a0565b604082019050919050565b6000602082019050818103600083015261422b816141ef565b9050919050565b600061423d826136a2565b9150614248836136a2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142815761428061413d565b5b828202905092915050565b7f4d696e7420636f7374206973206e756d546f6b656e73202a204e4f4e5445525260008201527f41464f524d5f4f574e45525f5052494345000000000000000000000000000000602082015250565b60006142e86031836135f2565b91506142f38261428c565b604082019050919050565b60006020820190508181036000830152614317816142db565b9050919050565b6000614329826136a2565b9150614334836136a2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143695761436861413d565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f5465727261666c6f7720616c7265616479206d696e7465643a20000000000000815250565b600081905092915050565b60006143df826135e7565b6143e981856143c9565b93506143f9818560208601613603565b80840191505092915050565b6000614410826143a3565b601a8201915061442082846143d4565b915081905092915050565b60008151905061443a81613761565b92915050565b60006020828403121561445657614455613522565b5b60006144648482850161442b565b91505092915050565b6000614478826136a2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144ab576144aa61413d565b5b600182019050919050565b7f3c68746d6c3e3c686561643e3c2f686561643e3c626f64793e3c63616e76617360008201527f2069643d227465727261666c6f7773222077696474683d223431382e3134222060208201527f6865696768743d2236303022207374796c653d226865696768743a313030253b60408201527f70616464696e673a303b6d617267696e3a6175746f3b646973706c61793a626c60608201527f6f636b3b706f736974696f6e3a6162736f6c7574653b746f703a303b626f747460808201527f6f6d3a303b6c6566743a303b72696768743a303b223e3c2f63616e7661733e3c60a08201527f2f626f64793e3c7363726970743e00000000000000000000000000000000000060c082015250565b60006145d060ce836143c9565b91506145db826144b6565b60ce82019050919050565b7f3c2f7363726970743e3c2f68746d6c3e00000000000000000000000000000000815250565b6000614617826145c3565b915061462382846143d4565b915061462e826145e6565b60108201915081905092915050565b600061464982846143d4565b915081905092915050565b7f646174613a746578742f68746d6c3b6261736536342c00000000000000000000815250565b600061468582614654565b60168201915061469582846143d4565b915081905092915050565b7f7b00000000000000000000000000000000000000000000000000000000000000815250565b7f226e616d65223a20225465727261666c6f772000000000000000000000000000815250565b7f222c20226465736372697074696f6e223a2022466c6f77206669656c6420726560008201527f70726573656e746174696f6e206f6620746865205465727261666f726d73206f60208201527f6e636861696e20706c616365202870726f6a65637420697320686f6d6167652060408201527f746f204d617468636173746c6573290000000000000000000000000000000000606082015250565b6000614794606f836143c9565b915061479f826146ec565b606f82019050919050565b7f222c2022696d616765223a202200000000000000000000000000000000000000815250565b7f222c2022616e696d6174696f6e5f75726c223a20220000000000000000000000815250565b7f222c202261747472696275746573223a205b0000000000000000000000000000815250565b7f7b2274726169745f74797065223a202200000000000000000000000000000000815250565b7f42494f4d45000000000000000000000000000000000000000000000000000000815250565b7f222c2276616c7565223a22000000000000000000000000000000000000000000815250565b7f227d2c0000000000000000000000000000000000000000000000000000000000815250565b7f4348524f4d410000000000000000000000000000000000000000000000000000815250565b7f5a4f4e4500000000000000000000000000000000000000000000000000000000815250565b7f5245534f55524345000000000000000000000000000000000000000000000000815250565b7f222c2276616c7565223a20000000000000000000000000000000000000000000815250565b7f7d2c000000000000000000000000000000000000000000000000000000000000815250565b7f424c454e44000000000000000000000000000000000000000000000000000000815250565b7f7d00000000000000000000000000000000000000000000000000000000000000815250565b7f5d7d000000000000000000000000000000000000000000000000000000000000815250565b60006149ef826146a0565b6001820191506149fe826146c6565b601382019150614a0e828b6143d4565b9150614a1982614787565b9150614a24826147aa565b600d82019150614a34828a6143d4565b9150614a3f826147d0565b601582019150614a4f82896143d4565b9150614a5a826147f6565b601282019150614a698261481c565b601082019150614a7882614842565b600582019150614a8782614868565b600b82019150614a9782886143d4565b9150614aa28261488e565b600382019150614ab18261481c565b601082019150614ac0826148b4565b600682019150614acf82614868565b600b82019150614adf82876143d4565b9150614aea8261488e565b600382019150614af98261481c565b601082019150614b08826148da565b600482019150614b1782614868565b600b82019150614b2782866143d4565b9150614b328261488e565b600382019150614b418261481c565b601082019150614b5082614900565b600882019150614b5f82614926565b600b82019150614b6f82856143d4565b9150614b7a8261494c565b600282019150614b898261481c565b601082019150614b9882614972565b600582019150614ba782614926565b600b82019150614bb782846143d4565b9150614bc282614998565b600182019150614bd1826149be565b6002820191508190509998505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250565b6000614c1882614be7565b601d82019150614c2882846143d4565b915081905092915050565b7f4d696e7420636f7374206973206e756d546f6b656e73202a205445525241464f60008201527f524d5f4f574e45525f5052494345000000000000000000000000000000000000602082015250565b6000614c8f602e836135f2565b9150614c9a82614c33565b604082019050919050565b60006020820190508181036000830152614cbe81614c82565b9050919050565b7f4f6e6c792074686520746f6b656e206f776e65722063616e207570646174652060008201527f74686520626c656e640000000000000000000000000000000000000000000000602082015250565b6000614d216029836135f2565b9150614d2c82614cc5565b604082019050919050565b60006020820190508181036000830152614d5081614d14565b9050919050565b7f426c656e64206d757374206265206265747765656e203020616e642031303000600082015250565b6000614d8d601f836135f2565b9150614d9882614d57565b602082019050919050565b60006020820190508181036000830152614dbc81614d80565b9050919050565b6000604082019050614dd860008301856138f0565b614de560208301846138f0565b9392505050565b600081519050614dfb816136ac565b92915050565b600060208284031215614e1757614e16613522565b5b6000614e2584828501614dec565b91505092915050565b6000604082019050614e436000830185613737565b614e5060208301846137cd565b9392505050565b7f5b00000000000000000000000000000000000000000000000000000000000000815250565b6000614e8882614e57565b600182019150614e9882846143d4565b915081905092915050565b7f2c00000000000000000000000000000000000000000000000000000000000000815250565b6000614ed582856143d4565b9150614ee082614ea3565b600182019150614ef082846143d4565b91508190509392505050565b7f5d00000000000000000000000000000000000000000000000000000000000000815250565b6000614f2e82846143d4565b9150614f3982614efc565b60018201915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614fa46026836135f2565b9150614faf82614f48565b604082019050919050565b60006020820190508181036000830152614fd381614f97565b9050919050565b7f6c657420626c656e643d283130302d0000000000000000000000000000000000815250565b7f292f3130303b6c657420746f6b656e4865696768746d6170496e64696365733d815250565b7f3b6c657420746f6b656e5465727261696e56616c7565733d0000000000000000815250565b7f3b6c6574207a6f6e65436f6c6f723d0000000000000000000000000000000000815250565b7f3b6c6574206368726f6d613d2200000000000000000000000000000000000000815250565b7f223b7265736f757263653d000000000000000000000000000000000000000000815250565b7f3b62696f6d653d00000000000000000000000000000000000000000000000000815250565b7f3b6c6574206b3d313b737769746368286368726f6d61297b6361736522466c6f60008201527f77223a6361736522506c61677565223a6b3d333b627265616b3b63617365225060208201527f756c7365223a6b3d323b627265616b3b63617365224879706572223a6b3d317d60408201527f6c65742050493d4d6174682e50493b66756e6374696f6e206d756c626572727960608201527f33322865297b72657475726e2066756e6374696f6e28297b766172206c3d652b60808201527f3d313833313536353831333b72657475726e206c3d4d6174682e696d756c286c60a08201527f5e6c3e3e3e31352c317c6c292c2828286c5e3d6c2b4d6174682e696d756c286c60c08201527f5e6c3e3e3e372c36317c6c29295e6c3e3e3e3134293e3e3e30292f343239343960e08201527f36373239367d7d6c65742072616e643d6d756c62657272793332287265736f756101008201527f726365292c666c6f774669656c643d746f6b656e5465727261696e56616c75656101208201527f732e6d617028653d3e652e6d617028653d3e284e756d6265722865292b30292f6101408201527f3133313037322a322a504929293b69662822506c61677565223d3d6368726f6d6101608201527f6126263339213d62696f6d6529666c6f774669656c643d746f6b656e546572726101808201527f61696e56616c7565732e6d617028653d3e652e6d617028653d3e72616e6428296101a08201527f2a504929293b656c73652069662833393d3d62696f6d65297b666f72286c65746101c08201527f20653d303b653c33323b652b2b29666f72286c6574206c3d303b6c3c33323b6c6101e08201527f2b2b29696628323d3d746f6b656e4865696768746d6170496e64696365735b6c6102008201527f5d5b655d7c7c333d3d746f6b656e4865696768746d6170496e64696365735b6c6102208201527f5d5b655d7c7c343d3d746f6b656e4865696768746d6170496e64696365735b6c6102408201527f5d5b655d29737769746368286368726f6d61297b6361736522466c6f77223a666102608201527f6c6f774669656c645b6c5d5b655d3d303b627265616b3b636173652250756c736102808201527f65223a666c6f774669656c645b6c5d5b655d3d2e352a4d6174682e666c6f6f726102a08201527f28284e756d62657228746f6b656e5465727261696e56616c7565735b6c5d5b656102c08201527f5d292b3635353336292f3133313037322f2e3235292a50493b627265616b3b636102e08201527f617365224879706572223a666c6f774669656c645b6c5d5b655d3d72616e64286103008201527f292a50493b627265616b3b6361736522506c61677565223a666c6f774669656c6103208201527f645b6c5d5b655d3d322a72616e6428292a50497d656c736520666c6f774669656103408201527f6c645b6c5d5b655d3d284e756d62657228746f6b656e5465727261696e56616c6103608201527f7565735b6c5d5b655d292b3635353336292f3133313037322a322a50493b6b3d6103808201527f337d636f6e73742063616e7661733d646f63756d656e742e676574456c656d656103a08201527f6e744279496428227465727261666c6f777322292c6374783d63616e7661732e6103c08201527f676574436f6e746578742822326422293b63616e7661732e77696474683d34316103e08201527f382e31342c63616e7661732e6865696768743d3630303b6c657420773d63616e6104008201527f7661732e77696474682c683d63616e7661732e6865696768743b66756e6374696104208201527f6f6e2064726177466c6f7728652c6c2c74297b72616e6428293e626c656e643f6104408201527f6374782e7374726f6b655374796c653d7a6f6e65436f6c6f725b746f6b656e486104608201527f65696768746d6170496e64696365735b4d6174682e666c6f6f72286c2f682a746104808201527f6f6b656e4865696768746d6170496e64696365732e6c656e677468295d5b4d616104a08201527f74682e666c6f6f7228652f772a746f6b656e4865696768746d6170496e6469636104c08201527f65735b305d2e6c656e677468295d5d3a6374782e7374726f6b655374796c653d6104e08201527f7a6f6e65436f6c6f725b4d6174682e666c6f6f722872616e6428292a7a6f6e656105008201527f436f6c6f722e6c656e677468295d2c6374782e626567696e5061746828292c636105208201527f74782e6d6f7665546f28652c6c292c76783d302c76793d303b666f72286c65746105408201527f206f3d303b6f3c743b6f2b2b2976782b3d4d6174682e636f7328613d666c6f776105608201527f4669656c645b4d6174682e666c6f6f72286c2f682a666c6f774669656c642e6c6105808201527f656e677468295d5b4d6174682e666c6f6f7228652f772a666c6f774669656c646105a08201527f5b305d2e6c656e677468295d292c76792b3d4d6174682e73696e2861292c28766105c08201527f3d4d6174682e737172742876782a2a322b76792a2a3229293e3d3226262876786105e08201527f2f3d762f322c76792f3d762f32292c652b3d76782c6c2b3d76792c6374782e6c6106008201527f696e65546f28652c6c292c653c30262628653d772d31652d342c6374782e6d6f6106208201527f7665546f28652c6c29292c653e77262628653d302c6374782e6d6f7665546f286106408201527f652c6c29292c6c3c302626286c3d682d31652d342c6374782e6d6f7665546f286106608201527f652c6c29292c6c3e682626286c3d302c6374782e6d6f7665546f28652c6c29296106808201527f3b6374782e7374726f6b6528297d6374782e66696c6c5374796c653d7a6f6e656106a08201527f436f6c6f725b7a6f6e65436f6c6f722e6c656e6774682d315d2c6374782e66696106c08201527f6c6c5265637428302c302c772c68293b666f72286c657420693d303b693c4d616106e08201527f74682e666c6f6f72287265736f757263652f352a2a286b2d3129293b692b2b296107008201527f64726177466c6f772872616e6428292a772c72616e6428292a682c352a2a6b296107208201527f3b0000000000000000000000000000000000000000000000000000000000000061074082015250565b60006159ea610741836143c9565b91506159f5826150e4565b61074182019050919050565b6000615a0c82614fda565b600f82019150615a1c828a6143d4565b9150615a2782615000565b602082019150615a3782896143d4565b9150615a4282615026565b601882019150615a5282886143d4565b9150615a5d8261504c565b600f82019150615a6d82876143d4565b9150615a7882615072565b600d82019150615a8882866143d4565b9150615a9382615098565b600b82019150615aa382856143d4565b9150615aae826150be565b600782019150615abe82846143d4565b9150615ac9826159dc565b915081905098975050505050505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615b106020836135f2565b9150615b1b82615ada565b602082019050919050565b60006020820190508181036000830152615b3f81615b03565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615ba26025836135f2565b9150615bad82615b46565b604082019050919050565b60006020820190508181036000830152615bd181615b95565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615c346024836135f2565b9150615c3f82615bd8565b604082019050919050565b60006020820190508181036000830152615c6381615c27565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615ccf6019836135f2565b9150615cda82615c99565b602082019050919050565b60006020820190508181036000830152615cfe81615cc2565b9050919050565b6000615d10826136a2565b9150615d1b836136a2565b925082615d2b57615d2a615c6a565b5b828204905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615d926032836135f2565b9150615d9d82615d36565b604082019050919050565b60006020820190508181036000830152615dc181615d85565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615def82615dc8565b615df98185615dd3565b9350615e09818560208601613603565b615e1281613636565b840191505092915050565b6000608082019050615e326000830187613737565b615e3f6020830186613737565b615e4c60408301856137cd565b8181036060830152615e5e8184615de4565b905095945050505050565b600081519050615e7881613558565b92915050565b600060208284031215615e9457615e93613522565b5b6000615ea284828501615e69565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615ee16020836135f2565b9150615eec82615eab565b602082019050919050565b60006020820190508181036000830152615f1081615ed4565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615f4d601c836135f2565b9150615f5882615f17565b602082019050919050565b60006020820190508181036000830152615f7c81615f40565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220026c432828d486652699187884415fecdd166911b7493fe85ad66dadd15226c364736f6c634300080c0033000000000000000000000000173446f2888e723224a67ba6bbf820f6d1be056d0000000000000000000000007ba666e4fd74696aebbed960d8efc164af1134be
Deployed Bytecode
0x6080604052600436106101f95760003560e01c8063853828b61161010d578063c29ad4d1116100a0578063e09e709a1161006f578063e09e709a146106fb578063e556099914610738578063e985e9c514610763578063f2fde38b146107a0578063face3b49146107c9576101f9565b8063c29ad4d11461064e578063c87b56dd14610679578063ca98eb36146106b6578063d2769ff1146106d2576101f9565b8063a22cb465116100dc578063a22cb46514610594578063a75e02cc146105bd578063b23dbcaa146105e8578063b88d4fde14610625576101f9565b8063853828b6146105185780638a928d11146105225780638da5cb5b1461053e57806395d89b4114610569576101f9565b80633113aea9116101905780635fd8c7101161015f5780635fd8c7101461044057806360f3309b1461044a5780636352211e1461048757806370a08231146104c4578063715018a614610501576101f9565b80633113aea91461037457806333bbe7d3146103b157806342842e0e146103da5780634e7dda8214610403576101f9565b8063151d31cc116101cc578063151d31cc146102cc5780631590fbb1146102f757806318f9ae781461032057806323b872dd1461034b576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190613584565b610806565b60405161023291906135cc565b60405180910390f35b34801561024757600080fd5b506102506108e8565b60405161025d9190613680565b60405180910390f35b34801561027257600080fd5b5061028d600480360381019061028891906136d8565b61097a565b60405161029a9190613746565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c5919061378d565b6109c0565b005b3480156102d857600080fd5b506102e1610ad8565b6040516102ee91906137dc565b60405180910390f35b34801561030357600080fd5b5061031e600480360381019061031991906137f7565b610afc565b005b34801561032c57600080fd5b50610335610b48565b6040516103429190613746565b60405180910390f35b34801561035757600080fd5b50610372600480360381019061036d9190613824565b610b6e565b005b34801561038057600080fd5b5061039b600480360381019061039691906138a3565b610bce565b6040516103a89190613680565b60405180910390f35b3480156103bd57600080fd5b506103d860048036038101906103d391906137f7565b610c7b565b005b3480156103e657600080fd5b5061040160048036038101906103fc9190613824565b610cc7565b005b34801561040f57600080fd5b5061042a600480360381019061042591906136d8565b610ce7565b60405161043791906138ff565b60405180910390f35b610448610d07565b005b34801561045657600080fd5b50610471600480360381019061046c91906137f7565b610e0a565b60405161047e91906137dc565b60405180910390f35b34801561049357600080fd5b506104ae60048036038101906104a991906136d8565b610e22565b6040516104bb9190613746565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e691906137f7565b610ea9565b6040516104f891906137dc565b60405180910390f35b34801561050d57600080fd5b50610516610f61565b005b610520610f75565b005b61053c60048036038101906105379190613a62565b611038565b005b34801561054a57600080fd5b50610553611336565b6040516105609190613746565b60405180910390f35b34801561057557600080fd5b5061057e611360565b60405161058b9190613680565b60405180910390f35b3480156105a057600080fd5b506105bb60048036038101906105b69190613aab565b6113f2565b005b3480156105c957600080fd5b506105d2611408565b6040516105df91906137dc565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a91906138a3565b611413565b60405161061c9190613680565b60405180910390f35b34801561063157600080fd5b5061064c60048036038101906106479190613ba0565b6114a0565b005b34801561065a57600080fd5b50610663611502565b60405161067091906137dc565b60405180910390f35b34801561068557600080fd5b506106a0600480360381019061069b91906136d8565b61150d565b6040516106ad9190613680565b60405180910390f35b6106d060048036038101906106cb9190613a62565b611857565b005b3480156106de57600080fd5b506106f960048036038101906106f49190613c4f565b611a6b565b005b34801561070757600080fd5b50610722600480360381019061071d91906137f7565b611bb2565b60405161072f9190613680565b60405180910390f35b34801561074457600080fd5b5061074d611df9565b60405161075a9190613746565b60405180910390f35b34801561076f57600080fd5b5061078a60048036038101906107859190613c8f565b611e1f565b60405161079791906135cc565b60405180910390f35b3480156107ac57600080fd5b506107c760048036038101906107c291906137f7565b611eb3565b005b3480156107d557600080fd5b506107f060048036038101906107eb91906136d8565b611f37565b6040516107fd9190613680565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108d157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108e157506108e082612357565b5b9050919050565b6060600080546108f790613cfe565b80601f016020809104026020016040519081016040528092919081815260200182805461092390613cfe565b80156109705780601f1061094557610100808354040283529160200191610970565b820191906000526020600020905b81548152906001019060200180831161095357829003601f168201915b5050505050905090565b6000610985826123c1565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109cb82610e22565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3390613da2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a5b61240c565b73ffffffffffffffffffffffffffffffffffffffff161480610a8a5750610a8981610a8461240c565b611e1f565b5b610ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac090613e34565b60405180910390fd5b610ad38383612414565b505050565b7f0000000000000000000000000000000000000000000000000000000063f0e23781565b610b046124cd565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610b7f610b7961240c565b8261254b565b610bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb590613ec6565b60405180910390fd5b610bc98383836125e0565b505050565b6060600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633113aea984846040518363ffffffff1660e01b8152600401610c2d929190613ee6565b600060405180830381865afa158015610c4a573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610c739190613fb0565b905092915050565b610c836124cd565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610ce2838383604051806020016040528060008152506114a0565b505050565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060003373ffffffffffffffffffffffffffffffffffffffff1682604051610db69061402a565b60006040518083038185875af1925050503d8060008114610df3576040519150601f19603f3d011682016040523d82523d6000602084013e610df8565b606091505b5050905080610e0657600080fd5b5050565b600b6020528060005260406000206000915090505481565b600080610e2e836128da565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e979061408b565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f119061411d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f696124cd565b610f736000612917565b565b610f7d6124cd565b6301e133807f0000000000000000000000000000000000000000000000000000000063f0e23742610fae919061416c565b11610fb857600080fd5b6000610fc2611336565b73ffffffffffffffffffffffffffffffffffffffff1647604051610fe59061402a565b60006040518083038185875af1925050503d8060008114611022576040519150601f19603f3d011682016040523d82523d6000602084013e611027565b606091505b505090508061103557600080fd5b50565b62093a807f0000000000000000000000000000000000000000000000000000000063f0e23742611068919061416c565b116110a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109f90614212565b60405180910390fd5b60008151905066b1a2bc2ec50000816110c19190614232565b341015611103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fa906142fe565b60405180910390fd5b8066470de4df8200006111169190614232565b34611121919061416c565b600b600061112d611336565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611176919061431e565b9250508190555060005b8181101561133157600083828151811061119d5761119c614374565b5b602002602001015190506111b0816129dd565b156111ba82612a1e565b6040516020016111ca9190614405565b6040516020818303038152906040529061121a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112119190613680565b60405180910390fd5b5066470de4df820000600b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b815260040161128291906137dc565b602060405180830381865afa15801561129f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c39190614440565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461130c919061431e565b9250508190555061131d3382612af6565b5080806113299061446d565b915050611180565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461136f90613cfe565b80601f016020809104026020016040519081016040528092919081815260200182805461139b90613cfe565b80156113e85780601f106113bd576101008083540402835291602001916113e8565b820191906000526020600020905b8154815290600101906020018083116113cb57829003601f168201915b5050505050905090565b6114046113fd61240c565b8383612b14565b5050565b662386f26fc1000081565b6060600061142084611f37565b604051602001611430919061460c565b60405160208183030381529060405290508261144f578091505061149a565b61147781604051602001611463919061463d565b604051602081830303815290604052612c81565b604051602001611487919061467a565b6040516020818303038152906040529150505b92915050565b6114b16114ab61240c565b8361254b565b6114f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e790613ec6565b60405180910390fd5b6114fc84848484612e19565b50505050565b66b1a2bc2ec5000081565b6060600061182d61151d84612a1e565b611528856001610bce565b611533866001611413565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639e99f33d886040518263ffffffff1660e01b815260040161158e91906137dc565b600060405180830381865afa1580156115ab573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906115d49190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b53c16f0896040518263ffffffff1660e01b815260040161162f91906137dc565b600060405180830381865afa15801561164c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906116759190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ddb6021a8a6040518263ffffffff1660e01b81526004016116d091906137dc565b600060405180830381865afa1580156116ed573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906117169190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3cd6c498b6040518263ffffffff1660e01b815260040161177191906137dc565b600060405180830381865afa15801561178e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906117b79190613fb0565b6117e3600a60008d815260200190815260200160002060009054906101000a900460ff1660ff16612a1e565b6040516020016117fa9897969594939291906149e4565b604051602081830303815290604052604051602001611819919061463d565b604051602081830303815290604052612c81565b60405160200161183d9190614c0d565b604051602081830303815290604052905080915050919050565b600081519050662386f26fc10000816118709190614232565b3410156118b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a990614ca5565b60405180910390fd5b34600b60006118bf611336565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611908919061431e565b9250508190555060005b81811015611a6657600083828151811061192f5761192e614374565b5b60200260200101519050611942816129dd565b1561194c82612a1e565b60405160200161195c9190614405565b604051602081830303815290604052906119ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a39190613680565b60405180910390fd5b50611a52600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611a0b91906137dc565b602060405180830381865afa158015611a28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4c9190614440565b82612af6565b508080611a5e9061446d565b915050611912565b505050565b611a7482610e22565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad890614d37565b60405180910390fd5b60648160ff161115611b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1f90614da3565b60405180910390fd5b817f5850ec078a1b1e79a0cfb9642d2cd9e75743992d8f76d8133a3033e4d7ac7853600a600085815260200190815260200160002060009054906101000a900460ff1683604051611b7a929190614dc3565b60405180910390a280600a600084815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505050565b60606000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401611c119190613746565b602060405180830381865afa158015611c2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c529190614e01565b90506000805b82821015611d8757600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5986846040518363ffffffff1660e01b8152600401611cbd929190614e2e565b602060405180830381865afa158015611cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfe9190614e01565b9050611d09816129dd565b611d7457600084511415611d4657611d2081612a1e565b604051602001611d309190614e7d565b6040516020818303038152906040529350611d73565b83611d5082612a1e565b604051602001611d61929190614ec9565b60405160208183030381529060405293505b5b8180611d7f9061446d565b925050611c58565b600084511415611dce576040518060400160405280600281526020017f5b5d0000000000000000000000000000000000000000000000000000000000008152509350611df1565b83604051602001611ddf9190614f22565b60405160208183030381529060405293505b505050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ebb6124cd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2290614fba565b60405180910390fd5b611f3481612917565b50565b6060611f65600a600084815260200190815260200160002060009054906101000a900460ff1660ff16612a1e565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b71547a3846040518263ffffffff1660e01b8152600401611fc091906137dc565b600060405180830381865afa158015611fdd573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906120069190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d03fd7a2856040518263ffffffff1660e01b815260040161206191906137dc565b600060405180830381865afa15801561207e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906120a79190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302457f3a866040518263ffffffff1660e01b815260040161210291906137dc565b600060405180830381865afa15801561211f573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906121489190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b53c16f0876040518263ffffffff1660e01b81526004016121a391906137dc565b600060405180830381865afa1580156121c0573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906121e99190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3cd6c49886040518263ffffffff1660e01b815260040161224491906137dc565b600060405180830381865afa158015612261573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061228a9190613fb0565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639e99f33d896040518263ffffffff1660e01b81526004016122e591906137dc565b600060405180830381865afa158015612302573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061232b9190613fb0565b6040516020016123419796959493929190615a01565b6040516020818303038152906040529050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6123ca816129dd565b612409576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124009061408b565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661248783610e22565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6124d561240c565b73ffffffffffffffffffffffffffffffffffffffff166124f3611336565b73ffffffffffffffffffffffffffffffffffffffff1614612549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254090615b26565b60405180910390fd5b565b60008061255783610e22565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061259957506125988185611e1f565b5b806125d757508373ffffffffffffffffffffffffffffffffffffffff166125bf8461097a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661260082610e22565b73ffffffffffffffffffffffffffffffffffffffff1614612656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264d90615bb8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bd90615c4a565b60405180910390fd5b6126d38383836001612e75565b8273ffffffffffffffffffffffffffffffffffffffff166126f382610e22565b73ffffffffffffffffffffffffffffffffffffffff1614612749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274090615bb8565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128d58383836001612f9b565b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff166129ff836128da565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060006001612a2d84612fa1565b01905060008167ffffffffffffffff811115612a4c57612a4b61391f565b5b6040519080825280601f01601f191660200182016040528015612a7e5781602001600182028036833780820191505090505b509050600082602001820190505b600115612aeb578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612ad557612ad4615c6a565b5b0494506000851415612ae657612aeb565b612a8c565b819350505050919050565b612b108282604051806020016040528060008152506130f4565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7a90615ce5565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612c7491906135cc565b60405180910390a3505050565b60606000825190506000811415612caa5760405180602001604052806000815250915050612e14565b60006003600283612cbb919061431e565b612cc59190615d05565b6004612cd19190614232565b90506000602082612ce2919061431e565b67ffffffffffffffff811115612cfb57612cfa61391f565b5b6040519080825280601f01601f191660200182016040528015612d2d5781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615f84604091399050600181016020830160005b86811015612dd15760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050612d58565b506003860660018114612deb5760028114612dfb57612e06565b613d3d60f01b6002830352612e06565b603d60f81b60018303525b508484525050819450505050505b919050565b612e248484846125e0565b612e308484848461314f565b612e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6690615da8565b60405180910390fd5b50505050565b6001811115612f9557600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612f095780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f01919061416c565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f945780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f8c919061431e565b925050819055505b5b50505050565b50505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612fff577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612ff557612ff4615c6a565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061303c576d04ee2d6d415b85acef8100000000838161303257613031615c6a565b5b0492506020810190505b662386f26fc10000831061306b57662386f26fc10000838161306157613060615c6a565b5b0492506010810190505b6305f5e1008310613094576305f5e100838161308a57613089615c6a565b5b0492506008810190505b61271083106130b95761271083816130af576130ae615c6a565b5b0492506004810190505b606483106130dc57606483816130d2576130d1615c6a565b5b0492506002810190505b600a83106130eb576001810190505b80915050919050565b6130fe83836132d7565b61310b600084848461314f565b61314a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314190615da8565b60405180910390fd5b505050565b60006131708473ffffffffffffffffffffffffffffffffffffffff166134f5565b156132ca578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261319961240c565b8786866040518563ffffffff1660e01b81526004016131bb9493929190615e1d565b6020604051808303816000875af19250505080156131f757506040513d601f19601f820116820180604052508101906131f49190615e7e565b60015b61327a573d8060008114613227576040519150601f19603f3d011682016040523d82523d6000602084013e61322c565b606091505b50600081511415613272576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326990615da8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132cf565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333e90615ef7565b60405180910390fd5b613350816129dd565b15613390576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338790615f63565b60405180910390fd5b61339e600083836001612e75565b6133a7816129dd565b156133e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133de90615f63565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134f1600083836001612f9b565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135618161352c565b811461356c57600080fd5b50565b60008135905061357e81613558565b92915050565b60006020828403121561359a57613599613522565b5b60006135a88482850161356f565b91505092915050565b60008115159050919050565b6135c6816135b1565b82525050565b60006020820190506135e160008301846135bd565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613621578082015181840152602081019050613606565b83811115613630576000848401525b50505050565b6000601f19601f8301169050919050565b6000613652826135e7565b61365c81856135f2565b935061366c818560208601613603565b61367581613636565b840191505092915050565b6000602082019050818103600083015261369a8184613647565b905092915050565b6000819050919050565b6136b5816136a2565b81146136c057600080fd5b50565b6000813590506136d2816136ac565b92915050565b6000602082840312156136ee576136ed613522565b5b60006136fc848285016136c3565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061373082613705565b9050919050565b61374081613725565b82525050565b600060208201905061375b6000830184613737565b92915050565b61376a81613725565b811461377557600080fd5b50565b60008135905061378781613761565b92915050565b600080604083850312156137a4576137a3613522565b5b60006137b285828601613778565b92505060206137c3858286016136c3565b9150509250929050565b6137d6816136a2565b82525050565b60006020820190506137f160008301846137cd565b92915050565b60006020828403121561380d5761380c613522565b5b600061381b84828501613778565b91505092915050565b60008060006060848603121561383d5761383c613522565b5b600061384b86828701613778565b935050602061385c86828701613778565b925050604061386d868287016136c3565b9150509250925092565b613880816135b1565b811461388b57600080fd5b50565b60008135905061389d81613877565b92915050565b600080604083850312156138ba576138b9613522565b5b60006138c8858286016136c3565b92505060206138d98582860161388e565b9150509250929050565b600060ff82169050919050565b6138f9816138e3565b82525050565b600060208201905061391460008301846138f0565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61395782613636565b810181811067ffffffffffffffff821117156139765761397561391f565b5b80604052505050565b6000613989613518565b9050613995828261394e565b919050565b600067ffffffffffffffff8211156139b5576139b461391f565b5b602082029050602081019050919050565b600080fd5b60006139de6139d98461399a565b61397f565b90508083825260208201905060208402830185811115613a0157613a006139c6565b5b835b81811015613a2a5780613a1688826136c3565b845260208401935050602081019050613a03565b5050509392505050565b600082601f830112613a4957613a4861391a565b5b8135613a598482602086016139cb565b91505092915050565b600060208284031215613a7857613a77613522565b5b600082013567ffffffffffffffff811115613a9657613a95613527565b5b613aa284828501613a34565b91505092915050565b60008060408385031215613ac257613ac1613522565b5b6000613ad085828601613778565b9250506020613ae18582860161388e565b9150509250929050565b600080fd5b600067ffffffffffffffff821115613b0b57613b0a61391f565b5b613b1482613636565b9050602081019050919050565b82818337600083830152505050565b6000613b43613b3e84613af0565b61397f565b905082815260208101848484011115613b5f57613b5e613aeb565b5b613b6a848285613b21565b509392505050565b600082601f830112613b8757613b8661391a565b5b8135613b97848260208601613b30565b91505092915050565b60008060008060808587031215613bba57613bb9613522565b5b6000613bc887828801613778565b9450506020613bd987828801613778565b9350506040613bea878288016136c3565b925050606085013567ffffffffffffffff811115613c0b57613c0a613527565b5b613c1787828801613b72565b91505092959194509250565b613c2c816138e3565b8114613c3757600080fd5b50565b600081359050613c4981613c23565b92915050565b60008060408385031215613c6657613c65613522565b5b6000613c74858286016136c3565b9250506020613c8585828601613c3a565b9150509250929050565b60008060408385031215613ca657613ca5613522565b5b6000613cb485828601613778565b9250506020613cc585828601613778565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d1657607f821691505b60208210811415613d2a57613d29613ccf565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d8c6021836135f2565b9150613d9782613d30565b604082019050919050565b60006020820190508181036000830152613dbb81613d7f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613e1e603d836135f2565b9150613e2982613dc2565b604082019050919050565b60006020820190508181036000830152613e4d81613e11565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000613eb0602d836135f2565b9150613ebb82613e54565b604082019050919050565b60006020820190508181036000830152613edf81613ea3565b9050919050565b6000604082019050613efb60008301856137cd565b613f0860208301846135bd565b9392505050565b600067ffffffffffffffff821115613f2a57613f2961391f565b5b613f3382613636565b9050602081019050919050565b6000613f53613f4e84613f0f565b61397f565b905082815260208101848484011115613f6f57613f6e613aeb565b5b613f7a848285613603565b509392505050565b600082601f830112613f9757613f9661391a565b5b8151613fa7848260208601613f40565b91505092915050565b600060208284031215613fc657613fc5613522565b5b600082015167ffffffffffffffff811115613fe457613fe3613527565b5b613ff084828501613f82565b91505092915050565b600081905092915050565b50565b6000614014600083613ff9565b915061401f82614004565b600082019050919050565b600061403582614007565b9150819050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006140756018836135f2565b91506140808261403f565b602082019050919050565b600060208201905081810360008301526140a481614068565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006141076029836135f2565b9150614112826140ab565b604082019050919050565b60006020820190508181036000830152614136816140fa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614177826136a2565b9150614182836136a2565b9250828210156141955761419461413d565b5b828203905092915050565b7f4e6f6e2d7465727261666f726d206f776e6572206d757374207761697420372060008201527f646179732066726f6d20636f6e7472616374206465706c6f796d656e74000000602082015250565b60006141fc603d836135f2565b9150614207826141a0565b604082019050919050565b6000602082019050818103600083015261422b816141ef565b9050919050565b600061423d826136a2565b9150614248836136a2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142815761428061413d565b5b828202905092915050565b7f4d696e7420636f7374206973206e756d546f6b656e73202a204e4f4e5445525260008201527f41464f524d5f4f574e45525f5052494345000000000000000000000000000000602082015250565b60006142e86031836135f2565b91506142f38261428c565b604082019050919050565b60006020820190508181036000830152614317816142db565b9050919050565b6000614329826136a2565b9150614334836136a2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143695761436861413d565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f5465727261666c6f7720616c7265616479206d696e7465643a20000000000000815250565b600081905092915050565b60006143df826135e7565b6143e981856143c9565b93506143f9818560208601613603565b80840191505092915050565b6000614410826143a3565b601a8201915061442082846143d4565b915081905092915050565b60008151905061443a81613761565b92915050565b60006020828403121561445657614455613522565b5b60006144648482850161442b565b91505092915050565b6000614478826136a2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144ab576144aa61413d565b5b600182019050919050565b7f3c68746d6c3e3c686561643e3c2f686561643e3c626f64793e3c63616e76617360008201527f2069643d227465727261666c6f7773222077696474683d223431382e3134222060208201527f6865696768743d2236303022207374796c653d226865696768743a313030253b60408201527f70616464696e673a303b6d617267696e3a6175746f3b646973706c61793a626c60608201527f6f636b3b706f736974696f6e3a6162736f6c7574653b746f703a303b626f747460808201527f6f6d3a303b6c6566743a303b72696768743a303b223e3c2f63616e7661733e3c60a08201527f2f626f64793e3c7363726970743e00000000000000000000000000000000000060c082015250565b60006145d060ce836143c9565b91506145db826144b6565b60ce82019050919050565b7f3c2f7363726970743e3c2f68746d6c3e00000000000000000000000000000000815250565b6000614617826145c3565b915061462382846143d4565b915061462e826145e6565b60108201915081905092915050565b600061464982846143d4565b915081905092915050565b7f646174613a746578742f68746d6c3b6261736536342c00000000000000000000815250565b600061468582614654565b60168201915061469582846143d4565b915081905092915050565b7f7b00000000000000000000000000000000000000000000000000000000000000815250565b7f226e616d65223a20225465727261666c6f772000000000000000000000000000815250565b7f222c20226465736372697074696f6e223a2022466c6f77206669656c6420726560008201527f70726573656e746174696f6e206f6620746865205465727261666f726d73206f60208201527f6e636861696e20706c616365202870726f6a65637420697320686f6d6167652060408201527f746f204d617468636173746c6573290000000000000000000000000000000000606082015250565b6000614794606f836143c9565b915061479f826146ec565b606f82019050919050565b7f222c2022696d616765223a202200000000000000000000000000000000000000815250565b7f222c2022616e696d6174696f6e5f75726c223a20220000000000000000000000815250565b7f222c202261747472696275746573223a205b0000000000000000000000000000815250565b7f7b2274726169745f74797065223a202200000000000000000000000000000000815250565b7f42494f4d45000000000000000000000000000000000000000000000000000000815250565b7f222c2276616c7565223a22000000000000000000000000000000000000000000815250565b7f227d2c0000000000000000000000000000000000000000000000000000000000815250565b7f4348524f4d410000000000000000000000000000000000000000000000000000815250565b7f5a4f4e4500000000000000000000000000000000000000000000000000000000815250565b7f5245534f55524345000000000000000000000000000000000000000000000000815250565b7f222c2276616c7565223a20000000000000000000000000000000000000000000815250565b7f7d2c000000000000000000000000000000000000000000000000000000000000815250565b7f424c454e44000000000000000000000000000000000000000000000000000000815250565b7f7d00000000000000000000000000000000000000000000000000000000000000815250565b7f5d7d000000000000000000000000000000000000000000000000000000000000815250565b60006149ef826146a0565b6001820191506149fe826146c6565b601382019150614a0e828b6143d4565b9150614a1982614787565b9150614a24826147aa565b600d82019150614a34828a6143d4565b9150614a3f826147d0565b601582019150614a4f82896143d4565b9150614a5a826147f6565b601282019150614a698261481c565b601082019150614a7882614842565b600582019150614a8782614868565b600b82019150614a9782886143d4565b9150614aa28261488e565b600382019150614ab18261481c565b601082019150614ac0826148b4565b600682019150614acf82614868565b600b82019150614adf82876143d4565b9150614aea8261488e565b600382019150614af98261481c565b601082019150614b08826148da565b600482019150614b1782614868565b600b82019150614b2782866143d4565b9150614b328261488e565b600382019150614b418261481c565b601082019150614b5082614900565b600882019150614b5f82614926565b600b82019150614b6f82856143d4565b9150614b7a8261494c565b600282019150614b898261481c565b601082019150614b9882614972565b600582019150614ba782614926565b600b82019150614bb782846143d4565b9150614bc282614998565b600182019150614bd1826149be565b6002820191508190509998505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250565b6000614c1882614be7565b601d82019150614c2882846143d4565b915081905092915050565b7f4d696e7420636f7374206973206e756d546f6b656e73202a205445525241464f60008201527f524d5f4f574e45525f5052494345000000000000000000000000000000000000602082015250565b6000614c8f602e836135f2565b9150614c9a82614c33565b604082019050919050565b60006020820190508181036000830152614cbe81614c82565b9050919050565b7f4f6e6c792074686520746f6b656e206f776e65722063616e207570646174652060008201527f74686520626c656e640000000000000000000000000000000000000000000000602082015250565b6000614d216029836135f2565b9150614d2c82614cc5565b604082019050919050565b60006020820190508181036000830152614d5081614d14565b9050919050565b7f426c656e64206d757374206265206265747765656e203020616e642031303000600082015250565b6000614d8d601f836135f2565b9150614d9882614d57565b602082019050919050565b60006020820190508181036000830152614dbc81614d80565b9050919050565b6000604082019050614dd860008301856138f0565b614de560208301846138f0565b9392505050565b600081519050614dfb816136ac565b92915050565b600060208284031215614e1757614e16613522565b5b6000614e2584828501614dec565b91505092915050565b6000604082019050614e436000830185613737565b614e5060208301846137cd565b9392505050565b7f5b00000000000000000000000000000000000000000000000000000000000000815250565b6000614e8882614e57565b600182019150614e9882846143d4565b915081905092915050565b7f2c00000000000000000000000000000000000000000000000000000000000000815250565b6000614ed582856143d4565b9150614ee082614ea3565b600182019150614ef082846143d4565b91508190509392505050565b7f5d00000000000000000000000000000000000000000000000000000000000000815250565b6000614f2e82846143d4565b9150614f3982614efc565b60018201915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614fa46026836135f2565b9150614faf82614f48565b604082019050919050565b60006020820190508181036000830152614fd381614f97565b9050919050565b7f6c657420626c656e643d283130302d0000000000000000000000000000000000815250565b7f292f3130303b6c657420746f6b656e4865696768746d6170496e64696365733d815250565b7f3b6c657420746f6b656e5465727261696e56616c7565733d0000000000000000815250565b7f3b6c6574207a6f6e65436f6c6f723d0000000000000000000000000000000000815250565b7f3b6c6574206368726f6d613d2200000000000000000000000000000000000000815250565b7f223b7265736f757263653d000000000000000000000000000000000000000000815250565b7f3b62696f6d653d00000000000000000000000000000000000000000000000000815250565b7f3b6c6574206b3d313b737769746368286368726f6d61297b6361736522466c6f60008201527f77223a6361736522506c61677565223a6b3d333b627265616b3b63617365225060208201527f756c7365223a6b3d323b627265616b3b63617365224879706572223a6b3d317d60408201527f6c65742050493d4d6174682e50493b66756e6374696f6e206d756c626572727960608201527f33322865297b72657475726e2066756e6374696f6e28297b766172206c3d652b60808201527f3d313833313536353831333b72657475726e206c3d4d6174682e696d756c286c60a08201527f5e6c3e3e3e31352c317c6c292c2828286c5e3d6c2b4d6174682e696d756c286c60c08201527f5e6c3e3e3e372c36317c6c29295e6c3e3e3e3134293e3e3e30292f343239343960e08201527f36373239367d7d6c65742072616e643d6d756c62657272793332287265736f756101008201527f726365292c666c6f774669656c643d746f6b656e5465727261696e56616c75656101208201527f732e6d617028653d3e652e6d617028653d3e284e756d6265722865292b30292f6101408201527f3133313037322a322a504929293b69662822506c61677565223d3d6368726f6d6101608201527f6126263339213d62696f6d6529666c6f774669656c643d746f6b656e546572726101808201527f61696e56616c7565732e6d617028653d3e652e6d617028653d3e72616e6428296101a08201527f2a504929293b656c73652069662833393d3d62696f6d65297b666f72286c65746101c08201527f20653d303b653c33323b652b2b29666f72286c6574206c3d303b6c3c33323b6c6101e08201527f2b2b29696628323d3d746f6b656e4865696768746d6170496e64696365735b6c6102008201527f5d5b655d7c7c333d3d746f6b656e4865696768746d6170496e64696365735b6c6102208201527f5d5b655d7c7c343d3d746f6b656e4865696768746d6170496e64696365735b6c6102408201527f5d5b655d29737769746368286368726f6d61297b6361736522466c6f77223a666102608201527f6c6f774669656c645b6c5d5b655d3d303b627265616b3b636173652250756c736102808201527f65223a666c6f774669656c645b6c5d5b655d3d2e352a4d6174682e666c6f6f726102a08201527f28284e756d62657228746f6b656e5465727261696e56616c7565735b6c5d5b656102c08201527f5d292b3635353336292f3133313037322f2e3235292a50493b627265616b3b636102e08201527f617365224879706572223a666c6f774669656c645b6c5d5b655d3d72616e64286103008201527f292a50493b627265616b3b6361736522506c61677565223a666c6f774669656c6103208201527f645b6c5d5b655d3d322a72616e6428292a50497d656c736520666c6f774669656103408201527f6c645b6c5d5b655d3d284e756d62657228746f6b656e5465727261696e56616c6103608201527f7565735b6c5d5b655d292b3635353336292f3133313037322a322a50493b6b3d6103808201527f337d636f6e73742063616e7661733d646f63756d656e742e676574456c656d656103a08201527f6e744279496428227465727261666c6f777322292c6374783d63616e7661732e6103c08201527f676574436f6e746578742822326422293b63616e7661732e77696474683d34316103e08201527f382e31342c63616e7661732e6865696768743d3630303b6c657420773d63616e6104008201527f7661732e77696474682c683d63616e7661732e6865696768743b66756e6374696104208201527f6f6e2064726177466c6f7728652c6c2c74297b72616e6428293e626c656e643f6104408201527f6374782e7374726f6b655374796c653d7a6f6e65436f6c6f725b746f6b656e486104608201527f65696768746d6170496e64696365735b4d6174682e666c6f6f72286c2f682a746104808201527f6f6b656e4865696768746d6170496e64696365732e6c656e677468295d5b4d616104a08201527f74682e666c6f6f7228652f772a746f6b656e4865696768746d6170496e6469636104c08201527f65735b305d2e6c656e677468295d5d3a6374782e7374726f6b655374796c653d6104e08201527f7a6f6e65436f6c6f725b4d6174682e666c6f6f722872616e6428292a7a6f6e656105008201527f436f6c6f722e6c656e677468295d2c6374782e626567696e5061746828292c636105208201527f74782e6d6f7665546f28652c6c292c76783d302c76793d303b666f72286c65746105408201527f206f3d303b6f3c743b6f2b2b2976782b3d4d6174682e636f7328613d666c6f776105608201527f4669656c645b4d6174682e666c6f6f72286c2f682a666c6f774669656c642e6c6105808201527f656e677468295d5b4d6174682e666c6f6f7228652f772a666c6f774669656c646105a08201527f5b305d2e6c656e677468295d292c76792b3d4d6174682e73696e2861292c28766105c08201527f3d4d6174682e737172742876782a2a322b76792a2a3229293e3d3226262876786105e08201527f2f3d762f322c76792f3d762f32292c652b3d76782c6c2b3d76792c6374782e6c6106008201527f696e65546f28652c6c292c653c30262628653d772d31652d342c6374782e6d6f6106208201527f7665546f28652c6c29292c653e77262628653d302c6374782e6d6f7665546f286106408201527f652c6c29292c6c3c302626286c3d682d31652d342c6374782e6d6f7665546f286106608201527f652c6c29292c6c3e682626286c3d302c6374782e6d6f7665546f28652c6c29296106808201527f3b6374782e7374726f6b6528297d6374782e66696c6c5374796c653d7a6f6e656106a08201527f436f6c6f725b7a6f6e65436f6c6f722e6c656e6774682d315d2c6374782e66696106c08201527f6c6c5265637428302c302c772c68293b666f72286c657420693d303b693c4d616106e08201527f74682e666c6f6f72287265736f757263652f352a2a286b2d3129293b692b2b296107008201527f64726177466c6f772872616e6428292a772c72616e6428292a682c352a2a6b296107208201527f3b0000000000000000000000000000000000000000000000000000000000000061074082015250565b60006159ea610741836143c9565b91506159f5826150e4565b61074182019050919050565b6000615a0c82614fda565b600f82019150615a1c828a6143d4565b9150615a2782615000565b602082019150615a3782896143d4565b9150615a4282615026565b601882019150615a5282886143d4565b9150615a5d8261504c565b600f82019150615a6d82876143d4565b9150615a7882615072565b600d82019150615a8882866143d4565b9150615a9382615098565b600b82019150615aa382856143d4565b9150615aae826150be565b600782019150615abe82846143d4565b9150615ac9826159dc565b915081905098975050505050505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615b106020836135f2565b9150615b1b82615ada565b602082019050919050565b60006020820190508181036000830152615b3f81615b03565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615ba26025836135f2565b9150615bad82615b46565b604082019050919050565b60006020820190508181036000830152615bd181615b95565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615c346024836135f2565b9150615c3f82615bd8565b604082019050919050565b60006020820190508181036000830152615c6381615c27565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615ccf6019836135f2565b9150615cda82615c99565b602082019050919050565b60006020820190508181036000830152615cfe81615cc2565b9050919050565b6000615d10826136a2565b9150615d1b836136a2565b925082615d2b57615d2a615c6a565b5b828204905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615d926032836135f2565b9150615d9d82615d36565b604082019050919050565b60006020820190508181036000830152615dc181615d85565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615def82615dc8565b615df98185615dd3565b9350615e09818560208601613603565b615e1281613636565b840191505092915050565b6000608082019050615e326000830187613737565b615e3f6020830186613737565b615e4c60408301856137cd565b8181036060830152615e5e8184615de4565b905095945050505050565b600081519050615e7881613558565b92915050565b600060208284031215615e9457615e93613522565b5b6000615ea284828501615e69565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615ee16020836135f2565b9150615eec82615eab565b602082019050919050565b60006020820190508181036000830152615f1081615ed4565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615f4d601c836135f2565b9150615f5882615f17565b602082019050919050565b60006020820190508181036000830152615f7c81615f40565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220026c432828d486652699187884415fecdd166911b7493fe85ad66dadd15226c364736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000173446f2888e723224a67ba6bbf820f6d1be056d0000000000000000000000007ba666e4fd74696aebbed960d8efc164af1134be
-----Decoded View---------------
Arg [0] : _terraflowSVG (address): 0x173446F2888E723224a67ba6bBF820F6D1be056d
Arg [1] : _terraformsDataHelper (address): 0x7bA666e4fD74696aeBbEd960D8EFC164aF1134be
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000173446f2888e723224a67ba6bbf820f6d1be056d
Arg [1] : 0000000000000000000000007ba666e4fd74696aebbed960d8efc164af1134be
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.