Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 48 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 12426796 | 1324 days ago | IN | 0 ETH | 0.00414201 | ||||
Mint NFT | 12399046 | 1328 days ago | IN | 0.05 ETH | 0.01611441 | ||||
Mint NFT | 12385213 | 1330 days ago | IN | 1 ETH | 0.09241716 | ||||
Mint NFT | 12381759 | 1331 days ago | IN | 0.05 ETH | 0.01911576 | ||||
Mint NFT | 12379286 | 1331 days ago | IN | 0.05 ETH | 0.00625282 | ||||
Mint NFT | 12379217 | 1331 days ago | IN | 0.05 ETH | 0.00714608 | ||||
Mint NFT | 12375075 | 1332 days ago | IN | 0.05 ETH | 0.01336316 | ||||
Mint NFT | 12374985 | 1332 days ago | IN | 0.05 ETH | 0.01827609 | ||||
Mint NFT | 12374768 | 1332 days ago | IN | 0.05 ETH | 0.0096472 | ||||
Change Name | 12372955 | 1332 days ago | IN | 0 ETH | 0.00372489 | ||||
Change Name | 12372933 | 1332 days ago | IN | 0 ETH | 0.00394981 | ||||
Mint NFT | 12372863 | 1332 days ago | IN | 1 ETH | 0.08634225 | ||||
Change Name | 12372445 | 1332 days ago | IN | 0 ETH | 0.00380358 | ||||
Mint NFT | 12372099 | 1332 days ago | IN | 0.1 ETH | 0.01139922 | ||||
Change Name | 12371355 | 1332 days ago | IN | 0 ETH | 0.00497688 | ||||
Mint NFT | 12371046 | 1333 days ago | IN | 0.15 ETH | 0.01773088 | ||||
Change Name | 12369876 | 1333 days ago | IN | 0 ETH | 0.00655059 | ||||
Change Name | 12369851 | 1333 days ago | IN | 0 ETH | 0.00651425 | ||||
Mint NFT | 12369772 | 1333 days ago | IN | 1 ETH | 0.1541826 | ||||
Mint NFT | 12369637 | 1333 days ago | IN | 0.05 ETH | 0.01107642 | ||||
Change Name | 12369601 | 1333 days ago | IN | 0 ETH | 0.00733179 | ||||
Change Name | 12369555 | 1333 days ago | IN | 0 ETH | 0.0105397 | ||||
Change Name | 12369317 | 1333 days ago | IN | 0 ETH | 0.00866929 | ||||
Mint NFT | 12369008 | 1333 days ago | IN | 0.05 ETH | 0.01768654 | ||||
Mint NFT | 12368903 | 1333 days ago | IN | 0.15 ETH | 0.03419915 |
Latest 2 internal transactions
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
12426796 | 1324 days ago | 13.1 ETH | ||||
12354881 | 1335 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
Mars
Compiler Version
v0.8.3+commit.8d00100c
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.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import './Mars26.sol'; import './MarsStorage.sol'; /** * @title Mars contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract Mars is Ownable, ERC721Enumerable { using SafeMath for uint256; bytes32 private _provenanceHash; uint256 internal _maxSupply; uint256 private _nameChangePrice; uint256 private _saleStartTimestamp; uint256 private _revealTimestamp; uint256[6] private _priceIntervalSupplyLimits; uint256 private _startingIndexBlock; uint256 internal _startingIndex; mapping (uint256 => string) private _tokenNames; mapping (string => bool) private _reservedNames; mapping (uint256 => bool) private _mintedBeforeReveal; Mars26 private _m26; MarsStorage private _storage; event NameChange (uint256 indexed maskIndex, string newName); /** * @dev Sets immutable values of contract. */ constructor ( bytes32 provenanceHash_, address m26Address_, uint256 nameChangePrice_, uint256 saleStartTimestamp_, uint256 revealTimestamp_, uint256 maxSupply_, uint256[6] memory priceIntervalSupplyLimits_ ) ERC721("Mars", "MARS") { _provenanceHash = provenanceHash_; _m26 = Mars26(m26Address_); _nameChangePrice = nameChangePrice_; _saleStartTimestamp = saleStartTimestamp_; _revealTimestamp = revealTimestamp_; for (uint i = 1; i < priceIntervalSupplyLimits_.length; i++) { require( priceIntervalSupplyLimits_[i - 1] < priceIntervalSupplyLimits_[i], "Price intervale supply limit need to ascending" ); } _priceIntervalSupplyLimits = priceIntervalSupplyLimits_; _maxSupply = maxSupply_; _storage = new MarsStorage(maxSupply_); } /** * @dev Returns provenance hash digest set during initialization of contract. * * The provenance hash is derived by concatenating all existing IPFS CIDs (v0) * of the Mars NFTs and hashing the concatenated string using SHA2-256. * Note that the CIDs were concatenated and hashed in their base58 representation. */ function provenanceHash() public view returns (bytes32) { return _provenanceHash; } /** * @dev Returns address of Mars26 ERC-20 token contract. */ function m26Address() public view returns (address) { return address(_m26); } /** * @dev Returns address of connected storage contract. */ function storageAddress() public view returns (address) { return address(_storage); } /** * @dev Returns max number of NFTs that can be minted. */ function maxSupply() public view returns (uint256) { return _maxSupply; } /** * @dev Returns the MNCT price for changing the name of a token. */ function nameChangePrice() public view returns (uint256) { return _nameChangePrice; } /** * @dev Returns the start timestamp of the initial sale. */ function saleStartTimestamp() public view returns (uint256) { return _saleStartTimestamp; } /** * @dev Returns the reveal timestamp after which the token ids will be assigned. */ function revealTimestamp() public view returns (uint256) { return _revealTimestamp; } /** * @dev Returns the set upper supply limits which determine the NFT price during sale. */ function priceIntervalSupplyLimits() public view returns (uint256[6] memory) { return _priceIntervalSupplyLimits; } /** * @dev Returns the randomized starting index to assign and reveal token ids to * intial sequence of NFTs. */ function startingIndex() public view returns (uint256) { return _startingIndex; } /** * @dev Returns the randomized starting index block which is used to derive * {_startingIndex} from. */ function startingIndexBlock() public view returns (uint256) { return _startingIndexBlock; } /** * @dev See {MarsStorage.initialSequenceTokenCID} */ function initialSequenceTokenCID(uint256 initialSequenceIndex) public view returns (string memory) { return _storage.initialSequenceTokenCID(initialSequenceIndex); } /** * @dev Returns if {nameString} has been reserved. */ function isNameReserved(string memory nameString) public view returns (bool) { return _reservedNames[_toLower(nameString)]; } /** * @dev Returns reverved name for given token id. */ function tokenNames(uint256 tokenId) public view returns (string memory) { return _tokenNames[tokenId]; } /** * @dev Returns the set token URI, i.e. IPFS v0 CID, of {tokenId}. * Prefixed with ipfs:// */ function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); require(_startingIndex > 0, "Tokens have not been assigned yet"); uint256 initialSequenceIndex = _toInitialSequenceIndex(tokenId); return tokenURIOfInitialSequenceIndex(initialSequenceIndex); } /** * @dev Returns the set token URI, i.e. IPFS v0 CID, of {initialSequenceIndex}. * Prefixed with ipfs:// */ function tokenURIOfInitialSequenceIndex(uint256 initialSequenceIndex) public view returns (string memory) { require(_startingIndex > 0, "Tokens have not been assigned yet"); string memory tokenCID = initialSequenceTokenCID(initialSequenceIndex); string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return tokenCID; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(tokenCID).length > 0) { return string(abi.encodePacked(base, tokenCID)); } return base; } /** * @dev Returns if the NFT has been minted before reveal phase. */ function isMintedBeforeReveal(uint256 index) public view returns (bool) { return _mintedBeforeReveal[index]; } /** * @dev Gets current NFT price based on already minted tokens. */ function getNFTPrice() public view returns (uint256) { uint currentSupply = totalSupply(); if (currentSupply < _priceIntervalSupplyLimits[0]) { return 0.05 ether; } else if (currentSupply < _priceIntervalSupplyLimits[1]) { return 0.1 ether; } else if (currentSupply < _priceIntervalSupplyLimits[2]) { return 0.2 ether; } else if (currentSupply < _priceIntervalSupplyLimits[3]) { return 0.4 ether; } else if (currentSupply < _priceIntervalSupplyLimits[4]) { return 1 ether; } else if (currentSupply < _priceIntervalSupplyLimits[5]) { return 3 ether; } else { return 26 ether; } } /** * @dev Mints Mars NFTs */ function mintNFT(uint256 numberOfNfts) public payable { require(block.timestamp >= _saleStartTimestamp, "Sale has not started"); require(totalSupply() < _maxSupply, "Sale has already ended"); require(numberOfNfts > 0, "Cannot buy 0 NFTs"); require(numberOfNfts <= 20, "You may not buy more than 20 NFTs at once"); require(totalSupply().add(numberOfNfts) <= _maxSupply, "Exceeds max number of NFTs in existence"); require(getNFTPrice().mul(numberOfNfts) == msg.value, "Ether value sent is not correct"); for (uint i = 0; i < numberOfNfts; i++) { uint mintIndex = totalSupply(); require(mintIndex < _maxSupply, "Exceeds max number of NFTs in existence"); if (block.timestamp < _revealTimestamp) { _mintedBeforeReveal[mintIndex] = true; } _safeMint(msg.sender, mintIndex); } // Source of randomness. Theoretical miner withhold manipulation possible but should be sufficient in a pragmatic sense if (_startingIndexBlock == 0 && (totalSupply() == _maxSupply || block.timestamp >= _revealTimestamp)) { _startingIndexBlock = block.number; } } /** * @dev Finalize starting index */ function finalizeStartingIndex() public { require(_startingIndex == 0, "Starting index is already set"); require(_startingIndexBlock != 0, "Starting index block must be set"); _startingIndex = uint(blockhash(_startingIndexBlock)) % _maxSupply; // Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes) if (block.number.sub(_startingIndexBlock) > 255) { _startingIndex = uint(blockhash(block.number - 1)) % _maxSupply; } // Prevent default sequence if (_startingIndex == 0) { _startingIndex = _startingIndex.add(1); } } /** * @dev Changes the name for Mars tile tokenId */ function changeName(uint256 tokenId, string memory newName) public { address owner = ownerOf(tokenId); require(_msgSender() == owner, "ERC721: caller is not the owner"); require(_validateName(newName) == true, "Not a valid new name"); require(sha256(bytes(newName)) != sha256(bytes(_tokenNames[tokenId])), "New name is same as the current one"); require(isNameReserved(newName) == false, "Name already reserved"); _m26.transferFrom(msg.sender, address(this), _nameChangePrice); // If already named, dereserve old name if (bytes(_tokenNames[tokenId]).length > 0) { _toggleReserveName(_tokenNames[tokenId], false); } _toggleReserveName(newName, true); _tokenNames[tokenId] = newName; _m26.burn(_nameChangePrice); emit NameChange(tokenId, newName); } /** * @dev Withdraw ether from this contract (Callable by owner) */ function withdraw() onlyOwner public { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } /** * @dev See {MarsStorage.setInitialSequenceTokenHashes} */ function setInitialSequenceTokenHashes(bytes32[] memory tokenHashes) onlyOwner public { _storage.setInitialSequenceTokenHashes(tokenHashes); } /** * @dev See {MarsStorage.setInitialSequenceTokenHashesAtIndex} */ function setInitialSequenceTokenHashesAtIndex( uint256 startIndex, bytes32[] memory tokenHashes ) public onlyOwner { _storage.setInitialSequenceTokenHashesAtIndex(startIndex, tokenHashes); } /** * @dev Check if the name string is valid (Alphanumeric and spaces without leading or trailing space) */ function _validateName(string memory str) private pure returns (bool){ bytes memory b = bytes(str); if (b.length < 1) return false; if (b.length > 50) return false; // Cannot be longer than 25 characters if (b[0] == 0x20) return false; // Leading space if (b[b.length - 1] == 0x20) return false; // Trailing space bytes1 lastChar = b[0]; for (uint i; i < b.length; i++) { bytes1 char = b[i]; if (char == 0x20 && lastChar == 0x20) return false; // Cannot contain continous spaces if ( !(char >= 0x30 && char <= 0x39) && //9-0 !(char >= 0x41 && char <= 0x5A) && //A-Z !(char >= 0x61 && char <= 0x7A) && //a-z !(char == 0x20) //space ) return false; lastChar = char; } return true; } /** * @dev Converts the string to lowercase */ function _toLower(string memory str) private pure returns (string memory){ bytes memory bStr = bytes(str); bytes memory bLower = new bytes(bStr.length); for (uint i = 0; i < bStr.length; i++) { // Uppercase character if ((uint8(bStr[i]) >= 65) && (uint8(bStr[i]) <= 90)) { bLower[i] = bytes1(uint8(bStr[i]) + 32); } else { bLower[i] = bStr[i]; } } return string(bLower); } /** * @dev Reserves the name if isReserve is set to true, de-reserves if set to false */ function _toggleReserveName(string memory str, bool isReserve) internal { _reservedNames[_toLower(str)] = isReserve; } function _baseURI() internal pure override returns (string memory) { return "ipfs://"; } function _toInitialSequenceIndex(uint256 tokenId) internal view returns (uint256) { return (tokenId + _startingIndex) % _maxSupply; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./Mars.sol"; /** * Mars26 Contract * @dev Extends standard ERC20 contract */ contract Mars26 is ERC20Burnable, Ownable { using SafeMath for uint256; uint256 public constant INITIAL_ALLOTMENT = 2026 * (10 ** 18); uint256 public constant PRE_REVEAL_MULTIPLIER = 2; uint256 private constant _SECONDS_IN_A_DAY = 86400; uint256 private _emissionStartTimestamp; uint256 private _emissionEndTimestamp; uint256 private _emissionPerDay; mapping(uint256 => uint256) private _lastClaim; Mars private _mars; /** * @dev Sets immutable values of contract. */ constructor ( uint256 emissionStartTimestamp_, uint256 emissionEndTimestamp_, uint256 emissionPerDay_ ) ERC20("Mars26", "M26") { _emissionStartTimestamp = emissionStartTimestamp_; _emissionEndTimestamp = emissionEndTimestamp_; _emissionPerDay = emissionPerDay_; } function emissionStartTimestamp() public view returns (uint256) { return _emissionStartTimestamp; } function emissionEndTimestamp() public view returns (uint256) { return _emissionEndTimestamp; } function emissionPerDay() public view returns (uint256) { return _emissionPerDay; } function marsAddress() public view returns (address) { return address(_mars); } /** * @dev Sets Mars contract address. Can only be called once by owner. */ function setMarsAddress(address marsAddress_) public onlyOwner { require(address(_mars) == address(0), "Already set"); _mars = Mars(marsAddress_); } /** * @dev Returns timestamp at which accumulated M26s have last been claimed for a {tokenIndex}. */ function lastClaim(uint256 tokenIndex) public view returns (uint256) { require(_mars.ownerOf(tokenIndex) != address(0), "Owner cannot be 0 address"); require(tokenIndex < _mars.totalSupply(), "NFT at index has not been minted yet"); uint256 lastClaimed = uint256(_lastClaim[tokenIndex]) != 0 ? uint256(_lastClaim[tokenIndex]) : _emissionStartTimestamp; return lastClaimed; } /** * @dev Returns amount of accumulated M26s for {tokenIndex}. */ function accumulated(uint256 tokenIndex) public view returns (uint256) { require(block.timestamp > _emissionStartTimestamp, "Emission has not started yet"); require(_mars.ownerOf(tokenIndex) != address(0), "Owner cannot be 0 address"); require(tokenIndex < _mars.totalSupply(), "NFT at index has not been minted yet"); uint256 lastClaimed = lastClaim(tokenIndex); // Sanity check if last claim was on or after emission end if (lastClaimed >= _emissionEndTimestamp) return 0; uint256 accumulationPeriod = block.timestamp < _emissionEndTimestamp ? block.timestamp : _emissionEndTimestamp; // Getting the min value of both uint256 totalAccumulated = accumulationPeriod .sub(lastClaimed) .mul(_emissionPerDay) .div(_SECONDS_IN_A_DAY); // If claim hasn't been done before for the index, add initial allotment (plus prereveal multiplier if applicable) if (lastClaimed == _emissionStartTimestamp) { uint256 initialAllotment = _mars.isMintedBeforeReveal(tokenIndex) == true ? INITIAL_ALLOTMENT.mul(PRE_REVEAL_MULTIPLIER) : INITIAL_ALLOTMENT; totalAccumulated = totalAccumulated.add(initialAllotment); } return totalAccumulated; } /** * @dev Claim mints M26s and supports multiple token indices at once. */ function claim(uint256[] memory tokenIndices) public returns (uint256) { require(block.timestamp > _emissionStartTimestamp, "Emission has not started yet"); uint256 totalClaimQty = 0; for (uint i = 0; i < tokenIndices.length; i++) { // Sanity check for non-minted index require(tokenIndices[i] < _mars.totalSupply(), "NFT at index has not been minted yet"); // Duplicate token index check for (uint j = i + 1; j < tokenIndices.length; j++) { require(tokenIndices[i] != tokenIndices[j], "Duplicate token index"); } uint tokenIndex = tokenIndices[i]; require(_mars.ownerOf(tokenIndex) == msg.sender, "Sender is not the owner"); uint256 claimQty = accumulated(tokenIndex); if (claimQty != 0) { totalClaimQty = totalClaimQty.add(claimQty); _lastClaim[tokenIndex] = block.timestamp; } } require(totalClaimQty != 0, "No accumulated M26"); _mint(msg.sender, totalClaimQty); increaseAllowance(address(_mars), totalClaimQty); return totalClaimQty; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; /** * @title MarsStorage contract */ contract MarsStorage is Ownable { using SafeMath for uint256; // hash code: 0x12 (SHA-2) and digest length: 0x20 (32 bytes / 256 bits) bytes2 public constant MULTIHASH_PREFIX = 0x1220; // IPFS CID Version: v0 uint256 public constant CID_VERSION = 0; // IPFS v0 CIDs in hexadecimal without multihash prefix ordered by initial sequence bytes32[] private _intitialSequenceTokenHashes; uint256 internal _maxSupply; bytes internal constant _ALPHABET = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"; /** * @dev Sets immutable values of contract. */ constructor (uint256 maxSupply_) { _maxSupply = maxSupply_; } /** * @dev Returns the IPFS v0 CID of {initialSequenceIndex}. * * The returned values can be concatenated and hashed using SHA2-256 to verify the * provenance hash. */ function initialSequenceTokenCID(uint256 initialSequenceIndex) public view returns (string memory) { bytes memory tokenCIDHex = abi.encodePacked( MULTIHASH_PREFIX, _intitialSequenceTokenHashes[initialSequenceIndex] ); string memory tokenCID = _toBase58(tokenCIDHex); return tokenCID; } /** * @dev Sets token hashes in the initially set order as verifiable through * {_provenanceHash}. * * Provided {tokenHashes} are IPFS v0 CIDs in hexadecimal without the prefix 0x1220 * and ordered in the initial sequence. */ function setInitialSequenceTokenHashes(bytes32[] memory tokenHashes) onlyOwner public { setInitialSequenceTokenHashesAtIndex(_intitialSequenceTokenHashes.length, tokenHashes); } /** * @dev Sets token hashes in the initially set order starting at {startIndex}. */ function setInitialSequenceTokenHashesAtIndex( uint256 startIndex, bytes32[] memory tokenHashes ) public onlyOwner { require(startIndex <= _intitialSequenceTokenHashes.length); for (uint256 i = 0; i < tokenHashes.length; i++) { if ((i + startIndex) >= _intitialSequenceTokenHashes.length) { _intitialSequenceTokenHashes.push(tokenHashes[i]); } else { _intitialSequenceTokenHashes[i + startIndex] = tokenHashes[i]; } } require(_intitialSequenceTokenHashes.length <= _maxSupply); } // Source: verifyIPFS (https://github.com/MrChico/verifyIPFS/blob/master/contracts/verifyIPFS.sol) // @author Martin Lundfall ([email protected]) // @dev Converts hex string to base 58 function _toBase58(bytes memory source) internal pure returns (string memory) { if (source.length == 0) return new string(0); uint8[] memory digits = new uint8[](46); digits[0] = 0; uint8 digitlength = 1; for (uint256 i = 0; i < source.length; ++i) { uint256 carry = uint8(source[i]); for (uint256 j = 0; j < digitlength; ++j) { carry += uint256(digits[j]) * 256; digits[j] = uint8(carry % 58); carry = carry / 58; } while (carry > 0) { digits[digitlength] = uint8(carry % 58); digitlength++; carry = carry / 58; } } return string(_toAlphabet(_reverse(_truncate(digits, digitlength)))); } function _truncate(uint8[] memory array, uint8 length) internal pure returns (uint8[] memory) { uint8[] memory output = new uint8[](length); for (uint256 i = 0; i < length; i++) { output[i] = array[i]; } return output; } function _reverse(uint8[] memory input) internal pure returns (uint8[] memory) { uint8[] memory output = new uint8[](input.length); for (uint256 i = 0; i < input.length; i++) { output[i] = input[input.length - 1 - i]; } return output; } function _toAlphabet(uint8[] memory indices) internal pure returns (bytes memory) { bytes memory output = new bytes(indices.length); for (uint256 i = 0; i < indices.length; i++) { output[i] = _ALPHABET[indices[i]]; } return output; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "./extensions/IERC721Enumerable.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping (uint256 => address) private _owners; // Mapping owner address to token count mapping (address => uint256) private _balances; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden * in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-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. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); _approve(account, _msgSender(), currentAllowance - amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The defaut value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overloaded; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, _msgSender(), currentAllowance - amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); _approve(_msgSender(), spender, currentAllowance - subtractedValue); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); _balances[sender] = senderBalance - amount; _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes32","name":"provenanceHash_","type":"bytes32"},{"internalType":"address","name":"m26Address_","type":"address"},{"internalType":"uint256","name":"nameChangePrice_","type":"uint256"},{"internalType":"uint256","name":"saleStartTimestamp_","type":"uint256"},{"internalType":"uint256","name":"revealTimestamp_","type":"uint256"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"uint256[6]","name":"priceIntervalSupplyLimits_","type":"uint256[6]"}],"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":"maskIndex","type":"uint256"},{"indexed":false,"internalType":"string","name":"newName","type":"string"}],"name":"NameChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newName","type":"string"}],"name":"changeName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalizeStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNFTPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"initialSequenceIndex","type":"uint256"}],"name":"initialSequenceTokenCID","outputs":[{"internalType":"string","name":"","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":"index","type":"uint256"}],"name":"isMintedBeforeReveal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"nameString","type":"string"}],"name":"isNameReserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"m26Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfNfts","type":"uint256"}],"name":"mintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nameChangePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"priceIntervalSupplyLimits","outputs":[{"internalType":"uint256[6]","name":"","type":"uint256[6]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":[],"name":"saleStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"tokenHashes","type":"bytes32[]"}],"name":"setInitialSequenceTokenHashes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startIndex","type":"uint256"},{"internalType":"bytes32[]","name":"tokenHashes","type":"bytes32[]"}],"name":"setInitialSequenceTokenHashesAtIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"storageAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenNames","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"initialSequenceIndex","type":"uint256"}],"name":"tokenURIOfInitialSequenceIndex","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200806538038062008065833981810160405281019062000037919062000562565b6040518060400160405280600481526020017f4d617273000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4d415253000000000000000000000000000000000000000000000000000000008152506000620000b56200037c60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600190805190602001906200016b92919062000384565b5080600290805190602001906200018492919062000384565b50505086600b8190555085601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600d8190555083600e8190555082600f819055506000600190505b6006811015620002da578181600681106200022f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015182600183620002449190620006ea565b600681106200027c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015110620002c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002bb9062000648565b60405180910390fd5b8080620002d190620007d9565b915050620001eb565b50806010906006620002ee92919062000415565b5081600c819055508160405162000305906200045a565b6200031191906200066a565b604051809103906000f0801580156200032e573d6000803e3d6000fd5b50601c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050505062000962565b600033905090565b82805462000392906200076d565b90600052602060002090601f016020900481019282620003b6576000855562000402565b82601f10620003d157805160ff191683800117855562000402565b8280016001018555821562000402579182015b8281111562000401578251825591602001919060010190620003e4565b5b50905062000411919062000468565b5090565b826006810192821562000447579160200282015b828111156200044657825182559160200191906001019062000429565b5b50905062000456919062000468565b5090565b6118d1806200679483390190565b5b808211156200048357600081600090555060010162000469565b5090565b60006200049e6200049884620006b0565b62000687565b90508082856020860282011115620004b557600080fd5b60005b85811015620004e95781620004ce88826200054b565b845260208401935060208301925050600181019050620004b8565b5050509392505050565b600081519050620005048162000914565b92915050565b600082601f8301126200051c57600080fd5b60066200052b84828562000487565b91505092915050565b60008151905062000545816200092e565b92915050565b6000815190506200055c8162000948565b92915050565b6000806000806000806000610180888a0312156200057f57600080fd5b60006200058f8a828b0162000534565b9750506020620005a28a828b01620004f3565b9650506040620005b58a828b016200054b565b9550506060620005c88a828b016200054b565b9450506080620005db8a828b016200054b565b93505060a0620005ee8a828b016200054b565b92505060c0620006018a828b016200050a565b91505092959891949750929550565b60006200061f602e83620006d9565b91506200062c82620008c5565b604082019050919050565b620006428162000763565b82525050565b60006020820190508181036000830152620006638162000610565b9050919050565b600060208201905062000681600083018462000637565b92915050565b600062000693620006a6565b9050620006a18282620007a3565b919050565b6000604051905090565b600067ffffffffffffffff821115620006ce57620006cd62000885565b5b602082029050919050565b600082825260208201905092915050565b6000620006f78262000763565b9150620007048362000763565b9250828210156200071a576200071962000827565b5b828203905092915050565b6000620007328262000743565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060028204905060018216806200078657607f821691505b602082108114156200079d576200079c62000856565b5b50919050565b620007ae82620008b4565b810181811067ffffffffffffffff82111715620007d057620007cf62000885565b5b80604052505050565b6000620007e68262000763565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200081c576200081b62000827565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f507269636520696e74657276616c6520737570706c79206c696d6974206e656560008201527f6420746f20617363656e64696e67000000000000000000000000000000000000602082015250565b6200091f8162000725565b81146200092b57600080fd5b50565b620009398162000739565b81146200094557600080fd5b50565b620009538162000763565b81146200095f57600080fd5b50565b615e2280620009726000396000f3fe6080604052600436106102465760003560e01c806385aa92a711610139578063c6ab67a3116100b6578063e36d64981161007a578063e36d649814610897578063e985e9c5146108c2578063f2fde38b146108ff578063f41d291014610928578063f62f3c1114610965578063fb107a4f1461099057610246565b8063c6ab67a3146107b0578063c87b56dd146107db578063cb774d4714610818578063d5abeb0114610843578063d9dfc0af1461086e57610246565b8063a22cb465116100fd578063a22cb465146106cf578063b29d1860146106f8578063b88d4fde14610721578063bc28d7021461074a578063c39cbef11461078757610246565b806385aa92a7146105f55780638da5cb5b14610620578063926427441461064b57806395d89b411461066757806398ba8ebf1461069257610246565b8063310495ab116101c75780634f6ccce71161018b5780634f6ccce7146105105780636352211e1461054d57806370a082311461058a578063715018a6146105c757806374df39c9146105de57610246565b8063310495ab1461043d5780633c276d861461047a5780633ccfd60b146104a557806342842e0e146104bc57806345ca7738146104e557610246565b806315b56d101161020e57806315b56d101461034457806318160ddd146103815780631c1475be146103ac57806323b872dd146103d75780632f745c591461040057610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f0578063115d6d7714610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d919061428d565b6109bb565b60405161027f9190614c45565b60405180910390f35b34801561029457600080fd5b5061029d610a35565b6040516102aa9190614c7b565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190614361565b610ac7565b6040516102e79190614b6a565b60405180910390f35b3480156102fc57600080fd5b50610317600480360381019061031291906141be565b610b4c565b005b34801561032557600080fd5b5061032e610c64565b60405161033b9190614c2a565b60405180910390f35b34801561035057600080fd5b5061036b600480360381019061036691906142df565b610caf565b6040516103789190614c45565b60405180910390f35b34801561038d57600080fd5b50610396610cec565b6040516103a3919061507d565b60405180910390f35b3480156103b857600080fd5b506103c1610cf9565b6040516103ce9190614b6a565b60405180910390f35b3480156103e357600080fd5b506103fe60048036038101906103f991906140b8565b610d23565b005b34801561040c57600080fd5b50610427600480360381019061042291906141be565b610d83565b604051610434919061507d565b60405180910390f35b34801561044957600080fd5b50610464600480360381019061045f9190614361565b610e28565b6040516104719190614c7b565b60405180910390f35b34801561048657600080fd5b5061048f610ecd565b60405161049c919061507d565b60405180910390f35b3480156104b157600080fd5b506104ba610ed7565b005b3480156104c857600080fd5b506104e360048036038101906104de91906140b8565b610fa2565b005b3480156104f157600080fd5b506104fa610fc2565b604051610507919061507d565b60405180910390f35b34801561051c57600080fd5b5061053760048036038101906105329190614361565b610fcc565b604051610544919061507d565b60405180910390f35b34801561055957600080fd5b50610574600480360381019061056f9190614361565b611063565b6040516105819190614b6a565b60405180910390f35b34801561059657600080fd5b506105b160048036038101906105ac9190614053565b611115565b6040516105be919061507d565b60405180910390f35b3480156105d357600080fd5b506105dc6111cd565b005b3480156105ea57600080fd5b506105f3611307565b005b34801561060157600080fd5b5061060a611418565b6040516106179190614b6a565b60405180910390f35b34801561062c57600080fd5b50610635611442565b6040516106429190614b6a565b60405180910390f35b61066560048036038101906106609190614361565b61146b565b005b34801561067357600080fd5b5061067c611723565b6040516106899190614c7b565b60405180910390f35b34801561069e57600080fd5b506106b960048036038101906106b49190614361565b6117b5565b6040516106c69190614c7b565b60405180910390f35b3480156106db57600080fd5b506106f660048036038101906106f19190614182565b611869565b005b34801561070457600080fd5b5061071f600480360381019061071a91906141fa565b6119ea565b005b34801561072d57600080fd5b5061074860048036038101906107439190614107565b611af6565b005b34801561075657600080fd5b50610771600480360381019061076c9190614361565b611b58565b60405161077e9190614c45565b60405180910390f35b34801561079357600080fd5b506107ae60048036038101906107a991906143de565b611b82565b005b3480156107bc57600080fd5b506107c5612017565b6040516107d29190614c60565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd9190614361565b612021565b60405161080f9190614c7b565b60405180910390f35b34801561082457600080fd5b5061082d6120ce565b60405161083a919061507d565b60405180910390f35b34801561084f57600080fd5b506108586120d8565b604051610865919061507d565b60405180910390f35b34801561087a57600080fd5b506108956004803603810190610890919061438a565b6120e2565b005b3480156108a357600080fd5b506108ac6121f1565b6040516108b9919061507d565b60405180910390f35b3480156108ce57600080fd5b506108e960048036038101906108e4919061407c565b6121fb565b6040516108f69190614c45565b60405180910390f35b34801561090b57600080fd5b5061092660048036038101906109219190614053565b61228f565b005b34801561093457600080fd5b5061094f600480360381019061094a9190614361565b612438565b60405161095c9190614c7b565b60405180910390f35b34801561097157600080fd5b5061097a6124f1565b604051610987919061507d565b60405180910390f35b34801561099c57600080fd5b506109a56124fb565b6040516109b2919061507d565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a2e5750610a2d82612716565b5b9050919050565b606060018054610a449061542c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a709061542c565b8015610abd5780601f10610a9257610100808354040283529160200191610abd565b820191906000526020600020905b815481529060010190602001808311610aa057829003601f168201915b5050505050905090565b6000610ad2826127f8565b610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0890614efd565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b5782611063565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbf90614f9d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be7612864565b73ffffffffffffffffffffffffffffffffffffffff161480610c165750610c1581610c10612864565b6121fb565b5b610c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4c90614e1d565b60405180910390fd5b610c5f838361286c565b505050565b610c6c613d18565b6010600680602002604051908101604052809291908260068015610ca5576020028201915b815481526020019060010190808311610c91575b5050505050905090565b60006019610cbc83612925565b604051610cc99190614b2f565b908152602001604051809103902060009054906101000a900460ff169050919050565b6000600980549050905090565b6000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d34610d2e612864565b82612be7565b610d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6a90614ffd565b60405180910390fd5b610d7e838383612cc5565b505050565b6000610d8e83611115565b8210610dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc690614cfd565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6060601860008381526020019081526020016000208054610e489061542c565b80601f0160208091040260200160405190810160405280929190818152602001828054610e749061542c565b8015610ec15780601f10610e9657610100808354040283529160200191610ec1565b820191906000526020600020905b815481529060010190602001808311610ea457829003601f168201915b50505050509050919050565b6000600e54905090565b610edf612864565b73ffffffffffffffffffffffffffffffffffffffff16610efd611442565b73ffffffffffffffffffffffffffffffffffffffff1614610f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4a90614f1d565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f9e573d6000803e3d6000fd5b5050565b610fbd83838360405180602001604052806000815250611af6565b505050565b6000600d54905090565b6000610fd6610cec565b8210611017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100e9061501d565b60405180910390fd5b60098281548110611051577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561110c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110390614e7d565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117d90614e5d565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111d5612864565b73ffffffffffffffffffffffffffffffffffffffff166111f3611442565b73ffffffffffffffffffffffffffffffffffffffff1614611249576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124090614f1d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60006017541461134c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134390614dfd565b60405180910390fd5b60006016541415611392576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138990614fdd565b60405180910390fd5b600c546016544060001c6113a691906154d8565b60178190555060ff6113c360165443612f2190919063ffffffff16565b11156113ee57600c546001436113d9919061532b565b4060001c6113e791906154d8565b6017819055505b600060175414156114165761140f6001601754612f3790919063ffffffff16565b6017819055505b565b6000601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e544210156114b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a79061503d565b60405180910390fd5b600c546114bb610cec565b106114fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f290614fbd565b60405180910390fd5b6000811161153e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153590614f3d565b60405180910390fd5b6014811115611582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157990614e3d565b60405180910390fd5b600c5461159f82611591610cec565b612f3790919063ffffffff16565b11156115e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d790614cbd565b60405180910390fd5b346115fb826115ed6124fb565b612f4d90919063ffffffff16565b1461163b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163290614dbd565b60405180910390fd5b60005b818110156116eb576000611650610cec565b9050600c548110611696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168d90614cbd565b60405180910390fd5b600f544210156116cd576001601a600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6116d73382612f63565b5080806116e39061548f565b91505061163e565b5060006016541480156117135750600c54611704610cec565b14806117125750600f544210155b5b1561172057436016819055505b50565b6060600280546117329061542c565b80601f016020809104026020016040519081016040528092919081815260200182805461175e9061542c565b80156117ab5780601f10611780576101008083540402835291602001916117ab565b820191906000526020600020905b81548152906001019060200180831161178e57829003601f168201915b5050505050905090565b60606000601754116117fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f390614c9d565b60405180910390fd5b600061180783612438565b90506000611813612f81565b9050600081511415611829578192505050611864565b60008251111561185e578082604051602001611846929190614b46565b60405160208183030381529060405292505050611864565b80925050505b919050565b611871612864565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d690614d9d565b60405180910390fd5b80600660006118ec612864565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611999612864565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119de9190614c45565b60405180910390a35050565b6119f2612864565b73ffffffffffffffffffffffffffffffffffffffff16611a10611442565b73ffffffffffffffffffffffffffffffffffffffff1614611a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5d90614f1d565b60405180910390fd5b601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b29d1860826040518263ffffffff1660e01b8152600401611ac19190614c08565b600060405180830381600087803b158015611adb57600080fd5b505af1158015611aef573d6000803e3d6000fd5b5050505050565b611b07611b01612864565b83612be7565b611b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3d90614ffd565b60405180910390fd5b611b5284848484612fbe565b50505050565b6000601a600083815260200190815260200160002060009054906101000a900460ff169050919050565b6000611b8d83611063565b90508073ffffffffffffffffffffffffffffffffffffffff16611bae612864565b73ffffffffffffffffffffffffffffffffffffffff1614611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb90614cdd565b60405180910390fd5b60011515611c118361301a565b151514611c53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4a9061505d565b60405180910390fd5b600260186000858152602001908152602001600020604051611c759190614b18565b602060405180830381855afa158015611c92573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611cb59190614264565b600283604051611cc59190614b01565b602060405180830381855afa158015611ce2573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611d059190614264565b1415611d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3d90614f7d565b60405180910390fd5b60001515611d5383610caf565b151514611d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8c90614ebd565b60405180910390fd5b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600d546040518463ffffffff1660e01b8152600401611df693929190614b85565b602060405180830381600087803b158015611e1057600080fd5b505af1158015611e24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e48919061423b565b506000601860008581526020019081526020016000208054611e699061542c565b90501115611f1857611f17601860008581526020019081526020016000208054611e929061542c565b80601f0160208091040260200160405190810160405280929190818152602001828054611ebe9061542c565b8015611f0b5780601f10611ee057610100808354040283529160200191611f0b565b820191906000526020600020905b815481529060010190602001808311611eee57829003601f168201915b505050505060006133e4565b5b611f238260016133e4565b81601860008581526020019081526020016000209080519060200190611f4a929190613d3a565b50601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68600d546040518263ffffffff1660e01b8152600401611fa8919061507d565b600060405180830381600087803b158015611fc257600080fd5b505af1158015611fd6573d6000803e3d6000fd5b50505050827f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b8360405161200a9190614c7b565b60405180910390a2505050565b6000600b54905090565b606061202c826127f8565b61206b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206290614edd565b60405180910390fd5b6000601754116120b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a790614c9d565b60405180910390fd5b60006120bb83613426565b90506120c6816117b5565b915050919050565b6000601754905090565b6000600c54905090565b6120ea612864565b73ffffffffffffffffffffffffffffffffffffffff16612108611442565b73ffffffffffffffffffffffffffffffffffffffff161461215e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215590614f1d565b60405180910390fd5b601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d9dfc0af83836040518363ffffffff1660e01b81526004016121bb929190615098565b600060405180830381600087803b1580156121d557600080fd5b505af11580156121e9573d6000803e3d6000fd5b505050505050565b6000601654905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612297612864565b73ffffffffffffffffffffffffffffffffffffffff166122b5611442565b73ffffffffffffffffffffffffffffffffffffffff161461230b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230290614f1d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561237b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237290614d3d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f41d2910836040518263ffffffff1660e01b8152600401612495919061507d565b60006040518083038186803b1580156124ad57600080fd5b505afa1580156124c1573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906124ea9190614320565b9050919050565b6000600f54905090565b600080612506610cec565b90506010600060068110612543577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b015481101561255c5766b1a2bc2ec50000915050612713565b6010600160068110612597577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01548110156125b15767016345785d8a0000915050612713565b60106002600681106125ec577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0154811015612606576702c68af0bb140000915050612713565b6010600360068110612641577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b015481101561265b5767058d15e176280000915050612713565b6010600460068110612696577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01548110156126b057670de0b6b3a7640000915050612713565b60106005600681106126eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0154811015612705576729a2241af62c0000915050612713565b680168d28e3f002800009150505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127e157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127f157506127f08261344a565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128df83611063565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606060008290506000815167ffffffffffffffff81111561296f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129a15781602001600182028036833780820191505090505b50905060005b8251811015612bdc5760418382815181106129eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff1610158015612a545750605a838281518110612a40577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff1611155b15612b1c576020838281518110612a94577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c612aac919061529a565b60f81b828281518110612ae8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612bc9565b828181518110612b55577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b828281518110612b99577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b8080612bd49061548f565b9150506129a7565b508092505050919050565b6000612bf2826127f8565b612c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2890614ddd565b60405180910390fd5b6000612c3c83611063565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612cab57508373ffffffffffffffffffffffffffffffffffffffff16612c9384610ac7565b73ffffffffffffffffffffffffffffffffffffffff16145b80612cbc5750612cbb81856121fb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ce582611063565b73ffffffffffffffffffffffffffffffffffffffff1614612d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3290614f5d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da290614d7d565b60405180910390fd5b612db68383836134b4565b612dc160008261286c565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e11919061532b565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e689190615244565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612f2f919061532b565b905092915050565b60008183612f459190615244565b905092915050565b60008183612f5b91906152d1565b905092915050565b612f7d8282604051806020016040528060008152506135c8565b5050565b60606040518060400160405280600781526020017f697066733a2f2f00000000000000000000000000000000000000000000000000815250905090565b612fc9848484612cc5565b612fd584848484613623565b613014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300b90614d1d565b60405180910390fd5b50505050565b6000808290506001815110156130345760009150506133df565b6032815111156130485760009150506133df565b602060f81b81600081518110613087577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156130c45760009150506133df565b602060f81b81600183516130d8919061532b565b8151811061310f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141561314c5760009150506133df565b600081600081518110613188577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b905060005b82518110156133d75760008382815181106131dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480156132435750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b156132555760009450505050506133df565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156132b15750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b1580156133175750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156133155750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b801561337c5750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015801561337a5750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b80156133ae5750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b156133c05760009450505050506133df565b8092505080806133cf9061548f565b915050613198565b506001925050505b919050565b8060196133f084612925565b6040516133fd9190614b2f565b908152602001604051809103902060006101000a81548160ff0219169083151502179055505050565b6000600c54601754836134399190615244565b61344391906154d8565b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6134bf8383836137ba565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613502576134fd816137bf565b613541565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135405761353f8382613808565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135845761357f81613975565b6135c3565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135c2576135c18282613ab8565b5b5b505050565b6135d28383613b37565b6135df6000848484613623565b61361e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361590614d1d565b60405180910390fd5b505050565b60006136448473ffffffffffffffffffffffffffffffffffffffff16613d05565b156137ad578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261366d612864565b8786866040518563ffffffff1660e01b815260040161368f9493929190614bbc565b602060405180830381600087803b1580156136a957600080fd5b505af19250505080156136da57506040513d601f19601f820116820180604052508101906136d791906142b6565b60015b61375d573d806000811461370a576040519150601f19603f3d011682016040523d82523d6000602084013e61370f565b606091505b50600081511415613755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374c90614d1d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137b2565b600190505b949350505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161381584611115565b61381f919061532b565b9050600060086000848152602001908152602001600020549050818114613904576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613989919061532b565b90506000600a60008481526020019081526020016000205490506000600983815481106139df577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110613a27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613a9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613ac383611115565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b9e90614e9d565b60405180910390fd5b613bb0816127f8565b15613bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613be790614d5d565b60405180910390fd5b613bfc600083836134b4565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c4c9190615244565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6040518060c00160405280600690602082028036833780820191505090505090565b828054613d469061542c565b90600052602060002090601f016020900481019282613d685760008555613daf565b82601f10613d8157805160ff1916838001178555613daf565b82800160010185558215613daf579182015b82811115613dae578251825591602001919060010190613d93565b5b509050613dbc9190613dc0565b5090565b5b80821115613dd9576000816000905550600101613dc1565b5090565b6000613df0613deb846150ed565b6150c8565b90508083825260208201905082856020860282011115613e0f57600080fd5b60005b85811015613e3f5781613e258882613f6c565b845260208401935060208301925050600181019050613e12565b5050509392505050565b6000613e5c613e5784615119565b6150c8565b905082815260208101848484011115613e7457600080fd5b613e7f8482856153ea565b509392505050565b6000613e9a613e958461514a565b6150c8565b905082815260208101848484011115613eb257600080fd5b613ebd8482856153ea565b509392505050565b6000613ed8613ed38461514a565b6150c8565b905082815260208101848484011115613ef057600080fd5b613efb8482856153f9565b509392505050565b600081359050613f1281615d79565b92915050565b600082601f830112613f2957600080fd5b8135613f39848260208601613ddd565b91505092915050565b600081359050613f5181615d90565b92915050565b600081519050613f6681615d90565b92915050565b600081359050613f7b81615da7565b92915050565b600081519050613f9081615da7565b92915050565b600081359050613fa581615dbe565b92915050565b600081519050613fba81615dbe565b92915050565b600082601f830112613fd157600080fd5b8135613fe1848260208601613e49565b91505092915050565b600082601f830112613ffb57600080fd5b813561400b848260208601613e87565b91505092915050565b600082601f83011261402557600080fd5b8151614035848260208601613ec5565b91505092915050565b60008135905061404d81615dd5565b92915050565b60006020828403121561406557600080fd5b600061407384828501613f03565b91505092915050565b6000806040838503121561408f57600080fd5b600061409d85828601613f03565b92505060206140ae85828601613f03565b9150509250929050565b6000806000606084860312156140cd57600080fd5b60006140db86828701613f03565b93505060206140ec86828701613f03565b92505060406140fd8682870161403e565b9150509250925092565b6000806000806080858703121561411d57600080fd5b600061412b87828801613f03565b945050602061413c87828801613f03565b935050604061414d8782880161403e565b925050606085013567ffffffffffffffff81111561416a57600080fd5b61417687828801613fc0565b91505092959194509250565b6000806040838503121561419557600080fd5b60006141a385828601613f03565b92505060206141b485828601613f42565b9150509250929050565b600080604083850312156141d157600080fd5b60006141df85828601613f03565b92505060206141f08582860161403e565b9150509250929050565b60006020828403121561420c57600080fd5b600082013567ffffffffffffffff81111561422657600080fd5b61423284828501613f18565b91505092915050565b60006020828403121561424d57600080fd5b600061425b84828501613f57565b91505092915050565b60006020828403121561427657600080fd5b600061428484828501613f81565b91505092915050565b60006020828403121561429f57600080fd5b60006142ad84828501613f96565b91505092915050565b6000602082840312156142c857600080fd5b60006142d684828501613fab565b91505092915050565b6000602082840312156142f157600080fd5b600082013567ffffffffffffffff81111561430b57600080fd5b61431784828501613fea565b91505092915050565b60006020828403121561433257600080fd5b600082015167ffffffffffffffff81111561434c57600080fd5b61435884828501614014565b91505092915050565b60006020828403121561437357600080fd5b60006143818482850161403e565b91505092915050565b6000806040838503121561439d57600080fd5b60006143ab8582860161403e565b925050602083013567ffffffffffffffff8111156143c857600080fd5b6143d485828601613f18565b9150509250929050565b600080604083850312156143f157600080fd5b60006143ff8582860161403e565b925050602083013567ffffffffffffffff81111561441c57600080fd5b61442885828601613fea565b9150509250929050565b600061443e8383614535565b60208301905092915050565b60006144568383614ae3565b60208301905092915050565b61446b8161535f565b82525050565b600061447c826151aa565b61448681856151f0565b93506144918361517b565b8060005b838110156144c25781516144a98882614432565b97506144b4836151d6565b925050600181019050614495565b5085935050505092915050565b6144d8816151b5565b6144e28184615201565b92506144ed8261518b565b8060005b8381101561451e578151614505878261444a565b9650614510836151e3565b9250506001810190506144f1565b505050505050565b61452f81615371565b82525050565b61453e8161537d565b82525050565b61454d8161537d565b82525050565b600061455e826151c0565b614568818561520c565b93506145788185602086016153f9565b614581816155c5565b840191505092915050565b6000614597826151c0565b6145a1818561521d565b93506145b18185602086016153f9565b80840191505092915050565b600081546145ca8161542c565b6145d4818661521d565b945060018216600081146145ef576001811461460057614633565b60ff19831686528186019350614633565b61460985615195565b60005b8381101561462b5781548189015260018201915060208101905061460c565b838801955050505b50505092915050565b6000614647826151cb565b6146518185615228565b93506146618185602086016153f9565b61466a816155c5565b840191505092915050565b6000614680826151cb565b61468a8185615239565b935061469a8185602086016153f9565b80840191505092915050565b60006146b3602183615228565b91506146be826155d6565b604082019050919050565b60006146d6602783615228565b91506146e182615625565b604082019050919050565b60006146f9601f83615228565b915061470482615674565b602082019050919050565b600061471c602b83615228565b91506147278261569d565b604082019050919050565b600061473f603283615228565b915061474a826156ec565b604082019050919050565b6000614762602683615228565b915061476d8261573b565b604082019050919050565b6000614785601c83615228565b91506147908261578a565b602082019050919050565b60006147a8602483615228565b91506147b3826157b3565b604082019050919050565b60006147cb601983615228565b91506147d682615802565b602082019050919050565b60006147ee601f83615228565b91506147f98261582b565b602082019050919050565b6000614811602c83615228565b915061481c82615854565b604082019050919050565b6000614834601d83615228565b915061483f826158a3565b602082019050919050565b6000614857603883615228565b9150614862826158cc565b604082019050919050565b600061487a602983615228565b91506148858261591b565b604082019050919050565b600061489d602a83615228565b91506148a88261596a565b604082019050919050565b60006148c0602983615228565b91506148cb826159b9565b604082019050919050565b60006148e3602083615228565b91506148ee82615a08565b602082019050919050565b6000614906601583615228565b915061491182615a31565b602082019050919050565b6000614929603183615228565b915061493482615a5a565b604082019050919050565b600061494c602c83615228565b915061495782615aa9565b604082019050919050565b600061496f602083615228565b915061497a82615af8565b602082019050919050565b6000614992601183615228565b915061499d82615b21565b602082019050919050565b60006149b5602983615228565b91506149c082615b4a565b604082019050919050565b60006149d8602383615228565b91506149e382615b99565b604082019050919050565b60006149fb602183615228565b9150614a0682615be8565b604082019050919050565b6000614a1e601683615228565b9150614a2982615c37565b602082019050919050565b6000614a41602083615228565b9150614a4c82615c60565b602082019050919050565b6000614a64603183615228565b9150614a6f82615c89565b604082019050919050565b6000614a87602c83615228565b9150614a9282615cd8565b604082019050919050565b6000614aaa601483615228565b9150614ab582615d27565b602082019050919050565b6000614acd601483615228565b9150614ad882615d50565b602082019050919050565b614aec816153d3565b82525050565b614afb816153d3565b82525050565b6000614b0d828461458c565b915081905092915050565b6000614b2482846145bd565b915081905092915050565b6000614b3b8284614675565b915081905092915050565b6000614b528285614675565b9150614b5e8284614675565b91508190509392505050565b6000602082019050614b7f6000830184614462565b92915050565b6000606082019050614b9a6000830186614462565b614ba76020830185614462565b614bb46040830184614af2565b949350505050565b6000608082019050614bd16000830187614462565b614bde6020830186614462565b614beb6040830185614af2565b8181036060830152614bfd8184614553565b905095945050505050565b60006020820190508181036000830152614c228184614471565b905092915050565b600060c082019050614c3f60008301846144cf565b92915050565b6000602082019050614c5a6000830184614526565b92915050565b6000602082019050614c756000830184614544565b92915050565b60006020820190508181036000830152614c95818461463c565b905092915050565b60006020820190508181036000830152614cb6816146a6565b9050919050565b60006020820190508181036000830152614cd6816146c9565b9050919050565b60006020820190508181036000830152614cf6816146ec565b9050919050565b60006020820190508181036000830152614d168161470f565b9050919050565b60006020820190508181036000830152614d3681614732565b9050919050565b60006020820190508181036000830152614d5681614755565b9050919050565b60006020820190508181036000830152614d7681614778565b9050919050565b60006020820190508181036000830152614d968161479b565b9050919050565b60006020820190508181036000830152614db6816147be565b9050919050565b60006020820190508181036000830152614dd6816147e1565b9050919050565b60006020820190508181036000830152614df681614804565b9050919050565b60006020820190508181036000830152614e1681614827565b9050919050565b60006020820190508181036000830152614e368161484a565b9050919050565b60006020820190508181036000830152614e568161486d565b9050919050565b60006020820190508181036000830152614e7681614890565b9050919050565b60006020820190508181036000830152614e96816148b3565b9050919050565b60006020820190508181036000830152614eb6816148d6565b9050919050565b60006020820190508181036000830152614ed6816148f9565b9050919050565b60006020820190508181036000830152614ef68161491c565b9050919050565b60006020820190508181036000830152614f168161493f565b9050919050565b60006020820190508181036000830152614f3681614962565b9050919050565b60006020820190508181036000830152614f5681614985565b9050919050565b60006020820190508181036000830152614f76816149a8565b9050919050565b60006020820190508181036000830152614f96816149cb565b9050919050565b60006020820190508181036000830152614fb6816149ee565b9050919050565b60006020820190508181036000830152614fd681614a11565b9050919050565b60006020820190508181036000830152614ff681614a34565b9050919050565b6000602082019050818103600083015261501681614a57565b9050919050565b6000602082019050818103600083015261503681614a7a565b9050919050565b6000602082019050818103600083015261505681614a9d565b9050919050565b6000602082019050818103600083015261507681614ac0565b9050919050565b60006020820190506150926000830184614af2565b92915050565b60006040820190506150ad6000830185614af2565b81810360208301526150bf8184614471565b90509392505050565b60006150d26150e3565b90506150de828261545e565b919050565b6000604051905090565b600067ffffffffffffffff82111561510857615107615596565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561513457615133615596565b5b61513d826155c5565b9050602081019050919050565b600067ffffffffffffffff82111561516557615164615596565b5b61516e826155c5565b9050602081019050919050565b6000819050602082019050919050565b6000819050919050565b60008190508160005260206000209050919050565b600081519050919050565b600060069050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061524f826153d3565b915061525a836153d3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561528f5761528e615509565b5b828201905092915050565b60006152a5826153dd565b91506152b0836153dd565b92508260ff038211156152c6576152c5615509565b5b828201905092915050565b60006152dc826153d3565b91506152e7836153d3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153205761531f615509565b5b828202905092915050565b6000615336826153d3565b9150615341836153d3565b92508282101561535457615353615509565b5b828203905092915050565b600061536a826153b3565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156154175780820151818401526020810190506153fc565b83811115615426576000848401525b50505050565b6000600282049050600182168061544457607f821691505b6020821081141561545857615457615567565b5b50919050565b615467826155c5565b810181811067ffffffffffffffff8211171561548657615485615596565b5b80604052505050565b600061549a826153d3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154cd576154cc615509565b5b600182019050919050565b60006154e3826153d3565b91506154ee836153d3565b9250826154fe576154fd615538565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f546f6b656e732068617665206e6f74206265656e2061737369676e656420796560008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178206e756d626572206f66204e46547320696e20657860008201527f697374656e636500000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746865206f776e657200600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f596f75206d6179206e6f7420627579206d6f7265207468616e203230204e465460008201527f73206174206f6e63650000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e616d6520616c72656164792072657365727665640000000000000000000000600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616e6e6f74206275792030204e465473000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4e6577206e616d652069732073616d65206173207468652063757272656e742060008201527f6f6e650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c652068617320616c726561647920656e64656400000000000000000000600082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f53616c6520686173206e6f742073746172746564000000000000000000000000600082015250565b7f4e6f7420612076616c6964206e6577206e616d65000000000000000000000000600082015250565b615d828161535f565b8114615d8d57600080fd5b50565b615d9981615371565b8114615da457600080fd5b50565b615db08161537d565b8114615dbb57600080fd5b50565b615dc781615387565b8114615dd257600080fd5b50565b615dde816153d3565b8114615de957600080fd5b5056fea2646970667358221220fb44b2443daf02fdf103596b1e9d10aa1468fa651a6d37e98a8232172222250364736f6c6343000803003360806040523480156200001157600080fd5b50604051620018d1380380620018d1833981810160405281019062000037919062000114565b600062000049620000f560201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350806002819055505062000164565b600033905090565b6000815190506200010e816200014a565b92915050565b6000602082840312156200012757600080fd5b60006200013784828501620000fd565b91505092915050565b6000819050919050565b620001558162000140565b81146200016157600080fd5b50565b61175d80620001746000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063cf77cea81161005b578063cf77cea8146100ef578063d9dfc0af1461010d578063f2fde38b14610129578063f41d29101461014557610088565b806362dc2bda1461008d578063715018a6146100ab5780638da5cb5b146100b5578063b29d1860146100d3575b600080fd5b610095610175565b6040516100a291906111dd565b60405180910390f35b6100b361017e565b005b6100bd6102b8565b6040516100ca91906111c2565b60405180910390f35b6100ed60048036038101906100e89190610ffe565b6102e1565b005b6100f761036f565b604051610104919061125a565b60405180910390f35b61012760048036038101906101229190611068565b610374565b005b610143600480360381019061013e9190610fd5565b610554565b005b61015f600480360381019061015a919061103f565b6106fd565b60405161016c91906111f8565b60405180910390f35b61122060f01b81565b610186610785565b73ffffffffffffffffffffffffffffffffffffffff166101a46102b8565b73ffffffffffffffffffffffffffffffffffffffff16146101fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101f19061123a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6102e9610785565b73ffffffffffffffffffffffffffffffffffffffff166103076102b8565b73ffffffffffffffffffffffffffffffffffffffff161461035d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103549061123a565b60405180910390fd5b61036c60018054905082610374565b50565b600081565b61037c610785565b73ffffffffffffffffffffffffffffffffffffffff1661039a6102b8565b73ffffffffffffffffffffffffffffffffffffffff16146103f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e79061123a565b60405180910390fd5b60018054905082111561040257600080fd5b60005b815181101561053b57600180549050838261042091906112e2565b10610493576001828281518110610460577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519080600181540180825580915050600190039060005260206000200160009091909190915055610528565b8181815181106104cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600184836104e291906112e2565b81548110610519577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055505b8080610533906114da565b915050610405565b50600254600180549050111561055057600080fd5b5050565b61055c610785565b73ffffffffffffffffffffffffffffffffffffffff1661057a6102b8565b73ffffffffffffffffffffffffffffffffffffffff16146105d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c79061123a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610640576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106379061121a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600061122060f01b60018481548110610741577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015460405160200161075d929190611196565b604051602081830303815290604052905060006107798261078d565b90508092505050919050565b600033905090565b606060008251141561081457600067ffffffffffffffff8111156107da577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561080c5781602001600182028036833780820191505090505b509050610ada565b6000602e67ffffffffffffffff811115610857577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156108855781602001602082028036833780820191505090505b5090506000816000815181106108c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019060ff16908160ff168152505060006001905060005b8451811015610aba576000858281518110610925577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16905060005b8360ff16811015610a1e57610100858281518110610982577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160ff166109979190611369565b826109a291906112e2565b9150603a826109b19190611561565b8582815181106109ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019060ff16908160ff1681525050603a82610a0b9190611338565b915080610a17906114da565b905061093b565b505b6000811115610aa857603a81610a369190611561565b848460ff1681518110610a72577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019060ff16908160ff16815250508280610a9190611523565b935050603a81610aa19190611338565b9050610a20565b5080610ab3906114da565b90506108e1565b50610ad5610ad0610acb8484610adf565b610c11565b610d56565b925050505b919050565b606060008260ff1667ffffffffffffffff811115610b26577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610b545781602001602082028036833780820191505090505b50905060005b8360ff16811015610c0657848181518110610b9e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151828281518110610bdf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019060ff16908160ff16815250508080610bfe906114da565b915050610b5a565b508091505092915050565b60606000825167ffffffffffffffff811115610c56577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610c845781602001602082028036833780820191505090505b50905060005b8351811015610d4c57838160018651610ca391906113c3565b610cad91906113c3565b81518110610ce4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151828281518110610d25577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019060ff16908160ff16815250508080610d44906114da565b915050610c8a565b5080915050919050565b60606000825167ffffffffffffffff811115610d9b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610dcd5781602001600182028036833780820191505090505b50905060005b8351811015610ef6576040518060600160405280603a81526020016116ee603a9139848281518110610e2e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160ff1681518110610e70577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b828281518110610eb4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080610eee906114da565b915050610dd3565b5080915050919050565b6000610f13610f0e8461129a565b611275565b90508083825260208201905082856020860282011115610f3257600080fd5b60005b85811015610f625781610f488882610fab565b845260208401935060208301925050600181019050610f35565b5050509392505050565b600081359050610f7b816116a8565b92915050565b600082601f830112610f9257600080fd5b8135610fa2848260208601610f00565b91505092915050565b600081359050610fba816116bf565b92915050565b600081359050610fcf816116d6565b92915050565b600060208284031215610fe757600080fd5b6000610ff584828501610f6c565b91505092915050565b60006020828403121561101057600080fd5b600082013567ffffffffffffffff81111561102a57600080fd5b61103684828501610f81565b91505092915050565b60006020828403121561105157600080fd5b600061105f84828501610fc0565b91505092915050565b6000806040838503121561107b57600080fd5b600061108985828601610fc0565b925050602083013567ffffffffffffffff8111156110a657600080fd5b6110b285828601610f81565b9150509250929050565b6110c5816113f7565b82525050565b6110d481611409565b82525050565b6110eb6110e682611409565b61154d565b82525050565b6111026110fd82611435565b611557565b82525050565b6000611113826112c6565b61111d81856112d1565b935061112d818560208601611476565b6111368161161f565b840191505092915050565b600061114e6026836112d1565b915061115982611630565b604082019050919050565b60006111716020836112d1565b915061117c8261167f565b602082019050919050565b6111908161145f565b82525050565b60006111a282856110da565b6002820191506111b282846110f1565b6020820191508190509392505050565b60006020820190506111d760008301846110bc565b92915050565b60006020820190506111f260008301846110cb565b92915050565b600060208201905081810360008301526112128184611108565b905092915050565b6000602082019050818103600083015261123381611141565b9050919050565b6000602082019050818103600083015261125381611164565b9050919050565b600060208201905061126f6000830184611187565b92915050565b600061127f611290565b905061128b82826114a9565b919050565b6000604051905090565b600067ffffffffffffffff8211156112b5576112b46115f0565b5b602082029050602081019050919050565b600081519050919050565b600082825260208201905092915050565b60006112ed8261145f565b91506112f88361145f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561132d5761132c611592565b5b828201905092915050565b60006113438261145f565b915061134e8361145f565b92508261135e5761135d6115c1565b5b828204905092915050565b60006113748261145f565b915061137f8361145f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156113b8576113b7611592565b5b828202905092915050565b60006113ce8261145f565b91506113d98361145f565b9250828210156113ec576113eb611592565b5b828203905092915050565b60006114028261143f565b9050919050565b60007fffff00000000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015611494578082015181840152602081019050611479565b838111156114a3576000848401525b50505050565b6114b28261161f565b810181811067ffffffffffffffff821117156114d1576114d06115f0565b5b80604052505050565b60006114e58261145f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561151857611517611592565b5b600182019050919050565b600061152e82611469565b915060ff82141561154257611541611592565b5b600182019050919050565b6000819050919050565b6000819050919050565b600061156c8261145f565b91506115778361145f565b925082611587576115866115c1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6116b1816113f7565b81146116bc57600080fd5b50565b6116c881611435565b81146116d357600080fd5b50565b6116df8161145f565b81146116ea57600080fd5b5056fe31323334353637383941424344454647484a4b4c4d4e505152535455565758595a6162636465666768696a6b6d6e6f707172737475767778797aa26469706673582212208d8241ae1c0a491f6f7886c5872058a0acc38140b266dcaba2fb8e069b5861bc64736f6c63430008030033f7095f60328bed3c44d29fecd62a575c7d133970dc0c35d7121d05051d73dc2d0000000000000000000000005ce22699ba21cf1805a106a1d4432929f338aa12000000000000000000000000000000000000000000000036ea32f4e55eb40000000000000000000000000000000000000000000000000000000000006091617000000000000000000000000000000000000000000000000000000000609a9bf00000000000000000000000000000000000000000000000000000000000003f480000000000000000000000000000000000000000000000000000000000000708000000000000000000000000000000000000000000000000000000000000151800000000000000000000000000000000000000000000000000000000000026ac00000000000000000000000000000000000000000000000000000000000038400000000000000000000000000000000000000000000000000000000000003de00000000000000000000000000000000000000000000000000000000000003f45
Deployed Bytecode
0x6080604052600436106102465760003560e01c806385aa92a711610139578063c6ab67a3116100b6578063e36d64981161007a578063e36d649814610897578063e985e9c5146108c2578063f2fde38b146108ff578063f41d291014610928578063f62f3c1114610965578063fb107a4f1461099057610246565b8063c6ab67a3146107b0578063c87b56dd146107db578063cb774d4714610818578063d5abeb0114610843578063d9dfc0af1461086e57610246565b8063a22cb465116100fd578063a22cb465146106cf578063b29d1860146106f8578063b88d4fde14610721578063bc28d7021461074a578063c39cbef11461078757610246565b806385aa92a7146105f55780638da5cb5b14610620578063926427441461064b57806395d89b411461066757806398ba8ebf1461069257610246565b8063310495ab116101c75780634f6ccce71161018b5780634f6ccce7146105105780636352211e1461054d57806370a082311461058a578063715018a6146105c757806374df39c9146105de57610246565b8063310495ab1461043d5780633c276d861461047a5780633ccfd60b146104a557806342842e0e146104bc57806345ca7738146104e557610246565b806315b56d101161020e57806315b56d101461034457806318160ddd146103815780631c1475be146103ac57806323b872dd146103d75780632f745c591461040057610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f0578063115d6d7714610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d919061428d565b6109bb565b60405161027f9190614c45565b60405180910390f35b34801561029457600080fd5b5061029d610a35565b6040516102aa9190614c7b565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190614361565b610ac7565b6040516102e79190614b6a565b60405180910390f35b3480156102fc57600080fd5b50610317600480360381019061031291906141be565b610b4c565b005b34801561032557600080fd5b5061032e610c64565b60405161033b9190614c2a565b60405180910390f35b34801561035057600080fd5b5061036b600480360381019061036691906142df565b610caf565b6040516103789190614c45565b60405180910390f35b34801561038d57600080fd5b50610396610cec565b6040516103a3919061507d565b60405180910390f35b3480156103b857600080fd5b506103c1610cf9565b6040516103ce9190614b6a565b60405180910390f35b3480156103e357600080fd5b506103fe60048036038101906103f991906140b8565b610d23565b005b34801561040c57600080fd5b50610427600480360381019061042291906141be565b610d83565b604051610434919061507d565b60405180910390f35b34801561044957600080fd5b50610464600480360381019061045f9190614361565b610e28565b6040516104719190614c7b565b60405180910390f35b34801561048657600080fd5b5061048f610ecd565b60405161049c919061507d565b60405180910390f35b3480156104b157600080fd5b506104ba610ed7565b005b3480156104c857600080fd5b506104e360048036038101906104de91906140b8565b610fa2565b005b3480156104f157600080fd5b506104fa610fc2565b604051610507919061507d565b60405180910390f35b34801561051c57600080fd5b5061053760048036038101906105329190614361565b610fcc565b604051610544919061507d565b60405180910390f35b34801561055957600080fd5b50610574600480360381019061056f9190614361565b611063565b6040516105819190614b6a565b60405180910390f35b34801561059657600080fd5b506105b160048036038101906105ac9190614053565b611115565b6040516105be919061507d565b60405180910390f35b3480156105d357600080fd5b506105dc6111cd565b005b3480156105ea57600080fd5b506105f3611307565b005b34801561060157600080fd5b5061060a611418565b6040516106179190614b6a565b60405180910390f35b34801561062c57600080fd5b50610635611442565b6040516106429190614b6a565b60405180910390f35b61066560048036038101906106609190614361565b61146b565b005b34801561067357600080fd5b5061067c611723565b6040516106899190614c7b565b60405180910390f35b34801561069e57600080fd5b506106b960048036038101906106b49190614361565b6117b5565b6040516106c69190614c7b565b60405180910390f35b3480156106db57600080fd5b506106f660048036038101906106f19190614182565b611869565b005b34801561070457600080fd5b5061071f600480360381019061071a91906141fa565b6119ea565b005b34801561072d57600080fd5b5061074860048036038101906107439190614107565b611af6565b005b34801561075657600080fd5b50610771600480360381019061076c9190614361565b611b58565b60405161077e9190614c45565b60405180910390f35b34801561079357600080fd5b506107ae60048036038101906107a991906143de565b611b82565b005b3480156107bc57600080fd5b506107c5612017565b6040516107d29190614c60565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd9190614361565b612021565b60405161080f9190614c7b565b60405180910390f35b34801561082457600080fd5b5061082d6120ce565b60405161083a919061507d565b60405180910390f35b34801561084f57600080fd5b506108586120d8565b604051610865919061507d565b60405180910390f35b34801561087a57600080fd5b506108956004803603810190610890919061438a565b6120e2565b005b3480156108a357600080fd5b506108ac6121f1565b6040516108b9919061507d565b60405180910390f35b3480156108ce57600080fd5b506108e960048036038101906108e4919061407c565b6121fb565b6040516108f69190614c45565b60405180910390f35b34801561090b57600080fd5b5061092660048036038101906109219190614053565b61228f565b005b34801561093457600080fd5b5061094f600480360381019061094a9190614361565b612438565b60405161095c9190614c7b565b60405180910390f35b34801561097157600080fd5b5061097a6124f1565b604051610987919061507d565b60405180910390f35b34801561099c57600080fd5b506109a56124fb565b6040516109b2919061507d565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a2e5750610a2d82612716565b5b9050919050565b606060018054610a449061542c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a709061542c565b8015610abd5780601f10610a9257610100808354040283529160200191610abd565b820191906000526020600020905b815481529060010190602001808311610aa057829003601f168201915b5050505050905090565b6000610ad2826127f8565b610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0890614efd565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b5782611063565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbf90614f9d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be7612864565b73ffffffffffffffffffffffffffffffffffffffff161480610c165750610c1581610c10612864565b6121fb565b5b610c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4c90614e1d565b60405180910390fd5b610c5f838361286c565b505050565b610c6c613d18565b6010600680602002604051908101604052809291908260068015610ca5576020028201915b815481526020019060010190808311610c91575b5050505050905090565b60006019610cbc83612925565b604051610cc99190614b2f565b908152602001604051809103902060009054906101000a900460ff169050919050565b6000600980549050905090565b6000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d34610d2e612864565b82612be7565b610d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6a90614ffd565b60405180910390fd5b610d7e838383612cc5565b505050565b6000610d8e83611115565b8210610dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc690614cfd565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6060601860008381526020019081526020016000208054610e489061542c565b80601f0160208091040260200160405190810160405280929190818152602001828054610e749061542c565b8015610ec15780601f10610e9657610100808354040283529160200191610ec1565b820191906000526020600020905b815481529060010190602001808311610ea457829003601f168201915b50505050509050919050565b6000600e54905090565b610edf612864565b73ffffffffffffffffffffffffffffffffffffffff16610efd611442565b73ffffffffffffffffffffffffffffffffffffffff1614610f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4a90614f1d565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f9e573d6000803e3d6000fd5b5050565b610fbd83838360405180602001604052806000815250611af6565b505050565b6000600d54905090565b6000610fd6610cec565b8210611017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100e9061501d565b60405180910390fd5b60098281548110611051577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561110c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110390614e7d565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117d90614e5d565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111d5612864565b73ffffffffffffffffffffffffffffffffffffffff166111f3611442565b73ffffffffffffffffffffffffffffffffffffffff1614611249576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124090614f1d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60006017541461134c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134390614dfd565b60405180910390fd5b60006016541415611392576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138990614fdd565b60405180910390fd5b600c546016544060001c6113a691906154d8565b60178190555060ff6113c360165443612f2190919063ffffffff16565b11156113ee57600c546001436113d9919061532b565b4060001c6113e791906154d8565b6017819055505b600060175414156114165761140f6001601754612f3790919063ffffffff16565b6017819055505b565b6000601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e544210156114b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a79061503d565b60405180910390fd5b600c546114bb610cec565b106114fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f290614fbd565b60405180910390fd5b6000811161153e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153590614f3d565b60405180910390fd5b6014811115611582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157990614e3d565b60405180910390fd5b600c5461159f82611591610cec565b612f3790919063ffffffff16565b11156115e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d790614cbd565b60405180910390fd5b346115fb826115ed6124fb565b612f4d90919063ffffffff16565b1461163b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163290614dbd565b60405180910390fd5b60005b818110156116eb576000611650610cec565b9050600c548110611696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168d90614cbd565b60405180910390fd5b600f544210156116cd576001601a600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6116d73382612f63565b5080806116e39061548f565b91505061163e565b5060006016541480156117135750600c54611704610cec565b14806117125750600f544210155b5b1561172057436016819055505b50565b6060600280546117329061542c565b80601f016020809104026020016040519081016040528092919081815260200182805461175e9061542c565b80156117ab5780601f10611780576101008083540402835291602001916117ab565b820191906000526020600020905b81548152906001019060200180831161178e57829003601f168201915b5050505050905090565b60606000601754116117fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f390614c9d565b60405180910390fd5b600061180783612438565b90506000611813612f81565b9050600081511415611829578192505050611864565b60008251111561185e578082604051602001611846929190614b46565b60405160208183030381529060405292505050611864565b80925050505b919050565b611871612864565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d690614d9d565b60405180910390fd5b80600660006118ec612864565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611999612864565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119de9190614c45565b60405180910390a35050565b6119f2612864565b73ffffffffffffffffffffffffffffffffffffffff16611a10611442565b73ffffffffffffffffffffffffffffffffffffffff1614611a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5d90614f1d565b60405180910390fd5b601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b29d1860826040518263ffffffff1660e01b8152600401611ac19190614c08565b600060405180830381600087803b158015611adb57600080fd5b505af1158015611aef573d6000803e3d6000fd5b5050505050565b611b07611b01612864565b83612be7565b611b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3d90614ffd565b60405180910390fd5b611b5284848484612fbe565b50505050565b6000601a600083815260200190815260200160002060009054906101000a900460ff169050919050565b6000611b8d83611063565b90508073ffffffffffffffffffffffffffffffffffffffff16611bae612864565b73ffffffffffffffffffffffffffffffffffffffff1614611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb90614cdd565b60405180910390fd5b60011515611c118361301a565b151514611c53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4a9061505d565b60405180910390fd5b600260186000858152602001908152602001600020604051611c759190614b18565b602060405180830381855afa158015611c92573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611cb59190614264565b600283604051611cc59190614b01565b602060405180830381855afa158015611ce2573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611d059190614264565b1415611d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3d90614f7d565b60405180910390fd5b60001515611d5383610caf565b151514611d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8c90614ebd565b60405180910390fd5b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600d546040518463ffffffff1660e01b8152600401611df693929190614b85565b602060405180830381600087803b158015611e1057600080fd5b505af1158015611e24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e48919061423b565b506000601860008581526020019081526020016000208054611e699061542c565b90501115611f1857611f17601860008581526020019081526020016000208054611e929061542c565b80601f0160208091040260200160405190810160405280929190818152602001828054611ebe9061542c565b8015611f0b5780601f10611ee057610100808354040283529160200191611f0b565b820191906000526020600020905b815481529060010190602001808311611eee57829003601f168201915b505050505060006133e4565b5b611f238260016133e4565b81601860008581526020019081526020016000209080519060200190611f4a929190613d3a565b50601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68600d546040518263ffffffff1660e01b8152600401611fa8919061507d565b600060405180830381600087803b158015611fc257600080fd5b505af1158015611fd6573d6000803e3d6000fd5b50505050827f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b8360405161200a9190614c7b565b60405180910390a2505050565b6000600b54905090565b606061202c826127f8565b61206b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206290614edd565b60405180910390fd5b6000601754116120b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a790614c9d565b60405180910390fd5b60006120bb83613426565b90506120c6816117b5565b915050919050565b6000601754905090565b6000600c54905090565b6120ea612864565b73ffffffffffffffffffffffffffffffffffffffff16612108611442565b73ffffffffffffffffffffffffffffffffffffffff161461215e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215590614f1d565b60405180910390fd5b601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d9dfc0af83836040518363ffffffff1660e01b81526004016121bb929190615098565b600060405180830381600087803b1580156121d557600080fd5b505af11580156121e9573d6000803e3d6000fd5b505050505050565b6000601654905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612297612864565b73ffffffffffffffffffffffffffffffffffffffff166122b5611442565b73ffffffffffffffffffffffffffffffffffffffff161461230b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230290614f1d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561237b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237290614d3d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060601c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f41d2910836040518263ffffffff1660e01b8152600401612495919061507d565b60006040518083038186803b1580156124ad57600080fd5b505afa1580156124c1573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906124ea9190614320565b9050919050565b6000600f54905090565b600080612506610cec565b90506010600060068110612543577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b015481101561255c5766b1a2bc2ec50000915050612713565b6010600160068110612597577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01548110156125b15767016345785d8a0000915050612713565b60106002600681106125ec577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0154811015612606576702c68af0bb140000915050612713565b6010600360068110612641577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b015481101561265b5767058d15e176280000915050612713565b6010600460068110612696577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01548110156126b057670de0b6b3a7640000915050612713565b60106005600681106126eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0154811015612705576729a2241af62c0000915050612713565b680168d28e3f002800009150505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127e157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127f157506127f08261344a565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128df83611063565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606060008290506000815167ffffffffffffffff81111561296f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129a15781602001600182028036833780820191505090505b50905060005b8251811015612bdc5760418382815181106129eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff1610158015612a545750605a838281518110612a40577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff1611155b15612b1c576020838281518110612a94577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c612aac919061529a565b60f81b828281518110612ae8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612bc9565b828181518110612b55577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b828281518110612b99577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b8080612bd49061548f565b9150506129a7565b508092505050919050565b6000612bf2826127f8565b612c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2890614ddd565b60405180910390fd5b6000612c3c83611063565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612cab57508373ffffffffffffffffffffffffffffffffffffffff16612c9384610ac7565b73ffffffffffffffffffffffffffffffffffffffff16145b80612cbc5750612cbb81856121fb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ce582611063565b73ffffffffffffffffffffffffffffffffffffffff1614612d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3290614f5d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da290614d7d565b60405180910390fd5b612db68383836134b4565b612dc160008261286c565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e11919061532b565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e689190615244565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612f2f919061532b565b905092915050565b60008183612f459190615244565b905092915050565b60008183612f5b91906152d1565b905092915050565b612f7d8282604051806020016040528060008152506135c8565b5050565b60606040518060400160405280600781526020017f697066733a2f2f00000000000000000000000000000000000000000000000000815250905090565b612fc9848484612cc5565b612fd584848484613623565b613014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300b90614d1d565b60405180910390fd5b50505050565b6000808290506001815110156130345760009150506133df565b6032815111156130485760009150506133df565b602060f81b81600081518110613087577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156130c45760009150506133df565b602060f81b81600183516130d8919061532b565b8151811061310f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141561314c5760009150506133df565b600081600081518110613188577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b905060005b82518110156133d75760008382815181106131dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480156132435750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b156132555760009450505050506133df565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156132b15750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b1580156133175750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156133155750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b801561337c5750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015801561337a5750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b80156133ae5750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b156133c05760009450505050506133df565b8092505080806133cf9061548f565b915050613198565b506001925050505b919050565b8060196133f084612925565b6040516133fd9190614b2f565b908152602001604051809103902060006101000a81548160ff0219169083151502179055505050565b6000600c54601754836134399190615244565b61344391906154d8565b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6134bf8383836137ba565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613502576134fd816137bf565b613541565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135405761353f8382613808565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135845761357f81613975565b6135c3565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135c2576135c18282613ab8565b5b5b505050565b6135d28383613b37565b6135df6000848484613623565b61361e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361590614d1d565b60405180910390fd5b505050565b60006136448473ffffffffffffffffffffffffffffffffffffffff16613d05565b156137ad578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261366d612864565b8786866040518563ffffffff1660e01b815260040161368f9493929190614bbc565b602060405180830381600087803b1580156136a957600080fd5b505af19250505080156136da57506040513d601f19601f820116820180604052508101906136d791906142b6565b60015b61375d573d806000811461370a576040519150601f19603f3d011682016040523d82523d6000602084013e61370f565b606091505b50600081511415613755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374c90614d1d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137b2565b600190505b949350505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161381584611115565b61381f919061532b565b9050600060086000848152602001908152602001600020549050818114613904576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613989919061532b565b90506000600a60008481526020019081526020016000205490506000600983815481106139df577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110613a27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613a9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613ac383611115565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b9e90614e9d565b60405180910390fd5b613bb0816127f8565b15613bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613be790614d5d565b60405180910390fd5b613bfc600083836134b4565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c4c9190615244565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6040518060c00160405280600690602082028036833780820191505090505090565b828054613d469061542c565b90600052602060002090601f016020900481019282613d685760008555613daf565b82601f10613d8157805160ff1916838001178555613daf565b82800160010185558215613daf579182015b82811115613dae578251825591602001919060010190613d93565b5b509050613dbc9190613dc0565b5090565b5b80821115613dd9576000816000905550600101613dc1565b5090565b6000613df0613deb846150ed565b6150c8565b90508083825260208201905082856020860282011115613e0f57600080fd5b60005b85811015613e3f5781613e258882613f6c565b845260208401935060208301925050600181019050613e12565b5050509392505050565b6000613e5c613e5784615119565b6150c8565b905082815260208101848484011115613e7457600080fd5b613e7f8482856153ea565b509392505050565b6000613e9a613e958461514a565b6150c8565b905082815260208101848484011115613eb257600080fd5b613ebd8482856153ea565b509392505050565b6000613ed8613ed38461514a565b6150c8565b905082815260208101848484011115613ef057600080fd5b613efb8482856153f9565b509392505050565b600081359050613f1281615d79565b92915050565b600082601f830112613f2957600080fd5b8135613f39848260208601613ddd565b91505092915050565b600081359050613f5181615d90565b92915050565b600081519050613f6681615d90565b92915050565b600081359050613f7b81615da7565b92915050565b600081519050613f9081615da7565b92915050565b600081359050613fa581615dbe565b92915050565b600081519050613fba81615dbe565b92915050565b600082601f830112613fd157600080fd5b8135613fe1848260208601613e49565b91505092915050565b600082601f830112613ffb57600080fd5b813561400b848260208601613e87565b91505092915050565b600082601f83011261402557600080fd5b8151614035848260208601613ec5565b91505092915050565b60008135905061404d81615dd5565b92915050565b60006020828403121561406557600080fd5b600061407384828501613f03565b91505092915050565b6000806040838503121561408f57600080fd5b600061409d85828601613f03565b92505060206140ae85828601613f03565b9150509250929050565b6000806000606084860312156140cd57600080fd5b60006140db86828701613f03565b93505060206140ec86828701613f03565b92505060406140fd8682870161403e565b9150509250925092565b6000806000806080858703121561411d57600080fd5b600061412b87828801613f03565b945050602061413c87828801613f03565b935050604061414d8782880161403e565b925050606085013567ffffffffffffffff81111561416a57600080fd5b61417687828801613fc0565b91505092959194509250565b6000806040838503121561419557600080fd5b60006141a385828601613f03565b92505060206141b485828601613f42565b9150509250929050565b600080604083850312156141d157600080fd5b60006141df85828601613f03565b92505060206141f08582860161403e565b9150509250929050565b60006020828403121561420c57600080fd5b600082013567ffffffffffffffff81111561422657600080fd5b61423284828501613f18565b91505092915050565b60006020828403121561424d57600080fd5b600061425b84828501613f57565b91505092915050565b60006020828403121561427657600080fd5b600061428484828501613f81565b91505092915050565b60006020828403121561429f57600080fd5b60006142ad84828501613f96565b91505092915050565b6000602082840312156142c857600080fd5b60006142d684828501613fab565b91505092915050565b6000602082840312156142f157600080fd5b600082013567ffffffffffffffff81111561430b57600080fd5b61431784828501613fea565b91505092915050565b60006020828403121561433257600080fd5b600082015167ffffffffffffffff81111561434c57600080fd5b61435884828501614014565b91505092915050565b60006020828403121561437357600080fd5b60006143818482850161403e565b91505092915050565b6000806040838503121561439d57600080fd5b60006143ab8582860161403e565b925050602083013567ffffffffffffffff8111156143c857600080fd5b6143d485828601613f18565b9150509250929050565b600080604083850312156143f157600080fd5b60006143ff8582860161403e565b925050602083013567ffffffffffffffff81111561441c57600080fd5b61442885828601613fea565b9150509250929050565b600061443e8383614535565b60208301905092915050565b60006144568383614ae3565b60208301905092915050565b61446b8161535f565b82525050565b600061447c826151aa565b61448681856151f0565b93506144918361517b565b8060005b838110156144c25781516144a98882614432565b97506144b4836151d6565b925050600181019050614495565b5085935050505092915050565b6144d8816151b5565b6144e28184615201565b92506144ed8261518b565b8060005b8381101561451e578151614505878261444a565b9650614510836151e3565b9250506001810190506144f1565b505050505050565b61452f81615371565b82525050565b61453e8161537d565b82525050565b61454d8161537d565b82525050565b600061455e826151c0565b614568818561520c565b93506145788185602086016153f9565b614581816155c5565b840191505092915050565b6000614597826151c0565b6145a1818561521d565b93506145b18185602086016153f9565b80840191505092915050565b600081546145ca8161542c565b6145d4818661521d565b945060018216600081146145ef576001811461460057614633565b60ff19831686528186019350614633565b61460985615195565b60005b8381101561462b5781548189015260018201915060208101905061460c565b838801955050505b50505092915050565b6000614647826151cb565b6146518185615228565b93506146618185602086016153f9565b61466a816155c5565b840191505092915050565b6000614680826151cb565b61468a8185615239565b935061469a8185602086016153f9565b80840191505092915050565b60006146b3602183615228565b91506146be826155d6565b604082019050919050565b60006146d6602783615228565b91506146e182615625565b604082019050919050565b60006146f9601f83615228565b915061470482615674565b602082019050919050565b600061471c602b83615228565b91506147278261569d565b604082019050919050565b600061473f603283615228565b915061474a826156ec565b604082019050919050565b6000614762602683615228565b915061476d8261573b565b604082019050919050565b6000614785601c83615228565b91506147908261578a565b602082019050919050565b60006147a8602483615228565b91506147b3826157b3565b604082019050919050565b60006147cb601983615228565b91506147d682615802565b602082019050919050565b60006147ee601f83615228565b91506147f98261582b565b602082019050919050565b6000614811602c83615228565b915061481c82615854565b604082019050919050565b6000614834601d83615228565b915061483f826158a3565b602082019050919050565b6000614857603883615228565b9150614862826158cc565b604082019050919050565b600061487a602983615228565b91506148858261591b565b604082019050919050565b600061489d602a83615228565b91506148a88261596a565b604082019050919050565b60006148c0602983615228565b91506148cb826159b9565b604082019050919050565b60006148e3602083615228565b91506148ee82615a08565b602082019050919050565b6000614906601583615228565b915061491182615a31565b602082019050919050565b6000614929603183615228565b915061493482615a5a565b604082019050919050565b600061494c602c83615228565b915061495782615aa9565b604082019050919050565b600061496f602083615228565b915061497a82615af8565b602082019050919050565b6000614992601183615228565b915061499d82615b21565b602082019050919050565b60006149b5602983615228565b91506149c082615b4a565b604082019050919050565b60006149d8602383615228565b91506149e382615b99565b604082019050919050565b60006149fb602183615228565b9150614a0682615be8565b604082019050919050565b6000614a1e601683615228565b9150614a2982615c37565b602082019050919050565b6000614a41602083615228565b9150614a4c82615c60565b602082019050919050565b6000614a64603183615228565b9150614a6f82615c89565b604082019050919050565b6000614a87602c83615228565b9150614a9282615cd8565b604082019050919050565b6000614aaa601483615228565b9150614ab582615d27565b602082019050919050565b6000614acd601483615228565b9150614ad882615d50565b602082019050919050565b614aec816153d3565b82525050565b614afb816153d3565b82525050565b6000614b0d828461458c565b915081905092915050565b6000614b2482846145bd565b915081905092915050565b6000614b3b8284614675565b915081905092915050565b6000614b528285614675565b9150614b5e8284614675565b91508190509392505050565b6000602082019050614b7f6000830184614462565b92915050565b6000606082019050614b9a6000830186614462565b614ba76020830185614462565b614bb46040830184614af2565b949350505050565b6000608082019050614bd16000830187614462565b614bde6020830186614462565b614beb6040830185614af2565b8181036060830152614bfd8184614553565b905095945050505050565b60006020820190508181036000830152614c228184614471565b905092915050565b600060c082019050614c3f60008301846144cf565b92915050565b6000602082019050614c5a6000830184614526565b92915050565b6000602082019050614c756000830184614544565b92915050565b60006020820190508181036000830152614c95818461463c565b905092915050565b60006020820190508181036000830152614cb6816146a6565b9050919050565b60006020820190508181036000830152614cd6816146c9565b9050919050565b60006020820190508181036000830152614cf6816146ec565b9050919050565b60006020820190508181036000830152614d168161470f565b9050919050565b60006020820190508181036000830152614d3681614732565b9050919050565b60006020820190508181036000830152614d5681614755565b9050919050565b60006020820190508181036000830152614d7681614778565b9050919050565b60006020820190508181036000830152614d968161479b565b9050919050565b60006020820190508181036000830152614db6816147be565b9050919050565b60006020820190508181036000830152614dd6816147e1565b9050919050565b60006020820190508181036000830152614df681614804565b9050919050565b60006020820190508181036000830152614e1681614827565b9050919050565b60006020820190508181036000830152614e368161484a565b9050919050565b60006020820190508181036000830152614e568161486d565b9050919050565b60006020820190508181036000830152614e7681614890565b9050919050565b60006020820190508181036000830152614e96816148b3565b9050919050565b60006020820190508181036000830152614eb6816148d6565b9050919050565b60006020820190508181036000830152614ed6816148f9565b9050919050565b60006020820190508181036000830152614ef68161491c565b9050919050565b60006020820190508181036000830152614f168161493f565b9050919050565b60006020820190508181036000830152614f3681614962565b9050919050565b60006020820190508181036000830152614f5681614985565b9050919050565b60006020820190508181036000830152614f76816149a8565b9050919050565b60006020820190508181036000830152614f96816149cb565b9050919050565b60006020820190508181036000830152614fb6816149ee565b9050919050565b60006020820190508181036000830152614fd681614a11565b9050919050565b60006020820190508181036000830152614ff681614a34565b9050919050565b6000602082019050818103600083015261501681614a57565b9050919050565b6000602082019050818103600083015261503681614a7a565b9050919050565b6000602082019050818103600083015261505681614a9d565b9050919050565b6000602082019050818103600083015261507681614ac0565b9050919050565b60006020820190506150926000830184614af2565b92915050565b60006040820190506150ad6000830185614af2565b81810360208301526150bf8184614471565b90509392505050565b60006150d26150e3565b90506150de828261545e565b919050565b6000604051905090565b600067ffffffffffffffff82111561510857615107615596565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561513457615133615596565b5b61513d826155c5565b9050602081019050919050565b600067ffffffffffffffff82111561516557615164615596565b5b61516e826155c5565b9050602081019050919050565b6000819050602082019050919050565b6000819050919050565b60008190508160005260206000209050919050565b600081519050919050565b600060069050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061524f826153d3565b915061525a836153d3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561528f5761528e615509565b5b828201905092915050565b60006152a5826153dd565b91506152b0836153dd565b92508260ff038211156152c6576152c5615509565b5b828201905092915050565b60006152dc826153d3565b91506152e7836153d3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153205761531f615509565b5b828202905092915050565b6000615336826153d3565b9150615341836153d3565b92508282101561535457615353615509565b5b828203905092915050565b600061536a826153b3565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156154175780820151818401526020810190506153fc565b83811115615426576000848401525b50505050565b6000600282049050600182168061544457607f821691505b6020821081141561545857615457615567565b5b50919050565b615467826155c5565b810181811067ffffffffffffffff8211171561548657615485615596565b5b80604052505050565b600061549a826153d3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154cd576154cc615509565b5b600182019050919050565b60006154e3826153d3565b91506154ee836153d3565b9250826154fe576154fd615538565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f546f6b656e732068617665206e6f74206265656e2061737369676e656420796560008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178206e756d626572206f66204e46547320696e20657860008201527f697374656e636500000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746865206f776e657200600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f596f75206d6179206e6f7420627579206d6f7265207468616e203230204e465460008201527f73206174206f6e63650000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e616d6520616c72656164792072657365727665640000000000000000000000600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616e6e6f74206275792030204e465473000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4e6577206e616d652069732073616d65206173207468652063757272656e742060008201527f6f6e650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c652068617320616c726561647920656e64656400000000000000000000600082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f53616c6520686173206e6f742073746172746564000000000000000000000000600082015250565b7f4e6f7420612076616c6964206e6577206e616d65000000000000000000000000600082015250565b615d828161535f565b8114615d8d57600080fd5b50565b615d9981615371565b8114615da457600080fd5b50565b615db08161537d565b8114615dbb57600080fd5b50565b615dc781615387565b8114615dd257600080fd5b50565b615dde816153d3565b8114615de957600080fd5b5056fea2646970667358221220fb44b2443daf02fdf103596b1e9d10aa1468fa651a6d37e98a8232172222250364736f6c63430008030033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
f7095f60328bed3c44d29fecd62a575c7d133970dc0c35d7121d05051d73dc2d0000000000000000000000005ce22699ba21cf1805a106a1d4432929f338aa12000000000000000000000000000000000000000000000036ea32f4e55eb40000000000000000000000000000000000000000000000000000000000006091617000000000000000000000000000000000000000000000000000000000609a9bf00000000000000000000000000000000000000000000000000000000000003f480000000000000000000000000000000000000000000000000000000000000708000000000000000000000000000000000000000000000000000000000000151800000000000000000000000000000000000000000000000000000000000026ac00000000000000000000000000000000000000000000000000000000000038400000000000000000000000000000000000000000000000000000000000003de00000000000000000000000000000000000000000000000000000000000003f45
-----Decoded View---------------
Arg [0] : provenanceHash_ (bytes32): 0xf7095f60328bed3c44d29fecd62a575c7d133970dc0c35d7121d05051d73dc2d
Arg [1] : m26Address_ (address): 0x5CE22699BA21CF1805A106A1d4432929f338Aa12
Arg [2] : nameChangePrice_ (uint256): 1013000000000000000000
Arg [3] : saleStartTimestamp_ (uint256): 1620140400
Arg [4] : revealTimestamp_ (uint256): 1620745200
Arg [5] : maxSupply_ (uint256): 16200
Arg [6] : priceIntervalSupplyLimits_ (uint256[6]): 1800,5400,9900,14400,15840,16197
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : f7095f60328bed3c44d29fecd62a575c7d133970dc0c35d7121d05051d73dc2d
Arg [1] : 0000000000000000000000005ce22699ba21cf1805a106a1d4432929f338aa12
Arg [2] : 000000000000000000000000000000000000000000000036ea32f4e55eb40000
Arg [3] : 0000000000000000000000000000000000000000000000000000000060916170
Arg [4] : 00000000000000000000000000000000000000000000000000000000609a9bf0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000003f48
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000708
Arg [7] : 0000000000000000000000000000000000000000000000000000000000001518
Arg [8] : 00000000000000000000000000000000000000000000000000000000000026ac
Arg [9] : 0000000000000000000000000000000000000000000000000000000000003840
Arg [10] : 0000000000000000000000000000000000000000000000000000000000003de0
Arg [11] : 0000000000000000000000000000000000000000000000000000000000003f45
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.