More Info
Private Name Tags
ContractCreator:
TokenTracker
Latest 25 from a total of 521 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Set Base URI Lin... | 43116929 | 309 days ago | IN | 0 MATIC | 0.00624619 | ||||
Transfer Ownersh... | 43059477 | 310 days ago | IN | 0 MATIC | 0.00399904 | ||||
Approve | 42741360 | 318 days ago | IN | 0 MATIC | 0.00835719 | ||||
Approve | 42615386 | 321 days ago | IN | 0 MATIC | 0.00808753 | ||||
Approve | 42615309 | 321 days ago | IN | 0 MATIC | 0.00810781 | ||||
Approve | 42457071 | 325 days ago | IN | 0 MATIC | 0.00805438 | ||||
Set Approval For... | 40105902 | 386 days ago | IN | 0 MATIC | 0.00421055 | ||||
Approve | 38183932 | 437 days ago | IN | 0 MATIC | 0.00205016 | ||||
Approve | 38183892 | 437 days ago | IN | 0 MATIC | 0.00216392 | ||||
Set Approval For... | 37833232 | 445 days ago | IN | 0 MATIC | 0.00187292 | ||||
Set Approval For... | 36797033 | 471 days ago | IN | 0 MATIC | 0.00211517 | ||||
Approve | 34131213 | 536 days ago | IN | 0 MATIC | 0.0014787 | ||||
Approve | 34131188 | 536 days ago | IN | 0 MATIC | 0.0014787 | ||||
Approve | 34131155 | 536 days ago | IN | 0 MATIC | 0.0014787 | ||||
Set Approval For... | 33755344 | 545 days ago | IN | 0 MATIC | 0.00139875 | ||||
Approve | 33174291 | 560 days ago | IN | 0 MATIC | 0.0014787 | ||||
Approve | 33014245 | 563 days ago | IN | 0 MATIC | 0.00088206 | ||||
Approve | 33014245 | 563 days ago | IN | 0 MATIC | 0.00147906 | ||||
Approve | 33010321 | 563 days ago | IN | 0 MATIC | 0.0014787 | ||||
Approve | 33010280 | 563 days ago | IN | 0 MATIC | 0.0014787 | ||||
Approve | 33010243 | 563 days ago | IN | 0 MATIC | 0.00148215 | ||||
Approve | 33010206 | 563 days ago | IN | 0 MATIC | 0.00148215 | ||||
Approve | 32455542 | 577 days ago | IN | 0 MATIC | 0.00162656 | ||||
Approve | 32455497 | 577 days ago | IN | 0 MATIC | 0.00162656 | ||||
Approve | 32453276 | 577 days ago | IN | 0 MATIC | 0.00148788 |
Loading...
Loading
Contract Name:
Gachyiland
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // ██████╗░██╗░░░░░░█████╗░░█████╗░██╗░░██╗░█████╗░██╗░░██╗░█████╗░██╗███╗░░██╗ // ██╔══██╗██║░░░░░██╔══██╗██╔══██╗██║░██╔╝██╔══██╗██║░░██║██╔══██╗██║████╗░██║ // ██████╦╝██║░░░░░██║░░██║██║░░╚═╝█████═╝░██║░░╚═╝███████║███████║██║██╔██╗██║ // ██╔══██╗██║░░░░░██║░░██║██║░░██╗██╔═██╗░██║░░██╗██╔══██║██╔══██║██║██║╚████║ // ██████╦╝███████╗╚█████╔╝╚█████╔╝██║░╚██╗╚█████╔╝██║░░██║██║░░██║██║██║░╚███║ // ╚═════╝░╚══════╝░╚════╝░░╚════╝░╚═╝░░╚═╝░╚════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝╚═╝░░╚══╝ // ░█████╗░██╗░░░██╗░██████╗████████╗██████╗░░█████╗░██╗░░░░░██╗░█████╗░ // ██╔══██╗██║░░░██║██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██║░░░░░██║██╔══██╗ // ███████║██║░░░██║╚█████╗░░░░██║░░░██████╔╝███████║██║░░░░░██║███████║ // ██╔══██║██║░░░██║░╚═══██╗░░░██║░░░██╔══██╗██╔══██║██║░░░░░██║██╔══██║ // ██║░░██║╚██████╔╝██████╔╝░░░██║░░░██║░░██║██║░░██║███████╗██║██║░░██║ // ╚═╝░░╚═╝░╚═════╝░╚═════╝░░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝╚══════╝╚═╝╚═╝░░╚═╝ // Blockchainaustralia.com.au // ███╗░░██╗███████╗░█████╗░ ██╗░░░░░███████╗░██████╗░░█████╗░██╗░░░░░ // ████╗░██║██╔════╝██╔══██╗ ██║░░░░░██╔════╝██╔════╝░██╔══██╗██║░░░░░ // ██╔██╗██║█████╗░░██║░░██║ ██║░░░░░█████╗░░██║░░██╗░███████║██║░░░░░ // ██║╚████║██╔══╝░░██║░░██║ ██║░░░░░██╔══╝░░██║░░╚██╗██╔══██║██║░░░░░ // ██║░╚███║███████╗╚█████╔╝ ███████╗███████╗╚██████╔╝██║░░██║███████╗ // ╚═╝░░╚══╝╚══════╝░╚════╝░ ╚══════╝╚══════╝░╚═════╝░╚═╝░░╚═╝╚══════╝ // Neolegal.com.au pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract Gachyiland is ERC721Enumerable, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using SafeMath for uint256; Counters.Counter private _tokenIdTracker; string private _baseTokenURI; bool public isAdminMintingDone; uint256 public REVEAL_TIMESTAMP; uint256 public lastPublicTokenMinted; uint256 public maxTokensPerUser; mapping(uint256 => bool) public tokensReserved; mapping(address => uint256[]) public reservedTokenOwners; mapping(address => mapping(uint256 => bool)) public allowMint; mapping(address => mapping(uint256 => uint256)) public tokensMintedPerCategoryPerAddress; mapping(uint256 => uint256) public totalTokensMintedPerCategory; struct category { uint256 id; uint256 startTime; uint256 endTime; uint256 maxPerAddress; uint256 categoryTokenCap; bool isPrivate; bool isActive; uint256 price; } category[] public categories; constructor( string memory name, string memory symbol, uint256 _maxTokenPerUser, string memory baseTokenURI_ ) ERC721(name, symbol) { maxTokensPerUser = _maxTokenPerUser; _baseTokenURI = baseTokenURI_; } event AddCategory( uint256 categoryId, uint256 startTime, uint256 endTime, uint256 maxPerAddress, uint256 categoryTokenCap, bool isPrivate, bool isActive, uint256 price ); event Mint( address indexed _address, uint256 _categoryId, uint256 _quantity ); event ReserveToken(address indexed _address, uint256 _tokenID); event UnReserveToken(address indexed _address, uint256 _tokenID); /* * Function returns new base URI link */ function baseURI() external view returns (string memory) { return _baseURI(); } /* * Function returns new base URI link */ function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } /* * Params * string _baseURILink - New URI link to set * * Function sets new base URI link */ function setBaseURILink(string memory _baseURILink) external onlyOwner { _baseTokenURI = _baseURILink; } /* * Params * uint256 revealTimeStamp - Time to reveal NFTs * * Function sets NFTs' reveal time. */ function setRevealTimestamp(uint256 revealTimeStamp) external onlyOwner { REVEAL_TIMESTAMP = revealTimeStamp; } //function allows to receive Ethereum receive() external payable {} /* * Function stops admin from minting */ function stopAdminMinting() external onlyOwner { isAdminMintingDone = true; } /* * Params * uint256 _value - Maximum amount of NFTs per user * * Function sets maximum amount of NFTs user can possess. */ function setMaxTokensPerUser(uint256 _value) external onlyOwner { maxTokensPerUser = _value; } /* * Params * address _address - What address do you want to forbid NFTs minting? * uint256 _categoryId - ID index of category to forbid minting * * Function forbids NFT minting for specific category for specific address */ function disableAddressMint(address _address, uint256 _categoryId) public onlyOwner { allowMint[_address][_categoryId] = false; } /* * Params * address _address - What address do you want to allow NFTs minting? * uint256 _categoryId - ID index of category to allow minting * * Function allows NFT minting for specific category for specific address */ function allowAddressToMint(address _address, uint256 _categoryId) public onlyOwner { allowMint[_address][_categoryId] = true; } /* * Params * uint256 _startTime - Time to make this category active * uint256 _endTime - Time this category will expire * uint256 _maxPerAddress - Amount of NFTs allowed to mint per address * uint256 _categoryTokenCap - Maximum amount of tokens for this category * bool _isPrivate - Is this category private? Only allowed wallets will be able to mint * bool _isActive - Is this category active? * uint256 _price - ETH price to buy a token * * Function creates new token category with specific properties. */ function addCategory( uint256 _startTime, uint256 _endTime, uint256 _maxPerAddress, uint256 _categoryTokenCap, bool _isPrivate, bool _isActive, uint256 _price ) external onlyOwner { categories.push( category({ id: categories.length, startTime: _startTime, endTime: _endTime, maxPerAddress: _maxPerAddress, categoryTokenCap: _categoryTokenCap, isPrivate: _isPrivate, isActive: _isActive, price: _price }) ); emit AddCategory( categories.length - 1, _startTime, _endTime, _maxPerAddress, _categoryTokenCap, _isPrivate, _isActive, _price ); } /* * Params * uint256 _categoryId - ID index of category * uint256 _startTime - Time to make this category active * uint256 _endTime - Time this category will expire * uint256 _maxPerAddress - Amount of NFTs allowed to mint per address * uint256 _categoryTokenCap - Maximum amount of tokens for this category * bool _isPrivate - Is this category private? Only allowed wallets will be able to mint * bool _isActive - Is this category active? * uint256 _price - ETH price to buy a token * * Function updates token category with specific properties. */ function updateCategory( uint256 _categoryId, uint256 _startTime, uint256 _endTime, uint256 _maxPerAddress, uint256 _categoryTokenCap, bool _isPrivate, bool _isActive, uint256 _price ) external onlyOwner { categories[_categoryId].isActive = _isActive; categories[_categoryId].isPrivate = _isPrivate; categories[_categoryId].maxPerAddress = _maxPerAddress; categories[_categoryId].categoryTokenCap = _categoryTokenCap; categories[_categoryId].startTime = _startTime; categories[_categoryId].endTime = _endTime; categories[_categoryId].price = _price; } /* * Params * address _address - Who do you want to reserve this token for? * uint256 _tokenId - ID index of the token you want to reserve * * Function reserves token for specific user wallet * Can be used until admin minting is finished. * These tokens will be minted for the user in the first place */ function reserveToken(address _address, uint256 _tokenId) external onlyOwner { require(!tokensReserved[_tokenId], "Token already reserved"); require(!isAdminMintingDone, "Admin Minting Done"); tokensReserved[_tokenId] = true; reservedTokenOwners[_address].push(_tokenId); emit ReserveToken(_address, _tokenId); } /* * Params * address _address - Address of the user for which token was reserved * uint256 _tokenId - ID index of the token you want to reserve * * Function removes token from reserve for specific user wallet */ function unreserveToken(address _address, uint256 _tokenId) public onlyOwner { require(tokensReserved[_tokenId], "Token is not reserved"); require(!_exists(_tokenId), "Token already minted"); tokensReserved[_tokenId] = false; uint256[] memory tokenIds = reservedTokenOwners[_address]; uint256 index = findTokenIndex(_tokenId, tokenIds); removeReservedFromList(_address, index); emit UnReserveToken(_address, _tokenId); } /* * Params * uint256 _tokenId - ID index of the token you want to find * uint256[] memory tokenIdList - Array of reserved tokens * * Function helps to find array index of specific token * This is used to unreserve tokens */ function findTokenIndex(uint256 _tokenId, uint256[] memory tokenIdList) private pure returns (uint256) { for (uint256 i; i < tokenIdList.length; i++) { if (tokenIdList[i] == _tokenId) { return i; } } } /* * Params * address _address - Address of the user for which token was reserved * uint256 _tokenId - ID index of the token you want to reserve * * Internal function safely removes reserved token */ function removeReservedFromList(address _address, uint256 index) private { for ( uint256 a = index; a < reservedTokenOwners[_address].length - 1; a++ ) { reservedTokenOwners[_address][a] = reservedTokenOwners[_address][ a + 1 ]; } reservedTokenOwners[_address].pop(); } /* * Params * uint256 _categoryId - ID index of category you want to mint tokens from * uint256 _quantity - Quantity of tokens to mint * * Function mints specific amount of tokens from specific category * Will not work if category is not active, or enough ETH for mint * Will not mint more than allowed * Mints reserved for user tokens in the first place */ function mintTokens(uint256 _categoryId, uint256 _quantity) external payable { require( categories[_categoryId].price.mul(_quantity) <= msg.value, "Not enough ETH" ); for (uint256 i; i < _quantity; i++) { require(categories[_categoryId].isActive, "Category not Active"); require( categories[_categoryId].startTime <= block.timestamp, "Category not Active" ); require( categories[_categoryId].endTime >= block.timestamp, "Category already Expired" ); require( tokensMintedPerCategoryPerAddress[msg.sender][_categoryId] < categories[_categoryId].maxPerAddress, "Over Max wallet category" ); require( totalTokensMintedPerCategory[_categoryId] < categories[_categoryId].categoryTokenCap, "Over Max category tokens" ); require( balanceOf(msg.sender) < maxTokensPerUser, "Over Max Wallet tokens" ); if (categories[_categoryId].isPrivate) { require( allowMint[msg.sender][_categoryId], "Category is private" ); } if ( reservedTokenOwners[msg.sender].length > 0 && !isAdminMintingDone ) { _safeMint( msg.sender, reservedTokenOwners[msg.sender][ reservedTokenOwners[msg.sender].length - 1 ] ); reservedTokenOwners[msg.sender].pop(); } else { require(isAdminMintingDone, "Team mint in progress"); bool tokenMinted = false; while (!tokenMinted) { if (!_exists(lastPublicTokenMinted)) { _safeMint(msg.sender, lastPublicTokenMinted); lastPublicTokenMinted++; tokenMinted = true; } else { lastPublicTokenMinted++; } } } tokensMintedPerCategoryPerAddress[msg.sender][_categoryId]++; totalTokensMintedPerCategory[_categoryId]++; } Mint(msg.sender, _categoryId, _quantity); } /* * Params * address _wallet - Which wallet should receive ETH? * uint256 _amount - Amount of ETH to withdraw * * Function withdraws specific ETH amount to specific wallet * Can be used only by Owner */ function withdrawETH(address _wallet, uint256 _amount) external onlyOwner { payable(_wallet).transfer(_amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../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; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"_maxTokenPerUser","type":"uint256"},{"internalType":"string","name":"baseTokenURI_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"categoryId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxPerAddress","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"categoryTokenCap","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isPrivate","type":"bool"},{"indexed":false,"internalType":"bool","name":"isActive","type":"bool"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"AddCategory","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_categoryId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"Mint","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":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"ReserveToken","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"UnReserveToken","type":"event"},{"inputs":[],"name":"REVEAL_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"},{"internalType":"uint256","name":"_maxPerAddress","type":"uint256"},{"internalType":"uint256","name":"_categoryTokenCap","type":"uint256"},{"internalType":"bool","name":"_isPrivate","type":"bool"},{"internalType":"bool","name":"_isActive","type":"bool"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"addCategory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_categoryId","type":"uint256"}],"name":"allowAddressToMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"allowMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"categories","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"maxPerAddress","type":"uint256"},{"internalType":"uint256","name":"categoryTokenCap","type":"uint256"},{"internalType":"bool","name":"isPrivate","type":"bool"},{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_categoryId","type":"uint256"}],"name":"disableAddressMint","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":"isAdminMintingDone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastPublicTokenMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_categoryId","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"reserveToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"reservedTokenOwners","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURILink","type":"string"}],"name":"setBaseURILink","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setMaxTokensPerUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"revealTimeStamp","type":"uint256"}],"name":"setRevealTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopAdminMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokensMintedPerCategoryPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokensReserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalTokensMintedPerCategory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"unreserveToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_categoryId","type":"uint256"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"},{"internalType":"uint256","name":"_maxPerAddress","type":"uint256"},{"internalType":"uint256","name":"_categoryTokenCap","type":"uint256"},{"internalType":"bool","name":"_isPrivate","type":"bool"},{"internalType":"bool","name":"_isActive","type":"bool"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updateCategory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162006062380380620060628339818101604052810190620000379190620002c6565b83838160009080519060200190620000519291906200018d565b5080600190805190602001906200006a9291906200018d565b5050506200008d62000081620000bf60201b60201c565b620000c760201b60201c565b6001600b819055508160118190555080600d9080519060200190620000b49291906200018d565b5050505050620004d2565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200019b9062000424565b90600052602060002090601f016020900481019282620001bf57600085556200020b565b82601f10620001da57805160ff19168380011785556200020b565b828001600101855582156200020b579182015b828111156200020a578251825591602001919060010190620001ed565b5b5090506200021a91906200021e565b5090565b5b80821115620002395760008160009055506001016200021f565b5090565b6000620002546200024e84620003b1565b6200037d565b9050828152602081018484840111156200026d57600080fd5b6200027a848285620003ee565b509392505050565b600082601f8301126200029457600080fd5b8151620002a68482602086016200023d565b91505092915050565b600081519050620002c081620004b8565b92915050565b60008060008060808587031215620002dd57600080fd5b600085015167ffffffffffffffff811115620002f857600080fd5b620003068782880162000282565b945050602085015167ffffffffffffffff8111156200032457600080fd5b620003328782880162000282565b93505060406200034587828801620002af565b925050606085015167ffffffffffffffff8111156200036357600080fd5b620003718782880162000282565b91505092959194509250565b6000604051905081810181811067ffffffffffffffff82111715620003a757620003a662000489565b5b8060405250919050565b600067ffffffffffffffff821115620003cf57620003ce62000489565b5b601f19601f8301169050602081019050919050565b6000819050919050565b60005b838110156200040e578082015181840152602081019050620003f1565b838111156200041e576000848401525b50505050565b600060028204905060018216806200043d57607f821691505b602082108114156200045457620004536200045a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004c381620003e4565b8114620004cf57600080fd5b50565b615b8080620004e26000396000f3fe6080604052600436106102555760003560e01c80636352211e11610139578063a22cb465116100b6578063c87b56dd1161007a578063c87b56dd1461090b578063ce42c15c14610948578063e985e9c51461095f578063ee43d43e1461099c578063f27e93e0146109c7578063f2fde38b146109f25761025c565b8063a22cb465146107fb578063b88d4fde14610824578063bd4e23661461084d578063c6cdbe5e1461088a578063c793d48e146108ce5761025c565b806379657870116100fd578063796578701461072a5780638da5cb5b14610753578063900bba411461077e57806392ab5120146107a757806395d89b41146107d05761025c565b80636352211e146106315780636c0360eb1461066e5780636f2ff2961461069957806370a08231146106d6578063715018a6146107135761025c565b806326e97fce116101d257806343edaca01161019657806343edaca0146105115780634782f7791461054e5780634b33e29a146105775780634f6ccce7146105a2578063527682ce146105df57806354624c55146106085761025c565b806326e97fce146104295780632dbecfbc146104665780632f745c591461048f57806334a7c2e7146104cc57806342842e0e146104e85761025c565b806318160ddd1161021957806318160ddd1461035857806318e20a38146103835780631cc42b47146103ae5780631d52e047146103d757806323b872dd146104005761025c565b8063018a2c371461026157806301ffc9a71461028a57806306fdde03146102c7578063081812fc146102f2578063095ea7b31461032f5761025c565b3661025c57005b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190614573565b610a1b565b005b34801561029657600080fd5b506102b160048036038101906102ac91906144e0565b610aa1565b6040516102be9190615217565b60405180910390f35b3480156102d357600080fd5b506102dc610b1b565b6040516102e99190615232565b60405180910390f35b3480156102fe57600080fd5b5061031960048036038101906103149190614573565b610bad565b60405161032691906151b0565b60405180910390f35b34801561033b57600080fd5b50610356600480360381019061035191906144a4565b610c32565b005b34801561036457600080fd5b5061036d610d4a565b60405161037a9190615614565b60405180910390f35b34801561038f57600080fd5b50610398610d57565b6040516103a59190615614565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d09190614532565b610d5d565b005b3480156103e357600080fd5b506103fe60048036038101906103f991906144a4565b610df3565b005b34801561040c57600080fd5b506104276004803603810190610422919061439e565b610edc565b005b34801561043557600080fd5b50610450600480360381019061044b91906144a4565b610f3c565b60405161045d9190615217565b60405180910390f35b34801561047257600080fd5b5061048d60048036038101906104889190614676565b610f6b565b005b34801561049b57600080fd5b506104b660048036038101906104b191906144a4565b611247565b6040516104c39190615614565b60405180910390f35b6104e660048036038101906104e1919061459c565b6112ec565b005b3480156104f457600080fd5b5061050f600480360381019061050a919061439e565b611b87565b005b34801561051d57600080fd5b50610538600480360381019061053391906144a4565b611ba7565b6040516105459190615614565b60405180910390f35b34801561055a57600080fd5b50610575600480360381019061057091906144a4565b611bcc565b005b34801561058357600080fd5b5061058c611c93565b6040516105999190615614565b60405180910390f35b3480156105ae57600080fd5b506105c960048036038101906105c49190614573565b611c99565b6040516105d69190615614565b60405180910390f35b3480156105eb57600080fd5b50610606600480360381019061060191906145d8565b611d30565b005b34801561061457600080fd5b5061062f600480360381019061062a91906144a4565b611ef7565b005b34801561063d57600080fd5b5061065860048036038101906106539190614573565b611fe0565b60405161066591906151b0565b60405180910390f35b34801561067a57600080fd5b50610683612092565b6040516106909190615232565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb91906144a4565b6120a1565b6040516106cd9190615614565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f89190614339565b6120d2565b60405161070a9190615614565b60405180910390f35b34801561071f57600080fd5b5061072861218a565b005b34801561073657600080fd5b50610751600480360381019061074c91906144a4565b612212565b005b34801561075f57600080fd5b50610768612423565b60405161077591906151b0565b60405180910390f35b34801561078a57600080fd5b506107a560048036038101906107a09190614573565b61244d565b005b3480156107b357600080fd5b506107ce60048036038101906107c991906144a4565b6124d3565b005b3480156107dc57600080fd5b506107e5612722565b6040516107f29190615232565b60405180910390f35b34801561080757600080fd5b50610822600480360381019061081d9190614468565b6127b4565b005b34801561083057600080fd5b5061084b600480360381019061084691906143ed565b612935565b005b34801561085957600080fd5b50610874600480360381019061086f9190614573565b612997565b6040516108819190615614565b60405180910390f35b34801561089657600080fd5b506108b160048036038101906108ac9190614573565b6129af565b6040516108c5989796959493929190615658565b60405180910390f35b3480156108da57600080fd5b506108f560048036038101906108f09190614573565b612a21565b6040516109029190615217565b60405180910390f35b34801561091757600080fd5b50610932600480360381019061092d9190614573565b612a41565b60405161093f9190615232565b60405180910390f35b34801561095457600080fd5b5061095d612ae8565b005b34801561096b57600080fd5b5061098660048036038101906109819190614362565b612b81565b6040516109939190615217565b60405180910390f35b3480156109a857600080fd5b506109b1612c15565b6040516109be9190615614565b60405180910390f35b3480156109d357600080fd5b506109dc612c1b565b6040516109e99190615217565b60405180910390f35b3480156109fe57600080fd5b50610a196004803603810190610a149190614339565b612c2e565b005b610a23612d26565b73ffffffffffffffffffffffffffffffffffffffff16610a41612423565b73ffffffffffffffffffffffffffffffffffffffff1614610a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8e906154b4565b60405180910390fd5b80600f8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b145750610b1382612d2e565b5b9050919050565b606060008054610b2a90615975565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5690615975565b8015610ba35780601f10610b7857610100808354040283529160200191610ba3565b820191906000526020600020905b815481529060010190602001808311610b8657829003601f168201915b5050505050905090565b6000610bb882612e10565b610bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bee90615494565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c3d82611fe0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca590615534565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ccd612d26565b73ffffffffffffffffffffffffffffffffffffffff161480610cfc5750610cfb81610cf6612d26565b612b81565b5b610d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d32906153f4565b60405180910390fd5b610d458383612e7c565b505050565b6000600880549050905090565b600f5481565b610d65612d26565b73ffffffffffffffffffffffffffffffffffffffff16610d83612423565b73ffffffffffffffffffffffffffffffffffffffff1614610dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd0906154b4565b60405180910390fd5b80600d9080519060200190610def92919061415d565b5050565b610dfb612d26565b73ffffffffffffffffffffffffffffffffffffffff16610e19612423565b73ffffffffffffffffffffffffffffffffffffffff1614610e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e66906154b4565b60405180910390fd5b6000601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610eed610ee7612d26565b82612f35565b610f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2390615594565b60405180910390fd5b610f37838383613013565b505050565b60146020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b610f73612d26565b73ffffffffffffffffffffffffffffffffffffffff16610f91612423565b73ffffffffffffffffffffffffffffffffffffffff1614610fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fde906154b4565b60405180910390fd5b8160178981548110611022577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906007020160050160016101000a81548160ff0219169083151502179055508260178981548110611085577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906007020160050160006101000a81548160ff02191690831515021790555084601789815481106110e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060070201600301819055508360178981548110611138577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060070201600401819055508660178981548110611188577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600702016001018190555085601789815481106111d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060070201600201819055508060178981548110611228577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060070201600601819055505050505050505050565b6000611252836120d2565b8210611293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128a90615294565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b3461134b826017858154811061132b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600702016006015461326f90919063ffffffff16565b111561138c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138390615474565b60405180910390fd5b60005b81811015611b3257601783815481106113d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906007020160050160019054906101000a900460ff1661142f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142690615514565b60405180910390fd5b426017848154811061146a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600702016001015411156114bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b490615514565b60405180910390fd5b42601784815481106114f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906007020160020154101561154b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154290615274565b60405180910390fd5b60178381548110611585577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906007020160030154601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000205410611628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161f906155f4565b60405180910390fd5b60178381548110611662577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060070201600401546016600085815260200190815260200160002054106116c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bf90615354565b60405180910390fd5b6011546116d4336120d2565b10611714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170b906153b4565b60405180910390fd5b6017838154811061174e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906007020160050160009054906101000a900460ff161561181057601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060009054906101000a900460ff1661180f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611806906155d4565b60405180910390fd5b5b6000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905011801561186f5750600e60009054906101000a900460ff16155b156119dd5761194d33601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050611906919061588b565b8154811061193d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154613285565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806119c2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60019003818190600052602060002001600090559055611a90565b600e60009054906101000a900460ff16611a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a23906152b4565b60405180910390fd5b60005b80611a8e57611a3f601054612e10565b611a7057611a4f33601054613285565b60106000815480929190611a62906159a7565b919050555060019050611a89565b60106000815480929190611a83906159a7565b91905055505b611a2f565b505b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000206000815480929190611af1906159a7565b9190505550601660008481526020019081526020016000206000815480929190611b1a906159a7565b91905055508080611b2a906159a7565b91505061138f565b503373ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f8383604051611b7b92919061562f565b60405180910390a25050565b611ba283838360405180602001604052806000815250612935565b505050565b6015602052816000526040600020602052806000526040600020600091509150505481565b611bd4612d26565b73ffffffffffffffffffffffffffffffffffffffff16611bf2612423565b73ffffffffffffffffffffffffffffffffffffffff1614611c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3f906154b4565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c8e573d6000803e3d6000fd5b505050565b60105481565b6000611ca3610d4a565b8210611ce4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdb906155b4565b60405180910390fd5b60088281548110611d1e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b611d38612d26565b73ffffffffffffffffffffffffffffffffffffffff16611d56612423565b73ffffffffffffffffffffffffffffffffffffffff1614611dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da3906154b4565b60405180910390fd5b6017604051806101000160405280601780549050815260200189815260200188815260200187815260200186815260200185151581526020018415158152602001838152509080600181540180825580915050600190039060005260206000209060070201600090919091909150600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050160006101000a81548160ff02191690831515021790555060c08201518160050160016101000a81548160ff02191690831515021790555060e0820151816006015550507fec4876a826900a68b75c025860593deac7fa67653ed98a2d569af7ca83e4fd026001601780549050611ecb919061588b565b88888888888888604051611ee6989796959493929190615658565b60405180910390a150505050505050565b611eff612d26565b73ffffffffffffffffffffffffffffffffffffffff16611f1d612423565b73ffffffffffffffffffffffffffffffffffffffff1614611f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6a906154b4565b60405180910390fd5b6001601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208090615434565b60405180910390fd5b80915050919050565b606061209c6132a3565b905090565b601360205281600052604060002081815481106120bd57600080fd5b90600052602060002001600091509150505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213a90615414565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b612192612d26565b73ffffffffffffffffffffffffffffffffffffffff166121b0612423565b73ffffffffffffffffffffffffffffffffffffffff1614612206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fd906154b4565b60405180910390fd5b6122106000613335565b565b61221a612d26565b73ffffffffffffffffffffffffffffffffffffffff16612238612423565b73ffffffffffffffffffffffffffffffffffffffff161461228e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612285906154b4565b60405180910390fd5b6012600082815260200190815260200160002060009054906101000a900460ff16156122ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e690615334565b60405180910390fd5b600e60009054906101000a900460ff161561233f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233690615554565b60405180910390fd5b60016012600083815260200190815260200160002060006101000a81548160ff021916908315150217905550601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150506001900390600052602060002001600090919091909150558173ffffffffffffffffffffffffffffffffffffffff167f736a5106267f2aefa6876d34eb936754ab687cab83a8314017fd327eb7cf0c38826040516124179190615614565b60405180910390a25050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612455612d26565b73ffffffffffffffffffffffffffffffffffffffff16612473612423565b73ffffffffffffffffffffffffffffffffffffffff16146124c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c0906154b4565b60405180910390fd5b8060118190555050565b6124db612d26565b73ffffffffffffffffffffffffffffffffffffffff166124f9612423565b73ffffffffffffffffffffffffffffffffffffffff161461254f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612546906154b4565b60405180910390fd5b6012600082815260200190815260200160002060009054906101000a900460ff166125af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a690615574565b60405180910390fd5b6125b881612e10565b156125f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ef90615254565b60405180910390fd5b60006012600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506000601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156126af57602002820191906000526020600020905b81548152602001906001019080831161269b575b5050505050905060006126c283836133fb565b90506126ce8482613474565b8373ffffffffffffffffffffffffffffffffffffffff167f1bf36c75f44b9e52a5964a566ea7b3e3cff796449757432853d0f01e86ec6147846040516127149190615614565b60405180910390a250505050565b60606001805461273190615975565b80601f016020809104026020016040519081016040528092919081815260200182805461275d90615975565b80156127aa5780601f1061277f576101008083540402835291602001916127aa565b820191906000526020600020905b81548152906001019060200180831161278d57829003601f168201915b5050505050905090565b6127bc612d26565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561282a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282190615394565b60405180910390fd5b8060056000612837612d26565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166128e4612d26565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129299190615217565b60405180910390a35050565b612946612940612d26565b83612f35565b612985576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297c90615594565b60405180910390fd5b61299184848484613686565b50505050565b60166020528060005260406000206000915090505481565b601781815481106129bf57600080fd5b90600052602060002090600702016000915090508060000154908060010154908060020154908060030154908060040154908060050160009054906101000a900460ff16908060050160019054906101000a900460ff16908060060154905088565b60126020528060005260406000206000915054906101000a900460ff1681565b6060612a4c82612e10565b612a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a82906154f4565b60405180910390fd5b6000612a956132a3565b90506000815111612ab55760405180602001604052806000815250612ae0565b80612abf846136e2565b604051602001612ad092919061518c565b6040516020818303038152906040525b915050919050565b612af0612d26565b73ffffffffffffffffffffffffffffffffffffffff16612b0e612423565b73ffffffffffffffffffffffffffffffffffffffff1614612b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5b906154b4565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60115481565b600e60009054906101000a900460ff1681565b612c36612d26565b73ffffffffffffffffffffffffffffffffffffffff16612c54612423565b73ffffffffffffffffffffffffffffffffffffffff1614612caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca1906154b4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d11906152f4565b60405180910390fd5b612d2381613335565b50565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612df957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612e095750612e088261388f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612eef83611fe0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612f4082612e10565b612f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f76906153d4565b60405180910390fd5b6000612f8a83611fe0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ff957508373ffffffffffffffffffffffffffffffffffffffff16612fe184610bad565b73ffffffffffffffffffffffffffffffffffffffff16145b8061300a57506130098185612b81565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661303382611fe0565b73ffffffffffffffffffffffffffffffffffffffff1614613089576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613080906154d4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f090615374565b60405180910390fd5b6131048383836138f9565b61310f600082612e7c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461315f919061588b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131b691906157aa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818361327d9190615831565b905092915050565b61329f828260405180602001604052806000815250613a0d565b5050565b6060600d80546132b290615975565b80601f01602080910402602001604051908101604052809291908181526020018280546132de90615975565b801561332b5780601f106133005761010080835404028352916020019161332b565b820191906000526020600020905b81548152906001019060200180831161330e57829003601f168201915b5050505050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000805b825181101561346c5783838281518110613442577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101511415613459578091505061346e565b8080613464906159a7565b9150506133ff565b505b92915050565b60008190505b6001601360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506134c9919061588b565b8110156135f657601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060018261351c91906157aa565b81548110613553577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154601360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106135d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555080806135ee906159a7565b91505061347a565b50601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548061366c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590555050565b613691848484613013565b61369d84848484613a68565b6136dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d3906152d4565b60405180910390fd5b50505050565b6060600082141561372a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061388a565b600082905060005b6000821461375c578080613745906159a7565b915050600a826137559190615800565b9150613732565b60008167ffffffffffffffff81111561379e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156137d05781602001600182028036833780820191505090505b5090505b60008514613883576001826137e9919061588b565b9150600a856137f891906159f0565b603061380491906157aa565b60f81b818381518110613840577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561387c9190615800565b94506137d4565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613904838383613bff565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139475761394281613c04565b613986565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613985576139848382613c4d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139c9576139c481613dba565b613a08565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613a0757613a068282613efd565b5b5b505050565b613a178383613f7c565b613a246000848484613a68565b613a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a5a906152d4565b60405180910390fd5b505050565b6000613a898473ffffffffffffffffffffffffffffffffffffffff1661414a565b15613bf2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613ab2612d26565b8786866040518563ffffffff1660e01b8152600401613ad494939291906151cb565b602060405180830381600087803b158015613aee57600080fd5b505af1925050508015613b1f57506040513d601f19601f82011682018060405250810190613b1c9190614509565b60015b613ba2573d8060008114613b4f576040519150601f19603f3d011682016040523d82523d6000602084013e613b54565b606091505b50600081511415613b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b91906152d4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613bf7565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613c5a846120d2565b613c64919061588b565b9050600060076000848152602001908152602001600020549050818114613d49576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613dce919061588b565b9050600060096000848152602001908152602001600020549050600060088381548110613e24577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613e6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613ee1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613f08836120d2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fe390615454565b60405180910390fd5b613ff581612e10565b15614035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161402c90615314565b60405180910390fd5b614041600083836138f9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461409191906157aa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461416990615975565b90600052602060002090601f01602090048101928261418b57600085556141d2565b82601f106141a457805160ff19168380011785556141d2565b828001600101855582156141d2579182015b828111156141d15782518255916020019190600101906141b6565b5b5090506141df91906141e3565b5090565b5b808211156141fc5760008160009055506001016141e4565b5090565b600061421361420e84615707565b6156d6565b90508281526020810184848401111561422b57600080fd5b614236848285615933565b509392505050565b600061425161424c84615737565b6156d6565b90508281526020810184848401111561426957600080fd5b614274848285615933565b509392505050565b60008135905061428b81615aee565b92915050565b6000813590506142a081615b05565b92915050565b6000813590506142b581615b1c565b92915050565b6000815190506142ca81615b1c565b92915050565b600082601f8301126142e157600080fd5b81356142f1848260208601614200565b91505092915050565b600082601f83011261430b57600080fd5b813561431b84826020860161423e565b91505092915050565b60008135905061433381615b33565b92915050565b60006020828403121561434b57600080fd5b60006143598482850161427c565b91505092915050565b6000806040838503121561437557600080fd5b60006143838582860161427c565b92505060206143948582860161427c565b9150509250929050565b6000806000606084860312156143b357600080fd5b60006143c18682870161427c565b93505060206143d28682870161427c565b92505060406143e386828701614324565b9150509250925092565b6000806000806080858703121561440357600080fd5b60006144118782880161427c565b94505060206144228782880161427c565b935050604061443387828801614324565b925050606085013567ffffffffffffffff81111561445057600080fd5b61445c878288016142d0565b91505092959194509250565b6000806040838503121561447b57600080fd5b60006144898582860161427c565b925050602061449a85828601614291565b9150509250929050565b600080604083850312156144b757600080fd5b60006144c58582860161427c565b92505060206144d685828601614324565b9150509250929050565b6000602082840312156144f257600080fd5b6000614500848285016142a6565b91505092915050565b60006020828403121561451b57600080fd5b6000614529848285016142bb565b91505092915050565b60006020828403121561454457600080fd5b600082013567ffffffffffffffff81111561455e57600080fd5b61456a848285016142fa565b91505092915050565b60006020828403121561458557600080fd5b600061459384828501614324565b91505092915050565b600080604083850312156145af57600080fd5b60006145bd85828601614324565b92505060206145ce85828601614324565b9150509250929050565b600080600080600080600060e0888a0312156145f357600080fd5b60006146018a828b01614324565b97505060206146128a828b01614324565b96505060406146238a828b01614324565b95505060606146348a828b01614324565b94505060806146458a828b01614291565b93505060a06146568a828b01614291565b92505060c06146678a828b01614324565b91505092959891949750929550565b600080600080600080600080610100898b03121561469357600080fd5b60006146a18b828c01614324565b98505060206146b28b828c01614324565b97505060406146c38b828c01614324565b96505060606146d48b828c01614324565b95505060806146e58b828c01614324565b94505060a06146f68b828c01614291565b93505060c06147078b828c01614291565b92505060e06147188b828c01614324565b9150509295985092959890939650565b614731816158bf565b82525050565b614740816158d1565b82525050565b600061475182615767565b61475b818561577d565b935061476b818560208601615942565b61477481615add565b840191505092915050565b600061478a82615772565b614794818561578e565b93506147a4818560208601615942565b6147ad81615add565b840191505092915050565b60006147c382615772565b6147cd818561579f565b93506147dd818560208601615942565b80840191505092915050565b60006147f660148361578e565b91507f546f6b656e20616c7265616479206d696e7465640000000000000000000000006000830152602082019050919050565b600061483660188361578e565b91507f43617465676f727920616c7265616479204578706972656400000000000000006000830152602082019050919050565b6000614876602b8361578e565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006148dc60158361578e565b91507f5465616d206d696e7420696e2070726f677265737300000000000000000000006000830152602082019050919050565b600061491c60328361578e565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061498260268361578e565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149e8601c8361578e565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000614a2860168361578e565b91507f546f6b656e20616c7265616479207265736572766564000000000000000000006000830152602082019050919050565b6000614a6860188361578e565b91507f4f766572204d61782063617465676f727920746f6b656e7300000000000000006000830152602082019050919050565b6000614aa860248361578e565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b0e60198361578e565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614b4e60168361578e565b91507f4f766572204d61782057616c6c657420746f6b656e73000000000000000000006000830152602082019050919050565b6000614b8e602c8361578e565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614bf460388361578e565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614c5a602a8361578e565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614cc060298361578e565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614d2660208361578e565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614d66600e8361578e565b91507f4e6f7420656e6f756768204554480000000000000000000000000000000000006000830152602082019050919050565b6000614da6602c8361578e565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614e0c60208361578e565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614e4c60298361578e565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614eb2602f8361578e565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614f1860138361578e565b91507f43617465676f7279206e6f7420416374697665000000000000000000000000006000830152602082019050919050565b6000614f5860218361578e565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614fbe60128361578e565b91507f41646d696e204d696e74696e6720446f6e6500000000000000000000000000006000830152602082019050919050565b6000614ffe60158361578e565b91507f546f6b656e206973206e6f7420726573657276656400000000000000000000006000830152602082019050919050565b600061503e60318361578e565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006150a4602c8361578e565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b600061510a60138361578e565b91507f43617465676f72792069732070726976617465000000000000000000000000006000830152602082019050919050565b600061514a60188361578e565b91507f4f766572204d61782077616c6c65742063617465676f727900000000000000006000830152602082019050919050565b61518681615929565b82525050565b600061519882856147b8565b91506151a482846147b8565b91508190509392505050565b60006020820190506151c56000830184614728565b92915050565b60006080820190506151e06000830187614728565b6151ed6020830186614728565b6151fa604083018561517d565b818103606083015261520c8184614746565b905095945050505050565b600060208201905061522c6000830184614737565b92915050565b6000602082019050818103600083015261524c818461477f565b905092915050565b6000602082019050818103600083015261526d816147e9565b9050919050565b6000602082019050818103600083015261528d81614829565b9050919050565b600060208201905081810360008301526152ad81614869565b9050919050565b600060208201905081810360008301526152cd816148cf565b9050919050565b600060208201905081810360008301526152ed8161490f565b9050919050565b6000602082019050818103600083015261530d81614975565b9050919050565b6000602082019050818103600083015261532d816149db565b9050919050565b6000602082019050818103600083015261534d81614a1b565b9050919050565b6000602082019050818103600083015261536d81614a5b565b9050919050565b6000602082019050818103600083015261538d81614a9b565b9050919050565b600060208201905081810360008301526153ad81614b01565b9050919050565b600060208201905081810360008301526153cd81614b41565b9050919050565b600060208201905081810360008301526153ed81614b81565b9050919050565b6000602082019050818103600083015261540d81614be7565b9050919050565b6000602082019050818103600083015261542d81614c4d565b9050919050565b6000602082019050818103600083015261544d81614cb3565b9050919050565b6000602082019050818103600083015261546d81614d19565b9050919050565b6000602082019050818103600083015261548d81614d59565b9050919050565b600060208201905081810360008301526154ad81614d99565b9050919050565b600060208201905081810360008301526154cd81614dff565b9050919050565b600060208201905081810360008301526154ed81614e3f565b9050919050565b6000602082019050818103600083015261550d81614ea5565b9050919050565b6000602082019050818103600083015261552d81614f0b565b9050919050565b6000602082019050818103600083015261554d81614f4b565b9050919050565b6000602082019050818103600083015261556d81614fb1565b9050919050565b6000602082019050818103600083015261558d81614ff1565b9050919050565b600060208201905081810360008301526155ad81615031565b9050919050565b600060208201905081810360008301526155cd81615097565b9050919050565b600060208201905081810360008301526155ed816150fd565b9050919050565b6000602082019050818103600083015261560d8161513d565b9050919050565b6000602082019050615629600083018461517d565b92915050565b6000604082019050615644600083018561517d565b615651602083018461517d565b9392505050565b60006101008201905061566e600083018b61517d565b61567b602083018a61517d565b615688604083018961517d565b615695606083018861517d565b6156a2608083018761517d565b6156af60a0830186614737565b6156bc60c0830185614737565b6156c960e083018461517d565b9998505050505050505050565b6000604051905081810181811067ffffffffffffffff821117156156fd576156fc615aae565b5b8060405250919050565b600067ffffffffffffffff82111561572257615721615aae565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561575257615751615aae565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006157b582615929565b91506157c083615929565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156157f5576157f4615a21565b5b828201905092915050565b600061580b82615929565b915061581683615929565b92508261582657615825615a50565b5b828204905092915050565b600061583c82615929565b915061584783615929565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156158805761587f615a21565b5b828202905092915050565b600061589682615929565b91506158a183615929565b9250828210156158b4576158b3615a21565b5b828203905092915050565b60006158ca82615909565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615960578082015181840152602081019050615945565b8381111561596f576000848401525b50505050565b6000600282049050600182168061598d57607f821691505b602082108114156159a1576159a0615a7f565b5b50919050565b60006159b282615929565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156159e5576159e4615a21565b5b600182019050919050565b60006159fb82615929565b9150615a0683615929565b925082615a1657615a15615a50565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b615af7816158bf565b8114615b0257600080fd5b50565b615b0e816158d1565b8114615b1957600080fd5b50565b615b25816158dd565b8114615b3057600080fd5b50565b615b3c81615929565b8114615b4757600080fd5b5056fea2646970667358221220d49c8bbc3d637af15d0ae0dd5281985ced24af926b949c841831bc692eba268f64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000008476f6f20476f6f730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004474c474700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005668747470733a2f2f6761636879696c616e642e6d7970696e6174612e636c6f75642f697066732f516d51726f347a6f45416b4a58335a395657417639504b6b355247326b624b7a4e75576871484e474c3936686b392f00000000000000000000
Deployed Bytecode
0x6080604052600436106102555760003560e01c80636352211e11610139578063a22cb465116100b6578063c87b56dd1161007a578063c87b56dd1461090b578063ce42c15c14610948578063e985e9c51461095f578063ee43d43e1461099c578063f27e93e0146109c7578063f2fde38b146109f25761025c565b8063a22cb465146107fb578063b88d4fde14610824578063bd4e23661461084d578063c6cdbe5e1461088a578063c793d48e146108ce5761025c565b806379657870116100fd578063796578701461072a5780638da5cb5b14610753578063900bba411461077e57806392ab5120146107a757806395d89b41146107d05761025c565b80636352211e146106315780636c0360eb1461066e5780636f2ff2961461069957806370a08231146106d6578063715018a6146107135761025c565b806326e97fce116101d257806343edaca01161019657806343edaca0146105115780634782f7791461054e5780634b33e29a146105775780634f6ccce7146105a2578063527682ce146105df57806354624c55146106085761025c565b806326e97fce146104295780632dbecfbc146104665780632f745c591461048f57806334a7c2e7146104cc57806342842e0e146104e85761025c565b806318160ddd1161021957806318160ddd1461035857806318e20a38146103835780631cc42b47146103ae5780631d52e047146103d757806323b872dd146104005761025c565b8063018a2c371461026157806301ffc9a71461028a57806306fdde03146102c7578063081812fc146102f2578063095ea7b31461032f5761025c565b3661025c57005b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190614573565b610a1b565b005b34801561029657600080fd5b506102b160048036038101906102ac91906144e0565b610aa1565b6040516102be9190615217565b60405180910390f35b3480156102d357600080fd5b506102dc610b1b565b6040516102e99190615232565b60405180910390f35b3480156102fe57600080fd5b5061031960048036038101906103149190614573565b610bad565b60405161032691906151b0565b60405180910390f35b34801561033b57600080fd5b50610356600480360381019061035191906144a4565b610c32565b005b34801561036457600080fd5b5061036d610d4a565b60405161037a9190615614565b60405180910390f35b34801561038f57600080fd5b50610398610d57565b6040516103a59190615614565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d09190614532565b610d5d565b005b3480156103e357600080fd5b506103fe60048036038101906103f991906144a4565b610df3565b005b34801561040c57600080fd5b506104276004803603810190610422919061439e565b610edc565b005b34801561043557600080fd5b50610450600480360381019061044b91906144a4565b610f3c565b60405161045d9190615217565b60405180910390f35b34801561047257600080fd5b5061048d60048036038101906104889190614676565b610f6b565b005b34801561049b57600080fd5b506104b660048036038101906104b191906144a4565b611247565b6040516104c39190615614565b60405180910390f35b6104e660048036038101906104e1919061459c565b6112ec565b005b3480156104f457600080fd5b5061050f600480360381019061050a919061439e565b611b87565b005b34801561051d57600080fd5b50610538600480360381019061053391906144a4565b611ba7565b6040516105459190615614565b60405180910390f35b34801561055a57600080fd5b50610575600480360381019061057091906144a4565b611bcc565b005b34801561058357600080fd5b5061058c611c93565b6040516105999190615614565b60405180910390f35b3480156105ae57600080fd5b506105c960048036038101906105c49190614573565b611c99565b6040516105d69190615614565b60405180910390f35b3480156105eb57600080fd5b50610606600480360381019061060191906145d8565b611d30565b005b34801561061457600080fd5b5061062f600480360381019061062a91906144a4565b611ef7565b005b34801561063d57600080fd5b5061065860048036038101906106539190614573565b611fe0565b60405161066591906151b0565b60405180910390f35b34801561067a57600080fd5b50610683612092565b6040516106909190615232565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb91906144a4565b6120a1565b6040516106cd9190615614565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f89190614339565b6120d2565b60405161070a9190615614565b60405180910390f35b34801561071f57600080fd5b5061072861218a565b005b34801561073657600080fd5b50610751600480360381019061074c91906144a4565b612212565b005b34801561075f57600080fd5b50610768612423565b60405161077591906151b0565b60405180910390f35b34801561078a57600080fd5b506107a560048036038101906107a09190614573565b61244d565b005b3480156107b357600080fd5b506107ce60048036038101906107c991906144a4565b6124d3565b005b3480156107dc57600080fd5b506107e5612722565b6040516107f29190615232565b60405180910390f35b34801561080757600080fd5b50610822600480360381019061081d9190614468565b6127b4565b005b34801561083057600080fd5b5061084b600480360381019061084691906143ed565b612935565b005b34801561085957600080fd5b50610874600480360381019061086f9190614573565b612997565b6040516108819190615614565b60405180910390f35b34801561089657600080fd5b506108b160048036038101906108ac9190614573565b6129af565b6040516108c5989796959493929190615658565b60405180910390f35b3480156108da57600080fd5b506108f560048036038101906108f09190614573565b612a21565b6040516109029190615217565b60405180910390f35b34801561091757600080fd5b50610932600480360381019061092d9190614573565b612a41565b60405161093f9190615232565b60405180910390f35b34801561095457600080fd5b5061095d612ae8565b005b34801561096b57600080fd5b5061098660048036038101906109819190614362565b612b81565b6040516109939190615217565b60405180910390f35b3480156109a857600080fd5b506109b1612c15565b6040516109be9190615614565b60405180910390f35b3480156109d357600080fd5b506109dc612c1b565b6040516109e99190615217565b60405180910390f35b3480156109fe57600080fd5b50610a196004803603810190610a149190614339565b612c2e565b005b610a23612d26565b73ffffffffffffffffffffffffffffffffffffffff16610a41612423565b73ffffffffffffffffffffffffffffffffffffffff1614610a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8e906154b4565b60405180910390fd5b80600f8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b145750610b1382612d2e565b5b9050919050565b606060008054610b2a90615975565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5690615975565b8015610ba35780601f10610b7857610100808354040283529160200191610ba3565b820191906000526020600020905b815481529060010190602001808311610b8657829003601f168201915b5050505050905090565b6000610bb882612e10565b610bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bee90615494565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c3d82611fe0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca590615534565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ccd612d26565b73ffffffffffffffffffffffffffffffffffffffff161480610cfc5750610cfb81610cf6612d26565b612b81565b5b610d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d32906153f4565b60405180910390fd5b610d458383612e7c565b505050565b6000600880549050905090565b600f5481565b610d65612d26565b73ffffffffffffffffffffffffffffffffffffffff16610d83612423565b73ffffffffffffffffffffffffffffffffffffffff1614610dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd0906154b4565b60405180910390fd5b80600d9080519060200190610def92919061415d565b5050565b610dfb612d26565b73ffffffffffffffffffffffffffffffffffffffff16610e19612423565b73ffffffffffffffffffffffffffffffffffffffff1614610e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e66906154b4565b60405180910390fd5b6000601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610eed610ee7612d26565b82612f35565b610f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2390615594565b60405180910390fd5b610f37838383613013565b505050565b60146020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b610f73612d26565b73ffffffffffffffffffffffffffffffffffffffff16610f91612423565b73ffffffffffffffffffffffffffffffffffffffff1614610fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fde906154b4565b60405180910390fd5b8160178981548110611022577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906007020160050160016101000a81548160ff0219169083151502179055508260178981548110611085577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906007020160050160006101000a81548160ff02191690831515021790555084601789815481106110e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060070201600301819055508360178981548110611138577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060070201600401819055508660178981548110611188577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600702016001018190555085601789815481106111d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060070201600201819055508060178981548110611228577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060070201600601819055505050505050505050565b6000611252836120d2565b8210611293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128a90615294565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b3461134b826017858154811061132b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600702016006015461326f90919063ffffffff16565b111561138c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138390615474565b60405180910390fd5b60005b81811015611b3257601783815481106113d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906007020160050160019054906101000a900460ff1661142f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142690615514565b60405180910390fd5b426017848154811061146a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600702016001015411156114bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b490615514565b60405180910390fd5b42601784815481106114f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906007020160020154101561154b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154290615274565b60405180910390fd5b60178381548110611585577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906007020160030154601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000205410611628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161f906155f4565b60405180910390fd5b60178381548110611662577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060070201600401546016600085815260200190815260200160002054106116c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bf90615354565b60405180910390fd5b6011546116d4336120d2565b10611714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170b906153b4565b60405180910390fd5b6017838154811061174e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906007020160050160009054906101000a900460ff161561181057601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060009054906101000a900460ff1661180f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611806906155d4565b60405180910390fd5b5b6000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905011801561186f5750600e60009054906101000a900460ff16155b156119dd5761194d33601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050611906919061588b565b8154811061193d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154613285565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806119c2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60019003818190600052602060002001600090559055611a90565b600e60009054906101000a900460ff16611a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a23906152b4565b60405180910390fd5b60005b80611a8e57611a3f601054612e10565b611a7057611a4f33601054613285565b60106000815480929190611a62906159a7565b919050555060019050611a89565b60106000815480929190611a83906159a7565b91905055505b611a2f565b505b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000206000815480929190611af1906159a7565b9190505550601660008481526020019081526020016000206000815480929190611b1a906159a7565b91905055508080611b2a906159a7565b91505061138f565b503373ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f8383604051611b7b92919061562f565b60405180910390a25050565b611ba283838360405180602001604052806000815250612935565b505050565b6015602052816000526040600020602052806000526040600020600091509150505481565b611bd4612d26565b73ffffffffffffffffffffffffffffffffffffffff16611bf2612423565b73ffffffffffffffffffffffffffffffffffffffff1614611c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3f906154b4565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c8e573d6000803e3d6000fd5b505050565b60105481565b6000611ca3610d4a565b8210611ce4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdb906155b4565b60405180910390fd5b60088281548110611d1e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b611d38612d26565b73ffffffffffffffffffffffffffffffffffffffff16611d56612423565b73ffffffffffffffffffffffffffffffffffffffff1614611dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da3906154b4565b60405180910390fd5b6017604051806101000160405280601780549050815260200189815260200188815260200187815260200186815260200185151581526020018415158152602001838152509080600181540180825580915050600190039060005260206000209060070201600090919091909150600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050160006101000a81548160ff02191690831515021790555060c08201518160050160016101000a81548160ff02191690831515021790555060e0820151816006015550507fec4876a826900a68b75c025860593deac7fa67653ed98a2d569af7ca83e4fd026001601780549050611ecb919061588b565b88888888888888604051611ee6989796959493929190615658565b60405180910390a150505050505050565b611eff612d26565b73ffffffffffffffffffffffffffffffffffffffff16611f1d612423565b73ffffffffffffffffffffffffffffffffffffffff1614611f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6a906154b4565b60405180910390fd5b6001601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208090615434565b60405180910390fd5b80915050919050565b606061209c6132a3565b905090565b601360205281600052604060002081815481106120bd57600080fd5b90600052602060002001600091509150505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213a90615414565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b612192612d26565b73ffffffffffffffffffffffffffffffffffffffff166121b0612423565b73ffffffffffffffffffffffffffffffffffffffff1614612206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fd906154b4565b60405180910390fd5b6122106000613335565b565b61221a612d26565b73ffffffffffffffffffffffffffffffffffffffff16612238612423565b73ffffffffffffffffffffffffffffffffffffffff161461228e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612285906154b4565b60405180910390fd5b6012600082815260200190815260200160002060009054906101000a900460ff16156122ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e690615334565b60405180910390fd5b600e60009054906101000a900460ff161561233f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233690615554565b60405180910390fd5b60016012600083815260200190815260200160002060006101000a81548160ff021916908315150217905550601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150506001900390600052602060002001600090919091909150558173ffffffffffffffffffffffffffffffffffffffff167f736a5106267f2aefa6876d34eb936754ab687cab83a8314017fd327eb7cf0c38826040516124179190615614565b60405180910390a25050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612455612d26565b73ffffffffffffffffffffffffffffffffffffffff16612473612423565b73ffffffffffffffffffffffffffffffffffffffff16146124c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c0906154b4565b60405180910390fd5b8060118190555050565b6124db612d26565b73ffffffffffffffffffffffffffffffffffffffff166124f9612423565b73ffffffffffffffffffffffffffffffffffffffff161461254f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612546906154b4565b60405180910390fd5b6012600082815260200190815260200160002060009054906101000a900460ff166125af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a690615574565b60405180910390fd5b6125b881612e10565b156125f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ef90615254565b60405180910390fd5b60006012600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506000601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156126af57602002820191906000526020600020905b81548152602001906001019080831161269b575b5050505050905060006126c283836133fb565b90506126ce8482613474565b8373ffffffffffffffffffffffffffffffffffffffff167f1bf36c75f44b9e52a5964a566ea7b3e3cff796449757432853d0f01e86ec6147846040516127149190615614565b60405180910390a250505050565b60606001805461273190615975565b80601f016020809104026020016040519081016040528092919081815260200182805461275d90615975565b80156127aa5780601f1061277f576101008083540402835291602001916127aa565b820191906000526020600020905b81548152906001019060200180831161278d57829003601f168201915b5050505050905090565b6127bc612d26565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561282a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282190615394565b60405180910390fd5b8060056000612837612d26565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166128e4612d26565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129299190615217565b60405180910390a35050565b612946612940612d26565b83612f35565b612985576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297c90615594565b60405180910390fd5b61299184848484613686565b50505050565b60166020528060005260406000206000915090505481565b601781815481106129bf57600080fd5b90600052602060002090600702016000915090508060000154908060010154908060020154908060030154908060040154908060050160009054906101000a900460ff16908060050160019054906101000a900460ff16908060060154905088565b60126020528060005260406000206000915054906101000a900460ff1681565b6060612a4c82612e10565b612a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a82906154f4565b60405180910390fd5b6000612a956132a3565b90506000815111612ab55760405180602001604052806000815250612ae0565b80612abf846136e2565b604051602001612ad092919061518c565b6040516020818303038152906040525b915050919050565b612af0612d26565b73ffffffffffffffffffffffffffffffffffffffff16612b0e612423565b73ffffffffffffffffffffffffffffffffffffffff1614612b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5b906154b4565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60115481565b600e60009054906101000a900460ff1681565b612c36612d26565b73ffffffffffffffffffffffffffffffffffffffff16612c54612423565b73ffffffffffffffffffffffffffffffffffffffff1614612caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca1906154b4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d11906152f4565b60405180910390fd5b612d2381613335565b50565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612df957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612e095750612e088261388f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612eef83611fe0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612f4082612e10565b612f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f76906153d4565b60405180910390fd5b6000612f8a83611fe0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ff957508373ffffffffffffffffffffffffffffffffffffffff16612fe184610bad565b73ffffffffffffffffffffffffffffffffffffffff16145b8061300a57506130098185612b81565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661303382611fe0565b73ffffffffffffffffffffffffffffffffffffffff1614613089576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613080906154d4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f090615374565b60405180910390fd5b6131048383836138f9565b61310f600082612e7c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461315f919061588b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131b691906157aa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818361327d9190615831565b905092915050565b61329f828260405180602001604052806000815250613a0d565b5050565b6060600d80546132b290615975565b80601f01602080910402602001604051908101604052809291908181526020018280546132de90615975565b801561332b5780601f106133005761010080835404028352916020019161332b565b820191906000526020600020905b81548152906001019060200180831161330e57829003601f168201915b5050505050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000805b825181101561346c5783838281518110613442577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101511415613459578091505061346e565b8080613464906159a7565b9150506133ff565b505b92915050565b60008190505b6001601360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506134c9919061588b565b8110156135f657601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060018261351c91906157aa565b81548110613553577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154601360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106135d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555080806135ee906159a7565b91505061347a565b50601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548061366c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590555050565b613691848484613013565b61369d84848484613a68565b6136dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d3906152d4565b60405180910390fd5b50505050565b6060600082141561372a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061388a565b600082905060005b6000821461375c578080613745906159a7565b915050600a826137559190615800565b9150613732565b60008167ffffffffffffffff81111561379e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156137d05781602001600182028036833780820191505090505b5090505b60008514613883576001826137e9919061588b565b9150600a856137f891906159f0565b603061380491906157aa565b60f81b818381518110613840577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561387c9190615800565b94506137d4565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613904838383613bff565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139475761394281613c04565b613986565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613985576139848382613c4d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139c9576139c481613dba565b613a08565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613a0757613a068282613efd565b5b5b505050565b613a178383613f7c565b613a246000848484613a68565b613a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a5a906152d4565b60405180910390fd5b505050565b6000613a898473ffffffffffffffffffffffffffffffffffffffff1661414a565b15613bf2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613ab2612d26565b8786866040518563ffffffff1660e01b8152600401613ad494939291906151cb565b602060405180830381600087803b158015613aee57600080fd5b505af1925050508015613b1f57506040513d601f19601f82011682018060405250810190613b1c9190614509565b60015b613ba2573d8060008114613b4f576040519150601f19603f3d011682016040523d82523d6000602084013e613b54565b606091505b50600081511415613b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b91906152d4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613bf7565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613c5a846120d2565b613c64919061588b565b9050600060076000848152602001908152602001600020549050818114613d49576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613dce919061588b565b9050600060096000848152602001908152602001600020549050600060088381548110613e24577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613e6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613ee1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613f08836120d2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fe390615454565b60405180910390fd5b613ff581612e10565b15614035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161402c90615314565b60405180910390fd5b614041600083836138f9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461409191906157aa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461416990615975565b90600052602060002090601f01602090048101928261418b57600085556141d2565b82601f106141a457805160ff19168380011785556141d2565b828001600101855582156141d2579182015b828111156141d15782518255916020019190600101906141b6565b5b5090506141df91906141e3565b5090565b5b808211156141fc5760008160009055506001016141e4565b5090565b600061421361420e84615707565b6156d6565b90508281526020810184848401111561422b57600080fd5b614236848285615933565b509392505050565b600061425161424c84615737565b6156d6565b90508281526020810184848401111561426957600080fd5b614274848285615933565b509392505050565b60008135905061428b81615aee565b92915050565b6000813590506142a081615b05565b92915050565b6000813590506142b581615b1c565b92915050565b6000815190506142ca81615b1c565b92915050565b600082601f8301126142e157600080fd5b81356142f1848260208601614200565b91505092915050565b600082601f83011261430b57600080fd5b813561431b84826020860161423e565b91505092915050565b60008135905061433381615b33565b92915050565b60006020828403121561434b57600080fd5b60006143598482850161427c565b91505092915050565b6000806040838503121561437557600080fd5b60006143838582860161427c565b92505060206143948582860161427c565b9150509250929050565b6000806000606084860312156143b357600080fd5b60006143c18682870161427c565b93505060206143d28682870161427c565b92505060406143e386828701614324565b9150509250925092565b6000806000806080858703121561440357600080fd5b60006144118782880161427c565b94505060206144228782880161427c565b935050604061443387828801614324565b925050606085013567ffffffffffffffff81111561445057600080fd5b61445c878288016142d0565b91505092959194509250565b6000806040838503121561447b57600080fd5b60006144898582860161427c565b925050602061449a85828601614291565b9150509250929050565b600080604083850312156144b757600080fd5b60006144c58582860161427c565b92505060206144d685828601614324565b9150509250929050565b6000602082840312156144f257600080fd5b6000614500848285016142a6565b91505092915050565b60006020828403121561451b57600080fd5b6000614529848285016142bb565b91505092915050565b60006020828403121561454457600080fd5b600082013567ffffffffffffffff81111561455e57600080fd5b61456a848285016142fa565b91505092915050565b60006020828403121561458557600080fd5b600061459384828501614324565b91505092915050565b600080604083850312156145af57600080fd5b60006145bd85828601614324565b92505060206145ce85828601614324565b9150509250929050565b600080600080600080600060e0888a0312156145f357600080fd5b60006146018a828b01614324565b97505060206146128a828b01614324565b96505060406146238a828b01614324565b95505060606146348a828b01614324565b94505060806146458a828b01614291565b93505060a06146568a828b01614291565b92505060c06146678a828b01614324565b91505092959891949750929550565b600080600080600080600080610100898b03121561469357600080fd5b60006146a18b828c01614324565b98505060206146b28b828c01614324565b97505060406146c38b828c01614324565b96505060606146d48b828c01614324565b95505060806146e58b828c01614324565b94505060a06146f68b828c01614291565b93505060c06147078b828c01614291565b92505060e06147188b828c01614324565b9150509295985092959890939650565b614731816158bf565b82525050565b614740816158d1565b82525050565b600061475182615767565b61475b818561577d565b935061476b818560208601615942565b61477481615add565b840191505092915050565b600061478a82615772565b614794818561578e565b93506147a4818560208601615942565b6147ad81615add565b840191505092915050565b60006147c382615772565b6147cd818561579f565b93506147dd818560208601615942565b80840191505092915050565b60006147f660148361578e565b91507f546f6b656e20616c7265616479206d696e7465640000000000000000000000006000830152602082019050919050565b600061483660188361578e565b91507f43617465676f727920616c7265616479204578706972656400000000000000006000830152602082019050919050565b6000614876602b8361578e565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006148dc60158361578e565b91507f5465616d206d696e7420696e2070726f677265737300000000000000000000006000830152602082019050919050565b600061491c60328361578e565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061498260268361578e565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149e8601c8361578e565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000614a2860168361578e565b91507f546f6b656e20616c7265616479207265736572766564000000000000000000006000830152602082019050919050565b6000614a6860188361578e565b91507f4f766572204d61782063617465676f727920746f6b656e7300000000000000006000830152602082019050919050565b6000614aa860248361578e565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b0e60198361578e565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614b4e60168361578e565b91507f4f766572204d61782057616c6c657420746f6b656e73000000000000000000006000830152602082019050919050565b6000614b8e602c8361578e565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614bf460388361578e565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614c5a602a8361578e565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614cc060298361578e565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614d2660208361578e565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614d66600e8361578e565b91507f4e6f7420656e6f756768204554480000000000000000000000000000000000006000830152602082019050919050565b6000614da6602c8361578e565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614e0c60208361578e565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614e4c60298361578e565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614eb2602f8361578e565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614f1860138361578e565b91507f43617465676f7279206e6f7420416374697665000000000000000000000000006000830152602082019050919050565b6000614f5860218361578e565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614fbe60128361578e565b91507f41646d696e204d696e74696e6720446f6e6500000000000000000000000000006000830152602082019050919050565b6000614ffe60158361578e565b91507f546f6b656e206973206e6f7420726573657276656400000000000000000000006000830152602082019050919050565b600061503e60318361578e565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006150a4602c8361578e565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b600061510a60138361578e565b91507f43617465676f72792069732070726976617465000000000000000000000000006000830152602082019050919050565b600061514a60188361578e565b91507f4f766572204d61782077616c6c65742063617465676f727900000000000000006000830152602082019050919050565b61518681615929565b82525050565b600061519882856147b8565b91506151a482846147b8565b91508190509392505050565b60006020820190506151c56000830184614728565b92915050565b60006080820190506151e06000830187614728565b6151ed6020830186614728565b6151fa604083018561517d565b818103606083015261520c8184614746565b905095945050505050565b600060208201905061522c6000830184614737565b92915050565b6000602082019050818103600083015261524c818461477f565b905092915050565b6000602082019050818103600083015261526d816147e9565b9050919050565b6000602082019050818103600083015261528d81614829565b9050919050565b600060208201905081810360008301526152ad81614869565b9050919050565b600060208201905081810360008301526152cd816148cf565b9050919050565b600060208201905081810360008301526152ed8161490f565b9050919050565b6000602082019050818103600083015261530d81614975565b9050919050565b6000602082019050818103600083015261532d816149db565b9050919050565b6000602082019050818103600083015261534d81614a1b565b9050919050565b6000602082019050818103600083015261536d81614a5b565b9050919050565b6000602082019050818103600083015261538d81614a9b565b9050919050565b600060208201905081810360008301526153ad81614b01565b9050919050565b600060208201905081810360008301526153cd81614b41565b9050919050565b600060208201905081810360008301526153ed81614b81565b9050919050565b6000602082019050818103600083015261540d81614be7565b9050919050565b6000602082019050818103600083015261542d81614c4d565b9050919050565b6000602082019050818103600083015261544d81614cb3565b9050919050565b6000602082019050818103600083015261546d81614d19565b9050919050565b6000602082019050818103600083015261548d81614d59565b9050919050565b600060208201905081810360008301526154ad81614d99565b9050919050565b600060208201905081810360008301526154cd81614dff565b9050919050565b600060208201905081810360008301526154ed81614e3f565b9050919050565b6000602082019050818103600083015261550d81614ea5565b9050919050565b6000602082019050818103600083015261552d81614f0b565b9050919050565b6000602082019050818103600083015261554d81614f4b565b9050919050565b6000602082019050818103600083015261556d81614fb1565b9050919050565b6000602082019050818103600083015261558d81614ff1565b9050919050565b600060208201905081810360008301526155ad81615031565b9050919050565b600060208201905081810360008301526155cd81615097565b9050919050565b600060208201905081810360008301526155ed816150fd565b9050919050565b6000602082019050818103600083015261560d8161513d565b9050919050565b6000602082019050615629600083018461517d565b92915050565b6000604082019050615644600083018561517d565b615651602083018461517d565b9392505050565b60006101008201905061566e600083018b61517d565b61567b602083018a61517d565b615688604083018961517d565b615695606083018861517d565b6156a2608083018761517d565b6156af60a0830186614737565b6156bc60c0830185614737565b6156c960e083018461517d565b9998505050505050505050565b6000604051905081810181811067ffffffffffffffff821117156156fd576156fc615aae565b5b8060405250919050565b600067ffffffffffffffff82111561572257615721615aae565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561575257615751615aae565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006157b582615929565b91506157c083615929565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156157f5576157f4615a21565b5b828201905092915050565b600061580b82615929565b915061581683615929565b92508261582657615825615a50565b5b828204905092915050565b600061583c82615929565b915061584783615929565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156158805761587f615a21565b5b828202905092915050565b600061589682615929565b91506158a183615929565b9250828210156158b4576158b3615a21565b5b828203905092915050565b60006158ca82615909565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615960578082015181840152602081019050615945565b8381111561596f576000848401525b50505050565b6000600282049050600182168061598d57607f821691505b602082108114156159a1576159a0615a7f565b5b50919050565b60006159b282615929565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156159e5576159e4615a21565b5b600182019050919050565b60006159fb82615929565b9150615a0683615929565b925082615a1657615a15615a50565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b615af7816158bf565b8114615b0257600080fd5b50565b615b0e816158d1565b8114615b1957600080fd5b50565b615b25816158dd565b8114615b3057600080fd5b50565b615b3c81615929565b8114615b4757600080fd5b5056fea2646970667358221220d49c8bbc3d637af15d0ae0dd5281985ced24af926b949c841831bc692eba268f64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000008476f6f20476f6f730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004474c474700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005668747470733a2f2f6761636879696c616e642e6d7970696e6174612e636c6f75642f697066732f516d51726f347a6f45416b4a58335a395657417639504b6b355247326b624b7a4e75576871484e474c3936686b392f00000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Goo Goos
Arg [1] : symbol (string): GLGG
Arg [2] : _maxTokenPerUser (uint256): 50
Arg [3] : baseTokenURI_ (string): https://gachyiland.mypinata.cloud/ipfs/QmQro4zoEAkJX3Z9VWAv9PKk5RG2kbKzNuWhqHNGL96hk9/
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [5] : 476f6f20476f6f73000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 474c474700000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000056
Arg [9] : 68747470733a2f2f6761636879696c616e642e6d7970696e6174612e636c6f75
Arg [10] : 642f697066732f516d51726f347a6f45416b4a58335a395657417639504b6b35
Arg [11] : 5247326b624b7a4e75576871484e474c3936686b392f00000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 24 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
MATIC | Polygon (MATIC) | 100.00% | $0.997023 | 0.046 | $0.045863 |
[ 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.