ERC-721
Overview
Max Total Supply
361 CMC
Holders
147
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 CMCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CosmicMonkeyClub
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Made with ❤ by Rens L // Email: [email protected] // Twitter: @humanrens pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; contract CosmicMonkeyClub is ERC721Enumerable, Ownable, VRFConsumerBase { using Strings for uint256; string public CMC_PROVENANCE = ""; string public baseURI = ""; string public contractUrl = ""; bytes32 private merkleRoot; bytes32 internal keyHash; uint256 public maxSupply = 10000; uint256 public maxPresaleSupply = 10000; uint256 public presalePrice = 0.088 ether; uint256 public publicPrice = 0.1 ether; uint256 internal maxPublicSaleMint = 30; uint256 internal maxMintPerTransaction = 6; uint256 internal maxPresaleMint = 4; uint256 internal fee; uint256 internal tokenId; uint256 public randomResult; bool public isPublicSale = false; bool public isPresale = false; bool public isRevealed = false; address[] public ogList; mapping(address => uint256) internal addressMintedBalance; constructor(string memory name, string memory symbol,string memory _initBaseURI) ERC721(name, symbol) VRFConsumerBase(0xf0d54349aDdcf704F77AE15b96510dEA15cb7952,0x514910771AF9Ca656af840dff83E8264EcF986CA) { baseURI = _initBaseURI; // Chainlink VRF keyhash + fee keyHash = 0xAA77729D3466CA35AE8D28B3BBAC7CC36A5031EFDC430821C02BC31A238AF445; fee = 2 * 10 ** 18; } // Request random number from Chainlink VRF Coordinator function getRandomNumber() public onlyOwner returns (bytes32 requestId) { require(randomResult == 0); require(LINK.balanceOf(address(this)) >= fee); return requestRandomness(keyHash, fee); } // randomness callback function used by Chainlink VRF coordinator function fulfillRandomness(bytes32 requestId, uint256 randomness) internal override { randomResult = randomness + 1; } function mintPresale(uint256 _amount,address account, bytes32[] calldata proof) external payable { require(_amount > 0); require(randomResult > 0); require(_amount <= maxPresaleMint); if (msg.sender != owner()) { require(isPresale,"Presale isn't live"); require(isWhiteListed(account, proof), "You're not whitelisted"); require(msg.value >= (presalePrice * _amount), "Amount to low"); require((addressMintedBalance[msg.sender] + _amount) <= maxPresaleMint, "Max. 4 NFT's in Presale."); } for (uint256 i = 1; i <= _amount; i++) { tokenId = ((randomResult + totalSupply()) % maxSupply); if(tokenId == 0){ tokenId = maxSupply; } _safeMint(msg.sender, tokenId); addressMintedBalance[msg.sender]++; if(addressMintedBalance[msg.sender] == 4){ ogList.push(msg.sender); } } } function mintPublicSale(uint256 _amount) external payable { require(_amount > 0 ); require(randomResult > 0); require(_amount <= maxMintPerTransaction, "Exceeding max. mint amount per tx."); require(totalSupply() + _amount <= maxSupply,"Amount exceeds max. supply"); require(isPublicSale,"Public Sale isn't live"); require(msg.value >= (publicPrice * _amount), "Amount is to low"); require(_amount <= maxPublicSaleMint); require((addressMintedBalance[msg.sender] + _amount) <= maxPublicSaleMint, "Max. 30 NFT's per wallet."); for (uint256 i = 1; i <= _amount; i++) { tokenId = ((randomResult + totalSupply()) % maxSupply); if(tokenId == 0){ tokenId = maxSupply; } addressMintedBalance[msg.sender]++; _safeMint(msg.sender, tokenId); } } //Merkle Proof function isWhiteListed(address account, bytes32[] calldata proof) internal view returns(bool) { return _verify(_leaf(account), proof); } function _leaf(address account) internal pure returns(bytes32) { return keccak256(abi.encodePacked(account)); } function _verify(bytes32 leaf, bytes32[] memory proof) internal view returns(bool) { return MerkleProof.verify(proof, merkleRoot, leaf); } /* * Set provenance once it's calculated */ function setProvenanceHash(string memory provenanceHash) public onlyOwner { CMC_PROVENANCE = provenanceHash; } // URI's function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId),"ERC721Metadata: URI query for nonexistent token"); if (isRevealed) { return bytes(_baseURI()).length > 0 ? string(abi.encodePacked(_baseURI(), _tokenId.toString(), ".json")) : ""; } return _baseURI(); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function contractURI() public view returns (string memory) { return contractUrl; } function setContractUri(string memory _newContractUrl) public onlyOwner { contractUrl = _newContractUrl; } // Sale Controls function setPresalePrice(uint256 _amount) external onlyOwner { presalePrice = _amount; } function setPublicPrice(uint256 _amount) external onlyOwner { publicPrice = _amount; } function startPresale(bytes32 _merkleRoot) external onlyOwner{ merkleRoot = _merkleRoot; isPresale = true; } function stopPresale() external onlyOwner{ require(isPublicSale == false); isPresale = false; } function startPublicSale() external onlyOwner{ require(isPresale == false); isPublicSale = true; } function stopPublicSale() external onlyOwner { isPublicSale = false; } function reveal(string memory _newBaseURI) external onlyOwner { baseURI = _newBaseURI; } function giftNftToAddress(address _sendNftsTo, uint256 _amount) external onlyOwner { require(randomResult > 0, "Generate random number first"); require(totalSupply() + _amount <= maxSupply,"Gift amount exceeds max. supply"); require(_amount <= 50,"Limit is 50 per transaction"); for (uint256 i = 1; i <= _amount; i++){ tokenId = ((randomResult + totalSupply()) % maxSupply); if(tokenId == 0){ tokenId = maxSupply; } _safeMint(_sendNftsTo,tokenId); } } function withdraw() external onlyOwner { payable(msg.sender).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: 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 { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: 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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev 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 // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/LinkTokenInterface.sol"; import "./VRFRequestIDBase.sol"; /** **************************************************************************** * @notice Interface for contracts using VRF randomness * ***************************************************************************** * @dev PURPOSE * * @dev Reggie the Random Oracle (not his real job) wants to provide randomness * @dev to Vera the verifier in such a way that Vera can be sure he's not * @dev making his output up to suit himself. Reggie provides Vera a public key * @dev to which he knows the secret key. Each time Vera provides a seed to * @dev Reggie, he gives back a value which is computed completely * @dev deterministically from the seed and the secret key. * * @dev Reggie provides a proof by which Vera can verify that the output was * @dev correctly computed once Reggie tells it to her, but without that proof, * @dev the output is indistinguishable to her from a uniform random sample * @dev from the output space. * * @dev The purpose of this contract is to make it easy for unrelated contracts * @dev to talk to Vera the verifier about the work Reggie is doing, to provide * @dev simple access to a verifiable source of randomness. * ***************************************************************************** * @dev USAGE * * @dev Calling contracts must inherit from VRFConsumerBase, and can * @dev initialize VRFConsumerBase's attributes in their constructor as * @dev shown: * * @dev contract VRFConsumer { * @dev constuctor(<other arguments>, address _vrfCoordinator, address _link) * @dev VRFConsumerBase(_vrfCoordinator, _link) public { * @dev <initialization with other arguments goes here> * @dev } * @dev } * * @dev The oracle will have given you an ID for the VRF keypair they have * @dev committed to (let's call it keyHash), and have told you the minimum LINK * @dev price for VRF service. Make sure your contract has sufficient LINK, and * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you * @dev want to generate randomness from. * * @dev Once the VRFCoordinator has received and validated the oracle's response * @dev to your request, it will call your contract's fulfillRandomness method. * * @dev The randomness argument to fulfillRandomness is the actual random value * @dev generated from your seed. * * @dev The requestId argument is generated from the keyHash and the seed by * @dev makeRequestId(keyHash, seed). If your contract could have concurrent * @dev requests open, you can use the requestId to track which seed is * @dev associated with which randomness. See VRFRequestIDBase.sol for more * @dev details. (See "SECURITY CONSIDERATIONS" for principles to keep in mind, * @dev if your contract could have multiple requests in flight simultaneously.) * * @dev Colliding `requestId`s are cryptographically impossible as long as seeds * @dev differ. (Which is critical to making unpredictable randomness! See the * @dev next section.) * * ***************************************************************************** * @dev SECURITY CONSIDERATIONS * * @dev A method with the ability to call your fulfillRandomness method directly * @dev could spoof a VRF response with any random value, so it's critical that * @dev it cannot be directly called by anything other than this base contract * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method). * * @dev For your users to trust that your contract's random behavior is free * @dev from malicious interference, it's best if you can write it so that all * @dev behaviors implied by a VRF response are executed *during* your * @dev fulfillRandomness method. If your contract must store the response (or * @dev anything derived from it) and use it later, you must ensure that any * @dev user-significant behavior which depends on that stored value cannot be * @dev manipulated by a subsequent VRF request. * * @dev Similarly, both miners and the VRF oracle itself have some influence * @dev over the order in which VRF responses appear on the blockchain, so if * @dev your contract could have multiple VRF requests in flight simultaneously, * @dev you must ensure that the order in which the VRF responses arrive cannot * @dev be used to manipulate your contract's user-significant behavior. * * @dev Since the ultimate input to the VRF is mixed with the block hash of the * @dev block in which the request is made, user-provided seeds have no impact * @dev on its economic security properties. They are only included for API * @dev compatability with previous versions of this contract. * * @dev Since the block hash of the block which contains the requestRandomness * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful * @dev miner could, in principle, fork the blockchain to evict the block * @dev containing the request, forcing the request to be included in a * @dev different block with a different hash, and therefore a different input * @dev to the VRF. However, such an attack would incur a substantial economic * @dev cost. This cost scales with the number of blocks the VRF oracle waits * @dev until it calls responds to a request. */ abstract contract VRFConsumerBase is VRFRequestIDBase { /** * @notice fulfillRandomness handles the VRF response. Your contract must * @notice implement it. See "SECURITY CONSIDERATIONS" above for important * @notice principles to keep in mind when implementing your fulfillRandomness * @notice method. * * @dev VRFConsumerBase expects its subcontracts to have a method with this * @dev signature, and will call it once it has verified the proof * @dev associated with the randomness. (It is triggered via a call to * @dev rawFulfillRandomness, below.) * * @param requestId The Id initially returned by requestRandomness * @param randomness the VRF output */ function fulfillRandomness(bytes32 requestId, uint256 randomness) internal virtual; /** * @dev In order to keep backwards compatibility we have kept the user * seed field around. We remove the use of it because given that the blockhash * enters later, it overrides whatever randomness the used seed provides. * Given that it adds no security, and can easily lead to misunderstandings, * we have removed it from usage and can now provide a simpler API. */ uint256 private constant USER_SEED_PLACEHOLDER = 0; /** * @notice requestRandomness initiates a request for VRF output given _seed * * @dev The fulfillRandomness method receives the output, once it's provided * @dev by the Oracle, and verified by the vrfCoordinator. * * @dev The _keyHash must already be registered with the VRFCoordinator, and * @dev the _fee must exceed the fee specified during registration of the * @dev _keyHash. * * @dev The _seed parameter is vestigial, and is kept only for API * @dev compatibility with older versions. It can't *hurt* to mix in some of * @dev your own randomness, here, but it's not necessary because the VRF * @dev oracle will mix the hash of the block containing your request into the * @dev VRF seed it ultimately uses. * * @param _keyHash ID of public key against which randomness is generated * @param _fee The amount of LINK to send with the request * * @return requestId unique ID for this request * * @dev The returned requestId can be used to distinguish responses to * @dev concurrent requests. It is passed as the first argument to * @dev fulfillRandomness. */ function requestRandomness(bytes32 _keyHash, uint256 _fee) internal returns (bytes32 requestId) { LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER)); // This is the seed passed to VRFCoordinator. The oracle will mix this with // the hash of the block containing this request to obtain the seed/input // which is finally passed to the VRF cryptographic machinery. uint256 vRFSeed = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]); // nonces[_keyHash] must stay in sync with // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest). // This provides protection against the user repeating their input seed, // which would result in a predictable/duplicate output, if multiple such // requests appeared in the same block. nonces[_keyHash] = nonces[_keyHash] + 1; return makeRequestId(_keyHash, vRFSeed); } LinkTokenInterface internal immutable LINK; address private immutable vrfCoordinator; // Nonces for each VRF key from which randomness has been requested. // // Must stay in sync with VRFCoordinator[_keyHash][this] mapping(bytes32 => uint256) /* keyHash */ /* nonce */ private nonces; /** * @param _vrfCoordinator address of VRFCoordinator contract * @param _link address of LINK token contract * * @dev https://docs.chain.link/docs/link-token-contracts */ constructor(address _vrfCoordinator, address _link) { vrfCoordinator = _vrfCoordinator; LINK = LinkTokenInterface(_link); } // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF // proof. rawFulfillRandomness then calls fulfillRandomness, after validating // the origin of the call function rawFulfillRandomness(bytes32 requestId, uint256 randomness) external { require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill"); fulfillRandomness(requestId, randomness); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface LinkTokenInterface { function allowance(address owner, address spender) external view returns (uint256 remaining); function approve(address spender, uint256 value) external returns (bool success); function balanceOf(address owner) external view returns (uint256 balance); function decimals() external view returns (uint8 decimalPlaces); function decreaseApproval(address spender, uint256 addedValue) external returns (bool success); function increaseApproval(address spender, uint256 subtractedValue) external; function name() external view returns (string memory tokenName); function symbol() external view returns (string memory tokenSymbol); function totalSupply() external view returns (uint256 totalTokensIssued); function transfer(address to, uint256 value) external returns (bool success); function transferAndCall( address to, uint256 value, bytes calldata data ) external returns (bool success); function transferFrom( address from, address to, uint256 value ) external returns (bool success); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract VRFRequestIDBase { /** * @notice returns the seed which is actually input to the VRF coordinator * * @dev To prevent repetition of VRF output due to repetition of the * @dev user-supplied seed, that seed is combined in a hash with the * @dev user-specific nonce, and the address of the consuming contract. The * @dev risk of repetition is mostly mitigated by inclusion of a blockhash in * @dev the final seed, but the nonce does protect against repetition in * @dev requests which are included in a single block. * * @param _userSeed VRF seed input provided by user * @param _requester Address of the requesting contract * @param _nonce User-specific nonce at the time of the request */ function makeVRFInputSeed( bytes32 _keyHash, uint256 _userSeed, address _requester, uint256 _nonce ) internal pure returns (uint256) { return uint256(keccak256(abi.encode(_keyHash, _userSeed, _requester, _nonce))); } /** * @notice Returns the id for this request * @param _keyHash The serviceAgreement ID to be used for this request * @param _vRFInputSeed The seed to be passed directly to the VRF * @return The id for this request * * @dev Note that _vRFInputSeed is not the seed passed by the consuming * @dev contract, but the one generated by makeVRFInputSeed */ function makeRequestId(bytes32 _keyHash, uint256 _vRFInputSeed) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_keyHash, _vRFInputSeed)); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CMC_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRandomNumber","outputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sendNftsTo","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"giftNftToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPresaleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintPublicSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ogList","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomResult","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"rawFulfillRandomness","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"reveal","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":"string","name":"_newContractUrl","type":"string"}],"name":"setContractUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setPresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"startPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c060405260405180602001604052806000815250600c90805190602001906200002b9291906200034c565b5060405180602001604052806000815250600d9080519060200190620000539291906200034c565b5060405180602001604052806000815250600e90805190602001906200007b9291906200034c565b50612710601155612710601255670138a388a43c000060135567016345785d8a0000601455601e601555600660165560046017556000601b60006101000a81548160ff0219169083151502179055506000601b60016101000a81548160ff0219169083151502179055506000601b60026101000a81548160ff0219169083151502179055503480156200010d57600080fd5b506040516200628c3803806200628c83398181016040528101906200013391906200047a565b73f0d54349addcf704f77ae15b96510dea15cb795273514910771af9ca656af840dff83e8264ecf986ca84848160009080519060200190620001779291906200034c565b508060019080519060200190620001909291906200034c565b505050620001b3620001a76200027e60201b60201c565b6200028660201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050505080600d90805190602001906200023b9291906200034c565b507faa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af44560001b601081905550671bc16d674ec80000601881905550505050620006b7565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200035a90620005c8565b90600052602060002090601f0160209004810192826200037e5760008555620003ca565b82601f106200039957805160ff1916838001178555620003ca565b82800160010185558215620003ca579182015b82811115620003c9578251825591602001919060010190620003ac565b5b509050620003d99190620003dd565b5090565b5b80821115620003f8576000816000905550600101620003de565b5090565b6000620004136200040d846200055c565b62000533565b90508281526020810184848401111562000432576200043162000697565b5b6200043f84828562000592565b509392505050565b600082601f8301126200045f576200045e62000692565b5b815162000471848260208601620003fc565b91505092915050565b600080600060608486031215620004965762000495620006a1565b5b600084015167ffffffffffffffff811115620004b757620004b66200069c565b5b620004c58682870162000447565b935050602084015167ffffffffffffffff811115620004e957620004e86200069c565b5b620004f78682870162000447565b925050604084015167ffffffffffffffff8111156200051b576200051a6200069c565b5b620005298682870162000447565b9150509250925092565b60006200053f62000552565b90506200054d8282620005fe565b919050565b6000604051905090565b600067ffffffffffffffff8211156200057a576200057962000663565b5b6200058582620006a6565b9050602081019050919050565b60005b83811015620005b257808201518184015260208101905062000595565b83811115620005c2576000848401525b50505050565b60006002820490506001821680620005e157607f821691505b60208210811415620005f857620005f762000634565b5b50919050565b6200060982620006a6565b810181811067ffffffffffffffff821117156200062b576200062a62000663565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60805160601c60a05160601c615b9b620006f160003960008181611d4001526131b501526000818161226901526131790152615b9b6000f3fe6080604052600436106102875760003560e01c80635a5e5d581161015a578063a945bf80116100c1578063da1b91c31161007a578063da1b91c314610979578063dbdff2c114610990578063e8a3d485146109bb578063e985e9c5146109e6578063efc8e9d614610a23578063f2fde38b14610a4c57610287565b8063a945bf801461086b578063b88d4fde14610896578063c6275255146108bf578063c87b56dd146108e8578063ccb4807b14610925578063d5abeb011461094e57610287565b806394985ddd1161011357806394985ddd1461075b57806395364a841461078457806395d89b41146107af5780639a77653d146107da578063a22cb46514610817578063a5a865dc1461084057610287565b80635a5e5d58146106585780636352211e146106745780636c0360eb146106b157806370a08231146106dc578063715018a6146107195780638da5cb5b1461073057610287565b80631ad2ad1a116101fe57806342619f66116101b757806342619f661461054a57806342842e0e146105755780634c2612471461059e5780634f6ccce7146105c757806354214f69146106045780635599229d1461062f57610287565b80631ad2ad1a1461046257806321bdb26e1461047957806323b872dd146104a45780632f745c59146104cd5780633549345e1461050a5780633ccfd60b1461053357610287565b8063081812fc11610250578063081812fc14610375578063095ea7b3146103b25780630c1c972a146103db57806310969523146103f25780631215500e1461041b57806318160ddd1461043757610287565b80620e7fa81461028c57806301ffc9a7146102b7578063039cabe6146102f4578063065215861461031f57806306fdde031461034a575b600080fd5b34801561029857600080fd5b506102a1610a75565b6040516102ae9190614e73565b60405180910390f35b3480156102c357600080fd5b506102de60048036038101906102d99190614191565b610a7b565b6040516102eb91906149cd565b60405180910390f35b34801561030057600080fd5b50610309610af5565b6040516103169190614a71565b60405180910390f35b34801561032b57600080fd5b50610334610b83565b6040516103419190614a71565b60405180910390f35b34801561035657600080fd5b5061035f610c11565b60405161036c9190614a71565b60405180910390f35b34801561038157600080fd5b5061039c60048036038101906103979190614234565b610ca3565b6040516103a99190614928565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906140b7565b610d28565b005b3480156103e757600080fd5b506103f0610e40565b005b3480156103fe57600080fd5b50610419600480360381019061041491906141eb565b610ef9565b005b6104356004803603810190610430919061428e565b610f8f565b005b34801561044357600080fd5b5061044c6112df565b6040516104599190614e73565b60405180910390f35b34801561046e57600080fd5b506104776112ec565b005b34801561048557600080fd5b5061048e6113a5565b60405161049b9190614e73565b60405180910390f35b3480156104b057600080fd5b506104cb60048036038101906104c69190613fa1565b6113ab565b005b3480156104d957600080fd5b506104f460048036038101906104ef91906140b7565b61140b565b6040516105019190614e73565b60405180910390f35b34801561051657600080fd5b50610531600480360381019061052c9190614234565b6114b0565b005b34801561053f57600080fd5b50610548611536565b005b34801561055657600080fd5b5061055f6115fb565b60405161056c9190614e73565b60405180910390f35b34801561058157600080fd5b5061059c60048036038101906105979190613fa1565b611601565b005b3480156105aa57600080fd5b506105c560048036038101906105c091906141eb565b611621565b005b3480156105d357600080fd5b506105ee60048036038101906105e99190614234565b6116b7565b6040516105fb9190614e73565b60405180910390f35b34801561061057600080fd5b50610619611728565b60405161062691906149cd565b60405180910390f35b34801561063b57600080fd5b5061065660048036038101906106519190614124565b61173b565b005b610672600480360381019061066d9190614234565b6117dc565b005b34801561068057600080fd5b5061069b60048036038101906106969190614234565b611a94565b6040516106a89190614928565b60405180910390f35b3480156106bd57600080fd5b506106c6611b46565b6040516106d39190614a71565b60405180910390f35b3480156106e857600080fd5b5061070360048036038101906106fe9190613f34565b611bd4565b6040516107109190614e73565b60405180910390f35b34801561072557600080fd5b5061072e611c8c565b005b34801561073c57600080fd5b50610745611d14565b6040516107529190614928565b60405180910390f35b34801561076757600080fd5b50610782600480360381019061077d9190614151565b611d3e565b005b34801561079057600080fd5b50610799611dda565b6040516107a691906149cd565b60405180910390f35b3480156107bb57600080fd5b506107c4611ded565b6040516107d19190614a71565b60405180910390f35b3480156107e657600080fd5b5061080160048036038101906107fc9190614234565b611e7f565b60405161080e9190614928565b60405180910390f35b34801561082357600080fd5b5061083e60048036038101906108399190614077565b611ebe565b005b34801561084c57600080fd5b50610855611ed4565b60405161086291906149cd565b60405180910390f35b34801561087757600080fd5b50610880611ee7565b60405161088d9190614e73565b60405180910390f35b3480156108a257600080fd5b506108bd60048036038101906108b89190613ff4565b611eed565b005b3480156108cb57600080fd5b506108e660048036038101906108e19190614234565b611f4f565b005b3480156108f457600080fd5b5061090f600480360381019061090a9190614234565b611fd5565b60405161091c9190614a71565b60405180910390f35b34801561093157600080fd5b5061094c600480360381019061094791906141eb565b6120a2565b005b34801561095a57600080fd5b50610963612138565b6040516109709190614e73565b60405180910390f35b34801561098557600080fd5b5061098e61213e565b005b34801561099c57600080fd5b506109a56121d7565b6040516109b291906149e8565b60405180910390f35b3480156109c757600080fd5b506109d061232e565b6040516109dd9190614a71565b60405180910390f35b3480156109f257600080fd5b50610a0d6004803603810190610a089190613f61565b6123c0565b604051610a1a91906149cd565b60405180910390f35b348015610a2f57600080fd5b50610a4a6004803603810190610a4591906140b7565b612454565b005b348015610a5857600080fd5b50610a736004803603810190610a6e9190613f34565b61261f565b005b60135481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aee5750610aed82612717565b5b9050919050565b600c8054610b029061512d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2e9061512d565b8015610b7b5780601f10610b5057610100808354040283529160200191610b7b565b820191906000526020600020905b815481529060010190602001808311610b5e57829003601f168201915b505050505081565b600e8054610b909061512d565b80601f0160208091040260200160405190810160405280929190818152602001828054610bbc9061512d565b8015610c095780601f10610bde57610100808354040283529160200191610c09565b820191906000526020600020905b815481529060010190602001808311610bec57829003601f168201915b505050505081565b606060008054610c209061512d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4c9061512d565b8015610c995780601f10610c6e57610100808354040283529160200191610c99565b820191906000526020600020905b815481529060010190602001808311610c7c57829003601f168201915b5050505050905090565b6000610cae826127f9565b610ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce490614d33565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d3382611a94565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9b90614dd3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dc3612865565b73ffffffffffffffffffffffffffffffffffffffff161480610df25750610df181610dec612865565b6123c0565b5b610e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2890614c33565b60405180910390fd5b610e3b838361286d565b505050565b610e48612865565b73ffffffffffffffffffffffffffffffffffffffff16610e66611d14565b73ffffffffffffffffffffffffffffffffffffffff1614610ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb390614d53565b60405180910390fd5b60001515601b60019054906101000a900460ff16151514610edc57600080fd5b6001601b60006101000a81548160ff021916908315150217905550565b610f01612865565b73ffffffffffffffffffffffffffffffffffffffff16610f1f611d14565b73ffffffffffffffffffffffffffffffffffffffff1614610f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6c90614d53565b60405180910390fd5b80600c9080519060200190610f8b929190613cb3565b5050565b60008411610f9c57600080fd5b6000601a5411610fab57600080fd5b601754841115610fba57600080fd5b610fc2611d14565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461116d57601b60019054906101000a900460ff16611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103a90614c13565b60405180910390fd5b61104e838383612926565b61108d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108490614b33565b60405180910390fd5b8360135461109b9190614fdf565b3410156110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d490614cb3565b60405180910390fd5b60175484601d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461112b9190614f58565b111561116c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116390614c93565b60405180910390fd5b5b6000600190505b8481116112d8576011546111866112df565b601a546111939190614f58565b61119d9190615211565b601981905550600060195414156111b8576011546019819055505b6111c433601954612984565b601d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061121490615190565b91905055506004601d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156112c557601c339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b80806112d090615190565b915050611174565b5050505050565b6000600880549050905090565b6112f4612865565b73ffffffffffffffffffffffffffffffffffffffff16611312611d14565b73ffffffffffffffffffffffffffffffffffffffff1614611368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135f90614d53565b60405180910390fd5b60001515601b60009054906101000a900460ff1615151461138857600080fd5b6000601b60016101000a81548160ff021916908315150217905550565b60125481565b6113bc6113b6612865565b826129a2565b6113fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f290614e13565b60405180910390fd5b611406838383612a80565b505050565b600061141683611bd4565b8210611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144e90614a93565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6114b8612865565b73ffffffffffffffffffffffffffffffffffffffff166114d6611d14565b73ffffffffffffffffffffffffffffffffffffffff161461152c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152390614d53565b60405180910390fd5b8060138190555050565b61153e612865565b73ffffffffffffffffffffffffffffffffffffffff1661155c611d14565b73ffffffffffffffffffffffffffffffffffffffff16146115b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a990614d53565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156115f8573d6000803e3d6000fd5b50565b601a5481565b61161c83838360405180602001604052806000815250611eed565b505050565b611629612865565b73ffffffffffffffffffffffffffffffffffffffff16611647611d14565b73ffffffffffffffffffffffffffffffffffffffff161461169d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169490614d53565b60405180910390fd5b80600d90805190602001906116b3929190613cb3565b5050565b60006116c16112df565b8210611702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f990614e33565b60405180910390fd5b60088281548110611716576117156152fe565b5b90600052602060002001549050919050565b601b60029054906101000a900460ff1681565b611743612865565b73ffffffffffffffffffffffffffffffffffffffff16611761611d14565b73ffffffffffffffffffffffffffffffffffffffff16146117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae90614d53565b60405180910390fd5b80600f819055506001601b60016101000a81548160ff02191690831515021790555050565b600081116117e957600080fd5b6000601a54116117f857600080fd5b60165481111561183d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183490614b53565b60405180910390fd5b601154816118496112df565b6118539190614f58565b1115611894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188b90614df3565b60405180910390fd5b601b60009054906101000a900460ff166118e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118da90614cd3565b60405180910390fd5b806014546118f19190614fdf565b341015611933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192a90614bb3565b60405180910390fd5b60155481111561194257600080fd5b60155481601d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119909190614f58565b11156119d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c890614d13565b60405180910390fd5b6000600190505b818111611a90576011546119ea6112df565b601a546119f79190614f58565b611a019190615211565b60198190555060006019541415611a1c576011546019819055505b601d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611a6c90615190565b9190505550611a7d33601954612984565b8080611a8890615190565b9150506119d8565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3490614c73565b60405180910390fd5b80915050919050565b600d8054611b539061512d565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7f9061512d565b8015611bcc5780601f10611ba157610100808354040283529160200191611bcc565b820191906000526020600020905b815481529060010190602001808311611baf57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3c90614c53565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c94612865565b73ffffffffffffffffffffffffffffffffffffffff16611cb2611d14565b73ffffffffffffffffffffffffffffffffffffffff1614611d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cff90614d53565b60405180910390fd5b611d126000612cdc565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc390614db3565b60405180910390fd5b611dd68282612da2565b5050565b601b60019054906101000a900460ff1681565b606060018054611dfc9061512d565b80601f0160208091040260200160405190810160405280929190818152602001828054611e289061512d565b8015611e755780601f10611e4a57610100808354040283529160200191611e75565b820191906000526020600020905b815481529060010190602001808311611e5857829003601f168201915b5050505050905090565b601c8181548110611e8f57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611ed0611ec9612865565b8383612db9565b5050565b601b60009054906101000a900460ff1681565b60145481565b611efe611ef8612865565b836129a2565b611f3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3490614e13565b60405180910390fd5b611f4984848484612f26565b50505050565b611f57612865565b73ffffffffffffffffffffffffffffffffffffffff16611f75611d14565b73ffffffffffffffffffffffffffffffffffffffff1614611fcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc290614d53565b60405180910390fd5b8060148190555050565b6060611fe0826127f9565b61201f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201690614d93565b60405180910390fd5b601b60029054906101000a900460ff161561209257600061203e612f82565b5111612059576040518060200160405280600081525061208b565b612061612f82565b61206a83613014565b60405160200161207b9291906148f9565b6040516020818303038152906040525b905061209d565b61209a612f82565b90505b919050565b6120aa612865565b73ffffffffffffffffffffffffffffffffffffffff166120c8611d14565b73ffffffffffffffffffffffffffffffffffffffff161461211e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211590614d53565b60405180910390fd5b80600e9080519060200190612134929190613cb3565b5050565b60115481565b612146612865565b73ffffffffffffffffffffffffffffffffffffffff16612164611d14565b73ffffffffffffffffffffffffffffffffffffffff16146121ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b190614d53565b60405180910390fd5b6000601b60006101000a81548160ff021916908315150217905550565b60006121e1612865565b73ffffffffffffffffffffffffffffffffffffffff166121ff611d14565b73ffffffffffffffffffffffffffffffffffffffff1614612255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224c90614d53565b60405180910390fd5b6000601a541461226457600080fd5b6018547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016122c09190614928565b60206040518083038186803b1580156122d857600080fd5b505afa1580156122ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123109190614261565b101561231b57600080fd5b612329601054601854613175565b905090565b6060600e805461233d9061512d565b80601f01602080910402602001604051908101604052809291908181526020018280546123699061512d565b80156123b65780601f1061238b576101008083540402835291602001916123b6565b820191906000526020600020905b81548152906001019060200180831161239957829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61245c612865565b73ffffffffffffffffffffffffffffffffffffffff1661247a611d14565b73ffffffffffffffffffffffffffffffffffffffff16146124d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c790614d53565b60405180910390fd5b6000601a5411612515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250c90614ad3565b60405180910390fd5b601154816125216112df565b61252b9190614f58565b111561256c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256390614e53565b60405180910390fd5b60328111156125b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a790614bd3565b60405180910390fd5b6000600190505b81811161261a576011546125c96112df565b601a546125d69190614f58565b6125e09190615211565b601981905550600060195414156125fb576011546019819055505b61260783601954612984565b808061261290615190565b9150506125b7565b505050565b612627612865565b73ffffffffffffffffffffffffffffffffffffffff16612645611d14565b73ffffffffffffffffffffffffffffffffffffffff161461269b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269290614d53565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561270b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270290614af3565b60405180910390fd5b61271481612cdc565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127f257506127f1826132d7565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128e083611a94565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061297b61293485613341565b848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050613371565b90509392505050565b61299e828260405180602001604052806000815250613388565b5050565b60006129ad826127f9565b6129ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e390614bf3565b60405180910390fd5b60006129f783611a94565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a6657508373ffffffffffffffffffffffffffffffffffffffff16612a4e84610ca3565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a775750612a7681856123c0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612aa082611a94565b73ffffffffffffffffffffffffffffffffffffffff1614612af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aed90614d73565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5d90614b73565b60405180910390fd5b612b718383836133e3565b612b7c60008261286d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bcc9190615039565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c239190614f58565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600181612daf9190614f58565b601a819055505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1f90614b93565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f1991906149cd565b60405180910390a3505050565b612f31848484612a80565b612f3d848484846134f7565b612f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7390614ab3565b60405180910390fd5b50505050565b6060600d8054612f919061512d565b80601f0160208091040260200160405190810160405280929190818152602001828054612fbd9061512d565b801561300a5780601f10612fdf5761010080835404028352916020019161300a565b820191906000526020600020905b815481529060010190602001808311612fed57829003601f168201915b5050505050905090565b6060600082141561305c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613170565b600082905060005b6000821461308e57808061307790615190565b915050600a826130879190614fae565b9150613064565b60008167ffffffffffffffff8111156130aa576130a961532d565b5b6040519080825280601f01601f1916602001820160405280156130dc5781602001600182028036833780820191505090505b5090505b60008514613169576001826130f59190615039565b9150600a856131049190615211565b60306131109190614f58565b60f81b818381518110613126576131256152fe565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131629190614fae565b94506130e0565b8093505050505b919050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634000aea07f0000000000000000000000000000000000000000000000000000000000000000848660006040516020016131e9929190614a03565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016132169392919061498f565b602060405180830381600087803b15801561323057600080fd5b505af1158015613244573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061326891906140f7565b50600061328b84600030600b60008981526020019081526020016000205461368e565b90506001600b6000868152602001908152602001600020546132ad9190614f58565b600b6000868152602001908152602001600020819055506132ce84826136ca565b91505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816040516020016133549190614886565b604051602081830303815290604052805190602001209050919050565b600061338082600f54856136fd565b905092915050565b6133928383613714565b61339f60008484846134f7565b6133de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d590614ab3565b60405180910390fd5b505050565b6133ee8383836138e2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134315761342c816138e7565b613470565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461346f5761346e8382613930565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134b3576134ae81613a9d565b6134f2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134f1576134f08282613b6e565b5b5b505050565b60006135188473ffffffffffffffffffffffffffffffffffffffff16613bed565b15613681578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613541612865565b8786866040518563ffffffff1660e01b81526004016135639493929190614943565b602060405180830381600087803b15801561357d57600080fd5b505af19250505080156135ae57506040513d601f19601f820116820180604052508101906135ab91906141be565b60015b613631573d80600081146135de576040519150601f19603f3d011682016040523d82523d6000602084013e6135e3565b606091505b50600081511415613629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362090614ab3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613686565b600190505b949350505050565b6000848484846040516020016136a79493929190614a2c565b6040516020818303038152906040528051906020012060001c9050949350505050565b600082826040516020016136df9291906148cd565b60405160208183030381529060405280519060200120905092915050565b60008261370a8584613c00565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377b90614cf3565b60405180910390fd5b61378d816127f9565b156137cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137c490614b13565b60405180910390fd5b6137d9600083836133e3565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138299190614f58565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161393d84611bd4565b6139479190615039565b9050600060076000848152602001908152602001600020549050818114613a2c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613ab19190615039565b9050600060096000848152602001908152602001600020549050600060088381548110613ae157613ae06152fe565b5b906000526020600020015490508060088381548110613b0357613b026152fe565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613b5257613b516152cf565b5b6001900381819060005260206000200160009055905550505050565b6000613b7983611bd4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b60008082905060005b8451811015613ca8576000858281518110613c2757613c266152fe565b5b60200260200101519050808311613c68578281604051602001613c4b9291906148a1565b604051602081830303815290604052805190602001209250613c94565b8083604051602001613c7b9291906148a1565b6040516020818303038152906040528051906020012092505b508080613ca090615190565b915050613c09565b508091505092915050565b828054613cbf9061512d565b90600052602060002090601f016020900481019282613ce15760008555613d28565b82601f10613cfa57805160ff1916838001178555613d28565b82800160010185558215613d28579182015b82811115613d27578251825591602001919060010190613d0c565b5b509050613d359190613d39565b5090565b5b80821115613d52576000816000905550600101613d3a565b5090565b6000613d69613d6484614eb3565b614e8e565b905082815260208101848484011115613d8557613d8461536b565b5b613d908482856150eb565b509392505050565b6000613dab613da684614ee4565b614e8e565b905082815260208101848484011115613dc757613dc661536b565b5b613dd28482856150eb565b509392505050565b600081359050613de981615af2565b92915050565b60008083601f840112613e0557613e04615361565b5b8235905067ffffffffffffffff811115613e2257613e2161535c565b5b602083019150836020820283011115613e3e57613e3d615366565b5b9250929050565b600081359050613e5481615b09565b92915050565b600081519050613e6981615b09565b92915050565b600081359050613e7e81615b20565b92915050565b600081359050613e9381615b37565b92915050565b600081519050613ea881615b37565b92915050565b600082601f830112613ec357613ec2615361565b5b8135613ed3848260208601613d56565b91505092915050565b600082601f830112613ef157613ef0615361565b5b8135613f01848260208601613d98565b91505092915050565b600081359050613f1981615b4e565b92915050565b600081519050613f2e81615b4e565b92915050565b600060208284031215613f4a57613f49615375565b5b6000613f5884828501613dda565b91505092915050565b60008060408385031215613f7857613f77615375565b5b6000613f8685828601613dda565b9250506020613f9785828601613dda565b9150509250929050565b600080600060608486031215613fba57613fb9615375565b5b6000613fc886828701613dda565b9350506020613fd986828701613dda565b9250506040613fea86828701613f0a565b9150509250925092565b6000806000806080858703121561400e5761400d615375565b5b600061401c87828801613dda565b945050602061402d87828801613dda565b935050604061403e87828801613f0a565b925050606085013567ffffffffffffffff81111561405f5761405e615370565b5b61406b87828801613eae565b91505092959194509250565b6000806040838503121561408e5761408d615375565b5b600061409c85828601613dda565b92505060206140ad85828601613e45565b9150509250929050565b600080604083850312156140ce576140cd615375565b5b60006140dc85828601613dda565b92505060206140ed85828601613f0a565b9150509250929050565b60006020828403121561410d5761410c615375565b5b600061411b84828501613e5a565b91505092915050565b60006020828403121561413a57614139615375565b5b600061414884828501613e6f565b91505092915050565b6000806040838503121561416857614167615375565b5b600061417685828601613e6f565b925050602061418785828601613f0a565b9150509250929050565b6000602082840312156141a7576141a6615375565b5b60006141b584828501613e84565b91505092915050565b6000602082840312156141d4576141d3615375565b5b60006141e284828501613e99565b91505092915050565b60006020828403121561420157614200615375565b5b600082013567ffffffffffffffff81111561421f5761421e615370565b5b61422b84828501613edc565b91505092915050565b60006020828403121561424a57614249615375565b5b600061425884828501613f0a565b91505092915050565b60006020828403121561427757614276615375565b5b600061428584828501613f1f565b91505092915050565b600080600080606085870312156142a8576142a7615375565b5b60006142b687828801613f0a565b94505060206142c787828801613dda565b935050604085013567ffffffffffffffff8111156142e8576142e7615370565b5b6142f487828801613def565b925092505092959194509250565b61430b8161506d565b82525050565b61432261431d8261506d565b6151d9565b82525050565b6143318161507f565b82525050565b6143408161508b565b82525050565b6143576143528261508b565b6151eb565b82525050565b600061436882614f15565b6143728185614f2b565b93506143828185602086016150fa565b61438b8161537a565b840191505092915050565b60006143a182614f20565b6143ab8185614f3c565b93506143bb8185602086016150fa565b6143c48161537a565b840191505092915050565b60006143da82614f20565b6143e48185614f4d565b93506143f48185602086016150fa565b80840191505092915050565b600061440d602b83614f3c565b915061441882615398565b604082019050919050565b6000614430603283614f3c565b915061443b826153e7565b604082019050919050565b6000614453601c83614f3c565b915061445e82615436565b602082019050919050565b6000614476602683614f3c565b91506144818261545f565b604082019050919050565b6000614499601c83614f3c565b91506144a4826154ae565b602082019050919050565b60006144bc601683614f3c565b91506144c7826154d7565b602082019050919050565b60006144df602283614f3c565b91506144ea82615500565b604082019050919050565b6000614502602483614f3c565b915061450d8261554f565b604082019050919050565b6000614525601983614f3c565b91506145308261559e565b602082019050919050565b6000614548601083614f3c565b9150614553826155c7565b602082019050919050565b600061456b601b83614f3c565b9150614576826155f0565b602082019050919050565b600061458e602c83614f3c565b915061459982615619565b604082019050919050565b60006145b1601283614f3c565b91506145bc82615668565b602082019050919050565b60006145d4603883614f3c565b91506145df82615691565b604082019050919050565b60006145f7602a83614f3c565b9150614602826156e0565b604082019050919050565b600061461a602983614f3c565b91506146258261572f565b604082019050919050565b600061463d601883614f3c565b91506146488261577e565b602082019050919050565b6000614660600d83614f3c565b915061466b826157a7565b602082019050919050565b6000614683601683614f3c565b915061468e826157d0565b602082019050919050565b60006146a6602083614f3c565b91506146b1826157f9565b602082019050919050565b60006146c9601983614f3c565b91506146d482615822565b602082019050919050565b60006146ec602c83614f3c565b91506146f78261584b565b604082019050919050565b600061470f600583614f4d565b915061471a8261589a565b600582019050919050565b6000614732602083614f3c565b915061473d826158c3565b602082019050919050565b6000614755602983614f3c565b9150614760826158ec565b604082019050919050565b6000614778602f83614f3c565b91506147838261593b565b604082019050919050565b600061479b601f83614f3c565b91506147a68261598a565b602082019050919050565b60006147be602183614f3c565b91506147c9826159b3565b604082019050919050565b60006147e1601a83614f3c565b91506147ec82615a02565b602082019050919050565b6000614804603183614f3c565b915061480f82615a2b565b604082019050919050565b6000614827602c83614f3c565b915061483282615a7a565b604082019050919050565b600061484a601f83614f3c565b915061485582615ac9565b602082019050919050565b614869816150e1565b82525050565b61488061487b826150e1565b615207565b82525050565b60006148928284614311565b60148201915081905092915050565b60006148ad8285614346565b6020820191506148bd8284614346565b6020820191508190509392505050565b60006148d98285614346565b6020820191506148e9828461486f565b6020820191508190509392505050565b600061490582856143cf565b915061491182846143cf565b915061491c82614702565b91508190509392505050565b600060208201905061493d6000830184614302565b92915050565b60006080820190506149586000830187614302565b6149656020830186614302565b6149726040830185614860565b8181036060830152614984818461435d565b905095945050505050565b60006060820190506149a46000830186614302565b6149b16020830185614860565b81810360408301526149c3818461435d565b9050949350505050565b60006020820190506149e26000830184614328565b92915050565b60006020820190506149fd6000830184614337565b92915050565b6000604082019050614a186000830185614337565b614a256020830184614860565b9392505050565b6000608082019050614a416000830187614337565b614a4e6020830186614860565b614a5b6040830185614302565b614a686060830184614860565b95945050505050565b60006020820190508181036000830152614a8b8184614396565b905092915050565b60006020820190508181036000830152614aac81614400565b9050919050565b60006020820190508181036000830152614acc81614423565b9050919050565b60006020820190508181036000830152614aec81614446565b9050919050565b60006020820190508181036000830152614b0c81614469565b9050919050565b60006020820190508181036000830152614b2c8161448c565b9050919050565b60006020820190508181036000830152614b4c816144af565b9050919050565b60006020820190508181036000830152614b6c816144d2565b9050919050565b60006020820190508181036000830152614b8c816144f5565b9050919050565b60006020820190508181036000830152614bac81614518565b9050919050565b60006020820190508181036000830152614bcc8161453b565b9050919050565b60006020820190508181036000830152614bec8161455e565b9050919050565b60006020820190508181036000830152614c0c81614581565b9050919050565b60006020820190508181036000830152614c2c816145a4565b9050919050565b60006020820190508181036000830152614c4c816145c7565b9050919050565b60006020820190508181036000830152614c6c816145ea565b9050919050565b60006020820190508181036000830152614c8c8161460d565b9050919050565b60006020820190508181036000830152614cac81614630565b9050919050565b60006020820190508181036000830152614ccc81614653565b9050919050565b60006020820190508181036000830152614cec81614676565b9050919050565b60006020820190508181036000830152614d0c81614699565b9050919050565b60006020820190508181036000830152614d2c816146bc565b9050919050565b60006020820190508181036000830152614d4c816146df565b9050919050565b60006020820190508181036000830152614d6c81614725565b9050919050565b60006020820190508181036000830152614d8c81614748565b9050919050565b60006020820190508181036000830152614dac8161476b565b9050919050565b60006020820190508181036000830152614dcc8161478e565b9050919050565b60006020820190508181036000830152614dec816147b1565b9050919050565b60006020820190508181036000830152614e0c816147d4565b9050919050565b60006020820190508181036000830152614e2c816147f7565b9050919050565b60006020820190508181036000830152614e4c8161481a565b9050919050565b60006020820190508181036000830152614e6c8161483d565b9050919050565b6000602082019050614e886000830184614860565b92915050565b6000614e98614ea9565b9050614ea4828261515f565b919050565b6000604051905090565b600067ffffffffffffffff821115614ece57614ecd61532d565b5b614ed78261537a565b9050602081019050919050565b600067ffffffffffffffff821115614eff57614efe61532d565b5b614f088261537a565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f63826150e1565b9150614f6e836150e1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fa357614fa2615242565b5b828201905092915050565b6000614fb9826150e1565b9150614fc4836150e1565b925082614fd457614fd3615271565b5b828204905092915050565b6000614fea826150e1565b9150614ff5836150e1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561502e5761502d615242565b5b828202905092915050565b6000615044826150e1565b915061504f836150e1565b92508282101561506257615061615242565b5b828203905092915050565b6000615078826150c1565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156151185780820151818401526020810190506150fd565b83811115615127576000848401525b50505050565b6000600282049050600182168061514557607f821691505b60208210811415615159576151586152a0565b5b50919050565b6151688261537a565b810181811067ffffffffffffffff821117156151875761518661532d565b5b80604052505050565b600061519b826150e1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156151ce576151cd615242565b5b600182019050919050565b60006151e4826151f5565b9050919050565b6000819050919050565b60006152008261538b565b9050919050565b6000819050919050565b600061521c826150e1565b9150615227836150e1565b92508261523757615236615271565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f47656e65726174652072616e646f6d206e756d62657220666972737400000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f596f75277265206e6f742077686974656c697374656400000000000000000000600082015250565b7f457863656564696e67206d61782e206d696e7420616d6f756e7420706572207460008201527f782e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416d6f756e7420697320746f206c6f7700000000000000000000000000000000600082015250565b7f4c696d697420697320353020706572207472616e73616374696f6e0000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f50726573616c652069736e2774206c6976650000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d61782e2034204e4654277320696e2050726573616c652e0000000000000000600082015250565b7f416d6f756e7420746f206c6f7700000000000000000000000000000000000000600082015250565b7f5075626c69632053616c652069736e2774206c69766500000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4d61782e203330204e46542773207065722077616c6c65742e00000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e742065786365656473206d61782e20737570706c79000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4769667420616d6f756e742065786365656473206d61782e20737570706c7900600082015250565b615afb8161506d565b8114615b0657600080fd5b50565b615b128161507f565b8114615b1d57600080fd5b50565b615b298161508b565b8114615b3457600080fd5b50565b615b4081615095565b8114615b4b57600080fd5b50565b615b57816150e1565b8114615b6257600080fd5b5056fea2646970667358221220a6be37f554d4513a3389050582d09dee6a140ba53ccaff7910ac4637472abe9f64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000012436f736d6963204d6f6e6b657920436c756200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003434d430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d6370464166683756367933684e3652445738365a4e35616957527236454d416e6a64525144666d716d784a720000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102875760003560e01c80635a5e5d581161015a578063a945bf80116100c1578063da1b91c31161007a578063da1b91c314610979578063dbdff2c114610990578063e8a3d485146109bb578063e985e9c5146109e6578063efc8e9d614610a23578063f2fde38b14610a4c57610287565b8063a945bf801461086b578063b88d4fde14610896578063c6275255146108bf578063c87b56dd146108e8578063ccb4807b14610925578063d5abeb011461094e57610287565b806394985ddd1161011357806394985ddd1461075b57806395364a841461078457806395d89b41146107af5780639a77653d146107da578063a22cb46514610817578063a5a865dc1461084057610287565b80635a5e5d58146106585780636352211e146106745780636c0360eb146106b157806370a08231146106dc578063715018a6146107195780638da5cb5b1461073057610287565b80631ad2ad1a116101fe57806342619f66116101b757806342619f661461054a57806342842e0e146105755780634c2612471461059e5780634f6ccce7146105c757806354214f69146106045780635599229d1461062f57610287565b80631ad2ad1a1461046257806321bdb26e1461047957806323b872dd146104a45780632f745c59146104cd5780633549345e1461050a5780633ccfd60b1461053357610287565b8063081812fc11610250578063081812fc14610375578063095ea7b3146103b25780630c1c972a146103db57806310969523146103f25780631215500e1461041b57806318160ddd1461043757610287565b80620e7fa81461028c57806301ffc9a7146102b7578063039cabe6146102f4578063065215861461031f57806306fdde031461034a575b600080fd5b34801561029857600080fd5b506102a1610a75565b6040516102ae9190614e73565b60405180910390f35b3480156102c357600080fd5b506102de60048036038101906102d99190614191565b610a7b565b6040516102eb91906149cd565b60405180910390f35b34801561030057600080fd5b50610309610af5565b6040516103169190614a71565b60405180910390f35b34801561032b57600080fd5b50610334610b83565b6040516103419190614a71565b60405180910390f35b34801561035657600080fd5b5061035f610c11565b60405161036c9190614a71565b60405180910390f35b34801561038157600080fd5b5061039c60048036038101906103979190614234565b610ca3565b6040516103a99190614928565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906140b7565b610d28565b005b3480156103e757600080fd5b506103f0610e40565b005b3480156103fe57600080fd5b50610419600480360381019061041491906141eb565b610ef9565b005b6104356004803603810190610430919061428e565b610f8f565b005b34801561044357600080fd5b5061044c6112df565b6040516104599190614e73565b60405180910390f35b34801561046e57600080fd5b506104776112ec565b005b34801561048557600080fd5b5061048e6113a5565b60405161049b9190614e73565b60405180910390f35b3480156104b057600080fd5b506104cb60048036038101906104c69190613fa1565b6113ab565b005b3480156104d957600080fd5b506104f460048036038101906104ef91906140b7565b61140b565b6040516105019190614e73565b60405180910390f35b34801561051657600080fd5b50610531600480360381019061052c9190614234565b6114b0565b005b34801561053f57600080fd5b50610548611536565b005b34801561055657600080fd5b5061055f6115fb565b60405161056c9190614e73565b60405180910390f35b34801561058157600080fd5b5061059c60048036038101906105979190613fa1565b611601565b005b3480156105aa57600080fd5b506105c560048036038101906105c091906141eb565b611621565b005b3480156105d357600080fd5b506105ee60048036038101906105e99190614234565b6116b7565b6040516105fb9190614e73565b60405180910390f35b34801561061057600080fd5b50610619611728565b60405161062691906149cd565b60405180910390f35b34801561063b57600080fd5b5061065660048036038101906106519190614124565b61173b565b005b610672600480360381019061066d9190614234565b6117dc565b005b34801561068057600080fd5b5061069b60048036038101906106969190614234565b611a94565b6040516106a89190614928565b60405180910390f35b3480156106bd57600080fd5b506106c6611b46565b6040516106d39190614a71565b60405180910390f35b3480156106e857600080fd5b5061070360048036038101906106fe9190613f34565b611bd4565b6040516107109190614e73565b60405180910390f35b34801561072557600080fd5b5061072e611c8c565b005b34801561073c57600080fd5b50610745611d14565b6040516107529190614928565b60405180910390f35b34801561076757600080fd5b50610782600480360381019061077d9190614151565b611d3e565b005b34801561079057600080fd5b50610799611dda565b6040516107a691906149cd565b60405180910390f35b3480156107bb57600080fd5b506107c4611ded565b6040516107d19190614a71565b60405180910390f35b3480156107e657600080fd5b5061080160048036038101906107fc9190614234565b611e7f565b60405161080e9190614928565b60405180910390f35b34801561082357600080fd5b5061083e60048036038101906108399190614077565b611ebe565b005b34801561084c57600080fd5b50610855611ed4565b60405161086291906149cd565b60405180910390f35b34801561087757600080fd5b50610880611ee7565b60405161088d9190614e73565b60405180910390f35b3480156108a257600080fd5b506108bd60048036038101906108b89190613ff4565b611eed565b005b3480156108cb57600080fd5b506108e660048036038101906108e19190614234565b611f4f565b005b3480156108f457600080fd5b5061090f600480360381019061090a9190614234565b611fd5565b60405161091c9190614a71565b60405180910390f35b34801561093157600080fd5b5061094c600480360381019061094791906141eb565b6120a2565b005b34801561095a57600080fd5b50610963612138565b6040516109709190614e73565b60405180910390f35b34801561098557600080fd5b5061098e61213e565b005b34801561099c57600080fd5b506109a56121d7565b6040516109b291906149e8565b60405180910390f35b3480156109c757600080fd5b506109d061232e565b6040516109dd9190614a71565b60405180910390f35b3480156109f257600080fd5b50610a0d6004803603810190610a089190613f61565b6123c0565b604051610a1a91906149cd565b60405180910390f35b348015610a2f57600080fd5b50610a4a6004803603810190610a4591906140b7565b612454565b005b348015610a5857600080fd5b50610a736004803603810190610a6e9190613f34565b61261f565b005b60135481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aee5750610aed82612717565b5b9050919050565b600c8054610b029061512d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2e9061512d565b8015610b7b5780601f10610b5057610100808354040283529160200191610b7b565b820191906000526020600020905b815481529060010190602001808311610b5e57829003601f168201915b505050505081565b600e8054610b909061512d565b80601f0160208091040260200160405190810160405280929190818152602001828054610bbc9061512d565b8015610c095780601f10610bde57610100808354040283529160200191610c09565b820191906000526020600020905b815481529060010190602001808311610bec57829003601f168201915b505050505081565b606060008054610c209061512d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4c9061512d565b8015610c995780601f10610c6e57610100808354040283529160200191610c99565b820191906000526020600020905b815481529060010190602001808311610c7c57829003601f168201915b5050505050905090565b6000610cae826127f9565b610ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce490614d33565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d3382611a94565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9b90614dd3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dc3612865565b73ffffffffffffffffffffffffffffffffffffffff161480610df25750610df181610dec612865565b6123c0565b5b610e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2890614c33565b60405180910390fd5b610e3b838361286d565b505050565b610e48612865565b73ffffffffffffffffffffffffffffffffffffffff16610e66611d14565b73ffffffffffffffffffffffffffffffffffffffff1614610ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb390614d53565b60405180910390fd5b60001515601b60019054906101000a900460ff16151514610edc57600080fd5b6001601b60006101000a81548160ff021916908315150217905550565b610f01612865565b73ffffffffffffffffffffffffffffffffffffffff16610f1f611d14565b73ffffffffffffffffffffffffffffffffffffffff1614610f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6c90614d53565b60405180910390fd5b80600c9080519060200190610f8b929190613cb3565b5050565b60008411610f9c57600080fd5b6000601a5411610fab57600080fd5b601754841115610fba57600080fd5b610fc2611d14565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461116d57601b60019054906101000a900460ff16611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103a90614c13565b60405180910390fd5b61104e838383612926565b61108d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108490614b33565b60405180910390fd5b8360135461109b9190614fdf565b3410156110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d490614cb3565b60405180910390fd5b60175484601d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461112b9190614f58565b111561116c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116390614c93565b60405180910390fd5b5b6000600190505b8481116112d8576011546111866112df565b601a546111939190614f58565b61119d9190615211565b601981905550600060195414156111b8576011546019819055505b6111c433601954612984565b601d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061121490615190565b91905055506004601d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156112c557601c339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b80806112d090615190565b915050611174565b5050505050565b6000600880549050905090565b6112f4612865565b73ffffffffffffffffffffffffffffffffffffffff16611312611d14565b73ffffffffffffffffffffffffffffffffffffffff1614611368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135f90614d53565b60405180910390fd5b60001515601b60009054906101000a900460ff1615151461138857600080fd5b6000601b60016101000a81548160ff021916908315150217905550565b60125481565b6113bc6113b6612865565b826129a2565b6113fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f290614e13565b60405180910390fd5b611406838383612a80565b505050565b600061141683611bd4565b8210611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144e90614a93565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6114b8612865565b73ffffffffffffffffffffffffffffffffffffffff166114d6611d14565b73ffffffffffffffffffffffffffffffffffffffff161461152c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152390614d53565b60405180910390fd5b8060138190555050565b61153e612865565b73ffffffffffffffffffffffffffffffffffffffff1661155c611d14565b73ffffffffffffffffffffffffffffffffffffffff16146115b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a990614d53565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156115f8573d6000803e3d6000fd5b50565b601a5481565b61161c83838360405180602001604052806000815250611eed565b505050565b611629612865565b73ffffffffffffffffffffffffffffffffffffffff16611647611d14565b73ffffffffffffffffffffffffffffffffffffffff161461169d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169490614d53565b60405180910390fd5b80600d90805190602001906116b3929190613cb3565b5050565b60006116c16112df565b8210611702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f990614e33565b60405180910390fd5b60088281548110611716576117156152fe565b5b90600052602060002001549050919050565b601b60029054906101000a900460ff1681565b611743612865565b73ffffffffffffffffffffffffffffffffffffffff16611761611d14565b73ffffffffffffffffffffffffffffffffffffffff16146117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae90614d53565b60405180910390fd5b80600f819055506001601b60016101000a81548160ff02191690831515021790555050565b600081116117e957600080fd5b6000601a54116117f857600080fd5b60165481111561183d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183490614b53565b60405180910390fd5b601154816118496112df565b6118539190614f58565b1115611894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188b90614df3565b60405180910390fd5b601b60009054906101000a900460ff166118e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118da90614cd3565b60405180910390fd5b806014546118f19190614fdf565b341015611933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192a90614bb3565b60405180910390fd5b60155481111561194257600080fd5b60155481601d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119909190614f58565b11156119d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c890614d13565b60405180910390fd5b6000600190505b818111611a90576011546119ea6112df565b601a546119f79190614f58565b611a019190615211565b60198190555060006019541415611a1c576011546019819055505b601d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611a6c90615190565b9190505550611a7d33601954612984565b8080611a8890615190565b9150506119d8565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3490614c73565b60405180910390fd5b80915050919050565b600d8054611b539061512d565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7f9061512d565b8015611bcc5780601f10611ba157610100808354040283529160200191611bcc565b820191906000526020600020905b815481529060010190602001808311611baf57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3c90614c53565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c94612865565b73ffffffffffffffffffffffffffffffffffffffff16611cb2611d14565b73ffffffffffffffffffffffffffffffffffffffff1614611d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cff90614d53565b60405180910390fd5b611d126000612cdc565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc390614db3565b60405180910390fd5b611dd68282612da2565b5050565b601b60019054906101000a900460ff1681565b606060018054611dfc9061512d565b80601f0160208091040260200160405190810160405280929190818152602001828054611e289061512d565b8015611e755780601f10611e4a57610100808354040283529160200191611e75565b820191906000526020600020905b815481529060010190602001808311611e5857829003601f168201915b5050505050905090565b601c8181548110611e8f57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611ed0611ec9612865565b8383612db9565b5050565b601b60009054906101000a900460ff1681565b60145481565b611efe611ef8612865565b836129a2565b611f3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3490614e13565b60405180910390fd5b611f4984848484612f26565b50505050565b611f57612865565b73ffffffffffffffffffffffffffffffffffffffff16611f75611d14565b73ffffffffffffffffffffffffffffffffffffffff1614611fcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc290614d53565b60405180910390fd5b8060148190555050565b6060611fe0826127f9565b61201f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201690614d93565b60405180910390fd5b601b60029054906101000a900460ff161561209257600061203e612f82565b5111612059576040518060200160405280600081525061208b565b612061612f82565b61206a83613014565b60405160200161207b9291906148f9565b6040516020818303038152906040525b905061209d565b61209a612f82565b90505b919050565b6120aa612865565b73ffffffffffffffffffffffffffffffffffffffff166120c8611d14565b73ffffffffffffffffffffffffffffffffffffffff161461211e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211590614d53565b60405180910390fd5b80600e9080519060200190612134929190613cb3565b5050565b60115481565b612146612865565b73ffffffffffffffffffffffffffffffffffffffff16612164611d14565b73ffffffffffffffffffffffffffffffffffffffff16146121ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b190614d53565b60405180910390fd5b6000601b60006101000a81548160ff021916908315150217905550565b60006121e1612865565b73ffffffffffffffffffffffffffffffffffffffff166121ff611d14565b73ffffffffffffffffffffffffffffffffffffffff1614612255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224c90614d53565b60405180910390fd5b6000601a541461226457600080fd5b6018547f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016122c09190614928565b60206040518083038186803b1580156122d857600080fd5b505afa1580156122ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123109190614261565b101561231b57600080fd5b612329601054601854613175565b905090565b6060600e805461233d9061512d565b80601f01602080910402602001604051908101604052809291908181526020018280546123699061512d565b80156123b65780601f1061238b576101008083540402835291602001916123b6565b820191906000526020600020905b81548152906001019060200180831161239957829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61245c612865565b73ffffffffffffffffffffffffffffffffffffffff1661247a611d14565b73ffffffffffffffffffffffffffffffffffffffff16146124d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c790614d53565b60405180910390fd5b6000601a5411612515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250c90614ad3565b60405180910390fd5b601154816125216112df565b61252b9190614f58565b111561256c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256390614e53565b60405180910390fd5b60328111156125b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a790614bd3565b60405180910390fd5b6000600190505b81811161261a576011546125c96112df565b601a546125d69190614f58565b6125e09190615211565b601981905550600060195414156125fb576011546019819055505b61260783601954612984565b808061261290615190565b9150506125b7565b505050565b612627612865565b73ffffffffffffffffffffffffffffffffffffffff16612645611d14565b73ffffffffffffffffffffffffffffffffffffffff161461269b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269290614d53565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561270b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270290614af3565b60405180910390fd5b61271481612cdc565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127f257506127f1826132d7565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128e083611a94565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061297b61293485613341565b848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050613371565b90509392505050565b61299e828260405180602001604052806000815250613388565b5050565b60006129ad826127f9565b6129ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e390614bf3565b60405180910390fd5b60006129f783611a94565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a6657508373ffffffffffffffffffffffffffffffffffffffff16612a4e84610ca3565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a775750612a7681856123c0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612aa082611a94565b73ffffffffffffffffffffffffffffffffffffffff1614612af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aed90614d73565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5d90614b73565b60405180910390fd5b612b718383836133e3565b612b7c60008261286d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bcc9190615039565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c239190614f58565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600181612daf9190614f58565b601a819055505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1f90614b93565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f1991906149cd565b60405180910390a3505050565b612f31848484612a80565b612f3d848484846134f7565b612f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7390614ab3565b60405180910390fd5b50505050565b6060600d8054612f919061512d565b80601f0160208091040260200160405190810160405280929190818152602001828054612fbd9061512d565b801561300a5780601f10612fdf5761010080835404028352916020019161300a565b820191906000526020600020905b815481529060010190602001808311612fed57829003601f168201915b5050505050905090565b6060600082141561305c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613170565b600082905060005b6000821461308e57808061307790615190565b915050600a826130879190614fae565b9150613064565b60008167ffffffffffffffff8111156130aa576130a961532d565b5b6040519080825280601f01601f1916602001820160405280156130dc5781602001600182028036833780820191505090505b5090505b60008514613169576001826130f59190615039565b9150600a856131049190615211565b60306131109190614f58565b60f81b818381518110613126576131256152fe565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131629190614fae565b94506130e0565b8093505050505b919050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952848660006040516020016131e9929190614a03565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016132169392919061498f565b602060405180830381600087803b15801561323057600080fd5b505af1158015613244573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061326891906140f7565b50600061328b84600030600b60008981526020019081526020016000205461368e565b90506001600b6000868152602001908152602001600020546132ad9190614f58565b600b6000868152602001908152602001600020819055506132ce84826136ca565b91505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816040516020016133549190614886565b604051602081830303815290604052805190602001209050919050565b600061338082600f54856136fd565b905092915050565b6133928383613714565b61339f60008484846134f7565b6133de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d590614ab3565b60405180910390fd5b505050565b6133ee8383836138e2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134315761342c816138e7565b613470565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461346f5761346e8382613930565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134b3576134ae81613a9d565b6134f2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134f1576134f08282613b6e565b5b5b505050565b60006135188473ffffffffffffffffffffffffffffffffffffffff16613bed565b15613681578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613541612865565b8786866040518563ffffffff1660e01b81526004016135639493929190614943565b602060405180830381600087803b15801561357d57600080fd5b505af19250505080156135ae57506040513d601f19601f820116820180604052508101906135ab91906141be565b60015b613631573d80600081146135de576040519150601f19603f3d011682016040523d82523d6000602084013e6135e3565b606091505b50600081511415613629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362090614ab3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613686565b600190505b949350505050565b6000848484846040516020016136a79493929190614a2c565b6040516020818303038152906040528051906020012060001c9050949350505050565b600082826040516020016136df9291906148cd565b60405160208183030381529060405280519060200120905092915050565b60008261370a8584613c00565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377b90614cf3565b60405180910390fd5b61378d816127f9565b156137cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137c490614b13565b60405180910390fd5b6137d9600083836133e3565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138299190614f58565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161393d84611bd4565b6139479190615039565b9050600060076000848152602001908152602001600020549050818114613a2c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613ab19190615039565b9050600060096000848152602001908152602001600020549050600060088381548110613ae157613ae06152fe565b5b906000526020600020015490508060088381548110613b0357613b026152fe565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613b5257613b516152cf565b5b6001900381819060005260206000200160009055905550505050565b6000613b7983611bd4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b60008082905060005b8451811015613ca8576000858281518110613c2757613c266152fe565b5b60200260200101519050808311613c68578281604051602001613c4b9291906148a1565b604051602081830303815290604052805190602001209250613c94565b8083604051602001613c7b9291906148a1565b6040516020818303038152906040528051906020012092505b508080613ca090615190565b915050613c09565b508091505092915050565b828054613cbf9061512d565b90600052602060002090601f016020900481019282613ce15760008555613d28565b82601f10613cfa57805160ff1916838001178555613d28565b82800160010185558215613d28579182015b82811115613d27578251825591602001919060010190613d0c565b5b509050613d359190613d39565b5090565b5b80821115613d52576000816000905550600101613d3a565b5090565b6000613d69613d6484614eb3565b614e8e565b905082815260208101848484011115613d8557613d8461536b565b5b613d908482856150eb565b509392505050565b6000613dab613da684614ee4565b614e8e565b905082815260208101848484011115613dc757613dc661536b565b5b613dd28482856150eb565b509392505050565b600081359050613de981615af2565b92915050565b60008083601f840112613e0557613e04615361565b5b8235905067ffffffffffffffff811115613e2257613e2161535c565b5b602083019150836020820283011115613e3e57613e3d615366565b5b9250929050565b600081359050613e5481615b09565b92915050565b600081519050613e6981615b09565b92915050565b600081359050613e7e81615b20565b92915050565b600081359050613e9381615b37565b92915050565b600081519050613ea881615b37565b92915050565b600082601f830112613ec357613ec2615361565b5b8135613ed3848260208601613d56565b91505092915050565b600082601f830112613ef157613ef0615361565b5b8135613f01848260208601613d98565b91505092915050565b600081359050613f1981615b4e565b92915050565b600081519050613f2e81615b4e565b92915050565b600060208284031215613f4a57613f49615375565b5b6000613f5884828501613dda565b91505092915050565b60008060408385031215613f7857613f77615375565b5b6000613f8685828601613dda565b9250506020613f9785828601613dda565b9150509250929050565b600080600060608486031215613fba57613fb9615375565b5b6000613fc886828701613dda565b9350506020613fd986828701613dda565b9250506040613fea86828701613f0a565b9150509250925092565b6000806000806080858703121561400e5761400d615375565b5b600061401c87828801613dda565b945050602061402d87828801613dda565b935050604061403e87828801613f0a565b925050606085013567ffffffffffffffff81111561405f5761405e615370565b5b61406b87828801613eae565b91505092959194509250565b6000806040838503121561408e5761408d615375565b5b600061409c85828601613dda565b92505060206140ad85828601613e45565b9150509250929050565b600080604083850312156140ce576140cd615375565b5b60006140dc85828601613dda565b92505060206140ed85828601613f0a565b9150509250929050565b60006020828403121561410d5761410c615375565b5b600061411b84828501613e5a565b91505092915050565b60006020828403121561413a57614139615375565b5b600061414884828501613e6f565b91505092915050565b6000806040838503121561416857614167615375565b5b600061417685828601613e6f565b925050602061418785828601613f0a565b9150509250929050565b6000602082840312156141a7576141a6615375565b5b60006141b584828501613e84565b91505092915050565b6000602082840312156141d4576141d3615375565b5b60006141e284828501613e99565b91505092915050565b60006020828403121561420157614200615375565b5b600082013567ffffffffffffffff81111561421f5761421e615370565b5b61422b84828501613edc565b91505092915050565b60006020828403121561424a57614249615375565b5b600061425884828501613f0a565b91505092915050565b60006020828403121561427757614276615375565b5b600061428584828501613f1f565b91505092915050565b600080600080606085870312156142a8576142a7615375565b5b60006142b687828801613f0a565b94505060206142c787828801613dda565b935050604085013567ffffffffffffffff8111156142e8576142e7615370565b5b6142f487828801613def565b925092505092959194509250565b61430b8161506d565b82525050565b61432261431d8261506d565b6151d9565b82525050565b6143318161507f565b82525050565b6143408161508b565b82525050565b6143576143528261508b565b6151eb565b82525050565b600061436882614f15565b6143728185614f2b565b93506143828185602086016150fa565b61438b8161537a565b840191505092915050565b60006143a182614f20565b6143ab8185614f3c565b93506143bb8185602086016150fa565b6143c48161537a565b840191505092915050565b60006143da82614f20565b6143e48185614f4d565b93506143f48185602086016150fa565b80840191505092915050565b600061440d602b83614f3c565b915061441882615398565b604082019050919050565b6000614430603283614f3c565b915061443b826153e7565b604082019050919050565b6000614453601c83614f3c565b915061445e82615436565b602082019050919050565b6000614476602683614f3c565b91506144818261545f565b604082019050919050565b6000614499601c83614f3c565b91506144a4826154ae565b602082019050919050565b60006144bc601683614f3c565b91506144c7826154d7565b602082019050919050565b60006144df602283614f3c565b91506144ea82615500565b604082019050919050565b6000614502602483614f3c565b915061450d8261554f565b604082019050919050565b6000614525601983614f3c565b91506145308261559e565b602082019050919050565b6000614548601083614f3c565b9150614553826155c7565b602082019050919050565b600061456b601b83614f3c565b9150614576826155f0565b602082019050919050565b600061458e602c83614f3c565b915061459982615619565b604082019050919050565b60006145b1601283614f3c565b91506145bc82615668565b602082019050919050565b60006145d4603883614f3c565b91506145df82615691565b604082019050919050565b60006145f7602a83614f3c565b9150614602826156e0565b604082019050919050565b600061461a602983614f3c565b91506146258261572f565b604082019050919050565b600061463d601883614f3c565b91506146488261577e565b602082019050919050565b6000614660600d83614f3c565b915061466b826157a7565b602082019050919050565b6000614683601683614f3c565b915061468e826157d0565b602082019050919050565b60006146a6602083614f3c565b91506146b1826157f9565b602082019050919050565b60006146c9601983614f3c565b91506146d482615822565b602082019050919050565b60006146ec602c83614f3c565b91506146f78261584b565b604082019050919050565b600061470f600583614f4d565b915061471a8261589a565b600582019050919050565b6000614732602083614f3c565b915061473d826158c3565b602082019050919050565b6000614755602983614f3c565b9150614760826158ec565b604082019050919050565b6000614778602f83614f3c565b91506147838261593b565b604082019050919050565b600061479b601f83614f3c565b91506147a68261598a565b602082019050919050565b60006147be602183614f3c565b91506147c9826159b3565b604082019050919050565b60006147e1601a83614f3c565b91506147ec82615a02565b602082019050919050565b6000614804603183614f3c565b915061480f82615a2b565b604082019050919050565b6000614827602c83614f3c565b915061483282615a7a565b604082019050919050565b600061484a601f83614f3c565b915061485582615ac9565b602082019050919050565b614869816150e1565b82525050565b61488061487b826150e1565b615207565b82525050565b60006148928284614311565b60148201915081905092915050565b60006148ad8285614346565b6020820191506148bd8284614346565b6020820191508190509392505050565b60006148d98285614346565b6020820191506148e9828461486f565b6020820191508190509392505050565b600061490582856143cf565b915061491182846143cf565b915061491c82614702565b91508190509392505050565b600060208201905061493d6000830184614302565b92915050565b60006080820190506149586000830187614302565b6149656020830186614302565b6149726040830185614860565b8181036060830152614984818461435d565b905095945050505050565b60006060820190506149a46000830186614302565b6149b16020830185614860565b81810360408301526149c3818461435d565b9050949350505050565b60006020820190506149e26000830184614328565b92915050565b60006020820190506149fd6000830184614337565b92915050565b6000604082019050614a186000830185614337565b614a256020830184614860565b9392505050565b6000608082019050614a416000830187614337565b614a4e6020830186614860565b614a5b6040830185614302565b614a686060830184614860565b95945050505050565b60006020820190508181036000830152614a8b8184614396565b905092915050565b60006020820190508181036000830152614aac81614400565b9050919050565b60006020820190508181036000830152614acc81614423565b9050919050565b60006020820190508181036000830152614aec81614446565b9050919050565b60006020820190508181036000830152614b0c81614469565b9050919050565b60006020820190508181036000830152614b2c8161448c565b9050919050565b60006020820190508181036000830152614b4c816144af565b9050919050565b60006020820190508181036000830152614b6c816144d2565b9050919050565b60006020820190508181036000830152614b8c816144f5565b9050919050565b60006020820190508181036000830152614bac81614518565b9050919050565b60006020820190508181036000830152614bcc8161453b565b9050919050565b60006020820190508181036000830152614bec8161455e565b9050919050565b60006020820190508181036000830152614c0c81614581565b9050919050565b60006020820190508181036000830152614c2c816145a4565b9050919050565b60006020820190508181036000830152614c4c816145c7565b9050919050565b60006020820190508181036000830152614c6c816145ea565b9050919050565b60006020820190508181036000830152614c8c8161460d565b9050919050565b60006020820190508181036000830152614cac81614630565b9050919050565b60006020820190508181036000830152614ccc81614653565b9050919050565b60006020820190508181036000830152614cec81614676565b9050919050565b60006020820190508181036000830152614d0c81614699565b9050919050565b60006020820190508181036000830152614d2c816146bc565b9050919050565b60006020820190508181036000830152614d4c816146df565b9050919050565b60006020820190508181036000830152614d6c81614725565b9050919050565b60006020820190508181036000830152614d8c81614748565b9050919050565b60006020820190508181036000830152614dac8161476b565b9050919050565b60006020820190508181036000830152614dcc8161478e565b9050919050565b60006020820190508181036000830152614dec816147b1565b9050919050565b60006020820190508181036000830152614e0c816147d4565b9050919050565b60006020820190508181036000830152614e2c816147f7565b9050919050565b60006020820190508181036000830152614e4c8161481a565b9050919050565b60006020820190508181036000830152614e6c8161483d565b9050919050565b6000602082019050614e886000830184614860565b92915050565b6000614e98614ea9565b9050614ea4828261515f565b919050565b6000604051905090565b600067ffffffffffffffff821115614ece57614ecd61532d565b5b614ed78261537a565b9050602081019050919050565b600067ffffffffffffffff821115614eff57614efe61532d565b5b614f088261537a565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f63826150e1565b9150614f6e836150e1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fa357614fa2615242565b5b828201905092915050565b6000614fb9826150e1565b9150614fc4836150e1565b925082614fd457614fd3615271565b5b828204905092915050565b6000614fea826150e1565b9150614ff5836150e1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561502e5761502d615242565b5b828202905092915050565b6000615044826150e1565b915061504f836150e1565b92508282101561506257615061615242565b5b828203905092915050565b6000615078826150c1565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156151185780820151818401526020810190506150fd565b83811115615127576000848401525b50505050565b6000600282049050600182168061514557607f821691505b60208210811415615159576151586152a0565b5b50919050565b6151688261537a565b810181811067ffffffffffffffff821117156151875761518661532d565b5b80604052505050565b600061519b826150e1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156151ce576151cd615242565b5b600182019050919050565b60006151e4826151f5565b9050919050565b6000819050919050565b60006152008261538b565b9050919050565b6000819050919050565b600061521c826150e1565b9150615227836150e1565b92508261523757615236615271565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f47656e65726174652072616e646f6d206e756d62657220666972737400000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f596f75277265206e6f742077686974656c697374656400000000000000000000600082015250565b7f457863656564696e67206d61782e206d696e7420616d6f756e7420706572207460008201527f782e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416d6f756e7420697320746f206c6f7700000000000000000000000000000000600082015250565b7f4c696d697420697320353020706572207472616e73616374696f6e0000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f50726573616c652069736e2774206c6976650000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d61782e2034204e4654277320696e2050726573616c652e0000000000000000600082015250565b7f416d6f756e7420746f206c6f7700000000000000000000000000000000000000600082015250565b7f5075626c69632053616c652069736e2774206c69766500000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4d61782e203330204e46542773207065722077616c6c65742e00000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e742065786365656473206d61782e20737570706c79000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4769667420616d6f756e742065786365656473206d61782e20737570706c7900600082015250565b615afb8161506d565b8114615b0657600080fd5b50565b615b128161507f565b8114615b1d57600080fd5b50565b615b298161508b565b8114615b3457600080fd5b50565b615b4081615095565b8114615b4b57600080fd5b50565b615b57816150e1565b8114615b6257600080fd5b5056fea2646970667358221220a6be37f554d4513a3389050582d09dee6a140ba53ccaff7910ac4637472abe9f64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000012436f736d6963204d6f6e6b657920436c756200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003434d430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d6370464166683756367933684e3652445738365a4e35616957527236454d416e6a64525144666d716d784a720000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Cosmic Monkey Club
Arg [1] : symbol (string): CMC
Arg [2] : _initBaseURI (string): https://ipfs.io/ipfs/QmcpFAfh7V6y3hN6RDW86ZN5aiWRr6EMAnjdRQDfmqmxJr
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 436f736d6963204d6f6e6b657920436c75620000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 434d430000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [8] : 68747470733a2f2f697066732e696f2f697066732f516d637046416668375636
Arg [9] : 7933684e3652445738365a4e35616957527236454d416e6a64525144666d716d
Arg [10] : 784a720000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.