Feature Tip: Add private address tag to any address under My Name Tag !
NFT
Overview
TokenID
28000168
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BrainDrops
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 // contracts/ERC721.sol pragma solidity >=0.6.2; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; interface Randomizer { function random() external view returns(uint32); } contract BrainDrops is ERC721Enumerable, Ownable { using SafeMath for uint256; constructor(address _randomizerContract) ERC721("BrainDrops", "BRAIN") { isWhitelisted[msg.sender] = true; randomizerContract = Randomizer(_randomizerContract); } Randomizer public randomizerContract; event Mint( address indexed _to, uint256 indexed _tokenId, uint256 indexed _projectId ); struct Project { string name; string artist; string description; string website; string license; string projectBaseURI; uint256 invocations; uint256 maxInvocations; bool active; bool locked; bool paused; } function projectDetails(uint256 _projectId) view public returns (string memory projectName, string memory artist, string memory description, string memory website, string memory license, uint256 invocations, uint256 maxInvocations) { projectName = projects[_projectId].name; artist = projects[_projectId].artist; description = projects[_projectId].description; website = projects[_projectId].website; license = projects[_projectId].license; invocations = projects[_projectId].invocations; maxInvocations = projects[_projectId].maxInvocations; } function updateProjectArtistName(uint256 _projectId, string memory _projectArtistName) onlyUnlocked(_projectId) onlyArtistOrWhitelisted(_projectId) public { projects[_projectId].artist = _projectArtistName; } function updateProjectDescription(uint256 _projectId, string memory _projectDescription) onlyArtist(_projectId) public { projects[_projectId].description = _projectDescription; } function updateProjectWebsite(uint256 _projectId, string memory _projectWebsite) onlyArtist(_projectId) public { projects[_projectId].website = _projectWebsite; } function updateProjectLicense(uint256 _projectId, string memory _projectLicense) onlyUnlocked(_projectId) onlyArtistOrWhitelisted(_projectId) public { projects[_projectId].license = _projectLicense; } function updateProjectBaseURI(uint256 _projectId, string memory _projectBaseURI) onlyUnlocked(_projectId) onlyArtistOrWhitelisted(_projectId) public { projectIdToBaseURI[_projectId] = _projectBaseURI; } function updateProjectPricePerTokenInWei(uint256 _projectId, uint256 _pricePerTokenInWei) onlyUnlocked(_projectId) onlyArtistOrWhitelisted(_projectId) public { projectIdToPricePerTokenInWei[_projectId] = _pricePerTokenInWei; } uint256 constant ONE_MILLION = 1_000_000; mapping(uint256 => Project) projects; mapping(uint256 => address) public projectIdToArtistAddress; mapping(uint256 => string) public projectIdToCurrencySymbol; mapping(uint256 => address) public projectIdToCurrencyAddress; mapping(uint256 => uint256) public projectIdToPricePerTokenInWei; mapping(uint256 => address) public projectIdToAdditionalPayee; mapping(uint256 => uint256) public projectIdToAdditionalPayeePercentage; mapping(uint256 => uint256) public projectIdToSecondaryMarketRoyaltyPercentage; mapping(uint256 => string) public projectIdToProvenanceHash; // arweave mapping(uint256 => string) public projectIdToBaseURI; mapping(uint256 => uint256) public projectIdToStartingIndex; mapping(uint256 => string) public staticIpfsImageLink; mapping(uint256 => uint256) public tokenIdToProjectId; mapping(uint256 => uint256[]) internal projectIdToTokenIds; mapping(address => bool) public isWhitelisted; uint256 public nextProjectId = 1; modifier onlyUnlocked(uint256 _projectId) { require(!projects[_projectId].locked, "Only unlocked"); _; } modifier onlyArtist(uint256 _projectId) { require(msg.sender == projectIdToArtistAddress[_projectId], "Only artist"); _; } modifier onlyWhitelisted() { require(isWhitelisted[msg.sender], "Only whitelisted"); _; } modifier onlyArtistOrWhitelisted(uint256 _projectId) { require(isWhitelisted[msg.sender] || msg.sender == projectIdToArtistAddress[_projectId], "Only artist or whitelisted"); _; } function updateRandomizerAddress(address _randomizerAddress) public onlyWhitelisted { randomizerContract = Randomizer(_randomizerAddress); } function addWhitelisted(address _address) public onlyOwner { isWhitelisted[_address] = true; } function removeWhitelisted(address _address) public onlyOwner { isWhitelisted[_address] = false; } function setProjectStartingIndex(uint256 _projectId) public { require(projectIdToStartingIndex[_projectId] == 0, "Starting index is already set"); projectIdToStartingIndex[_projectId] = uint(block.number.mul(randomizerContract.random())) % projects[_projectId].maxInvocations; if (projectIdToStartingIndex[_projectId] == 0) { projectIdToStartingIndex[_projectId] = projectIdToStartingIndex[_projectId].add(1); } } function addProject(string memory _projectName, string memory _projectBaseURI, address _artistAddress, uint256 _pricePerTokenInWei, uint _maxAmount) public onlyWhitelisted { uint256 projectId = nextProjectId; projectIdToArtistAddress[projectId] = _artistAddress; projects[projectId].name = _projectName; projectIdToBaseURI[projectId] = _projectBaseURI; projectIdToCurrencySymbol[projectId] = "ETH"; projectIdToPricePerTokenInWei[projectId] = _pricePerTokenInWei; projects[projectId].paused=true; projects[projectId].maxInvocations = _maxAmount; nextProjectId = nextProjectId.add(1); } function toggleProjectIsLocked(uint256 _projectId) public onlyWhitelisted onlyUnlocked(_projectId) { projects[_projectId].locked = true; } function toggleProjectIsActive(uint256 _projectId) public onlyWhitelisted { projects[_projectId].active = !projects[_projectId].active; } function toggleProjectIsPaused(uint256 _projectId) public onlyArtist(_projectId) { projects[_projectId].paused = !projects[_projectId].paused; } function setProvenanceHash(uint256 _projectId, string memory provenanceHash) public onlyArtist(_projectId) onlyUnlocked(_projectId) { projectIdToProvenanceHash[_projectId] = provenanceHash; } function mint(address recipient, uint _projectId) public payable returns (uint256) { require(projects[_projectId].invocations.add(1) <= projects[_projectId].maxInvocations, "Must not exceed max invocations"); require(projects[_projectId].active || msg.sender == projectIdToArtistAddress[_projectId], "Project must exist and be active"); require(!projects[_projectId].paused || msg.sender == projectIdToArtistAddress[_projectId], "Purchases are paused."); require(projectIdToPricePerTokenInWei[_projectId] <= msg.value, "Ether value sent is not correct"); if (projectIdToStartingIndex[_projectId] == 0) { setProjectStartingIndex(_projectId); } uint tokenIdToBe = ((projects[_projectId].invocations + projectIdToStartingIndex[_projectId]) % projects[_projectId].maxInvocations) + (_projectId * ONE_MILLION); projects[_projectId].invocations = projects[_projectId].invocations.add(1); _mint(recipient, tokenIdToBe); tokenIdToProjectId[tokenIdToBe] = _projectId; projectIdToTokenIds[_projectId].push(tokenIdToBe); emit Mint(recipient, tokenIdToBe, _projectId); return tokenIdToBe; } function tokenURI(uint _tokenId) public view override returns(string memory) { uint projectId = tokenIdToProjectId[_tokenId]; return string(abi.encodePacked(projectIdToBaseURI[projectId], toString(_tokenId))); } function toString(uint256 value) internal pure returns (string memory) { 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); } function withdraw() public onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _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; // 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; 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 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; /** * @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":"address","name":"_randomizerContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_projectId","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"string","name":"_projectName","type":"string"},{"internalType":"string","name":"_projectBaseURI","type":"string"},{"internalType":"address","name":"_artistAddress","type":"address"},{"internalType":"uint256","name":"_pricePerTokenInWei","type":"uint256"},{"internalType":"uint256","name":"_maxAmount","type":"uint256"}],"name":"addProject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextProjectId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"projectDetails","outputs":[{"internalType":"string","name":"projectName","type":"string"},{"internalType":"string","name":"artist","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"website","type":"string"},{"internalType":"string","name":"license","type":"string"},{"internalType":"uint256","name":"invocations","type":"uint256"},{"internalType":"uint256","name":"maxInvocations","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToAdditionalPayee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToAdditionalPayeePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToArtistAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToCurrencyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToCurrencySymbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToPricePerTokenInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToProvenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToSecondaryMarketRoyaltyPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToStartingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomizerContract","outputs":[{"internalType":"contract Randomizer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"setProjectStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"staticIpfsImageLink","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"toggleProjectIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"toggleProjectIsLocked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"toggleProjectIsPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToProjectId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_projectArtistName","type":"string"}],"name":"updateProjectArtistName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_projectBaseURI","type":"string"}],"name":"updateProjectBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_projectDescription","type":"string"}],"name":"updateProjectDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_projectLicense","type":"string"}],"name":"updateProjectLicense","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"uint256","name":"_pricePerTokenInWei","type":"uint256"}],"name":"updateProjectPricePerTokenInWei","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_projectWebsite","type":"string"}],"name":"updateProjectWebsite","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_randomizerAddress","type":"address"}],"name":"updateRandomizerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526001601b553480156200001657600080fd5b506040516200641f3803806200641f83398181016040528101906200003c919062000331565b6040518060400160405280600a81526020017f427261696e44726f7073000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f425241494e0000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c09291906200026a565b508060019080519060200190620000d99291906200026a565b505050620000fc620000f06200019c60201b60201c565b620001a460201b60201c565b6001601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000410565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002789062000391565b90600052602060002090601f0160209004810192826200029c5760008555620002e8565b82601f10620002b757805160ff1916838001178555620002e8565b82800160010185558215620002e8579182015b82811115620002e7578251825591602001919060010190620002ca565b5b509050620002f79190620002fb565b5090565b5b8082111562000316576000816000905550600101620002fc565b5090565b6000815190506200032b81620003f6565b92915050565b6000602082840312156200034457600080fd5b600062000354848285016200031a565b91505092915050565b60006200036a8262000371565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620003aa57607f821691505b60208210811415620003c157620003c0620003c7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b62000401816200035d565b81146200040d57600080fd5b50565b615fff80620004206000396000f3fe6080604052600436106102ff5760003560e01c8063513d77e411610190578063a3b2cca6116100dc578063d03c390c11610095578063e985e9c51161006f578063e985e9c514610c25578063ed8abfda14610c62578063f2fde38b14610c9f578063f70c0f0414610cc8576102ff565b8063d03c390c14610b94578063d7b044b614610bbd578063e935b7b114610bfa576102ff565b8063a3b2cca614610a62578063a47d29cb14610a8b578063b7b04fae14610ac8578063b88d4fde14610af1578063c87b56dd14610b1a578063cc74234b14610b57576102ff565b80638ba8f14d1161014957806395d89b411161012357806395d89b41146109bc57806397dc86cf146109e7578063a11ec70a14610a10578063a22cb46514610a39576102ff565b80638ba8f14d146109255780638da5cb5b1461094e5780638dd91a5614610979576102ff565b8063513d77e4146107f15780636352211e1461082e5780636c907b7f1461086b57806370a0823114610894578063715018a6146108d15780638622454b146108e8576102ff565b8063261eb4e51161024f5780633af32abf1161020857806340c10f19116101e257806340c10f191461071e57806342842e0e1461074e578063498dd0c1146107775780634f6ccce7146107b4576102ff565b80633af32abf146106a15780633ccfd60b146106de5780633e48e848146106f5576102ff565b8063261eb4e514610581578063291d9549146105be5780632f745c59146105e757806336c7c12c14610624578063378599631461064f578063382e2d3e14610678576102ff565b806310154bad116102bc5780631b689c0b116102965780631b689c0b146104b557806320927ec9146104f257806323b872dd1461052f57806325b75d6814610558576102ff565b806310154bad14610424578063172fb9a11461044d57806318160ddd1461048a576102ff565b806301ea47941461030457806301ffc9a71461032d57806306fdde031461036a578063081812fc14610395578063092114a0146103d2578063095ea7b3146103fb575b600080fd5b34801561031057600080fd5b5061032b60048036038101906103269190614ba0565b610d05565b005b34801561033957600080fd5b50610354600480360381019061034f9190614a7e565b610e3a565b60405161036191906156b0565b60405180910390f35b34801561037657600080fd5b5061037f610eb4565b60405161038c91906156e6565b60405180910390f35b3480156103a157600080fd5b506103bc60048036038101906103b79190614b77565b610f46565b6040516103c99190615649565b60405180910390f35b3480156103de57600080fd5b506103f960048036038101906103f49190614b77565b610fcb565b005b34801561040757600080fd5b50610422600480360381019061041d9190614a42565b61116f565b005b34801561043057600080fd5b5061044b600480360381019061044691906148d7565b611287565b005b34801561045957600080fd5b50610474600480360381019061046f9190614b77565b61135e565b6040516104819190615ada565b60405180910390f35b34801561049657600080fd5b5061049f611376565b6040516104ac9190615ada565b60405180910390f35b3480156104c157600080fd5b506104dc60048036038101906104d79190614b77565b611383565b6040516104e99190615ada565b60405180910390f35b3480156104fe57600080fd5b5061051960048036038101906105149190614b77565b61139b565b60405161052691906156e6565b60405180910390f35b34801561053b57600080fd5b506105566004803603810190610551919061493c565b61143b565b005b34801561056457600080fd5b5061057f600480360381019061057a9190614ba0565b61149b565b005b34801561058d57600080fd5b506105a860048036038101906105a39190614b77565b611627565b6040516105b591906156e6565b60405180910390f35b3480156105ca57600080fd5b506105e560048036038101906105e091906148d7565b6116c7565b005b3480156105f357600080fd5b5061060e60048036038101906106099190614a42565b61179e565b60405161061b9190615ada565b60405180910390f35b34801561063057600080fd5b50610639611843565b60405161064691906156cb565b60405180910390f35b34801561065b57600080fd5b5061067660048036038101906106719190614ba0565b611869565b005b34801561068457600080fd5b5061069f600480360381019061069a9190614ad0565b61193b565b005b3480156106ad57600080fd5b506106c860048036038101906106c391906148d7565b611b56565b6040516106d591906156b0565b60405180910390f35b3480156106ea57600080fd5b506106f3611b76565b005b34801561070157600080fd5b5061071c60048036038101906107179190614ba0565b611c41565b005b61073860048036038101906107339190614a42565b611dca565b6040516107459190615ada565b60405180910390f35b34801561075a57600080fd5b506107756004803603810190610770919061493c565b6121c5565b005b34801561078357600080fd5b5061079e60048036038101906107999190614b77565b6121e5565b6040516107ab9190615649565b60405180910390f35b3480156107c057600080fd5b506107db60048036038101906107d69190614b77565b612218565b6040516107e89190615ada565b60405180910390f35b3480156107fd57600080fd5b5061081860048036038101906108139190614b77565b6122af565b60405161082591906156e6565b60405180910390f35b34801561083a57600080fd5b5061085560048036038101906108509190614b77565b61234f565b6040516108629190615649565b60405180910390f35b34801561087757600080fd5b50610892600480360381019061088d91906148d7565b612401565b005b3480156108a057600080fd5b506108bb60048036038101906108b691906148d7565b6124d1565b6040516108c89190615ada565b60405180910390f35b3480156108dd57600080fd5b506108e6612589565b005b3480156108f457600080fd5b5061090f600480360381019061090a9190614b77565b612611565b60405161091c91906156e6565b60405180910390f35b34801561093157600080fd5b5061094c60048036038101906109479190614b77565b6126b1565b005b34801561095a57600080fd5b506109636127d5565b6040516109709190615649565b60405180910390f35b34801561098557600080fd5b506109a0600480360381019061099b9190614b77565b6127ff565b6040516109b39796959493929190615708565b60405180910390f35b3480156109c857600080fd5b506109d1612b6c565b6040516109de91906156e6565b60405180910390f35b3480156109f357600080fd5b50610a0e6004803603810190610a099190614bf4565b612bfe565b005b348015610a1c57600080fd5b50610a376004803603810190610a329190614b77565b612d77565b005b348015610a4557600080fd5b50610a606004803603810190610a5b9190614a06565b612e6f565b005b348015610a6e57600080fd5b50610a896004803603810190610a849190614ba0565b612ff0565b005b348015610a9757600080fd5b50610ab26004803603810190610aad9190614b77565b6130c2565b604051610abf9190615649565b60405180910390f35b348015610ad457600080fd5b50610aef6004803603810190610aea9190614ba0565b6130f5565b005b348015610afd57600080fd5b50610b186004803603810190610b13919061498b565b613281565b005b348015610b2657600080fd5b50610b416004803603810190610b3c9190614b77565b6132e3565b604051610b4e91906156e6565b60405180910390f35b348015610b6357600080fd5b50610b7e6004803603810190610b799190614b77565b613341565b604051610b8b9190615ada565b60405180910390f35b348015610ba057600080fd5b50610bbb6004803603810190610bb69190614b77565b613359565b005b348015610bc957600080fd5b50610be46004803603810190610bdf9190614b77565b61343a565b604051610bf19190615649565b60405180910390f35b348015610c0657600080fd5b50610c0f61346d565b604051610c1c9190615ada565b60405180910390f35b348015610c3157600080fd5b50610c4c6004803603810190610c479190614900565b613473565b604051610c5991906156b0565b60405180910390f35b348015610c6e57600080fd5b50610c896004803603810190610c849190614b77565b613507565b604051610c969190615ada565b60405180910390f35b348015610cab57600080fd5b50610cc66004803603810190610cc191906148d7565b61351f565b005b348015610cd457600080fd5b50610cef6004803603810190610cea9190614b77565b613617565b604051610cfc9190615ada565b60405180910390f35b81600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e906157fa565b60405180910390fd5b82600c600082815260200190815260200160002060080160019054906101000a900460ff1615610e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0390615aba565b60405180910390fd5b82601460008681526020019081526020016000209080519060200190610e339291906146e6565b5050505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ead5750610eac8261362f565b5b9050919050565b606060008054610ec390615ddd565b80601f0160208091040260200160405190810160405280929190818152602001828054610eef90615ddd565b8015610f3c5780601f10610f1157610100808354040283529160200191610f3c565b820191906000526020600020905b815481529060010190602001808311610f1f57829003601f168201915b5050505050905090565b6000610f5182613711565b610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f879061599a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000601660008381526020019081526020016000205414611021576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611018906158fa565b60405180910390fd5b600c6000828152602001908152602001600020600701546110f0600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635ec01e4d6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110a357600080fd5b505afa1580156110b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110db9190614c30565b63ffffffff164361377d90919063ffffffff16565b6110fa9190615e58565b601660008381526020019081526020016000208190555060006016600083815260200190815260200160002054141561116c576111546001601660008481526020019081526020016000205461379390919063ffffffff16565b60166000838152602001908152602001600020819055505b50565b600061117a8261234f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e2906159fa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661120a6137a9565b73ffffffffffffffffffffffffffffffffffffffff1614806112395750611238816112336137a9565b613473565b5b611278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126f9061591a565b60405180910390fd5b61128283836137b1565b505050565b61128f6137a9565b73ffffffffffffffffffffffffffffffffffffffff166112ad6127d5565b73ffffffffffffffffffffffffffffffffffffffff1614611303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fa906159ba565b60405180910390fd5b6001601a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60166020528060005260406000206000915090505481565b6000600880549050905090565b60186020528060005260406000206000915090505481565b600e60205280600052604060002060009150905080546113ba90615ddd565b80601f01602080910402602001604051908101604052809291908181526020018280546113e690615ddd565b80156114335780601f1061140857610100808354040283529160200191611433565b820191906000526020600020905b81548152906001019060200180831161141657829003601f168201915b505050505081565b61144c6114466137a9565b8261386a565b61148b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148290615a5a565b60405180910390fd5b611496838383613948565b505050565b81600c600082815260200190815260200160002060080160019054906101000a900460ff1615611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f790615aba565b60405180910390fd5b82601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806115b75750600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed9061579a565b60405180910390fd5b82600c600086815260200190815260200160002060040190805190602001906116209291906146e6565b5050505050565b6017602052806000526040600020600091509050805461164690615ddd565b80601f016020809104026020016040519081016040528092919081815260200182805461167290615ddd565b80156116bf5780601f10611694576101008083540402835291602001916116bf565b820191906000526020600020905b8154815290600101906020018083116116a257829003601f168201915b505050505081565b6116cf6137a9565b73ffffffffffffffffffffffffffffffffffffffff166116ed6127d5565b73ffffffffffffffffffffffffffffffffffffffff1614611743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173a906159ba565b60405180910390fd5b6000601a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006117a9836124d1565b82106117ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e1906157ba565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b81600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461190b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611902906157fa565b60405180910390fd5b81600c600085815260200190815260200160002060030190805190602001906119359291906146e6565b50505050565b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166119c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119be90615a9a565b60405180910390fd5b6000601b54905083600d600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085600c60008381526020019081526020016000206000019080519060200190611a4a9291906146e6565b5084601560008381526020019081526020016000209080519060200190611a729291906146e6565b506040518060400160405280600381526020017f4554480000000000000000000000000000000000000000000000000000000000815250600e60008381526020019081526020016000209080519060200190611acf9291906146e6565b508260106000838152602001908152602001600020819055506001600c600083815260200190815260200160002060080160026101000a81548160ff02191690831515021790555081600c600083815260200190815260200160002060070181905550611b486001601b5461379390919063ffffffff16565b601b81905550505050505050565b601a6020528060005260406000206000915054906101000a900460ff1681565b611b7e6137a9565b73ffffffffffffffffffffffffffffffffffffffff16611b9c6127d5565b73ffffffffffffffffffffffffffffffffffffffff1614611bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be9906159ba565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c3d573d6000803e3d6000fd5b5050565b81600c600082815260200190815260200160002060080160019054906101000a900460ff1615611ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9d90615aba565b60405180910390fd5b82601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611d5d5750600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d939061579a565b60405180910390fd5b82601560008681526020019081526020016000209080519060200190611dc39291906146e6565b5050505050565b6000600c600083815260200190815260200160002060070154611e0d6001600c60008681526020019081526020016000206006015461379390919063ffffffff16565b1115611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4590615a1a565b60405180910390fd5b600c600083815260200190815260200160002060080160009054906101000a900460ff1680611edb5750600d600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611f1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1190615a3a565b60405180910390fd5b600c600083815260200190815260200160002060080160029054906101000a900460ff161580611fa85750600d600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fde906158da565b60405180910390fd5b346010600084815260200190815260200160002054111561203d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120349061589a565b60405180910390fd5b6000601660008481526020019081526020016000205414156120635761206282610fcb565b5b6000620f4240836120749190615c65565b600c6000858152602001908152602001600020600701546016600086815260200190815260200160002054600c6000878152602001908152602001600020600601546120c09190615bde565b6120ca9190615e58565b6120d49190615bde565b90506121006001600c60008681526020019081526020016000206006015461379390919063ffffffff16565b600c6000858152602001908152602001600020600601819055506121248482613ba4565b8260186000838152602001908152602001600020819055506019600084815260200190815260200160002081908060018154018082558091505060019003906000526020600020016000909190919091505582818573ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f60405160405180910390a48091505092915050565b6121e083838360405180602001604052806000815250613281565b505050565b600f6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000612222611376565b8210612263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225a90615a7a565b60405180910390fd5b6008828154811061229d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601460205280600052604060002060009150905080546122ce90615ddd565b80601f01602080910402602001604051908101604052809291908181526020018280546122fa90615ddd565b80156123475780601f1061231c57610100808354040283529160200191612347565b820191906000526020600020905b81548152906001019060200180831161232a57829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ef9061595a565b60405180910390fd5b80915050919050565b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661248d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248490615a9a565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612542576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125399061593a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6125916137a9565b73ffffffffffffffffffffffffffffffffffffffff166125af6127d5565b73ffffffffffffffffffffffffffffffffffffffff1614612605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fc906159ba565b60405180910390fd5b61260f6000613d72565b565b6015602052806000526040600020600091509050805461263090615ddd565b80601f016020809104026020016040519081016040528092919081815260200182805461265c90615ddd565b80156126a95780601f1061267e576101008083540402835291602001916126a9565b820191906000526020600020905b81548152906001019060200180831161268c57829003601f168201915b505050505081565b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661273d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273490615a9a565b60405180910390fd5b80600c600082815260200190815260200160002060080160019054906101000a900460ff16156127a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279990615aba565b60405180910390fd5b6001600c600084815260200190815260200160002060080160016101000a81548160ff0219169083151502179055505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060806060806060600080600c6000898152602001908152602001600020600001805461282b90615ddd565b80601f016020809104026020016040519081016040528092919081815260200182805461285790615ddd565b80156128a45780601f10612879576101008083540402835291602001916128a4565b820191906000526020600020905b81548152906001019060200180831161288757829003601f168201915b50505050509650600c600089815260200190815260200160002060010180546128cc90615ddd565b80601f01602080910402602001604051908101604052809291908181526020018280546128f890615ddd565b80156129455780601f1061291a57610100808354040283529160200191612945565b820191906000526020600020905b81548152906001019060200180831161292857829003601f168201915b50505050509550600c6000898152602001908152602001600020600201805461296d90615ddd565b80601f016020809104026020016040519081016040528092919081815260200182805461299990615ddd565b80156129e65780601f106129bb576101008083540402835291602001916129e6565b820191906000526020600020905b8154815290600101906020018083116129c957829003601f168201915b50505050509450600c60008981526020019081526020016000206003018054612a0e90615ddd565b80601f0160208091040260200160405190810160405280929190818152602001828054612a3a90615ddd565b8015612a875780601f10612a5c57610100808354040283529160200191612a87565b820191906000526020600020905b815481529060010190602001808311612a6a57829003601f168201915b50505050509350600c60008981526020019081526020016000206004018054612aaf90615ddd565b80601f0160208091040260200160405190810160405280929190818152602001828054612adb90615ddd565b8015612b285780601f10612afd57610100808354040283529160200191612b28565b820191906000526020600020905b815481529060010190602001808311612b0b57829003601f168201915b50505050509250600c6000898152602001908152602001600020600601549150600c6000898152602001908152602001600020600701549050919395979092949650565b606060018054612b7b90615ddd565b80601f0160208091040260200160405190810160405280929190818152602001828054612ba790615ddd565b8015612bf45780601f10612bc957610100808354040283529160200191612bf4565b820191906000526020600020905b815481529060010190602001808311612bd757829003601f168201915b5050505050905090565b81600c600082815260200190815260200160002060080160019054906101000a900460ff1615612c63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5a90615aba565b60405180910390fd5b82601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612d1a5750600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d509061579a565b60405180910390fd5b82601060008681526020019081526020016000208190555050505050565b80600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e10906157fa565b60405180910390fd5b600c600083815260200190815260200160002060080160029054906101000a900460ff1615600c600084815260200190815260200160002060080160026101000a81548160ff0219169083151502179055505050565b612e776137a9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612edc9061587a565b60405180910390fd5b8060056000612ef26137a9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612f9f6137a9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612fe491906156b0565b60405180910390a35050565b81600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613092576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613089906157fa565b60405180910390fd5b81600c600085815260200190815260200160002060020190805190602001906130bc9291906146e6565b50505050565b600d6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b81600c600082815260200190815260200160002060080160019054906101000a900460ff161561315a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315190615aba565b60405180910390fd5b82601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806132115750600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b613250576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132479061579a565b60405180910390fd5b82600c6000868152602001908152602001600020600101908051906020019061327a9291906146e6565b5050505050565b61329261328c6137a9565b8361386a565b6132d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c890615a5a565b60405180910390fd5b6132dd84848484613e38565b50505050565b60606000601860008481526020019081526020016000205490506015600082815260200190815260200160002061331984613e94565b60405160200161332a929190615625565b604051602081830303815290604052915050919050565b60126020528060005260406000206000915090505481565b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166133e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133dc90615a9a565b60405180910390fd5b600c600082815260200190815260200160002060080160009054906101000a900460ff1615600c600083815260200190815260200160002060080160006101000a81548160ff02191690831515021790555050565b60116020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601b5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60136020528060005260406000206000915090505481565b6135276137a9565b73ffffffffffffffffffffffffffffffffffffffff166135456127d5565b73ffffffffffffffffffffffffffffffffffffffff161461359b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613592906159ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561360b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136029061581a565b60405180910390fd5b61361481613d72565b50565b60106020528060005260406000206000915090505481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806136fa57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061370a575061370982614041565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000818361378b9190615c65565b905092915050565b600081836137a19190615bde565b905092915050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166138248361234f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061387582613711565b6138b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138ab906158ba565b60405180910390fd5b60006138bf8361234f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061392e57508373ffffffffffffffffffffffffffffffffffffffff1661391684610f46565b73ffffffffffffffffffffffffffffffffffffffff16145b8061393f575061393e8185613473565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166139688261234f565b73ffffffffffffffffffffffffffffffffffffffff16146139be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139b5906159da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a259061585a565b60405180910390fd5b613a398383836140ab565b613a446000826137b1565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a949190615cbf565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613aeb9190615bde565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c0b9061597a565b60405180910390fd5b613c1d81613711565b15613c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c549061583a565b60405180910390fd5b613c69600083836140ab565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613cb99190615bde565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613e43848484613948565b613e4f848484846141bf565b613e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e85906157da565b60405180910390fd5b50505050565b60606000821415613edc576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061403c565b600082905060005b60008214613f0e578080613ef790615e0f565b915050600a82613f079190615c34565b9150613ee4565b60008167ffffffffffffffff811115613f50577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613f825781602001600182028036833780820191505090505b5090505b6000851461403557600182613f9b9190615cbf565b9150600a85613faa9190615e58565b6030613fb69190615bde565b60f81b818381518110613ff2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561402e9190615c34565b9450613f86565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6140b6838383614356565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156140f9576140f48161435b565b614138565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146141375761413683826143a4565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561417b5761417681614511565b6141ba565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146141b9576141b88282614654565b5b5b505050565b60006141e08473ffffffffffffffffffffffffffffffffffffffff166146d3565b15614349578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026142096137a9565b8786866040518563ffffffff1660e01b815260040161422b9493929190615664565b602060405180830381600087803b15801561424557600080fd5b505af192505050801561427657506040513d601f19601f820116820180604052508101906142739190614aa7565b60015b6142f9573d80600081146142a6576040519150601f19603f3d011682016040523d82523d6000602084013e6142ab565b606091505b506000815114156142f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142e8906157da565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061434e565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016143b1846124d1565b6143bb9190615cbf565b90506000600760008481526020019081526020016000205490508181146144a0576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506145259190615cbf565b905060006009600084815260200190815260200160002054905060006008838154811061457b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106145c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480614638577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061465f836124d1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b8280546146f290615ddd565b90600052602060002090601f016020900481019282614714576000855561475b565b82601f1061472d57805160ff191683800117855561475b565b8280016001018555821561475b579182015b8281111561475a57825182559160200191906001019061473f565b5b509050614768919061476c565b5090565b5b8082111561478557600081600090555060010161476d565b5090565b600061479c61479784615b26565b615af5565b9050828152602081018484840111156147b457600080fd5b6147bf848285615d9b565b509392505050565b60006147da6147d584615b56565b615af5565b9050828152602081018484840111156147f257600080fd5b6147fd848285615d9b565b509392505050565b60008135905061481481615f56565b92915050565b60008135905061482981615f6d565b92915050565b60008135905061483e81615f84565b92915050565b60008151905061485381615f84565b92915050565b600082601f83011261486a57600080fd5b813561487a848260208601614789565b91505092915050565b600082601f83011261489457600080fd5b81356148a48482602086016147c7565b91505092915050565b6000813590506148bc81615f9b565b92915050565b6000815190506148d181615fb2565b92915050565b6000602082840312156148e957600080fd5b60006148f784828501614805565b91505092915050565b6000806040838503121561491357600080fd5b600061492185828601614805565b925050602061493285828601614805565b9150509250929050565b60008060006060848603121561495157600080fd5b600061495f86828701614805565b935050602061497086828701614805565b9250506040614981868287016148ad565b9150509250925092565b600080600080608085870312156149a157600080fd5b60006149af87828801614805565b94505060206149c087828801614805565b93505060406149d1878288016148ad565b925050606085013567ffffffffffffffff8111156149ee57600080fd5b6149fa87828801614859565b91505092959194509250565b60008060408385031215614a1957600080fd5b6000614a2785828601614805565b9250506020614a388582860161481a565b9150509250929050565b60008060408385031215614a5557600080fd5b6000614a6385828601614805565b9250506020614a74858286016148ad565b9150509250929050565b600060208284031215614a9057600080fd5b6000614a9e8482850161482f565b91505092915050565b600060208284031215614ab957600080fd5b6000614ac784828501614844565b91505092915050565b600080600080600060a08688031215614ae857600080fd5b600086013567ffffffffffffffff811115614b0257600080fd5b614b0e88828901614883565b955050602086013567ffffffffffffffff811115614b2b57600080fd5b614b3788828901614883565b9450506040614b4888828901614805565b9350506060614b59888289016148ad565b9250506080614b6a888289016148ad565b9150509295509295909350565b600060208284031215614b8957600080fd5b6000614b97848285016148ad565b91505092915050565b60008060408385031215614bb357600080fd5b6000614bc1858286016148ad565b925050602083013567ffffffffffffffff811115614bde57600080fd5b614bea85828601614883565b9150509250929050565b60008060408385031215614c0757600080fd5b6000614c15858286016148ad565b9250506020614c26858286016148ad565b9150509250929050565b600060208284031215614c4257600080fd5b6000614c50848285016148c2565b91505092915050565b614c6281615cf3565b82525050565b614c7181615d05565b82525050565b6000614c8282615b9b565b614c8c8185615bb1565b9350614c9c818560208601615daa565b614ca581615f45565b840191505092915050565b614cb981615d77565b82525050565b6000614cca82615ba6565b614cd48185615bc2565b9350614ce4818560208601615daa565b614ced81615f45565b840191505092915050565b6000614d0382615ba6565b614d0d8185615bd3565b9350614d1d818560208601615daa565b80840191505092915050565b60008154614d3681615ddd565b614d408186615bd3565b94506001821660008114614d5b5760018114614d6c57614d9f565b60ff19831686528186019350614d9f565b614d7585615b86565b60005b83811015614d9757815481890152600182019150602081019050614d78565b838801955050505b50505092915050565b6000614db5601a83615bc2565b91507f4f6e6c7920617274697374206f722077686974656c69737465640000000000006000830152602082019050919050565b6000614df5602b83615bc2565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000614e5b603283615bc2565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614ec1600b83615bc2565b91507f4f6e6c79206172746973740000000000000000000000000000000000000000006000830152602082019050919050565b6000614f01602683615bc2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614f67601c83615bc2565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000614fa7602483615bc2565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061500d601983615bc2565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061504d601f83615bc2565b91507f45746865722076616c75652073656e74206973206e6f7420636f7272656374006000830152602082019050919050565b600061508d602c83615bc2565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006150f3601583615bc2565b91507f50757263686173657320617265207061757365642e00000000000000000000006000830152602082019050919050565b6000615133601d83615bc2565b91507f5374617274696e6720696e64657820697320616c7265616479207365740000006000830152602082019050919050565b6000615173603883615bc2565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006151d9602a83615bc2565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061523f602983615bc2565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006152a5602083615bc2565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006152e5602c83615bc2565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061534b602083615bc2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061538b602983615bc2565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006153f1602183615bc2565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000615457601f83615bc2565b91507f4d757374206e6f7420657863656564206d617820696e766f636174696f6e73006000830152602082019050919050565b6000615497602083615bc2565b91507f50726f6a656374206d75737420657869737420616e64206265206163746976656000830152602082019050919050565b60006154d7603183615bc2565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b600061553d602c83615bc2565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b60006155a3601083615bc2565b91507f4f6e6c792077686974656c6973746564000000000000000000000000000000006000830152602082019050919050565b60006155e3600d83615bc2565b91507f4f6e6c7920756e6c6f636b6564000000000000000000000000000000000000006000830152602082019050919050565b61561f81615d5d565b82525050565b60006156318285614d29565b915061563d8284614cf8565b91508190509392505050565b600060208201905061565e6000830184614c59565b92915050565b60006080820190506156796000830187614c59565b6156866020830186614c59565b6156936040830185615616565b81810360608301526156a58184614c77565b905095945050505050565b60006020820190506156c56000830184614c68565b92915050565b60006020820190506156e06000830184614cb0565b92915050565b600060208201905081810360008301526157008184614cbf565b905092915050565b600060e0820190508181036000830152615722818a614cbf565b905081810360208301526157368189614cbf565b9050818103604083015261574a8188614cbf565b9050818103606083015261575e8187614cbf565b905081810360808301526157728186614cbf565b905061578160a0830185615616565b61578e60c0830184615616565b98975050505050505050565b600060208201905081810360008301526157b381614da8565b9050919050565b600060208201905081810360008301526157d381614de8565b9050919050565b600060208201905081810360008301526157f381614e4e565b9050919050565b6000602082019050818103600083015261581381614eb4565b9050919050565b6000602082019050818103600083015261583381614ef4565b9050919050565b6000602082019050818103600083015261585381614f5a565b9050919050565b6000602082019050818103600083015261587381614f9a565b9050919050565b6000602082019050818103600083015261589381615000565b9050919050565b600060208201905081810360008301526158b381615040565b9050919050565b600060208201905081810360008301526158d381615080565b9050919050565b600060208201905081810360008301526158f3816150e6565b9050919050565b6000602082019050818103600083015261591381615126565b9050919050565b6000602082019050818103600083015261593381615166565b9050919050565b60006020820190508181036000830152615953816151cc565b9050919050565b6000602082019050818103600083015261597381615232565b9050919050565b6000602082019050818103600083015261599381615298565b9050919050565b600060208201905081810360008301526159b3816152d8565b9050919050565b600060208201905081810360008301526159d38161533e565b9050919050565b600060208201905081810360008301526159f38161537e565b9050919050565b60006020820190508181036000830152615a13816153e4565b9050919050565b60006020820190508181036000830152615a338161544a565b9050919050565b60006020820190508181036000830152615a538161548a565b9050919050565b60006020820190508181036000830152615a73816154ca565b9050919050565b60006020820190508181036000830152615a9381615530565b9050919050565b60006020820190508181036000830152615ab381615596565b9050919050565b60006020820190508181036000830152615ad3816155d6565b9050919050565b6000602082019050615aef6000830184615616565b92915050565b6000604051905081810181811067ffffffffffffffff82111715615b1c57615b1b615f16565b5b8060405250919050565b600067ffffffffffffffff821115615b4157615b40615f16565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115615b7157615b70615f16565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615be982615d5d565b9150615bf483615d5d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615c2957615c28615e89565b5b828201905092915050565b6000615c3f82615d5d565b9150615c4a83615d5d565b925082615c5a57615c59615eb8565b5b828204905092915050565b6000615c7082615d5d565b9150615c7b83615d5d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615cb457615cb3615e89565b5b828202905092915050565b6000615cca82615d5d565b9150615cd583615d5d565b925082821015615ce857615ce7615e89565b5b828203905092915050565b6000615cfe82615d3d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b6000615d8282615d89565b9050919050565b6000615d9482615d3d565b9050919050565b82818337600083830152505050565b60005b83811015615dc8578082015181840152602081019050615dad565b83811115615dd7576000848401525b50505050565b60006002820490506001821680615df557607f821691505b60208210811415615e0957615e08615ee7565b5b50919050565b6000615e1a82615d5d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615e4d57615e4c615e89565b5b600182019050919050565b6000615e6382615d5d565b9150615e6e83615d5d565b925082615e7e57615e7d615eb8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b615f5f81615cf3565b8114615f6a57600080fd5b50565b615f7681615d05565b8114615f8157600080fd5b50565b615f8d81615d11565b8114615f9857600080fd5b50565b615fa481615d5d565b8114615faf57600080fd5b50565b615fbb81615d67565b8114615fc657600080fd5b5056fea26469706673582212205ae749c3ce7d245627beb5087b88b48c267f6836eccd02c10f6c36f3b4040ad264736f6c6343000800003300000000000000000000000034cf8ebf55ded069f724fe35208e790a354f1391
Deployed Bytecode
0x6080604052600436106102ff5760003560e01c8063513d77e411610190578063a3b2cca6116100dc578063d03c390c11610095578063e985e9c51161006f578063e985e9c514610c25578063ed8abfda14610c62578063f2fde38b14610c9f578063f70c0f0414610cc8576102ff565b8063d03c390c14610b94578063d7b044b614610bbd578063e935b7b114610bfa576102ff565b8063a3b2cca614610a62578063a47d29cb14610a8b578063b7b04fae14610ac8578063b88d4fde14610af1578063c87b56dd14610b1a578063cc74234b14610b57576102ff565b80638ba8f14d1161014957806395d89b411161012357806395d89b41146109bc57806397dc86cf146109e7578063a11ec70a14610a10578063a22cb46514610a39576102ff565b80638ba8f14d146109255780638da5cb5b1461094e5780638dd91a5614610979576102ff565b8063513d77e4146107f15780636352211e1461082e5780636c907b7f1461086b57806370a0823114610894578063715018a6146108d15780638622454b146108e8576102ff565b8063261eb4e51161024f5780633af32abf1161020857806340c10f19116101e257806340c10f191461071e57806342842e0e1461074e578063498dd0c1146107775780634f6ccce7146107b4576102ff565b80633af32abf146106a15780633ccfd60b146106de5780633e48e848146106f5576102ff565b8063261eb4e514610581578063291d9549146105be5780632f745c59146105e757806336c7c12c14610624578063378599631461064f578063382e2d3e14610678576102ff565b806310154bad116102bc5780631b689c0b116102965780631b689c0b146104b557806320927ec9146104f257806323b872dd1461052f57806325b75d6814610558576102ff565b806310154bad14610424578063172fb9a11461044d57806318160ddd1461048a576102ff565b806301ea47941461030457806301ffc9a71461032d57806306fdde031461036a578063081812fc14610395578063092114a0146103d2578063095ea7b3146103fb575b600080fd5b34801561031057600080fd5b5061032b60048036038101906103269190614ba0565b610d05565b005b34801561033957600080fd5b50610354600480360381019061034f9190614a7e565b610e3a565b60405161036191906156b0565b60405180910390f35b34801561037657600080fd5b5061037f610eb4565b60405161038c91906156e6565b60405180910390f35b3480156103a157600080fd5b506103bc60048036038101906103b79190614b77565b610f46565b6040516103c99190615649565b60405180910390f35b3480156103de57600080fd5b506103f960048036038101906103f49190614b77565b610fcb565b005b34801561040757600080fd5b50610422600480360381019061041d9190614a42565b61116f565b005b34801561043057600080fd5b5061044b600480360381019061044691906148d7565b611287565b005b34801561045957600080fd5b50610474600480360381019061046f9190614b77565b61135e565b6040516104819190615ada565b60405180910390f35b34801561049657600080fd5b5061049f611376565b6040516104ac9190615ada565b60405180910390f35b3480156104c157600080fd5b506104dc60048036038101906104d79190614b77565b611383565b6040516104e99190615ada565b60405180910390f35b3480156104fe57600080fd5b5061051960048036038101906105149190614b77565b61139b565b60405161052691906156e6565b60405180910390f35b34801561053b57600080fd5b506105566004803603810190610551919061493c565b61143b565b005b34801561056457600080fd5b5061057f600480360381019061057a9190614ba0565b61149b565b005b34801561058d57600080fd5b506105a860048036038101906105a39190614b77565b611627565b6040516105b591906156e6565b60405180910390f35b3480156105ca57600080fd5b506105e560048036038101906105e091906148d7565b6116c7565b005b3480156105f357600080fd5b5061060e60048036038101906106099190614a42565b61179e565b60405161061b9190615ada565b60405180910390f35b34801561063057600080fd5b50610639611843565b60405161064691906156cb565b60405180910390f35b34801561065b57600080fd5b5061067660048036038101906106719190614ba0565b611869565b005b34801561068457600080fd5b5061069f600480360381019061069a9190614ad0565b61193b565b005b3480156106ad57600080fd5b506106c860048036038101906106c391906148d7565b611b56565b6040516106d591906156b0565b60405180910390f35b3480156106ea57600080fd5b506106f3611b76565b005b34801561070157600080fd5b5061071c60048036038101906107179190614ba0565b611c41565b005b61073860048036038101906107339190614a42565b611dca565b6040516107459190615ada565b60405180910390f35b34801561075a57600080fd5b506107756004803603810190610770919061493c565b6121c5565b005b34801561078357600080fd5b5061079e60048036038101906107999190614b77565b6121e5565b6040516107ab9190615649565b60405180910390f35b3480156107c057600080fd5b506107db60048036038101906107d69190614b77565b612218565b6040516107e89190615ada565b60405180910390f35b3480156107fd57600080fd5b5061081860048036038101906108139190614b77565b6122af565b60405161082591906156e6565b60405180910390f35b34801561083a57600080fd5b5061085560048036038101906108509190614b77565b61234f565b6040516108629190615649565b60405180910390f35b34801561087757600080fd5b50610892600480360381019061088d91906148d7565b612401565b005b3480156108a057600080fd5b506108bb60048036038101906108b691906148d7565b6124d1565b6040516108c89190615ada565b60405180910390f35b3480156108dd57600080fd5b506108e6612589565b005b3480156108f457600080fd5b5061090f600480360381019061090a9190614b77565b612611565b60405161091c91906156e6565b60405180910390f35b34801561093157600080fd5b5061094c60048036038101906109479190614b77565b6126b1565b005b34801561095a57600080fd5b506109636127d5565b6040516109709190615649565b60405180910390f35b34801561098557600080fd5b506109a0600480360381019061099b9190614b77565b6127ff565b6040516109b39796959493929190615708565b60405180910390f35b3480156109c857600080fd5b506109d1612b6c565b6040516109de91906156e6565b60405180910390f35b3480156109f357600080fd5b50610a0e6004803603810190610a099190614bf4565b612bfe565b005b348015610a1c57600080fd5b50610a376004803603810190610a329190614b77565b612d77565b005b348015610a4557600080fd5b50610a606004803603810190610a5b9190614a06565b612e6f565b005b348015610a6e57600080fd5b50610a896004803603810190610a849190614ba0565b612ff0565b005b348015610a9757600080fd5b50610ab26004803603810190610aad9190614b77565b6130c2565b604051610abf9190615649565b60405180910390f35b348015610ad457600080fd5b50610aef6004803603810190610aea9190614ba0565b6130f5565b005b348015610afd57600080fd5b50610b186004803603810190610b13919061498b565b613281565b005b348015610b2657600080fd5b50610b416004803603810190610b3c9190614b77565b6132e3565b604051610b4e91906156e6565b60405180910390f35b348015610b6357600080fd5b50610b7e6004803603810190610b799190614b77565b613341565b604051610b8b9190615ada565b60405180910390f35b348015610ba057600080fd5b50610bbb6004803603810190610bb69190614b77565b613359565b005b348015610bc957600080fd5b50610be46004803603810190610bdf9190614b77565b61343a565b604051610bf19190615649565b60405180910390f35b348015610c0657600080fd5b50610c0f61346d565b604051610c1c9190615ada565b60405180910390f35b348015610c3157600080fd5b50610c4c6004803603810190610c479190614900565b613473565b604051610c5991906156b0565b60405180910390f35b348015610c6e57600080fd5b50610c896004803603810190610c849190614b77565b613507565b604051610c969190615ada565b60405180910390f35b348015610cab57600080fd5b50610cc66004803603810190610cc191906148d7565b61351f565b005b348015610cd457600080fd5b50610cef6004803603810190610cea9190614b77565b613617565b604051610cfc9190615ada565b60405180910390f35b81600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e906157fa565b60405180910390fd5b82600c600082815260200190815260200160002060080160019054906101000a900460ff1615610e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0390615aba565b60405180910390fd5b82601460008681526020019081526020016000209080519060200190610e339291906146e6565b5050505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ead5750610eac8261362f565b5b9050919050565b606060008054610ec390615ddd565b80601f0160208091040260200160405190810160405280929190818152602001828054610eef90615ddd565b8015610f3c5780601f10610f1157610100808354040283529160200191610f3c565b820191906000526020600020905b815481529060010190602001808311610f1f57829003601f168201915b5050505050905090565b6000610f5182613711565b610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f879061599a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000601660008381526020019081526020016000205414611021576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611018906158fa565b60405180910390fd5b600c6000828152602001908152602001600020600701546110f0600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635ec01e4d6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110a357600080fd5b505afa1580156110b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110db9190614c30565b63ffffffff164361377d90919063ffffffff16565b6110fa9190615e58565b601660008381526020019081526020016000208190555060006016600083815260200190815260200160002054141561116c576111546001601660008481526020019081526020016000205461379390919063ffffffff16565b60166000838152602001908152602001600020819055505b50565b600061117a8261234f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e2906159fa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661120a6137a9565b73ffffffffffffffffffffffffffffffffffffffff1614806112395750611238816112336137a9565b613473565b5b611278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126f9061591a565b60405180910390fd5b61128283836137b1565b505050565b61128f6137a9565b73ffffffffffffffffffffffffffffffffffffffff166112ad6127d5565b73ffffffffffffffffffffffffffffffffffffffff1614611303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fa906159ba565b60405180910390fd5b6001601a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60166020528060005260406000206000915090505481565b6000600880549050905090565b60186020528060005260406000206000915090505481565b600e60205280600052604060002060009150905080546113ba90615ddd565b80601f01602080910402602001604051908101604052809291908181526020018280546113e690615ddd565b80156114335780601f1061140857610100808354040283529160200191611433565b820191906000526020600020905b81548152906001019060200180831161141657829003601f168201915b505050505081565b61144c6114466137a9565b8261386a565b61148b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148290615a5a565b60405180910390fd5b611496838383613948565b505050565b81600c600082815260200190815260200160002060080160019054906101000a900460ff1615611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f790615aba565b60405180910390fd5b82601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806115b75750600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed9061579a565b60405180910390fd5b82600c600086815260200190815260200160002060040190805190602001906116209291906146e6565b5050505050565b6017602052806000526040600020600091509050805461164690615ddd565b80601f016020809104026020016040519081016040528092919081815260200182805461167290615ddd565b80156116bf5780601f10611694576101008083540402835291602001916116bf565b820191906000526020600020905b8154815290600101906020018083116116a257829003601f168201915b505050505081565b6116cf6137a9565b73ffffffffffffffffffffffffffffffffffffffff166116ed6127d5565b73ffffffffffffffffffffffffffffffffffffffff1614611743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173a906159ba565b60405180910390fd5b6000601a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006117a9836124d1565b82106117ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e1906157ba565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b81600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461190b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611902906157fa565b60405180910390fd5b81600c600085815260200190815260200160002060030190805190602001906119359291906146e6565b50505050565b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166119c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119be90615a9a565b60405180910390fd5b6000601b54905083600d600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085600c60008381526020019081526020016000206000019080519060200190611a4a9291906146e6565b5084601560008381526020019081526020016000209080519060200190611a729291906146e6565b506040518060400160405280600381526020017f4554480000000000000000000000000000000000000000000000000000000000815250600e60008381526020019081526020016000209080519060200190611acf9291906146e6565b508260106000838152602001908152602001600020819055506001600c600083815260200190815260200160002060080160026101000a81548160ff02191690831515021790555081600c600083815260200190815260200160002060070181905550611b486001601b5461379390919063ffffffff16565b601b81905550505050505050565b601a6020528060005260406000206000915054906101000a900460ff1681565b611b7e6137a9565b73ffffffffffffffffffffffffffffffffffffffff16611b9c6127d5565b73ffffffffffffffffffffffffffffffffffffffff1614611bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be9906159ba565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c3d573d6000803e3d6000fd5b5050565b81600c600082815260200190815260200160002060080160019054906101000a900460ff1615611ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9d90615aba565b60405180910390fd5b82601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611d5d5750600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d939061579a565b60405180910390fd5b82601560008681526020019081526020016000209080519060200190611dc39291906146e6565b5050505050565b6000600c600083815260200190815260200160002060070154611e0d6001600c60008681526020019081526020016000206006015461379390919063ffffffff16565b1115611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4590615a1a565b60405180910390fd5b600c600083815260200190815260200160002060080160009054906101000a900460ff1680611edb5750600d600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611f1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1190615a3a565b60405180910390fd5b600c600083815260200190815260200160002060080160029054906101000a900460ff161580611fa85750600d600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fde906158da565b60405180910390fd5b346010600084815260200190815260200160002054111561203d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120349061589a565b60405180910390fd5b6000601660008481526020019081526020016000205414156120635761206282610fcb565b5b6000620f4240836120749190615c65565b600c6000858152602001908152602001600020600701546016600086815260200190815260200160002054600c6000878152602001908152602001600020600601546120c09190615bde565b6120ca9190615e58565b6120d49190615bde565b90506121006001600c60008681526020019081526020016000206006015461379390919063ffffffff16565b600c6000858152602001908152602001600020600601819055506121248482613ba4565b8260186000838152602001908152602001600020819055506019600084815260200190815260200160002081908060018154018082558091505060019003906000526020600020016000909190919091505582818573ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f60405160405180910390a48091505092915050565b6121e083838360405180602001604052806000815250613281565b505050565b600f6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000612222611376565b8210612263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225a90615a7a565b60405180910390fd5b6008828154811061229d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601460205280600052604060002060009150905080546122ce90615ddd565b80601f01602080910402602001604051908101604052809291908181526020018280546122fa90615ddd565b80156123475780601f1061231c57610100808354040283529160200191612347565b820191906000526020600020905b81548152906001019060200180831161232a57829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ef9061595a565b60405180910390fd5b80915050919050565b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661248d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248490615a9a565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612542576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125399061593a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6125916137a9565b73ffffffffffffffffffffffffffffffffffffffff166125af6127d5565b73ffffffffffffffffffffffffffffffffffffffff1614612605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fc906159ba565b60405180910390fd5b61260f6000613d72565b565b6015602052806000526040600020600091509050805461263090615ddd565b80601f016020809104026020016040519081016040528092919081815260200182805461265c90615ddd565b80156126a95780601f1061267e576101008083540402835291602001916126a9565b820191906000526020600020905b81548152906001019060200180831161268c57829003601f168201915b505050505081565b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661273d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273490615a9a565b60405180910390fd5b80600c600082815260200190815260200160002060080160019054906101000a900460ff16156127a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279990615aba565b60405180910390fd5b6001600c600084815260200190815260200160002060080160016101000a81548160ff0219169083151502179055505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060806060806060600080600c6000898152602001908152602001600020600001805461282b90615ddd565b80601f016020809104026020016040519081016040528092919081815260200182805461285790615ddd565b80156128a45780601f10612879576101008083540402835291602001916128a4565b820191906000526020600020905b81548152906001019060200180831161288757829003601f168201915b50505050509650600c600089815260200190815260200160002060010180546128cc90615ddd565b80601f01602080910402602001604051908101604052809291908181526020018280546128f890615ddd565b80156129455780601f1061291a57610100808354040283529160200191612945565b820191906000526020600020905b81548152906001019060200180831161292857829003601f168201915b50505050509550600c6000898152602001908152602001600020600201805461296d90615ddd565b80601f016020809104026020016040519081016040528092919081815260200182805461299990615ddd565b80156129e65780601f106129bb576101008083540402835291602001916129e6565b820191906000526020600020905b8154815290600101906020018083116129c957829003601f168201915b50505050509450600c60008981526020019081526020016000206003018054612a0e90615ddd565b80601f0160208091040260200160405190810160405280929190818152602001828054612a3a90615ddd565b8015612a875780601f10612a5c57610100808354040283529160200191612a87565b820191906000526020600020905b815481529060010190602001808311612a6a57829003601f168201915b50505050509350600c60008981526020019081526020016000206004018054612aaf90615ddd565b80601f0160208091040260200160405190810160405280929190818152602001828054612adb90615ddd565b8015612b285780601f10612afd57610100808354040283529160200191612b28565b820191906000526020600020905b815481529060010190602001808311612b0b57829003601f168201915b50505050509250600c6000898152602001908152602001600020600601549150600c6000898152602001908152602001600020600701549050919395979092949650565b606060018054612b7b90615ddd565b80601f0160208091040260200160405190810160405280929190818152602001828054612ba790615ddd565b8015612bf45780601f10612bc957610100808354040283529160200191612bf4565b820191906000526020600020905b815481529060010190602001808311612bd757829003601f168201915b5050505050905090565b81600c600082815260200190815260200160002060080160019054906101000a900460ff1615612c63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5a90615aba565b60405180910390fd5b82601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612d1a5750600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d509061579a565b60405180910390fd5b82601060008681526020019081526020016000208190555050505050565b80600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e10906157fa565b60405180910390fd5b600c600083815260200190815260200160002060080160029054906101000a900460ff1615600c600084815260200190815260200160002060080160026101000a81548160ff0219169083151502179055505050565b612e776137a9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612edc9061587a565b60405180910390fd5b8060056000612ef26137a9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612f9f6137a9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612fe491906156b0565b60405180910390a35050565b81600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613092576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613089906157fa565b60405180910390fd5b81600c600085815260200190815260200160002060020190805190602001906130bc9291906146e6565b50505050565b600d6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b81600c600082815260200190815260200160002060080160019054906101000a900460ff161561315a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315190615aba565b60405180910390fd5b82601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806132115750600d600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b613250576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132479061579a565b60405180910390fd5b82600c6000868152602001908152602001600020600101908051906020019061327a9291906146e6565b5050505050565b61329261328c6137a9565b8361386a565b6132d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c890615a5a565b60405180910390fd5b6132dd84848484613e38565b50505050565b60606000601860008481526020019081526020016000205490506015600082815260200190815260200160002061331984613e94565b60405160200161332a929190615625565b604051602081830303815290604052915050919050565b60126020528060005260406000206000915090505481565b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166133e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133dc90615a9a565b60405180910390fd5b600c600082815260200190815260200160002060080160009054906101000a900460ff1615600c600083815260200190815260200160002060080160006101000a81548160ff02191690831515021790555050565b60116020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601b5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60136020528060005260406000206000915090505481565b6135276137a9565b73ffffffffffffffffffffffffffffffffffffffff166135456127d5565b73ffffffffffffffffffffffffffffffffffffffff161461359b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613592906159ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561360b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136029061581a565b60405180910390fd5b61361481613d72565b50565b60106020528060005260406000206000915090505481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806136fa57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061370a575061370982614041565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000818361378b9190615c65565b905092915050565b600081836137a19190615bde565b905092915050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166138248361234f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061387582613711565b6138b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138ab906158ba565b60405180910390fd5b60006138bf8361234f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061392e57508373ffffffffffffffffffffffffffffffffffffffff1661391684610f46565b73ffffffffffffffffffffffffffffffffffffffff16145b8061393f575061393e8185613473565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166139688261234f565b73ffffffffffffffffffffffffffffffffffffffff16146139be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139b5906159da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a259061585a565b60405180910390fd5b613a398383836140ab565b613a446000826137b1565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a949190615cbf565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613aeb9190615bde565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c0b9061597a565b60405180910390fd5b613c1d81613711565b15613c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c549061583a565b60405180910390fd5b613c69600083836140ab565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613cb99190615bde565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613e43848484613948565b613e4f848484846141bf565b613e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e85906157da565b60405180910390fd5b50505050565b60606000821415613edc576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061403c565b600082905060005b60008214613f0e578080613ef790615e0f565b915050600a82613f079190615c34565b9150613ee4565b60008167ffffffffffffffff811115613f50577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613f825781602001600182028036833780820191505090505b5090505b6000851461403557600182613f9b9190615cbf565b9150600a85613faa9190615e58565b6030613fb69190615bde565b60f81b818381518110613ff2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561402e9190615c34565b9450613f86565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6140b6838383614356565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156140f9576140f48161435b565b614138565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146141375761413683826143a4565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561417b5761417681614511565b6141ba565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146141b9576141b88282614654565b5b5b505050565b60006141e08473ffffffffffffffffffffffffffffffffffffffff166146d3565b15614349578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026142096137a9565b8786866040518563ffffffff1660e01b815260040161422b9493929190615664565b602060405180830381600087803b15801561424557600080fd5b505af192505050801561427657506040513d601f19601f820116820180604052508101906142739190614aa7565b60015b6142f9573d80600081146142a6576040519150601f19603f3d011682016040523d82523d6000602084013e6142ab565b606091505b506000815114156142f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142e8906157da565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061434e565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016143b1846124d1565b6143bb9190615cbf565b90506000600760008481526020019081526020016000205490508181146144a0576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506145259190615cbf565b905060006009600084815260200190815260200160002054905060006008838154811061457b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106145c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480614638577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061465f836124d1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b8280546146f290615ddd565b90600052602060002090601f016020900481019282614714576000855561475b565b82601f1061472d57805160ff191683800117855561475b565b8280016001018555821561475b579182015b8281111561475a57825182559160200191906001019061473f565b5b509050614768919061476c565b5090565b5b8082111561478557600081600090555060010161476d565b5090565b600061479c61479784615b26565b615af5565b9050828152602081018484840111156147b457600080fd5b6147bf848285615d9b565b509392505050565b60006147da6147d584615b56565b615af5565b9050828152602081018484840111156147f257600080fd5b6147fd848285615d9b565b509392505050565b60008135905061481481615f56565b92915050565b60008135905061482981615f6d565b92915050565b60008135905061483e81615f84565b92915050565b60008151905061485381615f84565b92915050565b600082601f83011261486a57600080fd5b813561487a848260208601614789565b91505092915050565b600082601f83011261489457600080fd5b81356148a48482602086016147c7565b91505092915050565b6000813590506148bc81615f9b565b92915050565b6000815190506148d181615fb2565b92915050565b6000602082840312156148e957600080fd5b60006148f784828501614805565b91505092915050565b6000806040838503121561491357600080fd5b600061492185828601614805565b925050602061493285828601614805565b9150509250929050565b60008060006060848603121561495157600080fd5b600061495f86828701614805565b935050602061497086828701614805565b9250506040614981868287016148ad565b9150509250925092565b600080600080608085870312156149a157600080fd5b60006149af87828801614805565b94505060206149c087828801614805565b93505060406149d1878288016148ad565b925050606085013567ffffffffffffffff8111156149ee57600080fd5b6149fa87828801614859565b91505092959194509250565b60008060408385031215614a1957600080fd5b6000614a2785828601614805565b9250506020614a388582860161481a565b9150509250929050565b60008060408385031215614a5557600080fd5b6000614a6385828601614805565b9250506020614a74858286016148ad565b9150509250929050565b600060208284031215614a9057600080fd5b6000614a9e8482850161482f565b91505092915050565b600060208284031215614ab957600080fd5b6000614ac784828501614844565b91505092915050565b600080600080600060a08688031215614ae857600080fd5b600086013567ffffffffffffffff811115614b0257600080fd5b614b0e88828901614883565b955050602086013567ffffffffffffffff811115614b2b57600080fd5b614b3788828901614883565b9450506040614b4888828901614805565b9350506060614b59888289016148ad565b9250506080614b6a888289016148ad565b9150509295509295909350565b600060208284031215614b8957600080fd5b6000614b97848285016148ad565b91505092915050565b60008060408385031215614bb357600080fd5b6000614bc1858286016148ad565b925050602083013567ffffffffffffffff811115614bde57600080fd5b614bea85828601614883565b9150509250929050565b60008060408385031215614c0757600080fd5b6000614c15858286016148ad565b9250506020614c26858286016148ad565b9150509250929050565b600060208284031215614c4257600080fd5b6000614c50848285016148c2565b91505092915050565b614c6281615cf3565b82525050565b614c7181615d05565b82525050565b6000614c8282615b9b565b614c8c8185615bb1565b9350614c9c818560208601615daa565b614ca581615f45565b840191505092915050565b614cb981615d77565b82525050565b6000614cca82615ba6565b614cd48185615bc2565b9350614ce4818560208601615daa565b614ced81615f45565b840191505092915050565b6000614d0382615ba6565b614d0d8185615bd3565b9350614d1d818560208601615daa565b80840191505092915050565b60008154614d3681615ddd565b614d408186615bd3565b94506001821660008114614d5b5760018114614d6c57614d9f565b60ff19831686528186019350614d9f565b614d7585615b86565b60005b83811015614d9757815481890152600182019150602081019050614d78565b838801955050505b50505092915050565b6000614db5601a83615bc2565b91507f4f6e6c7920617274697374206f722077686974656c69737465640000000000006000830152602082019050919050565b6000614df5602b83615bc2565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000614e5b603283615bc2565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614ec1600b83615bc2565b91507f4f6e6c79206172746973740000000000000000000000000000000000000000006000830152602082019050919050565b6000614f01602683615bc2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614f67601c83615bc2565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000614fa7602483615bc2565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061500d601983615bc2565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061504d601f83615bc2565b91507f45746865722076616c75652073656e74206973206e6f7420636f7272656374006000830152602082019050919050565b600061508d602c83615bc2565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006150f3601583615bc2565b91507f50757263686173657320617265207061757365642e00000000000000000000006000830152602082019050919050565b6000615133601d83615bc2565b91507f5374617274696e6720696e64657820697320616c7265616479207365740000006000830152602082019050919050565b6000615173603883615bc2565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006151d9602a83615bc2565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061523f602983615bc2565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006152a5602083615bc2565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006152e5602c83615bc2565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061534b602083615bc2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061538b602983615bc2565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006153f1602183615bc2565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000615457601f83615bc2565b91507f4d757374206e6f7420657863656564206d617820696e766f636174696f6e73006000830152602082019050919050565b6000615497602083615bc2565b91507f50726f6a656374206d75737420657869737420616e64206265206163746976656000830152602082019050919050565b60006154d7603183615bc2565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b600061553d602c83615bc2565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b60006155a3601083615bc2565b91507f4f6e6c792077686974656c6973746564000000000000000000000000000000006000830152602082019050919050565b60006155e3600d83615bc2565b91507f4f6e6c7920756e6c6f636b6564000000000000000000000000000000000000006000830152602082019050919050565b61561f81615d5d565b82525050565b60006156318285614d29565b915061563d8284614cf8565b91508190509392505050565b600060208201905061565e6000830184614c59565b92915050565b60006080820190506156796000830187614c59565b6156866020830186614c59565b6156936040830185615616565b81810360608301526156a58184614c77565b905095945050505050565b60006020820190506156c56000830184614c68565b92915050565b60006020820190506156e06000830184614cb0565b92915050565b600060208201905081810360008301526157008184614cbf565b905092915050565b600060e0820190508181036000830152615722818a614cbf565b905081810360208301526157368189614cbf565b9050818103604083015261574a8188614cbf565b9050818103606083015261575e8187614cbf565b905081810360808301526157728186614cbf565b905061578160a0830185615616565b61578e60c0830184615616565b98975050505050505050565b600060208201905081810360008301526157b381614da8565b9050919050565b600060208201905081810360008301526157d381614de8565b9050919050565b600060208201905081810360008301526157f381614e4e565b9050919050565b6000602082019050818103600083015261581381614eb4565b9050919050565b6000602082019050818103600083015261583381614ef4565b9050919050565b6000602082019050818103600083015261585381614f5a565b9050919050565b6000602082019050818103600083015261587381614f9a565b9050919050565b6000602082019050818103600083015261589381615000565b9050919050565b600060208201905081810360008301526158b381615040565b9050919050565b600060208201905081810360008301526158d381615080565b9050919050565b600060208201905081810360008301526158f3816150e6565b9050919050565b6000602082019050818103600083015261591381615126565b9050919050565b6000602082019050818103600083015261593381615166565b9050919050565b60006020820190508181036000830152615953816151cc565b9050919050565b6000602082019050818103600083015261597381615232565b9050919050565b6000602082019050818103600083015261599381615298565b9050919050565b600060208201905081810360008301526159b3816152d8565b9050919050565b600060208201905081810360008301526159d38161533e565b9050919050565b600060208201905081810360008301526159f38161537e565b9050919050565b60006020820190508181036000830152615a13816153e4565b9050919050565b60006020820190508181036000830152615a338161544a565b9050919050565b60006020820190508181036000830152615a538161548a565b9050919050565b60006020820190508181036000830152615a73816154ca565b9050919050565b60006020820190508181036000830152615a9381615530565b9050919050565b60006020820190508181036000830152615ab381615596565b9050919050565b60006020820190508181036000830152615ad3816155d6565b9050919050565b6000602082019050615aef6000830184615616565b92915050565b6000604051905081810181811067ffffffffffffffff82111715615b1c57615b1b615f16565b5b8060405250919050565b600067ffffffffffffffff821115615b4157615b40615f16565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115615b7157615b70615f16565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615be982615d5d565b9150615bf483615d5d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615c2957615c28615e89565b5b828201905092915050565b6000615c3f82615d5d565b9150615c4a83615d5d565b925082615c5a57615c59615eb8565b5b828204905092915050565b6000615c7082615d5d565b9150615c7b83615d5d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615cb457615cb3615e89565b5b828202905092915050565b6000615cca82615d5d565b9150615cd583615d5d565b925082821015615ce857615ce7615e89565b5b828203905092915050565b6000615cfe82615d3d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b6000615d8282615d89565b9050919050565b6000615d9482615d3d565b9050919050565b82818337600083830152505050565b60005b83811015615dc8578082015181840152602081019050615dad565b83811115615dd7576000848401525b50505050565b60006002820490506001821680615df557607f821691505b60208210811415615e0957615e08615ee7565b5b50919050565b6000615e1a82615d5d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615e4d57615e4c615e89565b5b600182019050919050565b6000615e6382615d5d565b9150615e6e83615d5d565b925082615e7e57615e7d615eb8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b615f5f81615cf3565b8114615f6a57600080fd5b50565b615f7681615d05565b8114615f8157600080fd5b50565b615f8d81615d11565b8114615f9857600080fd5b50565b615fa481615d5d565b8114615faf57600080fd5b50565b615fbb81615d67565b8114615fc657600080fd5b5056fea26469706673582212205ae749c3ce7d245627beb5087b88b48c267f6836eccd02c10f6c36f3b4040ad264736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000034cf8ebf55ded069f724fe35208e790a354f1391
-----Decoded View---------------
Arg [0] : _randomizerContract (address): 0x34Cf8EbF55ded069F724FE35208e790a354F1391
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000034cf8ebf55ded069f724fe35208e790a354f1391
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.